/* LiquidX — soft minimalist landing page: warm paper, quiet type, one sage accent. */
:root {
  --paper: #f7f5f0;
  --surface: #fdfcfa;
  --wash: #f0eee7;
  --line: #e7e3d9;
  --line-strong: #d8d3c6;
  --ink: #26251f;
  --muted: #706d63;
  --faint: #8d897e;
  --sage: #7fa48e;
  --sage-deep: #456858;
  --sage-wash: #e4ece5;
  --sage-line: #cddacf;
  --long: #1c7453;
  --long-wash: #e1f0e8;
  --short: #ad4238;
  --short-wash: #f7e7e4;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(38, 37, 31, .04), 0 16px 40px -18px rgba(38, 37, 31, .14);
  --shadow-lg: 0 2px 4px rgba(38, 37, 31, .04), 0 32px 70px -30px rgba(38, 37, 31, .26);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 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; }
[hidden] { display: none !important; }
::selection { background: #cfe0d4; }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 8px; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: .9em; color: var(--sage-deep); }
.up { color: var(--long); }
.down { color: var(--short); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 999px; font-weight: 600; white-space: nowrap;
  transition: background-color .25s, transform .25s, box-shadow .25s, border-color .25s;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #3b3a33; transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(38, 37, 31, .45); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: #fff; border-color: var(--line-strong); }
.btn.is-off { background: var(--wash); border-color: var(--line); color: var(--muted); pointer-events: none; }

/* ---------- nav: a floating paper pill with a soft sliding highlight ---------- */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav-pill {
  display: flex; align-items: center; gap: 6px; height: 60px; padding: 0 8px 0 14px;
  border: 1px solid rgba(231, 227, 217, .9); border-radius: 999px; pointer-events: auto;
  background: rgba(253, 252, 250, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 2px rgba(38, 37, 31, .03), 0 14px 34px -20px rgba(38, 37, 31, .2);
  transition: height .3s ease, background-color .3s ease;
}
.nav.scrolled .nav-pill { height: 54px; background: rgba(253, 252, 250, .92); }
.brand { display: flex; align-items: center; gap: 10px; padding-right: 14px; margin-right: 2px; }
/* The wordmark's box includes the q's tail, so nudge it down to centre the letters on the tile. */
.wordmark { margin-top: 5px; }
.nav-links { position: relative; display: flex; gap: 2px; padding: 4px; font-size: 14px; font-weight: 500; }
.nav-links a { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; color: var(--muted); transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-blob {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; opacity: 0; background: var(--sage-wash);
  /* width trails left a little, so the highlight eases between links instead of snapping */
  transition: left .45s cubic-bezier(.3, 1.2, .5, 1), width .55s cubic-bezier(.3, 1.2, .5, 1), opacity .25s;
}
.nav-blob.on { opacity: 1; }
.nav-cta { margin-left: 8px; height: 44px; padding: 0 20px; }
.nav.scrolled .nav-cta { height: 40px; }

/* ---------- hero ---------- */
.hero { padding: 176px 0 0; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
h1 { font-family: var(--display); font-size: clamp(48px, 7.4vw, 92px); line-height: 1; font-weight: 600; letter-spacing: -.045em; }
h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.03em; color: var(--sage-deep); }
.lead { max-width: 560px; margin-top: 26px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.lead strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { color: var(--sage); }

/* Token box: stays hidden until a token is set in main.js. */
.token {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 14px; width: 100%; max-width: 520px; margin-top: 30px; padding: 12px 14px 14px 18px;
  border: 1px solid var(--sage-line); border-radius: 18px; background: var(--sage-wash); text-align: left;
}
.token-label { color: var(--sage-deep); font-size: 13px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.token-addr { grid-column: 1 / -1; grid-row: 2; min-width: 0; font: 500 13px/1.45 var(--mono); word-break: break-all; }
.token-actions { display: flex; align-items: center; gap: 10px; }
.token-chart { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.token-chart:hover { color: var(--ink); }
.footer-token code { color: var(--ink); font: 500 12px var(--mono); word-break: break-all; }

/* ---------- hero stage and demo (a quiet mock of the extension on X) ---------- */
.stage {
  margin-top: 76px; padding: 72px 24px; border-radius: 40px; overflow: hidden;
  background: #dfe8e0 url("/assets/stage.jpg") center / cover no-repeat;
}
.stage-note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }
/* Post and trade sheet sit side by side; the toast shares the post's cell and rises under it. */
.demo { display: grid; grid-template-columns: minmax(0, 470px) 290px; gap: 32px; align-items: center; justify-content: center; width: 100%; }
.post {
  grid-area: 1 / 1; padding: 18px 20px 16px; border: 1px solid var(--line); border-radius: 22px; background: #fff;
  box-shadow: var(--shadow-lg); font-size: 15px; line-height: 20px; text-align: left;
}
.post-head { display: flex; align-items: center; gap: 10px; }
/* Demo profile picture: site/assets/avatar.jpg. The gradient shows through if that file is missing. */
.avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; background: url("/assets/avatar.jpg") center / cover no-repeat, linear-gradient(140deg, #d6e2d9, var(--sage)); }
.who b { font-weight: 600; }
.who span { color: var(--faint); }
.post-text { margin: 8px 0 0 50px; }
.tag { color: var(--sage-deep); font-weight: 500; }
.chip {
  display: inline-flex; align-items: center; gap: 2px; height: 34px; padding: 3px; margin: 12px 0 0 50px;
  border: 1px solid var(--line); 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 b { font-weight: 600; }
.chip-coin .up { font-size: 13px; }
.chip-pos { padding: 1px 7px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--long); background: var(--long-wash); }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; transition: background-color .15s, transform .15s; }
.pill-long { color: var(--long); background: var(--long-wash); }
.pill-short { color: var(--short); background: var(--short-wash); }
.pill-long.press { background: #c3e2d2; transform: scale(.93); }
.post-actions { display: flex; justify-content: space-between; max-width: 360px; margin: 14px 0 0 50px; color: var(--faint); font-size: 13px; }
.post-actions span { display: flex; align-items: center; gap: 6px; }

/* The sheet rests slightly back and faded, and comes forward when Long is tapped. */
.sheet {
  grid-area: 1 / 2; border: 1px solid var(--line); border-radius: 22px; background: #fff;
  box-shadow: var(--shadow); font-size: 13px; text-align: left;
  opacity: .55; transform: translateY(10px) scale(.975); transform-origin: 50% 40%;
  transition: opacity .45s ease, transform .45s cubic-bezier(.2, .9, .3, 1.1), box-shadow .45s ease;
}
.sheet.open { opacity: 1; transform: none; box-shadow: var(--shadow-lg); }
.sheet-head { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; font-size: 16px; }
.sheet-head b { font-weight: 600; }
.sheet-head .x { font-size: 22px; line-height: 1; color: var(--muted); }
.sheet-tabs { display: flex; border-bottom: 1px solid var(--line); }
.sheet-tabs span { position: relative; flex: 1; padding: 8px 0 10px; text-align: center; color: var(--faint); font-weight: 500; }
.sheet-tabs .on { color: var(--ink); font-weight: 600; }
.sheet-tabs .on::after { content: ''; position: absolute; left: 50%; bottom: -1px; width: 44px; height: 3px; margin-left: -22px; border-radius: 99px; background: var(--sage-deep); }
.sheet-body { padding: 14px 16px 16px; }
.sheet-mkt { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.sheet-mkt b { font-weight: 600; }
.sheet-mkt b:last-child { font-size: 18px; }
.tag-s { padding: 1px 6px; border-radius: 5px; background: var(--wash); color: var(--muted); font-size: 10px; vertical-align: middle; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; margin-top: 12px; border-radius: 999px; background: var(--wash); }
.seg span { padding: 6px 0; border-radius: 999px; text-align: center; font-weight: 600; color: var(--muted); }
.seg .on { background: var(--long); color: #fff; }
.field { position: relative; margin-top: 12px; padding: 20px 12px 7px; border: 1px solid var(--sage); border-radius: 12px; box-shadow: 0 0 0 3px var(--sage-wash); font-size: 16px; }
.field small { position: absolute; top: 5px; left: 12px; font-size: 11px; color: var(--sage-deep); }
.field em { position: absolute; right: 12px; bottom: 8px; font-style: normal; color: var(--faint); font-size: 13px; }
.lev { display: flex; justify-content: space-between; margin-top: 14px; font-weight: 600; }
.track { position: relative; height: 4px; margin-top: 10px; border-radius: 99px; background: var(--sage-wash); }
.track i { position: absolute; left: 0; top: 0; bottom: 0; width: 42%; border-radius: 99px; background: var(--sage-deep); }
.track i::after { content: ''; position: absolute; right: -7px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--sage-deep); }
.submit {
  position: relative; display: flex; align-items: center; justify-content: center; height: 42px; margin-top: 16px;
  border-radius: 999px; background: var(--long); color: #fff; font-size: 15px; font-weight: 600; transition: transform .15s, filter .15s;
}
.submit.press { transform: scale(.97); filter: brightness(.92); }
.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 {
  grid-area: 1 / 1; align-self: end; justify-self: center; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--paper);
  font-size: 15px; white-space: nowrap; box-shadow: 0 14px 34px -14px rgba(38, 37, 31, .5);
  opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .35s;
}
.toast.show { opacity: 1; transform: none; }

/* ---------- wallets strip ---------- */
.strip { padding-top: 56px; }
.strip-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.strip-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.strip li { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 136px 0 0; }
.kicker { margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-deep); }
h2 { max-width: 720px; font-family: var(--display); font-size: clamp(32px, 4.3vw, 50px); line-height: 1.1; font-weight: 600; letter-spacing: -.035em; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.step { padding: 28px 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 40px; border-radius: 50%;
  background: var(--sage-wash); color: var(--sage-deep); font-size: 13px; font-weight: 600; 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: 56px; }
.card { padding: 28px 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); 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: 40px; align-items: center; padding: 36px; }
.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; }

/* The three swatches show X's own display themes, so they keep X's colors, not this site's. */
.themes { display: grid; gap: 10px; }
.theme { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 18px; border: 1px solid; border-radius: 18px; }
.theme small { font-size: 13px; font-weight: 600; }
.theme .up { color: #00ba7c; }
.theme .down { color: #f4212e; }
.theme .pill-long { color: #00ba7c; background: rgba(0, 186, 124, .14); }
.theme .pill-short { color: #f4212e; background: rgba(244, 33, 46, .14); }
.t-dark { background: #000; border-color: #2f3336; color: #e7e9ea; }
.t-dark small { color: #8b98a5; }
.t-dim { background: #15202b; border-color: #38444d; color: #f7f9f9; }
.t-dim small { color: #8b98a5; }
.t-light { background: #fff; border-color: var(--line); color: #0f1419; }
.t-light small { color: #536471; }
.t-light .up, .t-light .pill-long { color: #00805a; }
.t-light .down, .t-light .pill-short { color: #d1202b; }
.mini-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 3px 3px 3px 11px; border: 1px solid; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.mini-chip b { font-weight: 600; }
.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: 22px; }
.tags li { padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 500; color: var(--muted); }

.side-mock { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; font-size: 14px; }
.sm-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.sm-head b { font-size: 16px; font-weight: 600; }
.sm-head span { color: var(--faint); font-size: 12px; }
.side-mock small { color: var(--muted); font-size: 12px; }
.sm-value { margin-bottom: 8px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.sm-row { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); }
.sm-row b { font-weight: 600; }
.sm-row .num { margin-left: auto; font-weight: 600; }
.sm-foot { padding-top: 11px; border-top: 1px solid var(--line); color: var(--sage-deep); font-size: 13px; font-weight: 500; }

.coins { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.coins li { padding: 4px 10px; border-radius: 9px; background: var(--wash); font: 500 13px/1.4 var(--mono); color: var(--muted); }
.coins li:last-child { background: none; font-family: var(--font); }
.net-toggle { display: inline-flex; padding: 3px; margin-top: 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 600; }
.net-toggle span { padding: 5px 13px; border-radius: 999px; color: var(--muted); }
.net-toggle .on { background: #f1e3ac; color: var(--ink); }
.flow { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13px; font-weight: 600; }
.flow span { padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); }
.flow span.done { border-color: var(--sage-line); background: var(--sage-wash); color: var(--sage-deep); }
.flow i { flex: 1; max-width: 36px; height: 1px; background: var(--line-strong); }
.tag-long, .tag-short { padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.tag-long { color: var(--long); background: var(--long-wash); }
.tag-short { color: var(--short); background: var(--short-wash); }

/* ---------- security ---------- */
.sec-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.sec-list { display: grid; gap: 28px; margin-top: 44px; }
.sec-list li { padding-left: 24px; border-left: 2px solid var(--sage-line); }
.sec-list p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.perm { padding: 8px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.perm-head { display: flex; align-items: center; gap: 14px; padding: 20px 20px 18px; }
.perm-head img { border-radius: 13px; }
.perm-head b { display: block; font-size: 17px; font-weight: 600; }
.perm-head small { color: var(--muted); font-size: 14px; }
.perm ul { border-top: 1px solid var(--line); }
.perm li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 16px; }
.perm li:last-child { border-bottom: 0; }
.perm i { padding: 4px 11px; border-radius: 999px; font-style: normal; font-size: 13px; font-weight: 600; }
.perm .ok { color: var(--long); background: var(--long-wash); }
.perm .no { color: var(--short); background: var(--short-wash); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-top: 44px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0;
  font-size: 18px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; list-style: none; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover { color: var(--sage-deep); }
.faq details p { padding: 0 48px 26px 0; color: var(--muted); font-size: 16px; }
.faq details p a[href] { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- install ---------- */
.final { padding-top: 136px; }
.final-panel { display: flex; flex-direction: column; align-items: center; padding: 88px 40px 48px; border-radius: 40px; background: var(--sage-wash); text-align: center; }
.final-logo { margin-bottom: 30px; border-radius: 20px; box-shadow: 0 18px 40px -18px rgba(69, 104, 88, .6); }
.final h2 { margin: 0 auto; }
.final-sub { margin: 16px 0 34px; color: var(--muted); font-size: 18px; }
.cta-center { margin-top: 0; }
.install-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: 100%; margin-top: 60px; text-align: left; }
.install-steps li { padding: 24px 24px 26px; border-radius: 22px; background: rgba(253, 252, 250, .82); }
.install-steps .step-n { margin-bottom: 26px; background: #fff; }
.install-steps p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.install-steps strong { color: var(--ink); font-weight: 600; }
.install-steps a[href], .follow a { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; }
.final code { padding: 2px 7px; border-radius: 7px; background: #fff; color: var(--ink); font: 500 .86em var(--mono); white-space: nowrap; }
.copy-btn {
  margin-left: 2px; padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  color: var(--sage-deep); font: 600 12px var(--font); cursor: pointer; vertical-align: 1px; transition: background-color .2s, border-color .2s;
}
.copy-btn:hover { background: #fff; border-color: var(--sage); }
.store-note { max-width: 720px; margin: 28px 0 0; font-size: 14px; color: var(--muted); }
.follow { margin-top: 28px; color: var(--muted); font-size: 15px; }

/* ---------- footer ---------- */
.footer { margin-top: 112px; padding: 40px 0 56px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 40px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .wordmark { margin-top: 4px; }
.footer-brand a { margin-left: 10px; color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-brand a:hover { color: var(--ink); }
.legal { max-width: 620px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer-token { grid-column: 2; }
.copy { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* ---------- document pages (privacy) ---------- */
.doc { padding: 176px 0 0; }
.doc-inner { max-width: 720px; }
.doc h1 { font-size: clamp(40px, 6vw, 62px); }
.doc-meta { margin-top: 16px; color: var(--muted); font-size: 15px; }
.doc h2 { margin-top: 52px; font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
.doc p, .doc li { color: var(--muted); font-size: 17px; line-height: 1.7; }
.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(--sage); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a[href] { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; }
.tldr { margin-top: 40px; padding: 28px 32px 30px; border-radius: var(--radius); background: var(--sage-wash); }
.tldr h2 { margin-top: 0; font-size: 18px; }
.tldr ul { margin-top: 10px; }
.tldr li { color: var(--ink); }

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

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero, .doc { padding-top: 144px; }
  .card-wide { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; gap: 48px; }
  .install-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .demo { grid-template-columns: minmax(0, 470px); gap: 20px; }
  .post, .sheet, .toast { grid-area: auto; }
  .sheet { justify-self: center; width: min(100%, 320px); }
  .toast { align-self: auto; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-pill { width: 100%; justify-content: space-between; }
  .steps, .bento { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; padding: 28px 28px 32px; }
  .card-tall { grid-row: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-token { grid-column: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero, .doc { padding-top: 124px; }
  .lead { font-size: 17px; }
  .btn-lg { width: 100%; }
  .stage { margin-top: 56px; padding: 24px 12px 32px; border-radius: 28px; }
  .section, .final { padding-top: 96px; }
  .final-panel { padding: 64px 16px 32px; border-radius: 28px; }
  .install-steps { grid-template-columns: 1fr; margin-top: 44px; }
  .footer { margin-top: 80px; }
  .tldr { padding: 22px 22px 24px; }
  .chip-coin .up { display: none; }
  .post { padding: 14px; }
  .post-text, .chip, .post-actions { margin-left: 0; }
  .chip { max-width: 100%; font-size: 13px; }
  .chip-coin { gap: 5px; padding: 0 6px 0 8px; }
  .chip .pill { padding: 0 8px; }
  .chip-pos { padding: 1px 5px; }
  .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; }
}
