/* Gwen: shared styles. Mobile first, system fonts, no external requests. */
:root {
  --ink: #15211f;
  --ink-2: #44524f;
  --muted: #64716e;
  --bg: #fbf8f3;
  --paper: #ffffff;
  --soft: #f3eee5;
  --line: #e4ddd1;
  --brand: #0f5c55;
  --brand-ink: #ffffff;
  --brand-dark: #0a4540;
  --brand-tint: #e3efec;
  --accent: #e8962e;
  --accent-tint: #fdf0dc;
  --danger: #b4371f;
  --radius: 14px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(21,33,31,.06), 0 8px 24px rgba(21,33,31,.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef3f1;
    --ink-2: #c3cfcb;
    --muted: #9aa8a4;
    --bg: #0f1514;
    --paper: #161e1c;
    --soft: #1b2422;
    --line: #2a3533;
    --brand: #4fb8a8;
    --brand-ink: #0b1513;
    --brand-dark: #6fcbbd;
    --brand-tint: #17302c;
    --accent: #f0a845;
    --accent-tint: #33270f;
    --danger: #ee7a62;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--brand); text-underline-offset: 3px; }
img, svg { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 20; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 16px; font-weight: 800; }
.nav { display: none; gap: 26px; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--ink); }
@media (min-width: 820px) { .nav { display: flex; } }
.btn.header-cta { padding: 9px 16px; font-size: 15px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 2px solid var(--brand); text-align: center; line-height: 1.2;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-tint); }
.btns { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
@media (min-width: 560px) { .btns { flex-direction: row; flex-wrap: wrap; } }

/* Type */
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h1 { font-size: 38px; line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: 30px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.02em; font-weight: 800; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; font-weight: 700; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 620px; margin: 0; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--ink-2); margin: 0; }
@media (min-width: 760px) {
  h1 { font-size: 56px; }
  h2 { font-size: 38px; }
}

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--soft); }
@media (min-width: 760px) { section { padding: 96px 0; } }

/* Hero */
.hero { padding: 48px 0 64px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 80px 0 96px; } .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.price-tag { margin: 22px 0 0; font-weight: 700; color: var(--ink); display: flex; flex-wrap: wrap; gap: 8px 16px; }
.price-tag span { display: inline-flex; align-items: center; gap: 6px; }
.price-tag span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* Call transcript card */
.call { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; max-width: 520px; width: 100%; justify-self: center; }
.call-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.call-who { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.call-who small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--brand); background: var(--brand-tint); padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.msg { margin: 0 0 10px; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; max-width: 88%; }
.msg b { display: block; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 2px; opacity: .75; }
.msg.gwen { background: var(--brand-tint); color: var(--ink); border-bottom-left-radius: 4px; }
.msg.caller { background: var(--soft); color: var(--ink); margin-left: auto; border-bottom-right-radius: 4px; }
.ticket { margin-top: 14px; border: 1px dashed var(--accent); background: var(--accent-tint); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.ticket strong { display: block; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.ticket .urgent { display: inline-block; background: var(--danger); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; margin-right: 6px; }
.call-note { font-size: 12px; color: var(--muted); margin: 12px 4px 0; }

/* Trust strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; background: var(--paper); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.strip li::before { content: "\2713"; color: var(--brand); font-weight: 800; margin-right: 8px; }

/* Grids and cards */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--ink-2); }
.card .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 22px; height: 22px; }

/* Never list */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; } }
ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); }
ul.check li:first-child { border-top: 0; }
ul.check li::before { content: "\2713"; position: absolute; left: 4px; top: 13px; color: var(--brand); font-weight: 800; }
ul.never li::before { content: "\2715"; color: var(--danger); }

/* Steps */
ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 14px; }
@media (min-width: 900px) { ol.steps { grid-template-columns: repeat(5, 1fr); } }
ol.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
ol.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; margin-bottom: 12px; }
ol.steps strong { display: block; margin-bottom: 4px; }
ol.steps span { color: var(--ink-2); font-size: 15px; }

