body { margin: 0; }

/* ── TOKENS ── */
:root {
  --bg: #ffffff; --bg-2: #f5f5f7; --bg-card: #ffffff; --bg-card-2: #f5f5f7;
  --border: rgba(0,0,0,.08); --border-med: rgba(0,0,0,.12);
  --t1: #1d1d1f; --t2: #6e6e73; --t3: #aeaeb2;
  --gold: #8C5F18; --gold-hi: #A06B20; --gold-bg: rgba(140,95,24,.07); --gold-border: rgba(140,95,24,.18);
  --nav-bg: rgba(255,255,255,.82);
  --btn-bg: #1d1d1f; --btn-fg: #ffffff; --btn-bg-h: #3a3a3c;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-sheet: 0 -2px 40px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --bg-2: #1d1d1f; --bg-card: #1c1c1e; --bg-card-2: #2c2c2e;
    --border: rgba(255,255,255,.1); --border-med: rgba(255,255,255,.16);
    --t1: #f5f5f7; --t2: #86868b; --t3: #48484a;
    --gold: #C49240; --gold-hi: #D4A250; --gold-bg: rgba(196,146,64,.1); --gold-border: rgba(196,146,64,.22);
    --nav-bg: rgba(0,0,0,.75);
    --btn-bg: #f5f5f7; --btn-fg: #1d1d1f; --btn-bg-h: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
    --shadow-md: 0 4px 24px rgba(0,0,0,.5);
    --shadow-sheet: 0 -2px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
  }
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── BASE ── */
body {
  background: var(--bg); color: var(--t1);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px; font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 48px;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; color: var(--t1); }
.nav-dot { color: var(--gold); }
.nav-r { display: flex; align-items: center; gap: 1.25rem; }
.nav-link { font-size: .875rem; color: var(--t2); transition: color .15s; }
.nav-link:hover, .nav-link.active { color: var(--t1); }
/* ── BUTTONS & LINKS (darter-style modifiers) ── */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 980px;
  white-space: nowrap;
  transition: background .15s, border-color .15s, transform .1s, opacity .15s;
}

a.primary,
button.primary {
  background: var(--gold);
  color: #fff;
  font-size: .9375rem;
  font-weight: 500;
  padding: .6rem 1.625rem;
}
a.primary:hover,
button.primary:hover {
  background: var(--gold-hi);
  transform: translateY(-1px);
}

a.secondary,
button.secondary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .875rem;
  font-weight: 500;
  padding: .45rem 1.125rem;
}
a.secondary:hover,
button.secondary:hover {
  background: var(--btn-bg-h);
  transform: translateY(-1px);
}

a.outline,
button.outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  font-size: .9375rem;
  font-weight: 500;
  padding: .6rem 1.625rem;
}
a.outline:hover,
button.outline:hover {
  background: var(--gold-bg);
  border-color: var(--gold);
  transform: translateY(-1px);
}

a.quiet,
button.quiet:not(.round) {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: transparent;
  color: var(--gold);
  font-size: .875rem;
  font-weight: 500;
  padding: .4rem 0;
}
a.quiet:hover,
button.quiet:not(.round):hover {
  opacity: .7;
}

button.round {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

button:is(.tip-card, .tpc, .carousel-dot, .cat-tab, .selector-tab, .faq-q) {
  text-align: inherit;
  color: inherit;
}

/* ── HERO ── */
.hero { padding: 6rem 2rem 3rem; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--bg); }
.app-icon {
  width: 160px; height: 160px;
  margin: 0 auto 2.5rem;
  flex-shrink: 0;
}
.app-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-eyebrow { font-size: .8125rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.hero-h {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(3rem, 7vw, 5.25rem); font-weight: 700; letter-spacing: -0.022em; line-height: 1.07;
  color: var(--t1); margin-bottom: 1.375rem;
}
.hero-h em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 1.1875rem; text-align: left; color: var(--t2); line-height: 1.7; max-width: 44ch; margin-bottom: 2.25rem; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1rem; }
.hero-new { text-align: center; margin-bottom: 2.5rem; font-size: .9375rem; }
.price-badge {
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--gold-bg); border: 1px solid var(--gold-border);
  border-radius: 14px; padding: .875rem 1.5rem; margin-bottom: 3rem;
}
.price-amt { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif; font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--gold); line-height: 1; }
.price-sep { width: 1px; height: 1.75rem; background: var(--gold-border); }
.price-info { text-align: left; }
.price-main { font-size: .9375rem; font-weight: 500; color: var(--t1); }
.price-sub { font-size: .8125rem; color: var(--t2); }
.trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; padding-top: 2.5rem; border-top: 1px solid var(--border); width: 100%; }
.trust-item { display: flex; align-items: center; gap: .4375rem; padding: .375rem 1.125rem; font-size: .8125rem; color: var(--t2); border-right: 1px solid var(--border); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: none; padding-right: 0; }
.trust-item svg { color: var(--t3); flex-shrink: 0; }

