/* Storia Hosted Apps: shared styles. Page accent comes from --accent set on <body>. */

@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/open-sans-var.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/poppins-800.woff2') format('woff2'); }

:root {
  --accent: #0369A1;
  --accent-hover: #075985;
  --accent-soft: #E0F2FE;
  --ink: #0B1220;
  --ink-2: #334155;
  --muted: #5B6B80;
  --line: #E2E8F0;
  --line-2: #CBD5E1;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --navy: #0B1B33;
  --navy-2: #12284A;
  --gold: #F5B700;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .05), 0 1px 3px rgba(11, 18, 32, .06);
  --shadow-md: 0 4px 12px rgba(11, 18, 32, .06), 0 12px 32px rgba(11, 18, 32, .08);
  --shadow-lg: 0 8px 24px rgba(11, 18, 32, .08), 0 24px 64px rgba(11, 18, 32, .12);
  --font-display: 'Poppins', 'Open Sans', system-ui, sans-serif;
  --font-body: 'Open Sans', -apple-system, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a { white-space: nowrap; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.main-nav a:hover { color: var(--accent); background: var(--accent-soft); }
.main-nav a.nav-signin { border: 1px solid var(--line-2); margin-left: 8px; }
@media (max-width: 860px) { .main-nav a:not(.nav-signin) { display: none; } }
@media (max-width: 520px) { .site-header .container { gap: 12px; padding: 0 16px; } .main-nav a.nav-signin { padding: 6px 10px; margin-left: 0; font-size: 13px; } .container { padding: 0 16px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 64px;
  background:
    radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(700px 380px at 5% 0%, rgba(245, 183, 0, .10), transparent 70%),
    var(--bg);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line); }
.hero-home { text-align: center; padding: 88px 0 72px; }
.hero-home .lede { margin-left: auto; margin-right: auto; }
.hero-home .chips { justify-content: center; }
.hero-home .hero-actions { justify-content: center; }
.badge-au {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 7px 16px 7px 10px; font-size: 13.5px; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.badge-au svg { width: 28px; height: 26px; color: #0F6B46; }
.badge-au span span { color: var(--muted); font-weight: 600; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; font-weight: 800; margin: 0 0 20px; }
.hero-home h1 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.lede { font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.7; color: var(--ink-2); max-width: 58ch; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: rgba(255,255,255,.8); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }
.chips .icon { color: var(--accent); width: 16px; height: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; text-decoration: none; transition: background .15s, transform .1s, box-shadow .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn:active { transform: scale(.98); }
.btn:disabled { background: #94A3B8; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* App page hero: copy left, signup card right */
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 48px 0 48px; } }
.app-mark { width: 64px; height: 64px; border-radius: 18px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; overflow: hidden; }
.app-mark svg { display: block; }
.checklist { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.checklist .icon { color: var(--accent); margin-top: 3px; }
.breadcrumb { font-size: 13.5px; margin: 0 0 24px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

/* ---------- Signup card ---------- */
.signup {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 32px; box-shadow: var(--shadow-lg); position: sticky; top: 92px;
}
@media (max-width: 940px) { .signup { position: static; } }
.signup .price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-size: 52px; font-weight: 800; color: var(--accent); letter-spacing: -.03em; line-height: 1; }
.price-period { font-size: 14.5px; color: var(--muted); }
.price-note { font-size: 13.5px; color: var(--muted); margin: 8px 0 22px; }
.signup h2 { font-size: 17px; margin: 0 0 16px; padding-top: 22px; border-top: 1px solid var(--line); }
label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0 0 6px; }
input[type="text"], input[type="email"] {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 10px;
  font-size: 15.5px; font-family: inherit; color: var(--ink); background: #fff; margin-bottom: 8px; transition: border-color .15s, box-shadow .15s;
}
input:hover { border-color: var(--muted); }
input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.subdomain-preview { font-size: 13px; color: var(--muted); margin: 0 0 18px; word-break: break-all; }
.subdomain-preview strong { color: var(--ink); }
.field-error { font-size: 13px; color: #B91C1C; margin: -2px 0 14px; min-height: 18px; }
.signup-au { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 16px 0 0; }
.signup-au svg { width: 22px; height: 20px; color: #0F6B46; }
.signup-fine { text-align: center; font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; max-width: 560px; }
.stat { border-left: 3px solid var(--accent); padding-left: 14px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 20px; color: var(--ink); line-height: 1.2; }
.stat span { font-size: 12.5px; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.section h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; font-weight: 800; margin: 0 0 14px; }
.section-head p { font-size: 17px; color: var(--ink-2); margin: 0; }
@media (max-width: 720px) { .section { padding: 60px 0; } }

/* App catalog cards (home): the primary choice on the page, so they read as selectable */
.section-apps {
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(3, 105, 161, .08), transparent 70%),
    radial-gradient(700px 320px at 85% 100%, rgba(245, 183, 0, .10), transparent 70%),
    linear-gradient(180deg, #EEF3F9, #E6EDF6);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.catalog-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 2px solid color-mix(in srgb, var(--accent) 35%, #fff); border-radius: 24px; overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.catalog-card:hover, .catalog-card:focus-visible { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.catalog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 26px; background: var(--accent-soft); border-top: 6px solid var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.catalog-logo { width: 56px; height: 56px; border-radius: 15px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.catalog-head .catalog-logo { background: #fff; box-shadow: var(--shadow-sm); }
.catalog-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.mini-au { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); padding: 4px 10px 4px 7px; border-radius: 999px; }
.mini-au svg { width: 16px; height: 14px; color: #0F6B46; }
.catalog-name { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.catalog-tagline { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin: 0 0 14px; }
.catalog-desc { font-size: 15px; color: var(--ink-2); margin: 0 0 24px; flex: 1; }
.catalog-foot { border-top: 1px solid var(--line); padding-top: 20px; }
.catalog-price { margin: 0 0 16px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.catalog-price strong { font-family: var(--font-display); font-size: 34px; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.catalog-price > span { font-size: 13.5px; color: var(--muted); }
.catalog-cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; font-size: 15.5px; padding: 0 20px; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 28%, transparent); transition: background .15s; }
.catalog-cta .icon { transition: transform .2s; }
.catalog-card:hover .catalog-cta, .catalog-card:focus-visible .catalog-cta { background: var(--accent-hover); }
.catalog-card:hover .catalog-cta .icon { transform: translateX(4px); }

/* Trust band (dark) */
.band-dark { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #E2E8F0; position: relative; overflow: hidden; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--gold); }
.band-dark .section-head p { color: #B6C2D6; }
.band-dark::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(closest-side, rgba(245,183,0,.18), transparent); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; position: relative; }
.trust-item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 26px; }
.trust-item .icon { width: 28px; height: 28px; color: var(--gold); margin-bottom: 14px; }
.trust-item h3 { font-size: 17px; margin: 0 0 6px; }
.trust-item p { margin: 0; font-size: 14.5px; color: #B6C2D6; }
.trust-item.au { background: rgba(245,183,0,.10); border-color: rgba(245,183,0,.35); }
.trust-item.au svg.au-map { width: 44px; height: 40px; color: var(--gold); margin-bottom: 12px; display: block; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow-sm); counter-increment: step; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 18px; margin: 0 0 8px; }
.steps p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* Better together */
.together { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .together { grid-template-columns: 1fr; } }
.together-diagram { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-md); }
.together-diagram svg { width: 100%; height: auto; display: block; }
.together ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.together li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.together li .icon { color: var(--accent); margin-top: 3px; }
.ai-callout { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: 14px; padding: 18px 20px; }
.ai-callout .icon { width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.ai-callout p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.ai-callout strong { color: var(--ink); }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.section-alt .feature { background: var(--bg); box-shadow: none; }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature .ico .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 17px; margin: 0 0 6px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------- Screenshot showcase ---------- */
.js-only { display: none; }
.js .js-only { display: flex; }
.showcase-tabs { flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 24px; }
.showcase-tabs button { border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px; transition: all .15s; }
.showcase-tabs button:hover { border-color: var(--accent); color: var(--accent); }
.showcase-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.frame { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 1000px; margin: 0 auto; }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #F1F5F9; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #CBD5E1; display: block; }
.frame-url { margin-left: 12px; flex: 1; max-width: 360px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; color: var(--muted); padding: 4px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; outline-offset: -3px; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.shot { position: relative; display: block; width: 100%; aspect-ratio: 1915 / 995; background: #E8EEF5; border: 0; padding: 0; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
button.shot { cursor: zoom-in; }
.shot .zoom-hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(11,18,32,.78); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; opacity: 0; transition: opacity .15s; }
button.shot:hover .zoom-hint, button.shot:focus-visible .zoom-hint { opacity: 1; }
.shot.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, #fff), color-mix(in srgb, var(--accent) 3%, #fff)),
    #fff;
  color: var(--ink-2);
}
.shot.placeholder .icon { width: 44px; height: 44px; color: var(--accent); opacity: .75; }
.shot.placeholder strong { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.shot.placeholder span { font-size: 13.5px; color: var(--muted); }
.slide figcaption { padding: 16px 24px 20px; font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--line); text-align: center; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-60%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.95); box-shadow: var(--shadow-md); align-items: center; justify-content: center; color: var(--ink); z-index: 2; }
.nav-btn:hover { background: #fff; color: var(--accent); }
.nav-btn.prev { left: 14px; } .nav-btn.next { right: 14px; }
.nav-btn[disabled] { opacity: .35; cursor: default; }
@media (max-width: 640px) { .nav-btn { display: none !important; } .slide figcaption { padding: 14px 16px 16px; font-size: 14px; } }
.showcase-dots { justify-content: center; gap: 8px; margin-top: 20px; }
.showcase-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--line-2); }
.showcase-dots button[aria-current="true"] { background: var(--accent); width: 26px; border-radius: 999px; }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 96vw); width: 100%; }
dialog.lightbox::backdrop { background: rgba(5, 10, 20, .86); }
.lightbox-inner { position: relative; }
.lightbox img { width: 100%; height: auto; display: block; border-radius: 12px; background: #fff; }
.lightbox p { color: #E2E8F0; text-align: center; margin: 12px 0 0; font-size: 15px; }
.lightbox-close { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; }

/* ---------- Video ---------- */
.video-single { max-width: 860px; margin: 0 auto; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.player iframe, .player .yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade { background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; padding: 0; }
.yt-facade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.1), rgba(11,18,32,.55)); }
.play-btn { position: relative; width: 78px; height: 78px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .15s; }
.yt-facade:hover .play-btn { transform: scale(1.08); }
.play-btn .icon { width: 34px; height: 34px; fill: currentColor; stroke: none; margin-left: 4px; }
.player.soon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 28px; color: #E2E8F0;
  background: radial-gradient(500px 260px at 80% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.player.soon .play-btn { background: rgba(255,255,255,.14); box-shadow: none; border: 1px solid rgba(255,255,255,.3); }
.player.soon strong { font-family: var(--font-display); font-size: 22px; color: #fff; }
.player.soon span { font-size: 14.5px; color: #B6C2D6; max-width: 38ch; }
.player.soon a { color: var(--gold); font-weight: 700; }

/* ---------- AI section ---------- */
.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin-bottom: 36px; }
.ai-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 26px; }
.ai-card .icon { width: 28px; height: 28px; color: var(--gold); margin-bottom: 14px; }
.ai-card h3 { font-size: 17px; margin: 0 0 8px; }
.ai-card p { margin: 0; font-size: 14.5px; color: #B6C2D6; }
.prompt-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-bottom: 28px; }
.prompt { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px 14px 14px 4px; padding: 14px 18px; font-size: 14.5px; color: #fff; }
.prompt::before { content: "You"; display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin-bottom: 4px; }
.ai-foot { font-size: 14.5px; color: #B6C2D6; margin: 0; }
.ai-foot a { color: var(--gold); font-weight: 700; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink); }
.quote blockquote::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 54px; line-height: .6; color: var(--accent); margin-bottom: 8px; }
.quote figcaption { margin-top: auto; font-size: 14px; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-tools { display: flex; justify-content: flex-end; margin: -20px 0 8px; }
.faq-tools button { background: none; border: 0; color: var(--accent); font-weight: 700; font-size: 14px; padding: 6px 4px; }
.faq-group h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 36px 0 12px; font-family: var(--font-body); font-weight: 800; }
.faq-group:first-of-type h3 { margin-top: 8px; }
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; transition: border-color .15s, box-shadow .15s; }
details.faq[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
details.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 16px; color: var(--ink); border-radius: 14px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; flex: 0 0 22px; height: 22px; background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(180deg); }
details.faq summary:hover { color: var(--accent); }
.faq-answer { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 0 0 12px; padding-left: 20px; }

/* ---------- Cross-sell + CTA ---------- */
.cross-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cross-card { display: flex; gap: 16px; align-items: center; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.cross-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cross-card h3 { font-size: 17px; margin: 0 0 2px; }
.cross-card p { margin: 0; font-size: 14px; color: var(--muted); }
.cross-card .arrow { margin-left: auto; color: var(--accent); }
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #B6C2D6; font-size: 17px; margin: 0 auto 28px; max-width: 54ch; }
.cta-band .btn-primary { background: var(--gold); color: #1A1300; box-shadow: none; }
.cta-band .btn-primary:hover { background: #FFC933; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #B6C2D6; padding: 56px 0 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h2 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 14px; font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #D6DEEB; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { height: 26px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 16px; display: block; }
.footer-brand p { margin: 0 0 14px; max-width: 38ch; }
.footer-au { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 14px 6px 10px; }
.footer-au svg { width: 22px; height: 20px; color: var(--gold); }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }
.footer-base p { margin: 0; }
.updated { font-size: 13px; color: var(--muted); }

/* Mobile sticky CTA */
.sticky-cta { display: none; }
@media (max-width: 940px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
  .sticky-cta.show { transform: none; }
  body.has-sticky { padding-bottom: 76px; }
}

/* ---------- Simple pages (success, privacy, 404) ---------- */
.page-narrow { max-width: 720px; margin: 0 auto; padding: 56px 24px 96px; }
.page-narrow h1 { font-size: 32px; margin-bottom: 8px; }
.page-narrow h2 { font-size: 20px; margin: 36px 0 8px; }
.page-narrow p, .page-narrow li { font-size: 15.5px; color: var(--ink-2); }
.page-narrow .meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.page-narrow table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.page-narrow th, .page-narrow td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.callout { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 16px 18px; }
.table-wrap { overflow-x: auto; }
.card-center { max-width: 560px; margin: 72px auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 44px 40px; text-align: center; }
.card-center h1 { font-size: 30px; }
.card-center .subdomain { color: var(--accent); font-weight: 700; word-break: break-all; }
.next-steps { text-align: left; margin: 28px 0 0; padding: 22px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.next-steps h2 { font-size: 15px; margin: 0 0 10px; font-family: var(--font-display); }
.next-steps ul { margin: 0; padding-left: 20px; font-size: 14.5px; color: var(--ink-2); }
.next-steps li { margin-bottom: 6px; }

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