@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto+Condensed:wght@300;400;500;600;700&display=swap');

:root {
  --paper: #e9e9e7;
  --paper-2: #f3f3f3;
  --ink: #080808;
  --blue: #427794;
  --blue-deep: #33657f;
  --blue-soft: #d9e7ec;
  --graphite: #262a2c;
  --muted: #687176;
  --line: rgba(17, 19, 19, .14);
  --danger: #a83b38;
  --success: #2e7052;
  --shadow: 0 12px 32px rgba(24, 35, 40, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: 'Roboto Condensed', Arial, sans-serif;
  background:
    radial-gradient(circle at 82% 4%, rgba(255,255,255,.72) 0 11%, transparent 11.2%),
    radial-gradient(circle at 72% 74%, rgba(255,255,255,.52) 0 18%, transparent 18.2%),
    linear-gradient(125deg, #f3f3f3 0%, #d9d9d9 54%, #efefef 100%);
  background-attachment: fixed;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(239, 242, 241, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(25, 30, 31, .08);
}
.brand { display:flex; align-items:center; text-decoration:none; }
.brand img { display:block; width:260px; max-width:34vw; height:auto; }
.nav { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.nav a { padding:10px 13px; text-decoration:none; border-radius:12px; font-weight:600; }
.nav a:hover { background:rgba(63,127,155,.1); }

.page { width:min(1180px, calc(100% - 32px)); margin:0 auto; padding:52px 0 80px; position:relative; z-index:1; }
.hero { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr); gap:28px; align-items:stretch; margin-bottom:30px; }
.hero-copy, .hero-card, .panel, .member-card, .stat, .auth-card {
  border:1px solid rgba(8,8,8,.1);
  border-radius:12px;
  box-shadow:var(--shadow);
}
.hero-copy, .panel, .auth-card { background:rgba(243,243,243,.94); }
.hero-copy { padding:clamp(28px,5vw,66px); }
.eyebrow { margin:0 0 12px; color:var(--blue); font-weight:700; text-transform:uppercase; letter-spacing:.14em; font-size:13px; }
h1,h2,h3 { font-family:'Oswald',sans-serif; text-transform:uppercase; line-height:1.02; margin-top:0; }
h1 { font-size:clamp(42px,7vw,82px); letter-spacing:-.035em; margin-bottom:22px; }
h2 { font-size:clamp(30px,4vw,48px); letter-spacing:-.02em; margin-bottom:18px; }
h3 { font-size:24px; margin-bottom:14px; }
.lead { font-size:clamp(18px,2.1vw,24px); line-height:1.35; color:#3f4649; max-width:760px; }
.hero-card { padding:34px; color:#fff; background:linear-gradient(145deg, rgba(53,116,144,.94), rgba(27,56,70,.96)); overflow:hidden; position:relative; }
.hero-card::after { content:''; position:absolute; width:240px;height:240px;border:1px solid rgba(255,255,255,.16);border-radius:50%;right:-80px;bottom:-90px;box-shadow:0 0 0 55px rgba(255,255,255,.04),0 0 0 110px rgba(255,255,255,.025); }
.hero-card h2 { position:relative; z-index:1; }
.price { font:700 clamp(52px,7vw,82px)/1 'Oswald',sans-serif; margin:40px 0 4px; position:relative; z-index:1; }
.price-note { font-size:18px; opacity:.84; position:relative; z-index:1; }

.button, button.primary, button.secondary, button.danger {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:52px; padding:13px 22px; border:0; border-radius:6px;
  font-family:'Oswald',sans-serif; text-transform:uppercase; text-decoration:none; font-weight:600; letter-spacing:.035em; font-size:17px;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.button:hover, button:hover { transform:translateY(-1px); }
.button.primary, button.primary { color:#fff; background:var(--blue); box-shadow:0 12px 26px rgba(39,101,129,.22); }
.button.dark, button.secondary { color:#fff; background:var(--ink); }
.button.light { color:var(--blue-deep); background:#fff; }
button.danger { color:#fff; background:var(--danger); }
button:disabled { opacity:.5; cursor:not-allowed; transform:none; }
.actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:26px; }

.panel { padding:clamp(22px,4vw,42px); margin-bottom:24px; }
.panel-header { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; margin-bottom:22px; }
.muted { color:var(--muted); }
.notice { padding:15px 17px; border-radius:14px; margin:0 0 18px; font-weight:600; }
.notice.error { color:#7e2927; background:#f3d9d8; }
.notice.success { color:#235a42; background:#d8ede2; }
.notice.info { color:#275c73; background:#dbeaf0; }

.progress { display:grid; grid-template-columns:repeat(5,1fr); gap:7px; margin:4px 0 30px; }
.progress span { height:7px; border-radius:99px; background:#d4dbdd; }
.progress span.active { background:var(--blue); }
.form-step[hidden] { display:none !important; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.field { display:flex; flex-direction:column; gap:7px; }
.field.full { grid-column:1/-1; }
.field label, .field-label { font-weight:700; font-size:15px; }
.field input, .field select, .field textarea {
  width:100%; min-height:52px; border:1px solid var(--line); border-radius:13px; background:rgba(255,255,255,.88); color:var(--ink); padding:13px 15px; outline:none;
}
.field textarea { min-height:110px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(63,127,155,.12); }
.help { color:var(--muted); font-size:14px; line-height:1.35; }
.choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.choice { position:relative; }
.choice input { position:absolute; opacity:0; pointer-events:none; }
.choice label { display:flex; min-height:132px; padding:20px; border:2px solid transparent; border-radius:8px; background:#fff; cursor:pointer; flex-direction:column; justify-content:space-between; }
.choice label strong { font:600 22px/1.08 'Oswald',sans-serif; text-transform:uppercase; }
.choice input:checked + label { border-color:var(--blue); background:var(--blue-soft); }
.check { display:flex; gap:11px; align-items:flex-start; margin:12px 0; line-height:1.35; }
.check input { width:19px; height:19px; margin-top:1px; accent-color:var(--blue); }
.conditional[hidden] { display:none !important; }
.preview { width:118px;height:118px;border-radius:24px;object-fit:cover;background:#dce2e4;border:1px solid var(--line);display:none; }

.dashboard-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-bottom:24px; }
.stat { padding:24px; color:#fff; background:linear-gradient(145deg,#397d9a,#244d60); }
.stat:nth-child(2) { background:linear-gradient(145deg,#343a3d,#171a1c); }
.stat:nth-child(3) { color:var(--ink); background:rgba(255,255,255,.84); }
.stat-label { text-transform:uppercase; letter-spacing:.09em; font-size:12px; opacity:.72; }
.stat-value { font:600 31px/1.1 'Oswald',sans-serif; margin-top:9px; }
.profile-layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:30px; }
.profile-photo { width:100%; aspect-ratio:1; object-fit:cover; border-radius:28px; background:#d9dfe1; }
.profile-placeholder { width:100%; aspect-ratio:1; border-radius:28px; display:grid; place-items:center; background:linear-gradient(145deg,#cfd9dd,#eef2f2); color:var(--blue); font:600 60px 'Oswald',sans-serif; }
.data-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 22px; }
.data-row { padding:14px 0; border-bottom:1px solid var(--line); }
.data-row span { display:block; color:var(--muted); font-size:13px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:4px; }

.status { display:inline-flex; align-items:center; gap:8px; padding:8px 11px; border-radius:99px; font-weight:700; font-size:13px; background:#e3e6e7; }
.status.active, .status.paid { color:#205d43; background:#d7ecdf; }
.status.pending { color:#725b19; background:#f1e7c5; }
.status.rejected, .status.expired, .status.failed { color:#7d2c29; background:#f1d9d8; }
.status::before { content:''; width:8px;height:8px;border-radius:50%;background:currentColor; }

.registry-tools { display:grid; grid-template-columns:2fr 1fr 1fr auto; gap:12px; margin-bottom:24px; }
.registry-tools input, .registry-tools select { min-height:50px;border:1px solid var(--line);border-radius:13px;padding:11px 14px;background:#fff; }
.member-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.member-card { overflow:hidden; background:rgba(255,255,255,.84); text-decoration:none; transition:transform .16s ease,box-shadow .16s ease; }
.member-card:hover { transform:translateY(-3px); box-shadow:0 26px 70px rgba(24,35,40,.18); }
.member-card img, .member-card .avatar { width:100%; aspect-ratio:1.08; object-fit:cover; display:grid;place-items:center;background:linear-gradient(145deg,#cddce2,#f0f3f3);font:600 72px 'Oswald',sans-serif;color:var(--blue); }
.member-card-body { padding:22px; }
.member-card h3 { margin-bottom:8px; }
.member-card p { margin:5px 0;color:var(--muted); }

.table-wrap { overflow:auto; border:1px solid var(--line); border-radius:18px; background:#fff; }
table { width:100%; border-collapse:collapse; min-width:880px; }
th,td { padding:13px 14px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
th { font-size:12px;text-transform:uppercase;letter-spacing:.06em;background:#edf1f2;position:sticky;top:0; }
td .actions { margin:0; gap:7px; }
td .button, td button { min-height:36px;padding:7px 10px;font-size:13px;border-radius:9px; }

.auth-shell { min-height:calc(100vh - 86px);display:grid;place-items:center;padding:40px 16px; }
.auth-card { width:min(520px,100%);padding:clamp(25px,5vw,46px); }
.auth-card .field { margin-bottom:15px; }
.auth-card button { width:100%;margin-top:9px; }

.embedded-tilda .site-header,
.embedded-tilda .footer { display:none; }
.embedded-tilda .page { width:min(1040px, calc(100% - 24px)); padding:18px 0 24px; }
.embedded-tilda .hero { margin-bottom:16px; }
.embedded-tilda .hero-copy,
.embedded-tilda .hero-card,
.embedded-tilda .panel { box-shadow:none; }
.embedded-tilda .hero-copy { padding:28px; }
.embedded-tilda h1 { font-size:clamp(38px,7vw,68px); }

.empty { text-align:center;padding:50px 20px;color:var(--muted); }
.footer { padding:24px 16px 44px;text-align:center;color:var(--muted);font-size:14px;position:relative;z-index:1; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

@media (max-width:900px) {
  .hero,.profile-layout { grid-template-columns:1fr; }
  .dashboard-grid,.member-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .choice-grid { grid-template-columns:1fr; }
  .choice label { min-height:100px; }
  .registry-tools { grid-template-columns:1fr 1fr; }
}
@media (max-width:640px) {
  .site-header { padding:12px 16px; }
  .brand img { width:184px; max-width:48vw; }
  .nav a:not(.button) { display:none; }
  .page { width:min(100% - 20px,1180px);padding-top:24px; }
  .hero-copy,.hero-card,.panel,.auth-card { border-radius:21px; }
  .hero-copy,.hero-card,.panel { padding:22px; }
  h1 { font-size:42px; }
  .form-grid,.dashboard-grid,.member-grid,.data-list,.registry-tools { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .actions .button,.actions button { flex:1 1 auto; }
  .profile-layout { gap:20px; }
  .profile-photo,.profile-placeholder { max-width:240px; }
}