/* ── FEATURES ── */
.features { border-top: 1px solid var(--border); }
.features-top { background: var(--bg-2); padding: 6rem 2rem 0;padding-bottom: 3.5rem; }
.feat-band { background: var(--bg); padding: 3.5rem 2rem 6rem; border-top: 1px solid var(--border); }
.sec-head { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.sec-eyebrow { font-size: .8125rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 1rem; }
.sec-h { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; color: var(--t1); line-height: 1.1; }
.sec-h-sm { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.sec-p { margin-top: 1rem; font-size: 1.0625rem; color: var(--t2); line-height: 1.65; }

/* ── CAROUSEL ── */
.carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 1.25rem; padding: 0 2rem 1.5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -2rem; }
.carousel::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 min(720px, calc(100vw - 4rem)); scroll-snap-align: center; }
.carousel-img { width: 100%; aspect-ratio: 16/10; background: var(--bg-card); border: 1px solid var(--border-med); border-radius: 14px; overflow: hidden; position: relative; }
.carousel-cap { text-align: center; font-size: .875rem; color: var(--t2); margin-top: 1rem; line-height: 1.5; }
.carousel-dots { display: flex; justify-content: center; gap: .5rem; margin-top: .875rem; }
.carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-med); border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.carousel-dot.active { background: var(--gold); transform: scale(1.3); }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ph-bar { height: 32px; background: var(--bg-card-2); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 14px; gap: 6px; flex-shrink: 0; }
.ph-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-med); }
.ph-body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.ph-row { display: flex; gap: 8px; align-items: center; height: 28px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.ph-row:last-child { border-bottom: none; }
.ph-pill { height: 8px; border-radius: 4px; background: var(--border-med); flex-shrink: 0; }
.ph-pill.g { background: var(--gold-bg); border: 1px solid var(--gold-border); }
.ph-sidebar { display: flex; gap: 8px; flex: 1; overflow: hidden; }
.ph-nav { width: 140px; flex-shrink: 0; padding: 12px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--border); }
.ph-main { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ph-tag { font-size: .55rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gold); opacity: .7; }

/* ── FEAT GRID ── */
.feat-grid { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border-med); border: 1px solid var(--border-med); border-radius: 14px; overflow: hidden; }
.feat { background: var(--bg-card); padding: 1.5rem; display: flex; flex-direction: column; gap: .625rem; }
.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 8px;
  background: var(--gold-bg);
  color: var(--gold);
  margin-bottom: .25rem;
}
.feat-icon svg { opacity: .92; }
.feat-h { font-size: .9375rem; font-weight: 600; color: var(--t1); letter-spacing: -0.01em; line-height: 1.3; }
.feat-p { font-size: .8125rem; color: var(--t2); line-height: 1.7; }

