:root {
  --bg: #07070a;
  --bg-raised: #0f0f14;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f3ef;
  --muted: rgba(245, 243, 239, 0.66);
  --faint: rgba(245, 243, 239, 0.42);
  --amber: #ffb342;
  --amber-deep: #e8891c;
  --amber-glow: rgba(255, 179, 66, 0.22);
  --radius: 22px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Skip link */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--amber); color: #160d00; padding: 10px 16px; border-radius: 10px; font-weight: 650; }
.skip:focus { top: 12px; text-decoration: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 10, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 17px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-strong); }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 16px 18px;
    background: rgba(7, 7, 10, 0.96);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 17px; padding: 12px 14px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 650; font-size: 16px; letter-spacing: -0.005em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, #ffc266, var(--amber) 55%, var(--amber-deep)); color: #160d00; box-shadow: 0 10px 30px -10px var(--amber-glow), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(255, 179, 66, .45), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { color: var(--text); background: var(--surface); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-strong); }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(7,7,10,.92) 38%, rgba(7,7,10,.55) 70%, rgba(7,7,10,.85) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7,7,10,0) 40%),
    url("/assets/hero.jpg") center right / cover no-repeat;
  opacity: .9;
}
.hero::after {
  content: ""; position: absolute; left: -10%; top: -30%; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(255,179,66,.12), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--amber); border-radius: 2px; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 750; margin: 18px 0 20px; }
.hero h1 .accent { background: linear-gradient(180deg, #ffd08a, var(--amber) 60%, var(--amber-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--faint); }

/* Phone mockup with a live prompter */
.device {
  position: relative; justify-self: center;
  width: min(300px, 78vw); aspect-ratio: 9 / 19.2;
  border-radius: 48px; padding: 12px;
  background: linear-gradient(145deg, #2b2b31, #0c0c10 60%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -20px rgba(0,0,0,.8), 0 0 120px -30px var(--amber-glow);
}
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #050507; }
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 86px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.scroll { position: absolute; left: 0; right: 0; top: 0; padding: 0 22px; animation: roll 26s linear infinite; animation-delay: -9s; }
.scroll p { margin: 0 0 18px; font-size: 21px; line-height: 1.35; font-weight: 650; color: #f2efe9; }
.scroll .cue { color: var(--amber); font-size: 14px; letter-spacing: .1em; font-weight: 800; }
@keyframes roll { from { transform: translateY(70%); } to { transform: translateY(-100%); } }
.reading-line { position: absolute; left: 0; right: 0; top: 38%; height: 56px; z-index: 2; background: rgba(255,179,66,.09); border-top: 1px solid rgba(255,179,66,.35); border-bottom: 1px solid rgba(255,179,66,.35); }
.reading-line::before, .reading-line::after { content: ""; position: absolute; top: 50%; transform: translateY(-50%); border: 9px solid transparent; }
.reading-line::before { left: 4px; border-left: 12px solid var(--amber); }
.reading-line::after { right: 4px; border-right: 12px solid var(--amber); }
.fade-top, .fade-bottom { position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
.fade-top { top: 0; height: 32%; background: linear-gradient(#050507 20%, rgba(5,5,7,0)); }
.fade-bottom { bottom: 0; height: 30%; background: linear-gradient(rgba(5,5,7,0), #050507 80%); }
.rec { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; width: 58px; height: 58px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; }
.rec::after { content: ""; width: 42px; height: 42px; border-radius: 50%; background: #ff453a; }
@media (prefers-reduced-motion: reduce) { .scroll { animation: none; transform: translateY(20%); } }

@media (max-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(7,7,10,.82) 60%, rgba(7,7,10,.7) 100%), url("/assets/hero.jpg") center / cover no-repeat; }
}

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 720; margin: 14px 0 14px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } section { padding: 64px 0; } }

.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(255,179,66,.28); transform: translateY(-2px); }
.card h3 { font-size: 20px; font-weight: 680; margin: 18px 0 8px; letter-spacing: -0.015em; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(255,179,66,.22), rgba(255,179,66,.06));
  border: 1px solid rgba(255,179,66,.28); color: var(--amber);
}
.icon svg { width: 24px; height: 24px; }
.pro-tag { position: absolute; top: 24px; right: 24px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: #160d00; background: var(--amber); padding: 4px 8px; border-radius: 999px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.1; }
.split-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,7,10,.55), rgba(7,7,10,0) 45%); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: var(--muted); }
.checks li strong { color: var(--text); font-weight: 650; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--amber); margin-top: 2px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 32px; border-radius: 26px; border: 1px solid var(--line); background: var(--surface); }
.plan.pro { background: radial-gradient(120% 80% at 100% 0%, rgba(255,179,66,.16), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border-color: rgba(255,179,66,.4); box-shadow: 0 30px 80px -40px var(--amber-glow); }
.plan h3 { font-size: 26px; font-weight: 720; }
.plan .sub { color: var(--muted); margin: 6px 0 22px; font-size: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; color: var(--muted); font-size: 16px; }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--amber); }
.plan.free li svg { color: var(--faint); }
.fine { color: var(--faint); font-size: 14px; text-align: center; max-width: 720px; margin: 28px auto 0; }

