/* ============================================================
   Coppice — coral maple over teal bokeh.
   One photograph runs behind the whole page. Bands are thin glass;
   every word sits on a surface of its own (a card, a sheet, a chip),
   never on the bare photograph.
   ============================================================ */
:root {
  --ink: #0f2726;
  --ink-2: #364c4a;
  --ink-3: #5a6e6a;
  --line: rgba(15, 39, 38, .11);
  --line-2: rgba(15, 39, 38, .065);

  --teal: #123f3c;
  --teal-2: #1a534e;
  --teal-3: #2a7a70;
  --teal-wash: rgba(18, 63, 60, .07);
  --coral: #e8704f;
  --coral-ink: #a13c22;
  --peach: #f8b69a;
  --cream: #fff6ef;
  --gold: #d99a2b;
  --up: #0c6b4b;
  --down: #ad3526;

  --surface: rgba(255, 255, 255, .66);
  --surface-2: rgba(255, 255, 255, .80);
  --surface-3: rgba(255, 255, 255, .92);
  --wash: rgba(255, 249, 244, .44);
  --glass: rgba(255, 255, 255, .20);
  --glass-brd: rgba(255, 255, 255, .45);
  --blur: saturate(160%) blur(18px);
  --blur-lite: saturate(140%) blur(10px);

  --shadow-sm: 0 1px 2px rgba(16, 40, 38, .05), 0 4px 14px rgba(16, 40, 38, .06);
  --shadow: 0 16px 44px rgba(16, 40, 38, .13);
  --shadow-lg: 0 30px 80px rgba(16, 40, 38, .20);

  --r: 26px;
  --r-sm: 18px;
  --r-xs: 12px;
  --maxw: 1180px;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: #6f7a5a;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono, code { font-family: var(--mono); font-size: .9em; }
.num { font-variant-numeric: tabular-nums; }
.up { color: var(--up); }
.down { color: var(--down); }
.muted { color: var(--ink-3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: rgba(232, 112, 79, .28); }

/* ---------- the photograph ---------- */
.ground {
  position: fixed; inset: -30px; z-index: -3;
  background: #6f7a5a url("../img/ground.jpg") 62% 38% / cover no-repeat;
  filter: blur(6px) saturate(112%);
}
@media (max-width: 760px) { .ground { background-image: url("../img/ground-1280.jpg"); } }
.scrim {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(255, 240, 228, .16), transparent 70%),
    linear-gradient(180deg, rgba(255, 244, 236, .06) 0%, rgba(255, 244, 236, .14) 55%, rgba(255, 244, 236, .20) 100%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; user-select: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease, opacity .2s;
}
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--teal-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(18, 63, 60, .28); }
.btn-coral { background: var(--coral-ink); color: #fff; }
.btn-coral:hover:not(:disabled) { background: #8f341d; transform: translateY(-1px); }
.btn-glass { background: rgba(255, 255, 255, .80); color: var(--ink); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.btn-glass:hover:not(:disabled) { background: #fff; transform: translateY(-1px); }
.btn-quiet { background: var(--teal-wash); color: var(--ink); }
.btn-quiet:hover:not(:disabled) { background: rgba(18, 63, 60, .12); }
.btn .arrow {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px;
  background: rgba(255, 255, 255, .18); font-size: 13px; line-height: 1; margin-right: -8px;
}
.btn-glass .arrow { background: var(--teal-wash); }

/* ---------- chips / eyebrows ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(255, 255, 255, .82); color: var(--ink-2);
  backdrop-filter: var(--blur-lite); -webkit-backdrop-filter: var(--blur-lite);
}
.chip b { color: var(--ink); font-weight: 600; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d6b; box-shadow: 0 0 0 0 rgba(31, 157, 107, .5); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 107, .45); } 70% { box-shadow: 0 0 0 9px rgba(31, 157, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 107, 0); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--coral); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; padding: 14px 0; }
.nav-inner {
  display: flex; align-items: center; gap: 22px; height: 62px; padding: 0 10px 0 16px;
  border-radius: 999px; background: rgba(255, 255, 255, .74);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 2px 12px rgba(16, 40, 38, .07);
  transition: background .25s, box-shadow .25s;
}
.nav.scrolled .nav-inner { background: rgba(255, 255, 255, .88); box-shadow: 0 10px 30px rgba(16, 40, 38, .13); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; flex: none; }
.brand .mark { display: block; border-radius: 9px; }
.brand-name { font-family: var(--serif); font-size: 26px; letter-spacing: -.01em; line-height: 1; margin-top: 2px; }
.nav-links { display: flex; gap: 4px; margin-left: 6px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.nav-links a:hover { color: var(--ink); background: var(--teal-wash); }
.nav-links a.active { color: var(--ink); background: var(--teal-wash); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 999px; border: 0; background: var(--teal-wash); cursor: pointer; place-items: center; }
.nav-burger svg { display: block; }
.net-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 7px 12px; border-radius: 999px; background: var(--teal-wash); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; flex: none; margin-left: 0; }
  .nav-inner { gap: 10px; padding-right: 8px; }
  .nav-right .hide-sm { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; left: 24px; right: 24px; top: 84px;
    padding: 12px; border-radius: 22px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: 12px 14px; font-size: 16px; }
}
@media (max-width: 520px) {
  .nav .wrap { padding: 0 14px; }
  .nav-inner { height: 58px; padding-left: 12px; }
  .brand-name { font-size: 23px; }
  .nav-right .btn { padding: 9px 14px; font-size: 14px; }
  .nav-right .btn .arrow { display: none; }
}

/* ---------- hero ---------- */
.hero { padding: 40px 0 36px; min-height: calc(100vh - 90px); display: flex; align-items: center; }
.hero-card {
  position: relative; max-width: 880px; margin: 0 auto; text-align: center;
  padding: 54px 56px 44px; border-radius: 40px;
  background: rgba(255, 251, 247, .50);
  backdrop-filter: saturate(150%) blur(22px); -webkit-backdrop-filter: saturate(150%) blur(22px);
  box-shadow: 0 40px 100px rgba(16, 40, 38, .16);
}
.wordmark {
  font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 11vw, 132px);
  line-height: .92; letter-spacing: -.035em; margin: 22px 0 10px; color: var(--ink);
}
.hero h1 {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(24px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.01em; color: var(--teal-2);
}
.hero .lede { max-width: 620px; margin: 16px auto 0; font-size: 17.5px; color: var(--ink-2); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 34px; text-align: left;
}
.stat {
  padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface-2);
}
.stat .k { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.stat .v { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin-top: 4px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat .s { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.skel { display: inline-block; min-width: 3.2em; height: .9em; border-radius: 6px; background: linear-gradient(90deg, rgba(15,39,38,.08), rgba(15,39,38,.16), rgba(15,39,38,.08)); background-size: 200% 100%; animation: sk 1.3s infinite linear; vertical-align: -.05em; }
@keyframes sk { to { background-position: -200% 0; } }
@media (max-width: 760px) {
  .hero-card { padding: 38px 20px 26px; border-radius: 30px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- thin strip ---------- */
.strip { padding: 6px 0 26px; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.strip .chip { font-size: 13.5px; padding: 8px 15px; }
.strip .chip svg { opacity: .75; }

/* ---------- sections ---------- */
.section { padding: 70px 0; }
/* Thin glass bands, feathered at both ends so they read as light on the
   photograph rather than as a ruled edge across it. */
.band { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .08) 120px, rgba(255, 255, 255, .08) calc(100% - 120px), rgba(255, 255, 255, 0) 100%); }
.band-2 { background: linear-gradient(180deg, rgba(255, 250, 245, 0) 0, rgba(255, 250, 245, .16) 120px, rgba(255, 250, 245, .16) calc(100% - 120px), rgba(255, 250, 245, 0) 100%); }
.section-head {
  max-width: 760px; margin: 0 auto 36px; text-align: center;
  padding: 26px 34px 28px; border-radius: 34px; background: var(--wash);
}
.section-head h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02; letter-spacing: -.02em; margin-top: 12px;
}
.section-head h2 em { font-style: italic; color: var(--teal-3); }
.section-head p { margin-top: 12px; font-size: 17px; color: var(--ink-2); }

.card {
  background: var(--surface); border-radius: var(--r);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.card-2 { background: var(--surface-2); }
.card-pad { padding: 28px; }

/* three products */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product { padding: 28px; display: flex; flex-direction: column; min-height: 100%; }
.product .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal); color: #fff; margin-bottom: 18px;
}
.product .ico.coral { background: var(--coral-ink); }
.product .ico.gold { background: #8a5a12; }
.product h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; letter-spacing: -.01em; }
.product .tag { font-size: 13px; font-weight: 600; color: var(--coral-ink); margin-top: 6px; }
.product p { margin-top: 12px; color: var(--ink-2); }
.product ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.product li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.product li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--teal-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23123f3c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.product .foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product .figure { font-family: var(--serif); font-size: 26px; font-variant-numeric: tabular-nums; }
.product .figure small { font-family: var(--sans); font-size: 12.5px; color: var(--ink-3); display: block; }
@media (max-width: 980px) { .trio { grid-template-columns: 1fr; } }

/* ---------- markets ---------- */
.markets { padding: 10px; }
.mkt-tools { display: flex; gap: 10px; align-items: center; padding: 12px 12px 14px; flex-wrap: wrap; }
.search {
  flex: 1; min-width: 200px; display: flex; align-items: center; gap: 8px;
  background: var(--surface-3); border-radius: 999px; padding: 0 16px; height: 44px;
}
.search input { border: 0; outline: 0; background: transparent; font: inherit; width: 100%; color: var(--ink); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--teal-wash); gap: 2px; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.mkt-meta { font-size: 13px; color: var(--ink-3); padding: 0 6px; }
.mkt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-sm);
  background: var(--surface-2); transition: background .15s, transform .15s; cursor: pointer;
}
.tile:hover { background: var(--surface-3); transform: translateY(-1px); }
.tile .who { min-width: 0; flex: 1; }
.tile .t { font-weight: 600; font-size: 15px; }
.tile .n { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .px { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.tile .d { font-size: 12px; color: var(--ink-3); text-align: right; }
.tk {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: #fff;
}
@media (max-width: 1080px) { .mkt-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .mkt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mkt-grid { grid-template-columns: 1fr; } }

/* ---------- grow: steps + calculator ---------- */
.grow { display: grid; grid-template-columns: 1.05fr .95fr; gap: 16px; align-items: stretch; }
.steps { display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 22px 24px; border-radius: var(--r); background: var(--surface); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.step .n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--coral-ink); }
.step h4 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.step p { color: var(--ink-2); margin-top: 4px; font-size: 15px; }
.calc { padding: 30px; display: flex; flex-direction: column; }
.calc h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; }
.calc .sub { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.calc-out { margin-top: 18px; padding: 22px; border-radius: var(--r-sm); background: var(--teal); color: #fff; }
.calc-out .big { font-family: var(--serif); font-size: 46px; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.calc-out .lab { font-size: 13px; opacity: .82; margin-top: 8px; }
.calc-out .row { display: flex; justify-content: space-between; font-size: 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .16); }
.calc .fine { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }
@media (max-width: 980px) { .grow { grid-template-columns: 1fr; } }

/* ---------- fields ---------- */
.field { display: grid; gap: 6px; }
.field label, .lbl { font-size: 12.5px; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }
.input {
  display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 14px; border-radius: 14px;
  background: var(--surface-3); border: 1px solid var(--line-2); transition: border-color .15s, box-shadow .15s;
}
.input:focus-within { border-color: rgba(18, 63, 60, .35); box-shadow: 0 0 0 4px rgba(18, 63, 60, .08); }
.input input, .input select { border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; width: 100%; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 0; }
.input select { font-size: 15px; cursor: pointer; }
.input .unit { font-size: 14px; font-weight: 600; color: var(--ink-3); }

/* ---------- guarantees ---------- */
.guarantee { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.g-list { display: grid; gap: 10px; }
.g { padding: 20px 22px; border-radius: var(--r-sm); background: var(--surface); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.g h4 { font-size: 16.5px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.g p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.proof { padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.proof .score { font-family: var(--serif); font-size: 76px; line-height: .9; letter-spacing: -.03em; }
.proof .score small { font-size: 30px; color: var(--ink-3); }
.proof .fine { font-size: 13.5px; color: var(--ink-2); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--ink-3); }
.kv dd { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.checks { list-style: none; display: grid; gap: 6px; max-height: 260px; overflow: auto; padding-right: 6px; font-size: 13.5px; }
.checks li { display: flex; gap: 8px; color: var(--ink-2); }
.checks li b { color: var(--up); flex: none; }
@media (max-width: 980px) { .guarantee { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r-sm); background: var(--surface); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 24px 22px; color: var(--ink-2); }
.faq .a p + p { margin-top: 10px; }

/* ---------- CTA slab + footer ---------- */
.slab {
  border-radius: 36px; padding: 56px 40px; text-align: center; color: #fff;
  background: rgba(12, 43, 41, .84); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.slab h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -.02em; }
.slab h2 em { color: var(--peach); }
.slab p { color: rgba(255, 255, 255, .78); max-width: 560px; margin: 14px auto 0; font-size: 17px; }
.slab .hero-cta { margin-top: 26px; }
.slab .btn-glass { background: rgba(255, 255, 255, .92); }

.footer { padding: 30px 0 40px; }
.foot-card { padding: 34px 34px 26px; border-radius: 30px; background: var(--surface-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot-grid h5 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.foot-grid a { display: block; color: var(--ink-2); padding: 3px 0; font-size: 14.5px; }
.foot-grid a:hover { color: var(--ink); }
.foot-grid .blurb { color: var(--ink-2); font-size: 14.5px; margin-top: 12px; max-width: 320px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- reveal ---------- */
.js .rise { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rise { opacity: 1; transform: none; transition: none; } .live-dot { animation: none; } }

/* ============================================================
   App
   ============================================================ */
.app-main { padding: 8px 0 60px; }
.app-grid { display: grid; grid-template-columns: 360px 1fr; gap: 16px; align-items: start; }
@media (max-width: 1000px) { .app-grid { grid-template-columns: 1fr; } }
.panel { padding: 22px; border-radius: var(--r); background: var(--surface-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.panel h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.total { font-family: var(--serif); font-size: 50px; line-height: 1; letter-spacing: -.02em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.acct { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.hold { list-style: none; margin-top: 18px; display: grid; gap: 4px; }
.hold li { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .55); }
.hold .tk { width: 34px; height: 34px; border-radius: 10px; font-size: 10.5px; }
.hold .who { flex: 1; min-width: 0; }
.hold .t { font-weight: 600; font-size: 14.5px; }
.hold .n { font-size: 12.5px; color: var(--ink-3); }
.hold .val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14.5px; }
.hold .amt { font-size: 12.5px; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.empty { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .5); color: var(--ink-3); font-size: 14px; text-align: center; }

.tabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); width: max-content; max-width: 100%; margin-bottom: 14px; }
.tabs button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.tabs button.on { background: var(--teal); color: #fff; }
.tabs .badge { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: rgba(232, 112, 79, .18); color: var(--coral-ink); }
.tabs button.on .badge { background: rgba(255, 255, 255, .18); color: #fff; }

.work { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 1180px) { .work { grid-template-columns: 1fr; } }
.box { padding: 24px; border-radius: var(--r); background: var(--surface-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.box h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: -.01em; }
.box .sub { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.box + .box { margin-top: 16px; }
.stack { display: grid; gap: 14px; margin-top: 18px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bal { font-size: 13px; color: var(--ink-3); }
.bal button { border: 0; background: var(--teal-wash); color: var(--ink); font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; cursor: pointer; margin-left: 6px; }

.pick { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 10px 0 8px; border-radius: 14px; background: var(--surface-3); border: 1px solid var(--line-2); cursor: pointer; width: 100%; text-align: left; }
.pick .tk { width: 34px; height: 34px; border-radius: 10px; font-size: 10.5px; }
.pick .t { font-weight: 600; }
.pick .n { font-size: 12.5px; color: var(--ink-3); }
.pick .chev { margin-left: auto; color: var(--ink-3); }

.quote { border-radius: 16px; background: rgba(255, 255, 255, .55); padding: 14px 16px; display: grid; gap: 8px; font-size: 14px; }
.quote .row-between span:first-child { color: var(--ink-3); }
.quote .row-between span:last-child { font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.quote .out { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--ink); }
.warn { padding: 12px 14px; border-radius: 14px; background: rgba(232, 112, 79, .12); color: var(--coral-ink); font-size: 14px; }
.note { padding: 12px 14px; border-radius: 14px; background: var(--teal-wash); color: var(--ink-2); font-size: 14px; }
.note a, .warn a, .box a.link, .a a, .prose a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.metric { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .6); }
.metric .k { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.metric .v { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin-top: 2px; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .metrics { grid-template-columns: 1fr 1fr; } }

.steps-mini { display: flex; gap: 6px; font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; }
.steps-mini span { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .55); }
.steps-mini span.on { background: var(--teal); color: #fff; }
.steps-mini span.done { background: rgba(12, 107, 75, .14); color: var(--up); }

/* modal + sheet list */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(10, 28, 27, .42); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-card { width: 100%; max-width: 440px; max-height: min(640px, 90vh); display: flex; flex-direction: column; border-radius: 26px; background: #fffaf6; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px 12px; }
.modal-head h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.x { border: 0; background: var(--teal-wash); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; }
.modal-body { padding: 0 14px 16px; overflow: auto; }
.list-item { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: transparent; padding: 11px 10px; border-radius: 14px; cursor: pointer; text-align: left; }
.list-item:hover { background: var(--teal-wash); }
.list-item .tk { width: 36px; height: 36px; border-radius: 11px; font-size: 11px; }
.list-item img { width: 36px; height: 36px; border-radius: 10px; }
.list-item .t { font-weight: 600; }
.list-item .n { font-size: 12.5px; color: var(--ink-3); }
.list-item .r { margin-left: auto; text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; }

/* toasts */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: grid; gap: 10px; max-width: min(400px, calc(100vw - 36px)); }
.toast { padding: 14px 16px; border-radius: 16px; background: #10302e; color: #fff; box-shadow: var(--shadow); font-size: 14px; display: flex; gap: 12px; align-items: flex-start; animation: tin .25s ease; }
.toast.err { background: #6b2417; }
.toast.ok { background: #0d4d3a; }
.toast a { text-decoration: underline; }
.toast .x2 { margin-left: auto; border: 0; background: transparent; color: #fff; opacity: .7; cursor: pointer; font-size: 16px; }
@keyframes tin { from { transform: translateY(8px); opacity: 0; } }

.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- prose pages (docs) ---------- */
.sheet { padding: 44px 48px; border-radius: 32px; background: var(--surface-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.prose { max-width: 760px; }
.prose h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 68px); line-height: 1; letter-spacing: -.02em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; margin-top: 40px; }
.prose h3 { font-size: 18px; margin-top: 24px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; }
.prose p { margin-top: 12px; }
.prose ul, .prose ol { margin: 12px 0 0 22px; display: grid; gap: 6px; }
.prose code { background: var(--teal-wash); padding: 1px 6px; border-radius: 6px; }
.prose pre { margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: #0f2726; color: #e8f1ee; overflow: auto; font-size: 13px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; }
.prose .lede { font-size: 19px; color: var(--ink-2); margin-top: 14px; }
.addr-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.addr-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.addr-table td:first-child { color: var(--ink-3); white-space: nowrap; }
.addr-table td:last-child { font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; }
.tbl-wrap { overflow-x: auto; }
@media (max-width: 760px) { .sheet { padding: 28px 20px; border-radius: 24px; } }