/* ── ADMIN MAP PREVIEW ── */
.admin-map { background: var(--bg-2); border-top: 1px solid var(--border); padding: 5rem 2rem 6rem; }
.admin-map-inner { max-width: 520px; margin: 0 auto; }
.admin-map-head { text-align: center; margin-bottom: 2.5rem; }
.admin-map-head .sec-p { max-width: 38ch; margin: 1rem auto 0; }
.admin-map-window {
  background: var(--bg-card);
  border: 1px solid var(--border-med);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.admin-map-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem .875rem;
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
}
.admin-map-dots { display: flex; gap: 5px; }
.admin-map-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-med);
}
.admin-map-dots span:first-child { background: #ff5f57; opacity: .85; }
.admin-map-dots span:nth-child(2) { background: #febc2e; opacity: .85; }
.admin-map-dots span:nth-child(3) { background: #28c840; opacity: .85; }
.admin-map-title { font-size: .75rem; font-weight: 500; color: var(--t2); letter-spacing: -.01em; }
.admin-map-body { padding: .5rem 0 .625rem; font-size: .8125rem; }
.admin-map-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3125rem 1rem;
  color: var(--t1);
  transition: background .12s;
}
.admin-map-row:hover { background: var(--bg-2); }
.admin-map-row--d1 { padding-left: 1.75rem; }
.admin-map-row--d2 { padding-left: 2.75rem; }
.admin-map-row svg { flex-shrink: 0; color: var(--gold); opacity: .75; }
.admin-map-row--root svg { opacity: 1; }
.admin-map-name { flex: 1; min-width: 0; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .78rem; letter-spacing: -.01em; }
.admin-map-name--bold { font-weight: 600; }
.admin-map-hint { font-size: .7rem; color: var(--t3); white-space: nowrap; }
.admin-map-note {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
  font-size: .8125rem;
  color: var(--t2);
  line-height: 1.65;
}
.admin-map-note-text { display: block; }
.admin-map-note-link {
  display: inline-flex;
  font-size: inherit;
  margin-left: 0;
}
.admin-map-note .folder-ref {
  vertical-align: middle;
}
.admin-map-note .folder-ref-icon {
  color: var(--t2);
  opacity: 1;
  margin-left: 2px;
  transform: translateY(0.04em);
}
.admin-map-note .folder-ref-icon svg {
  stroke: currentColor;
  fill: currentColor;
  fill-opacity: .14;
}
.admin-map-note .folder-ref-name {
  color: var(--t2);
  font-weight: 600;
}
@media (prefers-color-scheme: dark) {
  .admin-map-note .folder-ref-icon {
    color: rgba(255, 255, 255, .88);
  }
  .admin-map-note .folder-ref-icon svg {
    stroke: currentColor;
    fill: currentColor;
    fill-opacity: .12;
  }
  .admin-map-note .folder-ref-name {
    color: rgba(255, 255, 255, .88);
  }
}

/* ── WORKFLOW PREVIEW ── */
.workflow { background: var(--bg); border-top: 1px solid var(--border); padding: 5rem 2rem 6rem; }
.workflow-inner { max-width: 680px; margin: 0 auto; }
.workflow-head { text-align: center; margin-bottom: 2.5rem; }
.workflow-head .sec-p { max-width: 42ch; margin: 1rem auto 0; }
.workflow-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.workflow-pane {
  padding: 1.125rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 0;
}
.workflow-pane--txn {
  border-right: 1px solid var(--border);
  background: var(--bg-card);
}
.workflow-pane--doc { background: var(--bg-card-2); }
.workflow-pane-label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--t3);
}
.workflow-txn { display: flex; flex-direction: column; gap: .25rem; }
.workflow-txn-amt {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--t1);
  letter-spacing: -.02em;
}
.workflow-txn-date { font-size: .75rem; color: var(--t2); }
.workflow-txn-desc {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--t1);
  letter-spacing: -.01em;
}
.workflow-doc-name {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .78rem;
  color: var(--t1);
  letter-spacing: -.01em;
}
.workflow-doc-name svg { flex-shrink: 0; color: var(--gold); opacity: .85; }
.workflow-ocr { display: flex; flex-direction: column; gap: .375rem; }
.workflow-ocr-field {
  display: block;
  font-size: .8125rem;
  color: var(--t1);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  padding: .4375rem .625rem;
  letter-spacing: -.01em;
}
.workflow-match-block { display: flex; flex-direction: column; gap: .3125rem; }
.workflow-match {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  align-self: flex-start;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold);
}
.workflow-match svg { flex-shrink: 0; opacity: .85; }
.workflow-match-reason {
  font-size: .75rem;
  color: var(--t2);
  line-height: 1.45;
  letter-spacing: -.01em;
}
.workflow-confirm {
  align-self: flex-start;
  font-size: .75rem;
  font-weight: 500;
  padding: .3125rem .875rem;
  background: var(--gold);
  color: #fff;
  border: none;
  pointer-events: none;
  margin-top: .125rem;
}
.workflow-note {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
  font-size: .8125rem;
  color: var(--t2);
  line-height: 1.65;
}
.workflow-note-text { display: block; }
.workflow-note-link {
  display: inline-flex;
  font-size: inherit;
}
.workflow-note .folder-ref { vertical-align: middle; }
.workflow-note .folder-ref-icon {
  color: var(--t2);
  opacity: 1;
  margin-left: 2px;
  transform: translateY(0.04em);
}
.workflow-note .folder-ref-icon svg {
  stroke: currentColor;
  fill: currentColor;
  fill-opacity: .14;
}
.workflow-note .folder-ref-name {
  color: var(--t2);
  font-weight: 600;
}
@media (prefers-color-scheme: dark) {
  .workflow-note .folder-ref-icon {
    color: rgba(255, 255, 255, .88);
  }
  .workflow-note .folder-ref-icon svg {
    stroke: currentColor;
    fill: currentColor;
    fill-opacity: .12;
  }
  .workflow-note .folder-ref-name {
    color: rgba(255, 255, 255, .88);
  }
}