/* Privacy band */
.band { border-radius: 30px; padding: 56px; border: 1px solid var(--line); background: radial-gradient(90% 120% at 0% 0%, rgba(255,179,66,.12), transparent 55%), var(--bg-raised); display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.band .shield { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: rgba(255,179,66,.12); color: var(--amber); border: 1px solid rgba(255,179,66,.3); }
.band .shield svg { width: 36px; height: 36px; }
.band h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 720; margin-bottom: 8px; }
.band p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; padding: 36px 24px; } }

/* CTA */
.cta { text-align: center; padding: 100px 0 110px; position: relative; }
.cta::before { content: ""; position: absolute; inset: 10% 20%; background: radial-gradient(closest-side, rgba(255,179,66,.14), transparent); pointer-events: none; }
.cta img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 28px; box-shadow: 0 20px 60px -15px var(--amber-glow), 0 0 0 1px var(--line); }
.cta h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 750; margin-bottom: 16px; position: relative; }
.cta-actions { justify-content: center; position: relative; }
.cta p { color: var(--muted); font-size: 19px; margin: 0 auto 32px; max-width: 32em; position: relative; }

/* Document pages (terms, privacy, support) */
.doc-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--line); background: radial-gradient(60% 140% at 0% 0%, rgba(255,179,66,.1), transparent 60%); }
.doc-hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 750; margin: 14px 0 12px; }
.doc-hero p { color: var(--muted); margin: 0; font-size: 18px; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 56px 0 96px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.toc p { color: var(--faint); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; color: var(--muted); padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; line-height: 1.35; }
.toc a:hover { color: var(--text); border-left-color: var(--amber); text-decoration: none; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; } .toc { display: none; } }

.prose { max-width: 740px; }
.prose h2 { font-size: 25px; font-weight: 700; margin: 44px 0 14px; scroll-margin-top: 90px; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 680; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 650; }
.callout { border: 1px solid rgba(255,179,66,.35); background: rgba(255,179,66,.07); border-radius: 18px; padding: 22px 24px; margin: 0 0 32px; }
.callout p:last-child { margin-bottom: 0; }
.callout p { color: var(--text); }
.table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--text); font-weight: 650; background: var(--surface); }
.table td { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 22px; }
.table-wrap .table { margin: 0; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* Support */
.contact-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 32px; border-radius: 26px; border: 1px solid rgba(255,179,66,.35); background: radial-gradient(100% 140% at 100% 0%, rgba(255,179,66,.14), transparent 60%), var(--bg-raised); margin-bottom: 56px; }
.contact-card h2 { font-size: 28px; font-weight: 720; margin-bottom: 6px; }
.contact-card p { color: var(--muted); margin: 0; }
.contact-card .email { color: var(--text); font-weight: 650; word-break: break-all; }
@media (max-width: 700px) { .contact-card { grid-template-columns: 1fr; padding: 26px 22px; } .contact-card .btn { width: 100%; } }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: rgba(255,179,66,.3); background: var(--surface-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 650; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin: 0; }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 22px; font-weight: 700; margin: 0 0 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--faint); font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); }
.footer-note { margin-top: 24px; max-width: 760px; line-height: 1.55; }

/* Entrance animation */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* More apps from the developer: two columns of rows (icon, name, subtitle, arrow); an odd last row is centred */
.app-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.app-card {
  flex: 0 0 calc(50% - 10px); min-width: 0; box-sizing: border-box;
  display: grid; grid-template-columns: 72px 1fr 44px; align-items: center; gap: 22px;
  padding: 22px 24px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); border: 1px solid var(--line);
  color: var(--text); text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.app-card:hover { border-color: rgba(255,179,66,.3); background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)); transform: translateY(-2px); }
.app-card:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.app-card img { width: 72px; height: 72px; border-radius: 17px; border: 1px solid var(--line); background: var(--bg-raised); object-fit: cover; box-shadow: 0 10px 24px -12px rgba(0,0,0,.85); }
.app-text { display: flex; flex-direction: column; min-width: 0; }
.app-name { font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; }
.app-sub { color: var(--muted); font-size: 15px; margin-top: 5px; line-height: 1.35; }
.app-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-glow); color: var(--amber); transition: background .2s ease; }
.app-go svg { width: 18px; height: 18px; }
.app-card:hover .app-go { background: rgba(255,179,66,.32); }
.more-apps-all { margin-top: 36px; text-align: center; }
@media (max-width: 860px) {
  .app-grid { gap: 12px; }
  .app-card { flex-basis: 100%; grid-template-columns: 60px 1fr 36px; gap: 16px; padding: 16px 18px; border-radius: 22px; }
  .app-card img { width: 60px; height: 60px; border-radius: 14px; }
  .app-name { font-size: 16px; }
  .app-sub { font-size: 14px; }
  .app-go { width: 36px; height: 36px; }
  .app-go svg { width: 15px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) { .app-card, .app-go { transition: none; } .app-card:hover { transform: none; } }
