:root {
  --ink: #08111d;
  --ink-2: #0f1d2d;
  --navy: #13283f;
  --gold: #d6a34f;
  --gold-light: #f3dfa2;
  --cream: #fbf8f0;
  --paper: #ffffff;
  --mist: #eef3f7;
  --slate: #5d6a78;
  --line: rgba(8,17,29,.12);
  --success: #157a55;
  --danger: #a53d46;
  --shadow: 0 22px 55px rgba(8,17,29,.12);
  --radius: 22px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.member-body { background: #f4f7fa; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-tight { padding: 58px 0; }
.eyebrow { margin: 0 0 14px; color: #9a691d; font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.08; letter-spacing: -.03em; }
.lead { max-width: 720px; color: var(--slate); font-size: 1.12rem; }
.muted { color: var(--slate); }
.small { font-size: .88rem; }
.gold { color: var(--gold); }
.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }
.hide { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,248,240,.9);
  border-bottom: 1px solid rgba(8,17,29,.08);
  backdrop-filter: blur(18px);
}
.navbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; }
.brand small { display: block; margin-top: -3px; color: var(--slate); font-size: .66rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .94rem; font-weight: 700; }
.nav-links a:hover { color: #9a691d; }
.nav-actions { display: flex; gap: 10px; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display:block; width:24px; height:2px; margin:5px 0; background:var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #101010; background: linear-gradient(135deg, var(--gold), var(--gold-light)); box-shadow: 0 12px 28px rgba(183,125,39,.22); }
.btn-dark { color: #fff; background: var(--ink); }
.btn-outline { border-color: rgba(8,17,29,.18); background: rgba(255,255,255,.65); }
.btn-ghost { padding-inline: 8px; color: var(--slate); background: transparent; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .88rem; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 86px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(218,171,91,.27), transparent 26%),
    radial-gradient(circle at 20% 110%, rgba(58,108,148,.35), transparent 36%),
    linear-gradient(135deg, #07111e 0%, #0e2135 60%, #172f47 100%);
}
.hero::before { content:""; position:absolute; inset:0; opacity:.17; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, black, transparent 75%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center; }
.hero h1 { max-width: 720px; margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6.8vw, 6.15rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: var(--gold-light); }
.hero-copy { max-width: 670px; color: #c8d4df; font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .btn-outline { color:#fff; border-color: rgba(255,255,255,.28); background:rgba(255,255,255,.06); }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; color: #d9e3ec; font-size: .86rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row span::before { content:"✓"; display:grid; place-items:center; width:20px; height:20px; color:#132118; background:var(--gold-light); border-radius:50%; font-size:.72rem; font-weight:900; }
.hero-visual { position: relative; min-height: 550px; }
.hero-cover { position:absolute; width: 300px; border-radius: 18px; box-shadow: 0 40px 85px rgba(0,0,0,.38); }
.hero-cover.main { top: 24px; left: 90px; transform: rotate(-2deg); z-index:3; }
.hero-cover.secondary { top: 168px; right: 5px; width: 230px; transform: rotate(7deg); z-index:2; }
.hero-cover.tertiary { bottom: 0; left: 0; width: 218px; transform: rotate(-8deg); z-index:1; }
.hero-badge { position:absolute; right:30px; top:28px; z-index:4; width:140px; height:140px; display:grid; place-items:center; text-align:center; color:#1a160d; background:linear-gradient(145deg,#f5e3aa,#c58b2d); border:8px solid rgba(255,255,255,.14); border-radius:50%; font-size:.78rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; transform:rotate(8deg); box-shadow:0 22px 48px rgba(0,0,0,.25); }

.proof-strip { background:#fff; border-bottom:1px solid var(--line); }
.proof-grid { display:grid; grid-template-columns: repeat(4,1fr); }
.proof-item { padding:28px 20px; text-align:center; border-right:1px solid var(--line); }
.proof-item:last-child { border-right:0; }
.proof-item strong { display:block; font-family:Georgia,serif; font-size:1.75rem; }
.proof-item span { color:var(--slate); font-size:.84rem; }

.split { display:grid; grid-template-columns: 1fr 1fr; gap:64px; align-items:center; }
.cover-stack { position:relative; min-height:565px; }
.cover-stack img { position:absolute; border-radius:16px; box-shadow:var(--shadow); }
.cover-stack img:nth-child(1){ width:320px; left:10%; top:0; z-index:3; }
.cover-stack img:nth-child(2){ width:230px; right:0; top:180px; transform:rotate(5deg); z-index:2; }
.cover-stack img:nth-child(3){ width:220px; left:0; bottom:0; transform:rotate(-6deg); z-index:1; }
.check-list { list-style:none; padding:0; margin:28px 0; display:grid; gap:14px; }
.check-list li { position:relative; padding-left:36px; font-weight:650; }
.check-list li::before { content:"✓"; position:absolute; left:0; top:0; display:grid; place-items:center; width:24px; height:24px; color:#fff; background:var(--success); border-radius:50%; font-size:.74rem; font-weight:900; }

.card-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:22px; margin-top:38px; }
.card { position:relative; overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 10px 30px rgba(8,17,29,.06); }
.card-pad { padding:26px; }
.card h3 { margin:0 0 10px; font-size:1.25rem; line-height:1.25; }
.card p { margin:0; color:var(--slate); }
.program-card { min-height:270px; padding:28px; }
.program-number { width:48px; height:48px; display:grid; place-items:center; margin-bottom:46px; color:#17130d; background:linear-gradient(135deg,var(--gold),var(--gold-light)); border-radius:15px; font-family:Georgia,serif; font-size:1.3rem; font-weight:900; }
.program-card::after { content:""; position:absolute; width:145px; height:145px; right:-55px; top:-55px; border:1px solid rgba(214,163,79,.25); border-radius:50%; box-shadow:0 0 0 22px rgba(214,163,79,.06), 0 0 0 44px rgba(214,163,79,.04); }
.dark-section { color:#fff; background:linear-gradient(145deg,#07111e,#10283f); }
.dark-section .lead,.dark-section .muted,.dark-section .card p { color:#b9c8d6; }
.dark-section .card { background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.1); box-shadow:none; }
.audio-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:38px; }
.audio-card img { aspect-ratio: 12/7; width:100%; object-fit:cover; }
.audio-card .card-pad { padding:22px; }
.audio-card audio { width:100%; margin-top:18px; }

.tools-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:18px; margin-top:36px; }
.tool-card { padding:24px; }
.tool-icon { width:46px; height:46px; display:grid; place-items:center; margin-bottom:28px; color:#8c5a13; background:#fbefcf; border-radius:14px; font-size:1.25rem; }

.pricing-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:22px; margin-top:42px; align-items:stretch; }
.price-card { padding:30px; }
.price-card.featured { color:#fff; background:linear-gradient(150deg,#08111d,#17314b); border-color:transparent; transform:translateY(-12px); box-shadow:0 28px 70px rgba(8,17,29,.24); }
.price-card.featured p,.price-card.featured .price-note { color:#c6d2df; }
.price-tag { display:inline-flex; padding:6px 11px; border-radius:999px; color:#8f5d15; background:#fbefcf; font-size:.72rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.price { margin:24px 0 2px; font-family:Georgia,serif; font-size:3.5rem; line-height:1; }
.price sup { font-size:1.15rem; vertical-align:top; top:.5em; position:relative; }
.price span { font-family:Inter,sans-serif; font-size:.95rem; font-weight:700; }
.price-note { color:var(--slate); font-size:.9rem; }
.price-features { list-style:none; padding:0; margin:26px 0 30px; display:grid; gap:12px; }
.price-features li { display:flex; gap:10px; }
.price-features li::before { content:"✓"; color:var(--success); font-weight:900; }
.price-card.featured .price-features li::before { color:var(--gold-light); }

.faq { max-width:850px; margin:40px auto 0; }
.faq details { padding:20px 0; border-bottom:1px solid var(--line); }
.faq summary { cursor:pointer; font-size:1.08rem; font-weight:800; list-style:none; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; float:right; color:#9a691d; font-size:1.5rem; }
.faq details[open] summary::after { content:"−"; }
.faq details p { margin:12px 0 0; color:var(--slate); }

.cta-panel { position:relative; overflow:hidden; padding:58px; color:#fff; background:linear-gradient(135deg,#0b1725,#17344f); border-radius:30px; box-shadow:var(--shadow); }
.cta-panel::after { content:""; position:absolute; width:360px; height:360px; top:-170px; right:-100px; border:70px solid rgba(214,163,79,.08); border-radius:50%; }
.cta-panel .content { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.cta-panel h2 { max-width:670px; margin:0; font-family:Georgia,serif; font-size:clamp(2rem,4vw,3.4rem); line-height:1.05; }

.site-footer { padding:58px 0 28px; color:#c5d1dc; background:#07111e; }
.footer-grid { display:grid; grid-template-columns:1.5fr repeat(3,1fr); gap:40px; }
.footer-grid h4 { color:#fff; margin:0 0 14px; }
.footer-grid a { display:block; margin:8px 0; color:#c5d1dc; font-size:.9rem; }
.footer-grid a:hover { color:var(--gold-light); }
.footer-bottom { margin-top:45px; padding-top:20px; display:flex; justify-content:space-between; gap:20px; border-top:1px solid rgba(255,255,255,.1); font-size:.82rem; }

/* Member app */
.member-shell { min-height:100vh; display:grid; grid-template-columns:270px 1fr; }
.sidebar { position:sticky; top:0; height:100vh; padding:26px 20px; color:#dfe8f0; background:#07111e; }
.sidebar .brand { color:#fff; margin:0 8px 30px; }
.sidebar-nav { display:grid; gap:6px; }
.sidebar-nav a { display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:12px; color:#aebdcc; font-weight:700; font-size:.92rem; }
.sidebar-nav a.active,.sidebar-nav a:hover { color:#fff; background:rgba(255,255,255,.08); }
.sidebar-nav .icon { width:22px; text-align:center; }
.sidebar-bottom { position:absolute; bottom:24px; left:20px; right:20px; }
.profile-chip { display:flex; align-items:center; gap:10px; padding:12px; background:rgba(255,255,255,.06); border-radius:14px; }
.avatar { width:36px; height:36px; display:grid; place-items:center; color:#16120c; background:linear-gradient(135deg,var(--gold),var(--gold-light)); border-radius:50%; font-weight:900; }
.member-main { min-width:0; }
.member-topbar { position:sticky; top:0; z-index:50; min-height:72px; padding:0 34px; display:flex; align-items:center; justify-content:space-between; gap:20px; background:rgba(244,247,250,.9); border-bottom:1px solid var(--line); backdrop-filter:blur(16px); }
.member-topbar h1 { margin:0; font-size:1.15rem; }
.member-content { width:min(calc(100% - 52px),1280px); margin:0 auto; padding:36px 0 70px; }
.dashboard-hero { display:grid; grid-template-columns:1.3fr .7fr; gap:24px; }
.welcome-card { padding:36px; color:#fff; background:linear-gradient(135deg,#0b1725,#1c4162); border-radius:26px; box-shadow:var(--shadow); }
.welcome-card h2 { margin:0 0 12px; font-family:Georgia,serif; font-size:2.4rem; line-height:1.07; }
.progress-card { padding:28px; background:#fff; border:1px solid var(--line); border-radius:26px; }
.progress-ring { --progress:0deg; width:132px; height:132px; margin:18px auto; display:grid; place-items:center; background:conic-gradient(var(--gold) var(--progress), #e8edf2 0); border-radius:50%; }
.progress-ring::before { content:""; width:98px; height:98px; background:#fff; border-radius:50%; }
.progress-ring strong { position:absolute; font-family:Georgia,serif; font-size:1.6rem; }
.dashboard-grid { display:grid; grid-template-columns:1.4fr .6fr; gap:24px; margin-top:24px; }
.panel { background:#fff; border:1px solid var(--line); border-radius:22px; }
.panel-header { padding:24px 24px 0; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.panel-body { padding:24px; }
.panel h3 { margin:0; }
.module-list { display:grid; gap:12px; }
.module-item { display:grid; grid-template-columns:auto 1fr auto; gap:14px; align-items:center; padding:16px; border:1px solid var(--line); border-radius:16px; }
.module-check { width:32px; height:32px; display:grid; place-items:center; border:2px solid #c7d1dc; border-radius:50%; background:#fff; }
.module-check.done { color:#fff; border-color:var(--success); background:var(--success); }
.module-item strong { display:block; }
.module-item small { color:var(--slate); }
.pill { display:inline-flex; padding:5px 10px; color:#8d5c14; background:#fbefcf; border-radius:999px; font-size:.72rem; font-weight:800; }
.pill.success { color:#0f6547; background:#dff4eb; }
.action-list { display:grid; gap:10px; }
.action-row { display:flex; align-items:flex-start; gap:11px; padding:13px 0; border-bottom:1px solid var(--line); }
.action-row:last-child { border-bottom:0; }
.action-row input { margin-top:5px; accent-color:var(--success); }
.member-section { scroll-margin-top:90px; margin-top:34px; }
.section-title-row { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:18px; }
.section-title-row h2 { margin:0; font-family:Georgia,serif; font-size:2rem; }
.member-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.course-card { padding:22px; }
.course-card .course-meta { display:flex; gap:8px; margin-bottom:18px; }
.course-card h3 { margin:0 0 8px; }
.course-card p { font-size:.92rem; }
.course-card .btn { margin-top:22px; }
.lesson-modal { position:fixed; inset:0; z-index:300; display:none; place-items:center; padding:24px; background:rgba(4,10,17,.75); backdrop-filter:blur(8px); }
.lesson-modal.open { display:grid; }
.lesson-dialog { width:min(900px,100%); max-height:90vh; overflow:auto; background:#fff; border-radius:24px; box-shadow:0 40px 100px rgba(0,0,0,.4); }
.lesson-dialog-header { position:sticky; top:0; padding:22px 28px; display:flex; justify-content:space-between; gap:20px; background:#fff; border-bottom:1px solid var(--line); }
.lesson-dialog-body { padding:30px; }
.lesson-dialog-body h3 { margin-top:30px; }
.lesson-close { border:0; background:#eef3f7; width:40px; height:40px; border-radius:50%; }
.callout { padding:20px; margin:22px 0; border-left:4px solid var(--gold); background:#fbf5e7; border-radius:0 14px 14px 0; }
.download-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.download-card { display:grid; grid-template-columns:98px 1fr; gap:18px; padding:18px; align-items:center; }
.download-card img { width:98px; height:128px; object-fit:cover; border-radius:10px; box-shadow:0 8px 22px rgba(8,17,29,.15); }
.download-card h3 { margin:0 0 8px; font-size:1.05rem; }
.download-card .btn { margin-top:12px; }
.member-audio-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.member-audio-card img { width:100%; border-radius:14px; }
.member-audio-card audio { width:100%; margin-top:16px; }

.calc-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.calc-card { padding:24px; }
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.field { display:grid; gap:6px; }
.field.full { grid-column:1/-1; }
.field label { font-size:.84rem; font-weight:800; }
.field input,.field select,.field textarea { width:100%; min-height:46px; padding:10px 13px; color:var(--ink); background:#fff; border:1px solid #cfd8e1; border-radius:11px; outline:none; }
.field input:focus,.field select:focus,.field textarea:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(214,163,79,.18); }
.calc-result { margin-top:18px; padding:18px; background:#edf5f1; border-radius:14px; }
.calc-result strong { display:block; color:#0f6547; font-family:Georgia,serif; font-size:1.9rem; }
.calc-result .breakdown { margin-top:9px; color:var(--slate); font-size:.86rem; }

/* Checkout + forms */
.page-hero { padding:72px 0 48px; color:#fff; background:linear-gradient(135deg,#07111e,#173650); }
.page-hero h1 { margin:0 0 12px; font-family:Georgia,serif; font-size:clamp(2.5rem,5vw,4.6rem); line-height:1.05; }
.checkout-layout { display:grid; grid-template-columns:1.1fr .9fr; gap:28px; align-items:start; }
.checkout-card,.order-card,.content-card { padding:30px; background:#fff; border:1px solid var(--line); border-radius:22px; box-shadow:0 12px 35px rgba(8,17,29,.06); }
.order-card { position:sticky; top:100px; }
.order-line { display:flex; justify-content:space-between; gap:20px; padding:12px 0; border-bottom:1px solid var(--line); }
.order-total { display:flex; justify-content:space-between; margin-top:18px; font-size:1.2rem; font-weight:900; }
.secure-note { display:flex; gap:10px; margin-top:18px; color:var(--slate); font-size:.84rem; }
.alert { padding:13px 15px; border-radius:12px; font-size:.9rem; }
.alert.info { color:#17466a; background:#e7f2fa; }
.alert.success { color:#0f6547; background:#dff4eb; }
.alert.error { color:#8d2530; background:#fbe7e9; }
.contact-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:28px; }
.legal-nav { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:28px; }
.legal-section { scroll-margin-top:95px; padding:26px 0; border-bottom:1px solid var(--line); }
.legal-section h2 { font-family:Georgia,serif; }

.toast { position:fixed; right:22px; bottom:22px; z-index:500; max-width:360px; padding:14px 18px; color:#fff; background:#07111e; border-radius:12px; box-shadow:var(--shadow); transform:translateY(30px); opacity:0; pointer-events:none; transition:.25s ease; }
.toast.show { transform:translateY(0); opacity:1; }
.mobile-member-toggle { display:none; border:0; background:#fff; width:42px; height:42px; border-radius:12px; }

@media (max-width: 1050px) {
  .hero-grid,.split,.checkout-layout,.contact-layout { grid-template-columns:1fr; }
  .hero-visual { max-width:650px; margin:20px auto 0; width:100%; }
  .card-grid,.audio-grid,.pricing-grid,.member-card-grid,.member-audio-grid,.download-grid { grid-template-columns:repeat(2,1fr); }
  .tools-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column:2/4; }
  .member-shell { grid-template-columns:230px 1fr; }
  .dashboard-hero,.dashboard-grid { grid-template-columns:1fr; }
}
@media (max-width: 780px) {
  .section { padding:66px 0; }
  .navbar { min-height:68px; }
  .nav-toggle { display:block; }
  .nav-links { position:absolute; left:18px; right:18px; top:74px; display:none; padding:18px; flex-direction:column; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); }
  .nav-links.open { display:flex; }
  .nav-actions .btn-outline { display:none; }
  .hero { padding-top:68px; }
  .hero-visual { min-height:430px; }
  .hero-cover.main { width:245px; left:25%; }
  .hero-cover.secondary { width:175px; top:140px; }
  .hero-cover.tertiary { width:160px; }
  .hero-badge { width:105px; height:105px; right:10px; font-size:.62rem; }
  .proof-grid { grid-template-columns:repeat(2,1fr); }
  .proof-item:nth-child(2) { border-right:0; }
  .proof-item:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .card-grid,.audio-grid,.pricing-grid,.member-card-grid,.member-audio-grid,.download-grid,.calc-grid { grid-template-columns:1fr; }
  .price-card.featured { transform:none; }
  .cta-panel { padding:38px 28px; }
  .cta-panel .content { align-items:flex-start; flex-direction:column; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-grid > div:first-child { grid-column:1/-1; }
  .footer-grid > div:last-child { grid-column:auto; }
  .footer-bottom { flex-direction:column; }
  .member-shell { display:block; }
  .sidebar { position:fixed; left:-280px; top:0; z-index:200; width:270px; transition:left .25s ease; box-shadow:30px 0 65px rgba(0,0,0,.35); }
  .sidebar.open { left:0; }
  .member-topbar { padding:0 18px; }
  .mobile-member-toggle { display:block; }
  .member-content { width:min(calc(100% - 28px),1280px); padding-top:22px; }
  .welcome-card { padding:28px; }
  .welcome-card h2 { font-size:2rem; }
  .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
}
@media (max-width: 520px) {
  .container { width:min(calc(100% - 24px),var(--max)); }
  .hero h1 { font-size:3rem; }
  .hero-visual { min-height:370px; }
  .hero-cover.main { left:20%; width:215px; }
  .hero-cover.secondary { width:145px; top:140px; }
  .hero-cover.tertiary { width:135px; }
  .cover-stack { min-height:490px; }
  .cover-stack img:nth-child(1){ width:250px; left:12%; }
  .cover-stack img:nth-child(2){ width:175px; top:190px; }
  .cover-stack img:nth-child(3){ width:160px; }
  .tools-grid,.proof-grid { grid-template-columns:1fr; }
  .proof-item { border-right:0; border-bottom:1px solid var(--line); }
  .download-card { grid-template-columns:75px 1fr; }
  .download-card img { width:75px; height:100px; }
  .cta-panel { border-radius:22px; }
}