/* ── INLINE FOLDER REFS (prose) ── */
.folder-ref {
  display: inline-flex;
  align-items: center;
  gap: .2em;
  white-space: nowrap;
  vertical-align: middle;
}
.folder-ref-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 0;
  color: var(--gold);
  opacity: .88;
}
.folder-ref-icon svg,
.folder-ref-svg {
  width: 100%;
  height: 100%;
  display: block;
  flex-shrink: 0;
}
.folder-ref-name {
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: inherit;
  color: var(--t1);
}

.hero-sub .folder-ref {
  vertical-align: middle;
}
.hero-sub .folder-ref-icon {
  color: var(--t2);
  opacity: 1;
  margin-left: 3px;
  transform: translateY(0.06em);
}
.hero-sub .folder-ref-icon svg {
  stroke: currentColor;
  fill: currentColor;
  fill-opacity: .14;
}
.hero-sub .folder-ref-name {
  color: var(--t2);
  font-weight: normal;
}
@media (prefers-color-scheme: dark) {
  .hero-sub .folder-ref-icon svg {
    stroke: currentColor;
    fill: currentColor;
    fill-opacity: .12;
  }
  .hero-sub .folder-ref-name {
    font-weight: normal;
  }
}

.feat-p .folder-ref-name,
.faq-a .folder-ref-name,
.step-body .folder-ref-name,
.sheet-summary .folder-ref-name,
.tc-summary .folder-ref-name,
.tpc-summary .folder-ref-name {
  color: inherit;
}

/* ── TIPS PREVIEW (homepage) ── */
.tips-preview { background: var(--bg); border-top: 1px solid var(--border); padding: 6rem 2rem; }
.getting-started { background: var(--bg-2); border-top: 1px solid var(--border); padding: 4rem 2rem 5rem; }
.getting-started .tips-preview-grid { grid-template-columns: repeat(2, 1fr); }
.tips-preview-head { max-width: 800px; margin: 0 auto 2.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.tips-preview-grid { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border-med); border: 1px solid var(--border-med); border-radius: 14px; overflow: hidden; }
.tpc { background: var(--bg-card); padding: 1.625rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; cursor: pointer; transition: background .15s; }
.tpc:hover { background: var(--bg-card-2); }
.tpc-cat { font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gold); opacity: .8; }
.tpc-title { font-size: .9375rem; font-weight: 600; color: var(--t1); letter-spacing: -.01em; line-height: 1.35; }
.tpc-summary { font-size: .8125rem; color: var(--t2); line-height: 1.65; }
.tpc-arrow { margin-top: auto; padding-top: .875rem; font-size: .8125rem; color: var(--gold); font-weight: 500; }

/* ── FAQ ── */
.faq { background: var(--bg-2); border-top: 1px solid var(--border); padding: 6rem 2rem; }
.faq-inner { max-width: 640px; margin: 0 auto; }
.faq-head { margin-bottom: 2.75rem; }
.faq-group { margin-bottom: 2.5rem; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-label { font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--t3); margin-bottom: .375rem; display: block; }
.faq-item { border-top: 1px solid var(--border); }
.faq-group .faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.125rem 0; font-size: 1rem; color: var(--t1); font-weight: 400; transition: color .15s; }
.faq-q:hover { color: var(--t2); }
.faq-icon { width: 22px; height: 22px; flex-shrink: 0; background: var(--bg-card-2); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .25s; color: var(--t2); }
.faq-item.open .faq-icon { background: var(--gold-bg); color: var(--gold); transform: rotate(45deg); }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s cubic-bezier(.16,1,.3,1); }
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a { padding: 0 3rem .875rem 0; font-size: .9375rem; color: var(--t2); line-height: 1.8; }
.faq-a a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.faq-a a:hover { color: var(--gold-hi); }
.faq-article-link { font-weight: 500; white-space: nowrap; }

