/* Xelon Browser — landing styles.
   Dark, near-black ground with a single orange accent, matching the app brand
   (#080808 / #FD962D). Committed dark design (the product is dark-only). */

:root {
  --bg:        #080808;
  --surface:   #101010;
  --surface-2: #161514;
  --border:    #241f1a;
  --border-2:  #362f27;
  --ink:       #ffffff;
  --text:      #e7e4e0;
  --muted:     #9c948a;   /* warm-biased grey — a chosen neutral, not pure grey */
  --faint:     #6d685f;
  --accent:    #fd962d;
  --accent-2:  #ff7d17;
  --accent-ink:#0a0a0a;
  --glow:      rgba(253,150,45,.16);

  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--sans);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --wrap: 1140px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}

h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.08; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: -.01em; }
em { color: var(--accent); font-style: normal; }
p  { margin: 0 0 1em; }
.lead { font-size: clamp(1.04rem, 1.6vw, 1.24rem); color: var(--text); max-width: 54ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  padding: 14px 22px; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent);
  transition: transform .12s ease, background .18s ease; box-shadow: 0 10px 34px -14px var(--glow);
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--border-2); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.meta { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--faint); margin-top: 22px; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8,8,8,.72); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: -.01em; }
.brand .mark { width: 26px; height: 26px; }
.brand b { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: .95rem; transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { color: var(--accent) !important; border: 1px solid var(--border-2); padding: 8px 16px; border-radius: 10px; transition: border-color .15s ease; }
.nav-cta:hover { border-color: var(--accent); }

/* ---------- hero (2-col: copy + phone mockup) ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: -25% -10% auto auto; width: 720px; height: 620px;
  background: radial-gradient(50% 50% at 70% 15%, var(--glow), transparent 72%); pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 22px; }

/* phone mockup — a stylised Xelon Ad-guard screen, pure CSS/SVG (no images) */
.phone { justify-self: center; width: 288px; max-width: 78vw; }
.phone-frame {
  position: relative; border-radius: 40px; padding: 12px;
  background: linear-gradient(160deg, #1c1a17, #0c0c0c);
  border: 1px solid #2c2721; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(253,150,45,.06);
}
.phone-screen { border-radius: 30px; background: var(--bg); overflow: hidden; aspect-ratio: 9/19; border: 1px solid #1a1815; }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; background: #000; border-radius: 0 0 14px 14px; z-index: 2; }
.scr { padding: 30px 20px 18px; display: flex; flex-direction: column; height: 100%; }
.scr-title { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 15px; margin: 6px 0 22px; }
.scr-hero { text-align: center; margin-bottom: 18px; }
.scr-shield { width: 40px; height: 40px; margin: 0 auto 8px; color: var(--accent); }
.scr-num { font-family: var(--display); font-weight: 800; color: var(--accent); font-size: 34px; line-height: 1; }
.scr-sub { color: var(--muted); font-size: 11px; margin-top: 4px; }
.scr-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 13px; display: flex; align-items: center; gap: 10px; margin-top: auto; }
.scr-card .t { font-size: 12.5px; color: var(--text); font-weight: 600; }
.scr-card .d { font-size: 10.5px; color: var(--faint); }
.scr-toggle { margin-left: auto; width: 34px; height: 20px; border-radius: 999px; background: var(--accent); position: relative; flex: none; }
.scr-toggle::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.scr-stat { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--border); margin-top: 12px; padding-top: 11px; }
.scr-stat b { color: var(--ink); font-family: var(--mono); }

/* ---------- spec strip ---------- */
.spec { border-bottom: 1px solid var(--border); }
.spec .wrap { display: flex; flex-wrap: wrap; gap: 10px 34px; padding-block: 18px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--muted); }
.spec b { color: var(--accent); font-weight: 500; }

/* ---------- feature rows (zig-zag) ---------- */
.rows { padding: clamp(60px, 8vw, 110px) 0; }
.rows .section-head { max-width: 60ch; margin-bottom: 8px; }
.rows .section-head p:last-child { color: var(--muted); margin: 14px 0 0; }
.row { display: grid; grid-template-columns: 84px 1fr; gap: 24px; align-items: start; padding: 34px 0; border-top: 1px solid var(--border); }
.row:first-of-type { border-top: none; }
.row .badge {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(253,150,45,.09); border: 1px solid rgba(253,150,45,.22); color: var(--accent);
}
.row .badge svg { width: 30px; height: 30px; }
.row .body { max-width: 62ch; }
.row .body h3 { margin-bottom: 8px; }
.row .body p { color: var(--muted); margin: 0; }
.row .body .tag { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(56px, 7vw, 100px) 0; border-top: 1px solid var(--border); background: var(--surface); }
.faq .grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: start; }
.faq h2 { position: sticky; top: 90px; }
.faq .list { display: flex; flex-direction: column; }
details {
  border-bottom: 1px solid var(--border); padding: 4px 0;
}
details summary {
  list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; position: absolute; right: 4px; top: 15px; font-size: 22px; color: var(--accent);
  transition: transform .2s ease; font-family: var(--sans); line-height: 1;
}
details[open] summary::after { transform: rotate(45deg); }
details .a { color: var(--muted); padding: 0 40px 20px 0; margin: 0; }
details .a a { color: var(--accent); border-bottom: 1px solid rgba(253,150,45,.35); }

/* ---------- closing ---------- */
.closing { text-align: center; border-top: 1px solid var(--border); padding: clamp(64px, 9vw, 120px) 0;
  background: radial-gradient(80% 130% at 50% 130%, rgba(253,150,45,.10), transparent 60%); }
.closing h2 { max-width: 20ch; margin: 0 auto; }
.closing .cta-row { justify-content: center; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--muted); font-size: .92rem; }
.foot-links a:hover { color: var(--accent); }
.copy { color: var(--faint); font-size: .85rem; width: 100%; margin-top: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .phone { order: -1; }
  .faq .grid { grid-template-columns: 1fr; gap: 20px; }
  .faq h2 { position: static; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .nav-links { gap: 15px; }
  .row { grid-template-columns: 1fr; gap: 14px; }
  .row .badge { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
