/* Marketing page styles. Colors and fonts come from tokens.css. */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
section { scroll-margin-top: 20px; }

/* Hero band */
.hero { position: relative; overflow: hidden; background: var(--grad-hero); color: var(--white); }
.orb { position: absolute; border-radius: 50%; pointer-events: none; }
.orb-gold { background: rgba(200,150,62,0.12); }
.orb-teal { background: rgba(42,139,159,0.25); }
.nav { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a:not(.btn) { color: #D0E2E8; text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--white); }
.hero-body { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 48px 88px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.badge { align-self: flex-start; background: rgba(255,255,255,0.1); border: 1px solid rgba(232,180,90,0.45); color: var(--gold-light); font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; }
.hero h1 em, .on-dark em { color: var(--gold-light); }
.lede { margin: 0; font-size: 19px; line-height: 1.6; color: #D0E2E8; max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin: 0; font-size: 14px; color: #A9C3CC; }

/* Product preview in hero */
.preview { flex: 1 1 500px; min-width: 0; }
.preview-card { background: var(--white); color: var(--navy); border-radius: var(--radius); box-shadow: 0 30px 70px rgba(5,20,30,0.45); overflow: hidden; }
.preview-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.preview-title { font-family: var(--serif); font-size: 19px; }
.pills { display: flex; gap: 6px; font: 11px var(--mono); }
.pills span { padding: 5px 10px; border-radius: 100px; color: var(--slate); }
.pills .on { background: var(--grad-teal); color: var(--white); }
.preview-scroll { overflow-x: auto; }
.mini-grid { display: grid; grid-template-columns: 110px repeat(5, minmax(84px, 1fr)); min-width: 540px; font-size: 12.5px; }
.mini-grid > div { padding: 6px; border-bottom: 1px solid #E6EFF2; }
.mini-grid .h { padding: 10px 8px; font: 10.5px var(--mono); color: var(--slate); background: var(--mist); border-bottom-color: var(--line); }
.mini-grid .f { padding: 10px 12px; font-weight: 600; }
.chip { border-radius: 8px; padding: 6px 8px; line-height: 1.25; }
.chip-a { background: var(--ice); color: var(--navy-2); }
.chip-b { background: var(--teal); color: var(--white); }
.chip-c { background: var(--navy); color: var(--white); }
.chip-open { background: #FFF6E4; color: var(--gold-text); border: 1px dashed var(--gold); }
.preview-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.preview-stats div { padding: 14px 18px; border-right: 1px solid var(--line); }
.preview-stats div:last-child { border-right: 0; }
.k { font: 10.5px var(--mono); color: var(--slate); text-transform: uppercase; letter-spacing: 0.04em; }
.v { font-family: var(--serif); font-size: 22px; margin-top: 2px; }

/* Generic sections */
.section { padding-block: 72px 24px; }
.section h2 { margin: 0 0 32px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 46px); line-height: 1.08; max-width: 780px; }
.section h2 em { color: var(--teal); }
.problem { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.problem h2 { flex: 1 1 320px; font-size: 34px; margin: 0; }
.cards-3 { flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.card strong { display: block; margin-bottom: 6px; }
.card p, .card { font-size: 15.5px; line-height: 1.55; color: var(--slate); }
.card strong, .card h3 { color: var(--navy); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.feature { display: flex; flex-direction: column; gap: 10px; }
.num { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-teal); color: var(--white); display: flex; align-items: center; justify-content: center; font: 500 14px var(--mono); }
.feature h3, .step h3 { margin: 4px 0 0; font-family: var(--serif); font-weight: 400; font-size: 23px; }
.feature p, .step p { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.step { border-top: 4px solid var(--gold); display: flex; flex-direction: column; gap: 8px; }
.step:nth-child(2) { border-top-color: var(--teal-light); }
.step:nth-child(3) { border-top-color: var(--navy); }
.step .tag { font: 12.5px var(--mono); color: var(--gold-text); }

/* Billing band */
.band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); border-radius: 20px; padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.band-copy { position: relative; flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.band h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.08; }
.band .eyebrow { color: var(--gold-light); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; line-height: 1.5; color: #D0E2E8; }
.ticks li { display: flex; gap: 12px; }
.ticks strong { color: var(--white); }
.ticks svg { flex: none; margin-top: 2px; }
.calc { position: relative; flex: 1 1 360px; min-width: 0; background: var(--white); color: var(--navy); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 50px rgba(5,20,30,0.35); }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.calc-grid div { background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.calc-grid .v { font-size: 24px; }
.calc-total { background: var(--grad-teal); color: var(--white); border-radius: 12px; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; text-decoration: none; }
.calc-total:hover { color: var(--white); filter: brightness(1.06); }
.calc-total .k { color: var(--ice); }

/* Security */
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > div:first-child { flex: 1 1 320px; min-width: 0; }
.split h2 { margin-bottom: 16px; }
.secure-grid { flex: 2 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.secure { display: flex; gap: 14px; align-items: flex-start; }
.secure h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.secure p { margin: 0; font-size: 14.5px; }
.shield { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--ice); display: inline-flex; align-items: center; justify-content: center; }

/* Pricing */
.pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.pricing-head h2 { margin: 0; }
.toggle { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 100px; padding: 4px; gap: 4px; }
.toggle button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 100px; background: transparent; color: var(--slate); font: 500 14.5px var(--sans); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--grad-teal); color: var(--white); font-weight: 600; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.tier.featured { background: var(--grad-hero); color: var(--white); border-color: transparent; box-shadow: 0 24px 60px rgba(13,43,62,0.35); }
.tier-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tier h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; }
.tier .who, .tier .note, .tier .per { margin: 0; font-size: 15px; color: var(--slate); }
.tier .note { font-size: 13.5px; }
.tier.featured .who, .tier.featured .per { color: #D0E2E8; }
.tier.featured .note { color: #A9C3CC; }
.price-row { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.price { font-family: var(--serif); font-size: 54px; line-height: 1; }
.popular { background: var(--grad-gold); color: var(--navy); font: 500 11px var(--mono); padding: 5px 10px; border-radius: 100px; }
.tier .btn { margin-top: 8px; }
.tier ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.tier li { display: flex; gap: 10px; }
.tier li svg { flex: none; margin-top: 2px; }
.setup-note { margin: 20px 0 0; font-size: 15px; color: var(--slate); }

/* Founder */
.founder { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding: 36px; border-radius: 20px; }
.avatar { flex: none; width: 104px; height: 104px; border-radius: 50%; background: var(--grad-teal); border: 4px solid var(--gold-light); color: var(--white); display: flex; align-items: center; justify-content: center; font: 11px var(--mono); }
.founder blockquote { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.35; color: var(--navy); }
.founder > div:last-child { flex: 1 1 480px; min-width: 0; }

/* FAQ */
.faq { max-width: 860px; }
.faq-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 24px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { list-style: none; cursor: pointer; min-height: 56px; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 16.5px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ice); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; font: 16px var(--mono); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.6; color: var(--slate); max-width: 720px; }

/* Closing band + footer */
.closing { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); color: var(--white); margin-top: 48px; }
.closing .wrap { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-block: 64px; }
.closing h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 42px); line-height: 1.05; }
.closing p { margin: 0; font-size: 17px; color: #D0E2E8; }
footer { background: var(--navy); color: var(--slate-light); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 40px; font-size: 14px; }
footer a { color: #D0E2E8; }
.foot-tag { color: var(--gold-light); }
.legal { margin: 0; flex-basis: 100%; font-size: 12.5px; line-height: 1.5; border-top: 1px solid rgba(208,226,232,0.15); padding-top: 18px; }
@media (max-width: 560px) {
  .nav-links { gap: 14px; }
  .nav-links .hide-sm { display: none; }
  .hero-body { padding-block: 24px 64px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