/* ── CTA ── */
.cta { background: var(--bg); border-top: 1px solid var(--border); text-align: center; padding: 7.5rem 2rem 6.5rem; }
.cta-h { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.022em; line-height: 1.08; color: var(--t1); margin-bottom: 1rem; }
.cta-p { font-size: 1.125rem; color: var(--t2); line-height: 1.7; max-width: 36ch; margin: 0 auto 2rem; }
.cta-meta { margin-top: 1.125rem; font-size: .8125rem; color: var(--t3); }

/* ── FOOTER ── */
.foot { background: var(--bg); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.5rem 2rem; }
.foot-left { display: flex; align-items: center; gap: .875rem; }
.foot-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--gold-border);
}
.foot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.foot-copy { font-size: .8125rem; color: var(--t3); }
.foot-by { font-size: .8125rem; color: var(--t3); }
.foot-by a { color: var(--t3); text-decoration: none; border-bottom: 1px solid var(--border-med); padding-bottom: 1px; transition: color .15s, border-color .15s; }
.foot-by a:hover { color: var(--t2); border-color: var(--t2); }
.flinks { display: flex; flex-wrap: wrap; gap: .625rem 1.5rem; list-style: none; max-width: 100%; min-width: 0; }
.flinks a { font-size: .8125rem; color: var(--t3); transition: color .15s; white-space: nowrap; }
.flinks a:hover { color: var(--t2); }

/* ── TIPS PAGE ── */
.tips-hero { background: var(--bg); border-bottom: 1px solid var(--border); padding: 4rem 2rem 3.5rem; text-align: center; }
.tips-hero-h { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif; font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.022em; line-height: 1.08; color: var(--t1); margin-bottom: 1rem; }
.tips-hero-p { font-size: 1.0625rem; color: var(--t2); line-height: 1.7; max-width: 44ch; margin: 0 auto; }

.tips-body { background: var(--bg-2); padding: 3rem 2rem 6rem; }
.tips-inner { max-width: 960px; margin: 0 auto; }

/* Category tabs */
.cat-tabs { display: flex; gap: .375rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cat-tab { font-size: .875rem; font-weight: 500; padding: .425rem 1rem; border-radius: 980px; border: 1px solid var(--border-med); color: var(--t2); background: var(--bg-card); transition: background .15s, color .15s, border-color .15s; cursor: pointer; }
.cat-tab:hover { border-color: var(--border-med); color: var(--t1); }
.cat-tab.active { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Tip cards grid */
.tips-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border-med); border: 1px solid var(--border-med); border-radius: 14px; overflow: hidden; }
.tip-card { background: var(--bg-card); padding: 1.5rem; cursor: pointer; transition: background .15s; display: flex; flex-direction: column; gap: .5rem; }
.tip-card:hover { background: var(--bg-card-2); }
.tc-cat { font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gold); opacity: .8; }
.tc-title { font-size: .9375rem; font-weight: 600; color: var(--t1); letter-spacing: -.01em; line-height: 1.35; }
.tc-summary { font-size: .8125rem; color: var(--t2); line-height: 1.65; flex: 1; }
.tc-footer { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.tc-video-icon { color: var(--gold); opacity: .55; display: flex; align-items: center; }
.tc-cta { font-size: .8125rem; font-weight: 500; color: var(--gold); }

/* ── TIP DIALOGS (Brio dialog-sheet) ── */
dialog.tip-dialog .panel {
  background: var(--bg-card);
  color: var(--t1);
}
.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0;
  flex-shrink: 0;
}
dialog.tip-dialog header.sheet-head {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.sheet-meta { display: flex; flex-direction: column; gap: .375rem; }
.sheet-cat { font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gold); }
.sheet-title { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif; font-size: 1.3125rem; font-weight: 700; letter-spacing: -.02em; color: var(--t1); line-height: 1.2; }
button.sheet-close {
  background: var(--bg-card-2);
  color: var(--t2);
  transition: background .15s;
}
button.sheet-close:hover {
  background: var(--border-med);
}
.sheet-body { padding: 1.5rem; flex: 1; overflow-y: auto; }
.sheet-summary { font-size: .9375rem; color: var(--t2); line-height: 1.7; margin-bottom: 1.5rem; }
.sheet-steps { display: flex; flex-direction: column; gap: 1.25rem; }
.sheet-step { display: grid; grid-template-columns: 1.75rem 1fr; gap: .75rem; align-items: start; }
.step-num { width: 22px; height: 22px; border-radius: 50%; background: var(--gold-bg); border: 1px solid var(--gold-border); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; color: var(--gold); flex-shrink: 0; margin-top: .125rem; }
.step-title { font-size: .9375rem; font-weight: 600; color: var(--t1); margin-bottom: .25rem; letter-spacing: -.01em; }
.step-body { font-size: .875rem; color: var(--t2); line-height: 1.7; }
.sheet-note { margin-top: 1.75rem; padding: 1rem 1.125rem; background: var(--gold-bg); border-left: 2px solid var(--gold); border-radius: 0 8px 8px 0; font-size: .875rem; color: var(--t2); line-height: 1.7; }
.sheet-note strong { color: var(--t1); }

