/* hypertag.trade — X-inspired dark landing page in the logo's mint. */
:root {
  --bg: #000;
  --surface: #0a0c0d;
  --card: #0e1112;
  --border: #2f3336;
  --border-soft: #1d2023;
  --text: #e7e9ea;
  --muted: #8b98a5;
  --dim: #71767b;
  --mint: #79f7e3;
  --mint-ink: #00231d;
  --green: #00ba7c;
  --red: #f4212e;
  --blue: #1d9bf0;
  --radius: 20px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; color: var(--mint); }
.mint { color: var(--mint); }
.up { color: var(--green); }
.down { color: var(--red); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 999px; background: var(--mint); color: var(--mint-ink); font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 700; white-space: nowrap;
  transition: background-color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn-sm { height: 38px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 17px; }
.btn-mint { background: var(--mint); color: var(--mint-ink); box-shadow: 0 0 0 0 rgba(121, 247, 227, 0); }
.btn-mint:hover { background: #a2fbec; transform: translateY(-1px); box-shadow: 0 10px 34px -8px rgba(121, 247, 227, .55); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(231, 233, 234, .06); border-color: #536471; }

/* ---------- nav: floating glass pill with a liquid highlight ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav-pill {
  position: relative; display: flex; align-items: center; gap: 6px; height: 58px; padding: 0 7px 0 12px;
  border-radius: 999px; pointer-events: auto;
  background: rgba(10, 12, 13, .62); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: height .3s ease, background-color .3s ease, transform .3s ease;
}
.nav-pill::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(121, 247, 227, .55), rgba(255, 255, 255, .07) 30%, rgba(255, 255, 255, .07) 70%, rgba(121, 247, 227, .4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.nav.scrolled .nav-pill { height: 52px; background: rgba(10, 12, 13, .82); }
.brand { display: flex; align-items: center; gap: 9px; padding-right: 14px; margin-right: 4px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; border-right: 1px solid rgba(255, 255, 255, .08); }
.brand img { border-radius: 8px; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.nav-links { position: relative; display: flex; gap: 2px; padding: 4px; font-size: 14px; font-weight: 600; }
.nav-links a { position: relative; z-index: 1; padding: 9px 15px; border-radius: 999px; color: var(--muted); transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-blob {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; opacity: 0;
  background: radial-gradient(120% 140% at 50% 0%, rgba(121, 247, 227, .22), rgba(121, 247, 227, .07));
  box-shadow: inset 0 0 0 1px rgba(121, 247, 227, .28), 0 0 22px -6px rgba(121, 247, 227, .55);
  /* width lags behind left so the blob stretches like liquid as it moves */
  transition: left .42s cubic-bezier(.3, 1.35, .5, 1), width .58s cubic-bezier(.3, 1.35, .5, 1), opacity .25s;
}
.nav-blob.on { opacity: 1; }
.nav-cta { margin-left: 6px; height: 44px; padding: 0 20px; }
.nav.scrolled .nav-cta { height: 40px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 156px 0 96px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(121, 247, 227, .16), rgba(121, 247, 227, 0) 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--border-soft) 1px, transparent 1px), linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
h1 { font-size: clamp(52px, 7.6vw, 96px); line-height: .95; font-weight: 800; letter-spacing: -.05em; }
.lead { max-width: 520px; margin-top: 24px; font-size: 20px; line-height: 1.5; color: var(--muted); }
.lead strong { color: var(--text); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { color: var(--mint); }

/* ---------- hero demo (mirrors the extension UI) ---------- */
.demo { position: relative; min-height: 470px; display: flex; align-items: flex-start; justify-content: center; padding-top: 10px; }
.post {
  width: 100%; max-width: 500px; padding: 16px 18px 14px; border: 1px solid var(--border); border-radius: 20px; background: #000;
  box-shadow: 0 40px 100px -30px rgba(121, 247, 227, .22), 0 0 0 1px rgba(255, 255, 255, .02);
  font-size: 15px; line-height: 20px;
}
.post-head { display: flex; align-items: center; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; background: conic-gradient(from 200deg, #79f7e3, #1d9bf0, #7856ff, #79f7e3); }
.who b { font-weight: 700; }
.who span { color: var(--dim); }
.post-text { margin: 8px 0 0 50px; }
.tag { color: var(--blue); }
.chip {
  display: inline-flex; align-items: center; gap: 2px; height: 34px; padding: 3px; margin: 12px 0 0 50px;
  border: 1px solid var(--border); border-radius: 999px; font-size: 14px; max-width: calc(100% - 50px);
}
.chip-coin { display: inline-flex; align-items: center; gap: 6px; padding: 0 8px 0 10px; white-space: nowrap; }
.chip-coin .up { font-size: 13px; }
.chip-pos { padding: 1px 6px; border-radius: 4px; font-size: 12px; font-weight: 700; color: var(--green); background: rgba(0, 186, 124, .14); }
.chip-pos[hidden] { display: none; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; transition: background-color .15s, transform .15s; }
.pill-long { color: var(--green); background: rgba(0, 186, 124, .13); }
.pill-short { color: var(--red); background: rgba(244, 33, 46, .13); }
.pill-long.press { background: rgba(0, 186, 124, .32); transform: scale(.93); }
.post-actions { display: flex; justify-content: space-between; max-width: 380px; margin: 14px 0 0 50px; color: var(--dim); font-size: 13px; }
.post-actions span { display: flex; align-items: center; gap: 6px; }

.sheet {
  position: absolute; right: 0; top: 170px; width: 300px; border: 1px solid var(--border); border-radius: 18px; background: #000;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(121, 247, 227, .25);
  font-size: 13px; opacity: 0; transform: translateY(18px) scale(.96); transform-origin: 30% 0;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2, .9, .3, 1.15); pointer-events: none;
}
.sheet.open { opacity: 1; transform: none; }
.sheet-head { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 14px; font-size: 16px; }
.sheet-head .x { font-size: 22px; line-height: 1; color: var(--text); }
.sheet-tabs { display: flex; border-bottom: 1px solid var(--border); }
.sheet-tabs span { flex: 1; text-align: center; padding: 8px 0 10px; color: var(--dim); font-weight: 500; position: relative; }
.sheet-tabs .on { color: var(--text); font-weight: 700; }
.sheet-tabs .on::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 50px; height: 3px; margin-left: -25px; border-radius: 99px; background: var(--blue); }
.sheet-body { padding: 12px 14px 14px; }
.sheet-mkt { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.sheet-mkt b:last-child { font-size: 18px; font-weight: 800; }
.tag-s { padding: 1px 5px; border-radius: 4px; background: #16181c; color: var(--dim); font-size: 10px; vertical-align: middle; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; margin-top: 10px; border-radius: 999px; background: #16181c; }
.seg span { text-align: center; padding: 6px 0; border-radius: 999px; font-weight: 700; color: var(--dim); }
.seg .on { background: var(--green); color: #fff; }
.field { position: relative; margin-top: 10px; padding: 18px 10px 6px; border: 1px solid var(--blue); border-radius: 4px; box-shadow: 0 0 0 1px var(--blue); font-size: 16px; }
.field small { position: absolute; top: 4px; left: 10px; font-size: 11px; color: var(--blue); }
.field em { position: absolute; right: 10px; bottom: 7px; font-style: normal; color: var(--dim); font-size: 13px; }
.lev { display: flex; justify-content: space-between; margin-top: 12px; font-weight: 700; }
.track { position: relative; height: 4px; margin-top: 10px; border-radius: 99px; background: rgba(29, 155, 240, .22); }
.track i { position: absolute; left: 0; top: 0; bottom: 0; width: 42%; border-radius: 99px; background: var(--blue); }
.track i::after { content: ''; position: absolute; right: -7px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); }
.submit {
  position: relative; display: flex; align-items: center; justify-content: center; height: 40px; margin-top: 14px;
  border-radius: 999px; background: var(--green); color: #fff; font-size: 15px; font-weight: 700; transition: transform .15s, filter .15s;
}
.submit.press { transform: scale(.97); filter: brightness(.9); }
.submit .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.submit.busy span { display: none; }
.submit.busy .spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: absolute; left: 50%; bottom: 8px; padding: 12px 16px; border-radius: 4px; background: var(--blue); color: #fff;
  font-size: 15px; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(29, 155, 240, .6);
  opacity: 0; transform: translate(-50%, 12px); transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- strip ---------- */
.strip { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--surface); }
.strip-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.strip-label { font-size: 14px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 30px; font-size: 17px; font-weight: 700; color: #c4cbd1; }

/* ---------- sections ---------- */
.section { padding: 120px 0 0; }
.kicker { margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
h2 { max-width: 760px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -.04em; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; counter-reset: none; }
.step { padding: 28px; border: 1px solid var(--border-soft); border-radius: var(--radius); background: linear-gradient(180deg, var(--card), #000); }
.step-n { display: block; margin-bottom: 40px; font-size: 15px; font-weight: 800; color: var(--mint); font-variant-numeric: tabular-nums; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { padding: 28px; border: 1px solid var(--border-soft); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.card p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.card-wide { grid-column: span 3; display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; align-items: center; }
.card-wide p { max-width: 400px; }
.card-tall { grid-row: span 2; display: flex; flex-direction: column; }
.card-tall .side-mock { margin-top: auto; }
.card-tall > p { margin-bottom: 24px; }

.themes { display: grid; gap: 12px; }
.theme { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid; }
.theme small { font-size: 13px; font-weight: 700; }
.t-dark { background: #000; border-color: #2f3336; color: #e7e9ea; }
.t-dark small { color: #71767b; }
.t-dim { background: #15202b; border-color: #38444d; color: #f7f9f9; }
.t-dim small { color: #8b98a5; }
.t-light { background: #fff; border-color: #eff3f4; color: #0f1419; }
.t-light small { color: #536471; }
.t-light .up { color: #00996b; }
.mini-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 3px 3px 3px 10px; border: 1px solid; border-color: inherit; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.t-dark .mini-chip { border-color: #2f3336; }
.t-dim .mini-chip { border-color: #38444d; }
.t-light .mini-chip { border-color: #eff3f4; }
.mini-chip .pill { height: 24px; padding: 0 10px; font-size: 12px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; font-weight: 600; color: #c4cbd1; }

.side-mock { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: #000; font-size: 14px; }
.sm-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.sm-head b { font-size: 17px; font-weight: 800; }
.sm-head span { color: var(--dim); font-size: 12px; }
.side-mock small { color: var(--dim); font-size: 12px; }
.sm-value { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.sm-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--border-soft); }
.sm-row .num { margin-left: auto; font-weight: 700; }
.sm-foot { padding-top: 10px; border-top: 1px solid var(--border-soft); color: var(--blue); font-size: 13px; }

.coins { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.coins li { padding: 4px 10px; border-radius: 8px; background: #16181c; font: 600 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #c4cbd1; }
.coins li:last-child { background: none; color: var(--dim); font-family: var(--font); }
.net-toggle { display: inline-flex; padding: 3px; margin-top: 20px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 700; }
.net-toggle span { padding: 5px 12px; border-radius: 999px; color: var(--dim); }
.net-toggle .on { background: #ffd400; color: #0f1419; }
.flow { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px; font-weight: 700; }
.flow span { padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; }
.flow span.mint { border-color: rgba(121, 247, 227, .4); background: rgba(121, 247, 227, .08); }
.flow i { flex: 1; max-width: 36px; height: 1px; background: linear-gradient(90deg, var(--border), var(--mint)); }
.tag-long, .tag-short { padding: 1px 6px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.tag-long { color: var(--green); background: rgba(0, 186, 124, .13); }
.tag-short { color: var(--red); background: rgba(244, 33, 46, .13); }

/* ---------- security ---------- */
.sec-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.sec-list { display: grid; gap: 26px; margin-top: 40px; }
.sec-list li { padding-left: 22px; border-left: 2px solid var(--border); }
.sec-list p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.perm {
  padding: 8px; border: 1px solid var(--border); border-radius: 24px; background: linear-gradient(160deg, rgba(121, 247, 227, .08), rgba(121, 247, 227, 0) 45%), var(--card);
  box-shadow: 0 40px 100px -40px rgba(121, 247, 227, .25);
}
.perm-head { display: flex; align-items: center; gap: 14px; padding: 18px 18px 16px; }
.perm-head img { border-radius: 12px; }
.perm-head b { display: block; font-size: 18px; }
.perm-head small { color: var(--muted); font-size: 14px; }
.perm ul { border-top: 1px solid var(--border-soft); }
.perm li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border-soft); font-size: 16px; }
.perm li:last-child { border-bottom: 0; }
.perm i { font-style: normal; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.perm .ok { color: var(--green); background: rgba(0, 186, 124, .13); }
.perm .no { color: var(--red); background: rgba(244, 33, 46, .13); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-top: 40px; border-top: 1px solid var(--border-soft); }
.faq details { border-bottom: 1px solid var(--border-soft); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0;
  font-size: 19px; font-weight: 700; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--mint); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); font-size: 17px; }
.faq details p a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- final CTA ---------- */
.final { position: relative; margin-top: 140px; padding: 110px 0; border-top: 1px solid var(--border-soft); overflow: hidden; text-align: center; }
.final::before {
  content: ''; position: absolute; left: 50%; top: 40%; width: 900px; height: 600px; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(121, 247, 227, .17), rgba(121, 247, 227, 0));
}
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-logo { margin-bottom: 30px; border-radius: 22px; box-shadow: 0 20px 70px -10px rgba(121, 247, 227, .45); }
.final h2 { margin: 0 auto; }
.final-sub { margin: 16px 0 32px; color: var(--muted); font-size: 19px; }
.cta-center { justify-content: center; margin-top: 0; }
.install-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 56px; text-align: left; }
.install-steps li { padding: 24px; border: 1px solid var(--border-soft); border-radius: var(--radius); background: rgba(14, 17, 18, .85); }
.install-steps .step-n { margin-bottom: 28px; }
.install-steps p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.install-steps strong { color: var(--text); }
.install-steps a, .follow a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.final code { padding: 2px 6px; border-radius: 6px; background: #16181c; color: var(--text); font: 600 .88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; }
.copy-btn {
  margin-left: 2px; padding: 2px 8px; border: 1px solid var(--border); border-radius: 999px; background: none;
  color: var(--mint); font: 700 12px var(--font); cursor: pointer; vertical-align: 1px; transition: background-color .2s;
}
.copy-btn:hover { background: rgba(121, 247, 227, .1); }
.final .store-note { max-width: 640px; margin: 28px 0 0; font-size: 14px; color: var(--dim); }
.follow { margin-top: 14px; color: var(--muted); font-size: 15px; }
[data-manual][hidden] { display: none; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 40px 0 48px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 7px; }
.footer-brand span, .footer-brand a { color: var(--dim); font-size: 14px; }
.footer-brand a { margin-left: 8px; transition: color .2s; }
.footer-brand a:hover { color: var(--text); }
.legal { max-width: 620px; color: var(--dim); font-size: 13px; line-height: 1.55; }
.copy { color: var(--dim); font-size: 13px; white-space: nowrap; }

/* ---------- document pages (privacy) ---------- */
.doc { padding: 150px 0 100px; }
.doc-inner { max-width: 760px; }
.doc h1 { font-size: clamp(42px, 6vw, 68px); }
.doc-meta { margin-top: 14px; color: var(--dim); font-size: 15px; }
.doc h2 { margin-top: 48px; font-size: 24px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.doc p, .doc li { color: var(--muted); font-size: 17px; line-height: 1.65; }
.doc p { margin-top: 14px; }
.doc ul { margin-top: 14px; padding-left: 22px; list-style: disc; }
.doc li { margin-top: 8px; }
.doc li::marker { color: var(--mint); }
.doc strong { color: var(--text); }
.doc a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.tldr { margin-top: 36px; padding: 24px 28px; border: 1px solid rgba(121, 247, 227, .3); border-radius: var(--radius); background: rgba(121, 247, 227, .05); }
.tldr h2 { margin-top: 0; font-size: 19px; }
.tldr ul { margin-top: 10px; }
.tldr li { color: var(--text); }

/* ---------- scroll reveal (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero { padding: 120px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .demo { max-width: 560px; width: 100%; margin: 0 auto; }
  .card-wide { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-pill { width: 100%; justify-content: space-between; }
  .brand { border-right: 0; }
  .steps, .bento { grid-template-columns: 1fr; }
  .install-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-wide { grid-column: auto; }
  .card-tall { grid-row: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .lead { font-size: 18px; }
  .btn-lg { width: 100%; }
  .section { padding-top: 88px; }
  .final { margin-top: 100px; padding: 80px 0; }
  .doc { padding: 120px 0 72px; }
  .install-steps { grid-template-columns: 1fr; margin-top: 40px; }
  .tldr { padding: 20px; }
  .demo { min-height: 500px; }
  .chip-coin .up { display: none; }
  .post { padding: 14px; }
  .post-text, .chip, .post-actions { margin-left: 0; }
  .chip { max-width: 100%; }
  .sheet { width: 270px; top: 150px; }
  .theme { flex-direction: column; align-items: flex-start; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
}

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