/* Public Access — site styles.
   Tokens follow the generated design system (dark tech, glass surfaces,
   Plus Jakarta Sans); the warm accent nods to the reference site. */
:root {
  --bg: #0b0f1a;
  --bg-2: #0f172a;
  --card: rgba(27, 35, 54, 0.72);
  --card-border: rgba(255, 255, 255, 0.10);
  --fg: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --accent: #ff6b35;
  --accent-hover: #ff8c5a;
  --on-accent: #0b0f1a;
  --status: #22c55e;
  --ring: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --space-xs: .25rem; --space-sm: .5rem; --space-md: 1rem; --space-lg: 1.5rem;
  --space-xl: 2rem; --space-2xl: 3rem; --space-3xl: 5rem;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  /* material dust: fine grain over soft, warm clouds, above the colour glows */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='turbulence' baseFrequency='.012' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .55 0 0 0 0 .35 0 0 0 .9 -.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)' opacity='.10'/%3E%3C/svg%3E"),
    radial-gradient(900px 500px at 15% -10%, rgba(255, 107, 53, 0.14), transparent 60%),
    radial-gradient(700px 400px at 90% 10%, rgba(34, 197, 94, 0.10), transparent 60%);
}

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--space-md); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(11, 15, 26, 0.7); border-bottom: 1px solid var(--card-border); }
.nav .wrap { display: flex; align-items: center; gap: var(--space-lg); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.brand svg { width: 28px; height: 28px; }
.nav ul { display: flex; gap: var(--space-lg); list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { text-decoration: none; color: var(--muted); font-weight: 500; padding: .5rem 0; }
.nav ul a:hover { color: var(--fg); }
.lang { margin-left: var(--space-md); font-size: .875rem; color: var(--muted); text-decoration: none; }
@media (max-width: 720px) { .nav ul { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn.ghost { border-color: var(--card-border); color: var(--fg); background: rgba(255,255,255,.04); }
.btn.ghost:hover { background: rgba(255,255,255,.09); }

/* hero */
.hero { padding: var(--space-3xl) 0 var(--space-2xl); }
.hero .wrap { display: grid; gap: var(--space-2xl); align-items: center; grid-template-columns: 1.05fr 1fr; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--muted); border: 1px solid var(--card-border); border-radius: 999px; padding: .3rem .8rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--status); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em; margin: var(--space-md) 0; font-weight: 700; }
h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--muted); font-size: 1.125rem; max-width: 34rem; }
.cta-row { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-top: var(--space-lg); }
.fine { color: var(--muted-2); font-size: .8125rem; margin-top: var(--space-md); }

.shot { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--card-border); background: var(--card); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.shot img { width: 100%; }
.shot .badge { position: absolute; top: 12px; left: 12px; font-size: .75rem; background: rgba(11,15,26,.8); border: 1px solid var(--card-border); border-radius: 999px; padding: .25rem .6rem; color: var(--muted); }

/* metrics */
.metrics { padding: var(--space-xl) 0; }
.metrics .wrap { display: grid; gap: var(--space-md); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .metrics .wrap { grid-template-columns: repeat(2, 1fr); } }
.metric { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-sm); padding: var(--space-md); backdrop-filter: blur(12px); }
.metric strong { display: block; font-size: 1.5rem; letter-spacing: -.02em; }
.metric span { color: var(--muted); font-size: .875rem; }

/* sections */
section { padding: var(--space-3xl) 0; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; margin: 0 0 var(--space-sm); }
.sub { color: var(--muted); max-width: 40rem; margin: 0 0 var(--space-xl); }
.grid-3 { display: grid; gap: var(--space-md); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: var(--space-lg); backdrop-filter: blur(12px); }
.card h3 { margin: var(--space-sm) 0; font-size: 1.125rem; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,107,53,.12); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }

/* modes */
.modes .card.featured, .plans .card.featured { border-color: rgba(255,107,53,.5); }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--accent); background: rgba(255,107,53,.12); border-radius: 999px; padding: .2rem .6rem; }

/* steps */
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); grid-template-columns: repeat(3, 1fr); counter-reset: step; }
@media (max-width: 900px) { .steps ol { grid-template-columns: 1fr; } }
.steps li { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: var(--space-lg); counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: var(--space-sm); }
.steps li p { color: var(--muted); margin: .25rem 0 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: rgba(255,255,255,.06); padding: .1rem .35rem; border-radius: 6px; }

/* pricing */
.price { max-width: 420px; margin: 0 auto; text-align: center; }
.price .amount { font-size: 3rem; font-weight: 700; letter-spacing: -.03em; }
.price .amount small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price ul { text-align: left; color: var(--muted); padding-left: 1.2rem; margin: var(--space-md) 0 var(--space-lg); }
.price li { margin: .3rem 0; }

/* faq */
details { border-top: 1px solid var(--card-border); padding: var(--space-md) 0; }
details:last-child { border-bottom: 1px solid var(--card-border); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
summary::after { content: "+"; color: var(--muted); font-size: 1.25rem; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: var(--space-sm) 0 0; }

/* footer */
footer { border-top: 1px solid var(--card-border); padding: var(--space-xl) 0; color: var(--muted); font-size: .875rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-xl); align-items: center; }
footer a { color: var(--muted); }
footer .spacer { flex: 1; }

/* legal pages */
.legal { max-width: 46rem; margin: 0 auto; padding: var(--space-2xl) var(--space-md) var(--space-3xl); }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.25rem; margin-top: var(--space-xl); }
.legal p, .legal li { color: var(--muted); }

/* pricing: two plans side by side, shared "includes" card below */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); max-width: 640px; margin: 0 auto var(--space-md); }
.plans .price { max-width: none; margin: 0; }
.plans .price .amount { font-size: 2.4rem; }
.plans .price .fine { margin-top: .4rem; }
.price.includes { max-width: 640px; }
.price.includes ul { margin-top: 0; }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

/* text + picture side by side; stacked on phones */
.split { display: grid; gap: var(--space-xl); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* step number and title on one line, with room between them */
.steps li::before { margin-right: .6rem; vertical-align: middle; }

/* ---- phones, portrait ---------------------------------------------------- */
@media (max-width: 600px) {
  /* header: one line — brand, language, call to action — all tappable */
  .nav .wrap { gap: var(--space-sm); min-height: 60px; }
  .brand { white-space: nowrap; font-size: .975rem; }
  .brand svg { width: 26px; height: 26px; }
  .lang { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; padding: 0 .4rem; }
  .nav .btn { white-space: nowrap; min-height: 40px; padding: .5rem .9rem; font-size: .875rem; }

  /* less air between sections: desktop spacing leaves half-empty screens */
  section { padding: var(--space-2xl) 0; }
  .hero { padding: var(--space-xl) 0 var(--space-xl); }
  .hero .wrap { gap: var(--space-xl); }
  .cta-row .btn { width: 100%; }

  /* screenshot caption above the picture, not over it */
  .shot .badge { position: static; display: inline-block; margin: 10px 10px 8px; }

  /* footer links: 44px targets */
  footer .wrap { gap: 0 var(--space-lg); }
  footer a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* header call to action: long label on wide screens, short on phones */
.nav .btn .short { display: none; }
@media (max-width: 600px) {
  .nav .btn .long { display: none; }
  .nav .btn .short { display: inline; }
}