/* ── VIDEO PLACEHOLDER ── */
.video-ph {
  width: 100%; aspect-ratio: 16/9;
  background: var(--bg-2); border: 1px solid var(--border-med); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; cursor: pointer;
  transition: background .15s;
  position: relative; overflow: hidden;
}
.video-ph:hover { background: var(--bg-card-2); }
.video-ph-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(140,95,24,.35);
  transition: transform .15s, box-shadow .15s;
  flex-shrink: 0;
}
.video-ph:hover .video-ph-btn { transform: scale(1.08); box-shadow: 0 4px 20px rgba(140,95,24,.45); }

/* ── VARIANT SELECTOR ── */
.sheet-selector { padding: 1rem 1.5rem 0; flex-shrink: 0; }
.sheet-selector-label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--t3); margin-bottom: .625rem; display: block; }
.selector-tabs { display: flex; gap: .375rem; flex-wrap: wrap; }
.selector-tab {
  font-size: .8125rem; font-weight: 500; padding: .35rem .875rem;
  border-radius: 980px; border: 1px solid var(--border-med);
  color: var(--t2); background: var(--bg-card-2);
  transition: background .15s, color .15s, border-color .15s; cursor: pointer;
}
.selector-tab:hover { color: var(--t1); }
.selector-tab.active { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
  .nav { padding: 0 1.375rem; }
  .hero { padding: 4.5rem 1.375rem 3rem; }
  .features-top { padding: 4.5rem 1.375rem 3rem; }
  .feat-band { padding: 3rem 1.375rem 4.5rem; }
  .admin-map { padding: 4rem 1.375rem 4.5rem; }
  .workflow { padding: 4rem 1.375rem 4.5rem; }
  .workflow-body { grid-template-columns: 1fr; }
  .workflow-pane--txn { border-right: none; border-bottom: 1px solid var(--border); }
  [data-mac-only] { display: none !important; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .tips-preview { padding: 4.5rem 1.375rem; }
  .getting-started { padding: 3rem 1.375rem 4rem; }
  .getting-started .tips-preview-grid { grid-template-columns: 1fr; }
  .tips-preview-grid { grid-template-columns: 1fr; }
  .faq { padding: 4.5rem 1.375rem; }
  .cta { padding: 5.5rem 1.375rem; }
  .foot { padding: 1.375rem; }
  .tips-body { padding: 2.5rem 1.375rem 4rem; }
  .tips-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .feat-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .primary, .hero-ctas .outline { justify-content: center; width: 100%; }
  .trust-item { padding: .375rem .75rem; }
  .faq-a { padding-right: 0; }
  .foot { flex-direction: column; align-items: flex-start; }
  .flinks { width: 100%; flex-wrap: wrap; gap: .5rem 1rem; }
  .tips-preview-head { flex-direction: column; align-items: flex-start; }
}