/* Demo CTA */
.demo-box { background: var(--brand); color: var(--brand-ink); border-radius: 24px; padding: 36px 24px; display: grid; gap: 24px; }
.demo-box h2, .demo-box p { color: var(--brand-ink); }
.demo-box p { margin: 0; opacity: .92; max-width: 620px; }
.demo-box .btn-primary { background: var(--brand-ink); color: var(--brand); border-color: var(--brand-ink); }
.demo-box .btn-primary:hover { opacity: .92; }
.demo-box .fine { color: var(--brand-ink); opacity: .8; }
@media (min-width: 900px) { .demo-box { padding: 56px; grid-template-columns: 1.4fr 1fr; align-items: center; } }

/* Pricing */
.price-card { max-width: 520px; margin: 0 auto; background: var(--paper); border: 2px solid var(--brand); border-radius: 22px; padding: 32px 24px; box-shadow: var(--shadow); }
.price-big { font-size: 52px; font-weight: 800; margin: 4px 0 0; letter-spacing: -0.03em; line-height: 1.1; }
.price-big small { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-sub { font-weight: 700; margin: 6px 0 18px; }
.fine { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

/* FAQ */
.faq { max-width: 760px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--ink-2); margin: 10px 0 0; }

/* Final CTA */
.final { text-align: center; }
.final h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.final .btns { justify-content: center; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal li { margin-bottom: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--ink-2); }
.site-footer p { margin: 6px 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 12px; font-weight: 600; }

/* Breadcrumbs */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--ink-2); }

/* Footer grid */
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-grid a { display: block; color: var(--ink-2); text-decoration: none; margin: 6px 0; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-grid .logo { display: inline-flex; margin: 0 0 8px; font-size: 20px; }
.foot-h { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 0 0 8px; }
.foot-note { max-width: 760px; }

/* Inner page hero */
.page-hero { padding: 28px 0 48px; }
@media (min-width: 760px) { .page-hero { padding: 40px 0 72px; } }
.page-hero h1 { max-width: 860px; }
.page-hero .lead { max-width: 720px; }

/* Long-form text (guides, trade pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose code, .code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .95em; color: var(--ink); white-space: nowrap; }
.callout { border-left: 4px solid var(--accent); background: var(--accent-tint); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 20px 0; color: var(--ink); }
.callout p { margin: 0; color: var(--ink); }
.source { font-size: 14px; color: var(--muted); }
.source a { color: var(--muted); }

/* Code table */
.table-wrap { overflow-x: auto; margin: 16px 0 8px; }
table.codes { border-collapse: collapse; width: 100%; min-width: 460px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
table.codes th, table.codes td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
table.codes th { background: var(--soft); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
table.codes tr:last-child td { border-bottom: 0; }
table.codes td { color: var(--ink-2); }

/* Link cards */
.link-card { display: block; text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.link-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.link-card h3 { color: var(--ink); }
.link-card .more { display: inline-block; margin-top: 12px; color: var(--brand); font-weight: 700; font-size: 15px; }

/* Scenario list on trade pages */
.scenarios { display: grid; gap: 16px; }
@media (min-width: 760px) { .scenarios { grid-template-columns: 1fr 1fr; } }
.scenario h3 { display: flex; align-items: center; gap: 10px; }
.tag-urgent { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--danger); color: #fff; padding: 2px 8px; border-radius: 999px; }
.tag-routine { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--brand-tint); color: var(--brand); padding: 2px 8px; border-radius: 999px; }

/* Calculator */
.calc { display: grid; gap: 24px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; align-items: start; } }
.calc-form { display: grid; gap: 18px; }
.calc-form label { font-weight: 700; display: block; margin-bottom: 6px; }
.calc-form .hint { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }
.calc-form input { width: 100%; font: inherit; font-size: 18px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.calc-form input:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.calc-out { background: var(--brand); color: var(--brand-ink); border-radius: 22px; padding: 28px; }
.calc-out p { margin: 0; }
.calc-out .big { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 6px 0 4px; }
.calc-out .row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--brand-ink) 25%, transparent); font-size: 15px; }
.calc-out .row:first-of-type { border-top: 0; }
.calc-out .label { opacity: .85; }
.calc-out .btn-primary { background: var(--brand-ink); color: var(--brand); border-color: var(--brand-ink); margin-top: 18px; }
