/* The public website only (templates/website/). The app has its own styles: this stays small so pages load fast. */
@font-face { font-family: "Manrope"; src: url("manrope.b222d83cc274.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
:root {
  --surface: #0b0b0c; --card: #141416; --raised: #1a1a1d; --line: #2a2a2e; --ink: #f4f2ed; --muted: #a9a7a1; --gold: #c9a24a; --gold-light: #f0d78f; --on-gold: #17130a;
  --radius: 20px; --glow: rgba(201, 162, 74, 0.28);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.6 "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 20px; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }
.gold { background: linear-gradient(100deg, var(--gold-light), var(--gold) 55%, #a8842c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease; }
.button:hover { transform: translateY(-1px); }
.button-gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 28px -10px var(--glow); }
.button-gold:hover { background: #d6b05a; }
.button-line { background: transparent; color: var(--ink); border-color: var(--line); }
.button-line:hover { background: var(--raised); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.button-large { min-height: 56px; padding: 0 28px; }
.text-link { color: var(--gold-light); font-weight: 700; }
.play { width: 0; height: 0; border-left: 11px solid var(--gold); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 30; background: rgba(11, 11, 12, 0.92); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.menu { display: none; }
.menu.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; padding: 8px 16px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.menu a:not(.button) { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 600; color: var(--muted); }
.menu a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu-cta { margin-top: 8px; }
.menu-button { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; margin-right: -10px; padding: 12px; background: none; border: 0; cursor: pointer; }
.menu-button span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
@media (min-width: 960px) {
  .menu-button { display: none; }
  .menu, .menu.is-open { display: flex; flex-direction: row; position: static; align-items: center; gap: 28px; padding: 0; border: 0; background: none; }
  .menu a:not(.button):hover { color: var(--ink); }
  .menu-login { margin-left: auto; }
  .menu-cta { margin-top: 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; text-align: center; }
.hero::before { content: ""; position: absolute; left: 50%; bottom: -12%; width: min(1100px, 170vw); height: 72%; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.hero-text { position: relative; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-block; padding: 7px 16px; border: 1px solid rgba(201, 162, 74, 0.5); border-radius: 999px; color: var(--gold-light); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; margin-bottom: 20px; }
.lead { max-width: 640px; margin-top: 20px; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); }
.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.trust { margin-top: 16px; color: var(--muted); font-size: 0.9rem; }
.fan { position: relative; display: flex; justify-content: center; align-items: flex-start; margin-top: 48px; height: clamp(320px, 72vw, 560px); }
.fan::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; z-index: 3; background: linear-gradient(transparent, var(--surface)); pointer-events: none; }
.fan .phone { position: absolute; top: 0; width: clamp(170px, 44vw, 300px); }
.fan-centre { z-index: 2; }
.fan-left { transform: translateX(-62%) rotate(-8deg) scale(0.88); transform-origin: bottom center; top: 24px !important; }
.fan-right { transform: translateX(62%) rotate(8deg) scale(0.88); transform-origin: bottom center; top: 24px !important; }

/* Device frames */
.phone { position: relative; width: 100%; max-width: 300px; padding: 7px; background: #1d1c19; border: 1px solid #3a3833; border-radius: 34px; box-shadow: 0 28px 60px -24px #000; }
.screen { width: 100%; height: auto; aspect-ratio: 720 / 1558; object-fit: cover; object-position: top; border-radius: 28px; background: var(--card); }
.laptop { width: 100%; }
.laptop-lid { aspect-ratio: 1280 / 800; padding: 1.6%; background: #1d1c19; border: 1px solid #3a3833; border-radius: 16px 16px 0 0; }
.laptop-lid .screen { aspect-ratio: 1280 / 800; border-radius: 6px; }
.laptop-base { height: 14px; margin: 0 -3%; background: linear-gradient(#34322d, #1d1c19); border-radius: 0 0 14px 14px; }

/* Sections */
.section { padding: 64px 0; }
.section-raised { background: var(--card); border-block: 1px solid var(--line); }
.section-title { text-align: center; }
.section-lead { max-width: 640px; margin: -8px auto 32px; text-align: center; color: var(--muted); }
.center { text-align: center; margin-top: 24px; }
.page-hero { padding: 56px 0; }
.center-stack { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-laptop { width: 100%; max-width: 980px; margin-top: 44px; }
.split { display: grid; gap: 36px; align-items: center; }
.split-device { display: flex; justify-content: center; }
.split-device .phone { max-width: 270px; }
.split .button { margin-top: 12px; }
.page-hero .lead { margin-bottom: 24px; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .section { padding: 96px 0; }
  .page-hero, .hero { padding-top: 80px; }
}
.ticks { list-style: none; margin: 0 0 16px; padding: 0; }
.ticks li { position: relative; padding: 7px 0 7px 32px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 14px; width: 13px; height: 7px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }

/* Switches */
.switch { display: inline-flex; gap: 4px; padding: 4px; margin: 0 auto 32px; background: var(--raised); border: 1px solid var(--line); border-radius: 999px; max-width: 100%; }
[data-tabs] > .wrap:first-child > .switch { display: flex; width: fit-content; }
.switch button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }
.center-stack .switch { margin: 24px 0 0; }
.center-stack .switch-small { margin: 12px 0 32px; }
.switch-small button { min-height: 44px; padding: 0 16px; font-size: 0.92rem; }

/* Stat tiles, cards, features */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 48px 0 0; }
.stats div { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.stats dt { font-size: clamp(1.3rem, 3vw, 1.85rem); font-weight: 800; color: var(--gold-light); }
.stats dd { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; }
.features { display: grid; gap: 16px; margin-top: 32px; }
.feature { display: flex; flex-direction: column; gap: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feature p { margin-top: 8px; color: var(--muted); }
.feature-device { display: flex; justify-content: center; order: 2; max-height: 430px; overflow: hidden; }
.feature-device .phone { max-width: 230px; }
.cards { display: grid; gap: 16px; margin-top: 32px; }
.card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card p { margin-top: 8px; color: var(--muted); }
.summary { display: grid; gap: 16px; }
.summary > div { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.summary-price, .plan-price { margin: 10px 0; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.summary-price small, .plan-price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.summary p:not(.summary-price) { color: var(--muted); margin-bottom: 12px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } .summary { grid-template-columns: 1fr 1fr; } .cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
@media (min-width: 860px) { .features { grid-template-columns: 1fr 1fr 1fr; } .feature-wide { grid-column: span 3; flex-direction: row; align-items: center; gap: 40px; } .feature-wide > div:last-child { flex: 0 0 34%; } .feature-wide .feature-device { flex: 1; order: 2; max-height: none; } .feature-device { align-items: flex-start; } }

/* Plans */
.plans { display: grid; gap: 16px; margin-top: 8px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.plan .ticks { flex: 1; margin: 8px 0 20px; }
.plan-popular { border-color: var(--gold); box-shadow: 0 0 44px -18px var(--glow); }
.plan-flag { position: absolute; top: -12px; left: 24px; padding: 2px 12px; background: var(--gold); color: var(--on-gold); border-radius: 999px; font-size: 0.75rem; font-weight: 800; }
.plan-saving { color: var(--gold-light); font-size: 0.9rem; font-weight: 700; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }

/* Quotes, CTA */
.quotes { display: grid; gap: 16px; margin-top: 32px; }
.quote { margin: 0; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 12px; }
.quote figcaption { color: var(--muted); font-size: 0.92rem; }
@media (min-width: 640px) { .quotes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.cta { padding: 72px 0; text-align: center; background: radial-gradient(60% 120% at 50% 100%, var(--glow), transparent), var(--card); border-top: 1px solid var(--line); }
.cta p { margin: 0 0 24px; color: var(--muted); }

/* About */
.about { display: grid; gap: 36px; align-items: start; }
.about-photo img { width: 100%; height: auto; border-radius: var(--radius); }
.photo-placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; max-width: 420px; background: var(--raised); border: 1px dashed var(--line); border-radius: var(--radius); font-size: 4rem; font-weight: 800; color: var(--gold); }
.lead-body { margin: 20px 0; font-size: 1.1rem; }
.about-contact { margin-top: 12px; color: var(--muted); }
@media (min-width: 860px) { .about { grid-template-columns: 2fr 3fr; gap: 64px; } }

/* Terms */
.legal { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--gold-light); }
.draft { margin-bottom: 28px; padding: 12px 16px; background: rgba(201, 162, 74, 0.16); border: 1px solid var(--gold); border-radius: 12px; color: var(--gold-light); }

/* The demo */
.demo { width: min(420px, 92vw); max-height: 94vh; padding: 0; background: #000; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.demo::backdrop { background: rgba(0, 0, 0, 0.82); }
.demo video { width: 100%; height: auto; max-height: 94vh; }
.demo-close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; background: rgba(0, 0, 0, 0.6); color: #fff; border: 0; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }

/* Footer */
.footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal { flex-basis: 100%; }
@media (min-width: 860px) { .footer-legal { flex-basis: auto; margin-left: auto; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
