/* GoDigy prototype — brand tokens follow the logo: warm stone (the G), graphite (the D), paper ground, one "Go" accent. */
:root {
  --ink: #1A1915;          /* Graphite: the D, headings, body text */
  --charcoal: #4F4A47;     /* Charcoal: secondary dark surfaces */
  --stone: #929089;        /* Stone: the G. Decorative only (3.2:1 on white) */
  --muted: #5E5B55;        /* Text grey that passes 4.5:1 on paper */
  --paper: #F6F5F2;        /* Page ground */
  --surface: #FFFFFF;
  --soft: #EDEBE6;
  --line: #E1DED7;
  --accent: #1D7A46;       /* Go green: primary actions and links only */
  --accent-hover: #166238;
  --accent-soft: #E2F1E7;
  --on-accent: #FFFFFF;
  --mark-d: var(--ink);
  --dark-band: #1A1915;
  --on-dark: #F6F5F2;
  --on-dark-muted: #B9B6AE;
  --shadow: 0 1px 2px rgba(26, 25, 21, .06), 0 12px 32px rgba(26, 25, 21, .08);
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #EDEBE6; --charcoal: #3A3733; --stone: #8E8B84; --muted: #B3AFA7;
    --paper: #141311; --surface: #1D1C19; --soft: #26241F; --line: #34312C;
    --accent: #4CC27F; --accent-hover: #6BD497; --accent-soft: #183A27; --on-accent: #0E1F15;
    --dark-band: #0B0A09; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #EDEBE6; --charcoal: #3A3733; --stone: #8E8B84; --muted: #B3AFA7;
  --paper: #141311; --surface: #1D1C19; --soft: #26241F; --line: #34312C;
  --accent: #4CC27F; --accent-hover: #6BD497; --accent-soft: #183A27; --on-accent: #0E1F15;
  --dark-band: #0B0A09; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }
.tbc { background: #FFF1B8; color: #5A4500; padding: 0 4px; border-radius: 3px; font-style: normal; }
:root[data-theme="dark"] .tbc { background: #4A3D0A; color: #FFE58A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tbc { background: #4A3D0A; color: #FFE58A; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 12px 28px; min-height: 72px; flex-wrap: wrap; padding-block: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 22px/1 var(--display); letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo svg { width: 46px; height: 26px; flex: none; }
.logo .go { color: var(--stone); }
.nav { display: flex; flex-wrap: wrap; gap: 2px; margin-right: auto; }
.nav a { white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 99px; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.head-cta { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .nav { order: 3; width: 100%; margin-right: 0; overflow-x: auto; flex-wrap: nowrap; }
  .head-cta { margin-left: auto; }
  .head-cta .btn-wa span { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 99px; font: 600 15px/1.2 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--charcoal); color: var(--paper); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-wa { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-wa:hover { border-color: var(--accent); color: var(--ink); }
.btn-wa svg { color: var(--accent); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }

/* ---------- sections ---------- */
.section { padding-block: 72px; }
@media (min-width: 900px) { .section { padding-block: 96px; } }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 8px; border-radius: 99px; border: 2px solid var(--stone); }
.sec-head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 18px; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }

/* ---------- hero ---------- */
.hero { padding-block: 64px 80px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.025em; }
.hero h1 .soft { color: var(--stone); }
.hero .lede { margin-top: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 16px; height: 9px; border-radius: 99px; background: var(--accent); flex: none; }
.page-hero { padding-block: 56px 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 4.8vw, 54px); font-weight: 800; letter-spacing: -.02em; max-width: 20ch; }
.page-hero .lede { margin-top: 16px; }

/* hero visual: a record card sitting in the brand's ring */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-visual .ring { position: absolute; inset: 6% -10% 6% 4%; border: 34px solid var(--soft); border-radius: 999px; }
.hero-visual .ring::after { content: ""; position: absolute; left: 46%; top: -34px; width: 34px; height: 52%; background: var(--paper); }
.record { position: relative; width: min(100%, 420px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.record-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.record-top b { font: 700 17px/1.3 var(--display); }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--body); padding: 5px 10px; border-radius: 99px; background: var(--soft); color: var(--ink); white-space: nowrap; }
.chip.ok { background: var(--accent-soft); color: var(--accent); }
.record ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.record li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.record li small { color: var(--muted); font-variant-numeric: tabular-nums; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--stone); }
.dot.done { background: var(--accent); border-color: var(--accent); }
.record-foot { font-size: 13.5px; color: var(--muted); }

/* ---------- cards / grids ---------- */
.grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.section.alt .card { background: var(--paper); }
.card h3 { font-size: 21px; font-weight: 800; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 600; text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.product-name { font: 800 26px/1 var(--display); letter-spacing: -.02em; }
.product-name .go { color: var(--stone); }
.product-tag { font-size: 14px; font-weight: 600; color: var(--muted); }
.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.feature-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.feature-list li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; border-radius: 3px; background: var(--ink); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: "0" counter(s); font: 800 14px/1 var(--display); color: var(--stone); letter-spacing: .08em; }
.steps h3 { font-size: 19px; font-weight: 800; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* pricing */
.price-panel { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
@media (min-width: 900px) { .price-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding: 44px; } }
.price { font: 800 clamp(40px, 5vw, 56px)/1 var(--display); letter-spacing: -.03em; }
.price small { font: 500 17px/1 var(--body); color: var(--muted); letter-spacing: 0; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.rows li:first-child { border-top: 0; }
.rows li span:last-child { color: var(--muted); text-align: right; }
.rows li b { font-weight: 600; }

/* quote */
.quote { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .quote { grid-template-columns: 120px minmax(0, 1fr); } }
.quote svg { width: 96px; height: 54px; }
.quote blockquote { margin: 0; font: 700 clamp(24px, 3vw, 34px)/1.3 var(--display); letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 14px; font: 500 15px/1.4 var(--body); font-style: normal; color: var(--muted); }

/* dark closing band */
.closing { background: var(--dark-band); color: var(--on-dark); }
.closing .sec-head p, .closing p { color: var(--on-dark-muted); }
.closing .eyebrow { color: var(--on-dark-muted); }
.closing .btn-line { border-color: var(--on-dark); color: var(--on-dark); }
.closing .btn-line:hover { background: var(--on-dark); color: var(--dark-band); }
.closing-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 900px) { .closing-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }
.closing h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; color: var(--on-dark); }

/* ---------- demo page ---------- */
.subnav { position: sticky; top: 72px; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; }
.subnav a { flex: none; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); }
.subnav a:hover { border-color: var(--ink); color: var(--ink); }
.module { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); padding-block: 64px; border-top: 1px solid var(--line); }
.module:first-of-type { border-top: 0; }
@media (min-width: 960px) { .module { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.module h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; margin-top: 10px; }
.module .lede { margin-top: 14px; font-size: 17.5px; }
.module .cta-row { margin-top: 24px; }
.stage-list { list-style: none; margin: 0; padding: 0; counter-reset: st; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stage-list li { counter-increment: st; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 20px; border-top: 1px solid var(--line); }
.stage-list li:first-child { border-top: 0; }
.stage-list li::before { content: counter(st); width: 32px; height: 32px; border-radius: 10px; background: var(--soft); color: var(--ink); display: grid; place-items: center; font: 800 14px/1 var(--display); }
.stage-list b { display: block; font-weight: 700; }
.stage-list span { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.facts b { font: 800 22px/1 var(--display); color: var(--ink); margin-right: 6px; }
.note { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 700 18px/1.4 var(--display); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font: 500 20px/1 var(--body); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 72ch; }
.faq-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .faq-layout { grid-template-columns: minmax(0, .4fr) minmax(0, 1fr); } }

/* ---------- blog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: 600 14px/1 var(--body); padding: 10px 16px; min-height: 44px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.post-card:hover { border-color: var(--ink); color: var(--ink); }
.post-card .thumb { aspect-ratio: 16 / 9; background: var(--soft); display: grid; place-items: center; color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); }
.post-card .thumb svg { width: 72px; height: 40px; opacity: .5; }
.post-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 20px; font-weight: 800; }
.post-card p { color: var(--muted); font-size: 15px; }
.post-card .meta { margin-top: auto; font-size: 13.5px; color: var(--muted); }
.article { max-width: 720px; }
.article h2 { font-size: 28px; font-weight: 800; margin: 44px 0 14px; }
.article p { margin: 0 0 18px; font-size: 18px; }
.article ul { font-size: 18px; padding-left: 22px; margin: 0 0 18px; }
.article li { margin-bottom: 8px; }
.article .callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin: 28px 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select { font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.contact-list a:hover { border-color: var(--ink); color: var(--ink); }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list b { font-weight: 600; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; }
.areas span { padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.areas span.hq { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 48px 32px; font-size: 14.5px; color: var(--muted); }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.foot-grid h4 { font: 700 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; }
.proto-banner { background: var(--ink); color: var(--paper); font-size: 13px; text-align: center; padding: 8px 16px; }
.proto-banner a { color: var(--paper); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Specials band (home page, edited by GoDigy in the CMS) */
.specials { padding-block: 0 56px; }
.specials-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.special { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 28px; border-radius: 20px;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); min-width: 0; }
.special-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; width: 100%; }
.special .chip { background: var(--accent); color: var(--on-accent); }
.special h2 { font-size: clamp(22px, 2.6vw, 28px); text-wrap: balance; }
.special p { max-width: 60ch; }
.special .btn { margin-top: auto; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Contact form: spam trap and status message */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.form-status.ok { background: var(--accent-soft); color: var(--ink); }
.form-status.err { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.form { position: relative; }
