/* GOLBA AI Desk — sales site.
   Type, spacing and structure only. No brand assets exist in the repo, so
   none are invented here. Mobile first; the desktop rules widen the measure
   and open up two-column comparisons - they never add content.

   Fifteen sections is the information architecture, not a count of boxes.
   Chapters group them so the page reads as five movements, not fifteen
   identical cards. */

:root {
  --ink: #1a1d21;
  --ink-soft: #4a5158;
  --ink-faint: #6b737b;
  --rule: #dfe3e7;
  --rule-soft: #edf0f2;
  --bg: #ffffff;
  --bg-alt: #f6f8f9;
  --bg-proof: #12161a;          /* the demo chapter inverts: it is the centrepiece */
  --accent: #06c755;            /* LINE green, used only on the LINE action */
  /* The ink variant is text and glyphs only - links, the after-column and
     fit-list headings, the tick marks. At #05a445 those sat at 3.08-3.28:1,
     under AA. This is the same green the button settled on, so the page
     gained no new value to keep track of. */
  --accent-ink: #048239;
  /* The button carries white text, so it cannot use the brand green itself:
     #06c755 under white is 2.26:1. These are the CTA's own tokens - darkened
     far enough to pass AA (4.93 and 6.32) while still reading as the LINE
     action. The accent above stays as it is, because it is never a text
     background - it borders the after-column, the fit list and the ticks,
     and darkening it there would flatten the page's hierarchy. */
  --cta-bg: #048239;
  --cta-bg-hover: #046f30;
  --measure: 34rem;
  --measure-wide: 34rem;
  --pad: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN",
               "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.wrap {
  width: 100%;
  max-width: var(--measure-wide);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap.narrow { max-width: var(--measure); }

h1, h2, h3 { line-height: 1.45; letter-spacing: 0.01em; }
h1 { font-size: 1.75rem; margin: 0 0 1rem; }
h2 { font-size: 1.3rem; margin: 0 0 1rem; }
h3 { font-size: 1rem; margin: 0 0 0.25rem; }
p  { margin: 0 0 1rem; }
ul, ol, dl { margin: 0 0 1rem; padding: 0; }

a { color: var(--accent-ink); }
a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem;
}
.skip:focus { left: 0; top: 0; z-index: 10; }

.fine { font-size: 0.85rem; color: var(--ink-faint); line-height: 1.7; }
.section-lede { color: var(--ink-soft); margin-bottom: 1.75rem; }

/* --- header ------------------------------------------------------------ */
.site-head { border-bottom: 1px solid var(--rule); }
.wordmark {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0.9rem var(--pad);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.wordmark span { font-weight: 700; color: var(--ink); }

/* --- chapters ----------------------------------------------------------- */
.chapter { border-top: 1px solid var(--rule); }
.chapter-label {
  margin: 0;
  padding: 2rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.chapter-label b {
  display: inline-block;
  margin-right: 0.7rem;
  padding: 0.1rem 0.45rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* --- sections ----------------------------------------------------------- */
.hero { padding: 3.25rem 0 2.75rem; }
.band { padding: 2.25rem 0 2.75rem; }
.band.alt { background: var(--bg-alt); }
.chapter .band + .band { border-top: 1px solid var(--rule-soft); }

.lede { color: var(--ink-soft); }
.claim {
  margin: 1.5rem 0 0;
  padding-left: 0.9rem;
  border-left: 3px solid var(--ink);
  font-weight: 700;
}

/* --- pain --------------------------------------------------------------- */
.pain { list-style: none; }
.pain li {
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.pain li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }

/* --- before / after ------------------------------------------------------ */
.ba { margin-bottom: 1.25rem; }
.ba-col {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.1rem 1.2rem 0.9rem;
}
.ba-col + .ba-col { margin-top: 0; }
.ba-col h3 {
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.ba-after { border-color: var(--accent); }
.ba-after h3 { color: var(--accent-ink); border-bottom-color: var(--accent); }
.ba-steps { margin: 0; padding-left: 1.4rem; }
.ba-steps li { padding: 0.2rem 0; color: var(--ink-soft); }
.ba-count {
  margin: 0.9rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--rule);
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.ba-count b { font-size: 1.5rem; color: var(--ink); margin-right: 0.2rem; }
.ba-after .ba-count b { color: var(--accent-ink); }
.ba-arrow {
  margin: 0.6rem 0;
  text-align: center;
  font-size: 1.5rem;
  color: var(--ink-faint);
  transform: rotate(90deg);
}

/* --- the demo chapter: inverted, the visual centre of the page ----------- */
.chapter-proof { background: var(--bg-proof); color: #eef1f3; border-top: 0; }
/* The default ring is --ink, which is 1.07:1 against this chapter's own
   background - a keyboard user tabbing to the demo CTA would see nothing. */
.chapter-proof a:focus-visible,
.chapter-proof summary:focus-visible,
.chapter-proof .btn:focus-visible { outline-color: #fff; }
.chapter-proof .chapter-label { color: #8d979f; }
.chapter-proof .chapter-label b { border-color: #333c44; color: #b9c2c8; }
.chapter-proof h2 { color: #fff; }
.chapter-proof .section-lede { color: #a7b0b7; }
.chapter-proof .band.alt { background: #1a1f24; }
.chapter-proof .band + .band { border-top-color: #262d33; }
.chapter-proof .steps p { color: #a7b0b7; }
.chapter-proof .steps li::before { background: #fff; color: var(--bg-proof); }
.chapter-proof .steps h3 { color: #fff; }
.chapter-proof .more { color: #eef1f3; }
.chapter-proof .hint { color: #8d979f; }
.chapter-proof .fine { color: #8d979f; }

.talk { margin-bottom: 1.5rem; }
.turn + .turn { margin-top: 1.5rem; }
.q {
  margin: 0 0 0.6rem;
  padding: 0.7rem 0.9rem;
  background: #262d33;
  border-radius: 10px 10px 10px 2px;
  font-weight: 700;
  color: #fff;
}
.who {
  display: inline-block;
  margin-right: 0.6rem;
  padding: 0.05rem 0.45rem;
  border-radius: 3px;
  background: #4a5158;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 400;
  vertical-align: 0.12em;
}
.a {
  margin-left: 1.1rem;
  padding: 0.9rem 1rem;
  background: var(--accent);
  border-radius: 10px 10px 2px 10px;
  color: #04331a;
}
.a-body { margin: 0 0 0.7rem; font-weight: 500; }
.a-body:last-child { margin-bottom: 0; }
.src {
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(4, 51, 26, 0.22);
}
.src-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  opacity: 0.78;
}
.src ul { list-style: none; margin: 0; font-size: 0.85rem; line-height: 1.75; }
.src li { padding-left: 1rem; position: relative; }
.src li::before { content: "▸"; position: absolute; left: 0; opacity: 0.65; }
.src-none {
  margin: 0.8rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(4, 51, 26, 0.22);
  font-size: 0.85rem;
  opacity: 0.85;
}
.turn-note {
  margin: 0.6rem 0 0 1.1rem;
  font-size: 0.85rem;
  color: #8d979f;
}
.turn-key .a { background: #eef1f3; color: var(--ink); }
.turn-key .src-none { border-top-color: var(--rule); color: var(--ink-soft); opacity: 1; }
.turn-note.key { color: #eef1f3; }
.turn-note.key b { color: #fff; }
.more { margin-top: 1.5rem; font-weight: 700; }

/* --- steps -------------------------------------------------------------- */
.steps { list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 0 0 1.25rem 2.6rem; position: relative; }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0.15rem;
  width: 1.8rem; height: 1.8rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 0.85rem;
}
.steps p { margin: 0; color: var(--ink-soft); }

/* --- standard scope ------------------------------------------------------ */
.scope { list-style: none; counter-reset: sc; margin-bottom: 1.75rem; }
.scope li {
  counter-increment: sc;
  padding: 0.85rem 0 0.85rem 2.4rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.scope li::before {
  content: counter(sc, decimal-leading-zero);
  position: absolute; left: 0; top: 0.95rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-faint);
}
.scope p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.boundary {
  padding: 1.1rem 1.2rem 0.6rem;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.band.alt .boundary { background: var(--bg); }
.boundary h3 { font-size: 0.9rem; letter-spacing: 0.06em; color: var(--ink-faint); }
.boundary ul { list-style: none; margin-bottom: 0.75rem; }
.boundary li { padding: 0.25rem 0 0.25rem 1rem; position: relative; color: var(--ink-soft); }
.boundary li::before { content: "·"; position: absolute; left: 0.2rem; }

/* --- roi ---------------------------------------------------------------- */
.roi { margin-bottom: 1.5rem; }
.roi-case {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
}
.roi-case + .roi-case { margin-top: 1rem; }
.roi-case h3 {
  margin-bottom: 0.8rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem; letter-spacing: 0.06em; color: var(--ink-faint);
}
.roi-in { margin: 0 0 0.9rem; font-size: 0.9rem; }
.roi-in > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.25rem 0;
}
.roi-in dt { color: var(--ink-soft); }
.roi-in dd { margin: 0; font-weight: 700; white-space: nowrap; }
.roi-eq {
  margin: 0 0 0.5rem; padding: 0.45rem 0.6rem;
  background: var(--bg-alt); border-radius: 6px;
  font-size: 0.85rem; color: var(--ink-soft); text-align: center;
}
.band.alt .roi-eq { background: var(--bg-alt); }
.roi-out { margin: 0; text-align: center; font-size: 1rem; }
.roi-out b { font-size: 1.9rem; letter-spacing: -0.01em; }

.roi-money { padding: 1rem 0 0; border-top: 1px solid var(--rule); }
.roi-formula {
  margin: 0.5rem 0; padding: 0.6rem;
  background: var(--bg); border: 1px dashed var(--rule); border-radius: 6px;
  text-align: center; font-weight: 700;
}
.roi-honest {
  margin: 1.25rem 0; padding: 1rem 1.2rem;
  background: var(--bg); border-left: 3px solid var(--ink); border-radius: 0 8px 8px 0;
}
.roi-honest p:last-child { margin-bottom: 0; }

.notes { list-style: none; }
.notes li { padding-left: 1.2rem; position: relative; }
.notes li::before { content: "※"; position: absolute; left: 0; }

/* --- timeline ----------------------------------------------------------- */
.timeline { list-style: none; counter-reset: tl; margin-bottom: 1.25rem; }
.timeline li {
  counter-increment: tl;
  position: relative;
  padding: 0 0 1.5rem 2.4rem;
  border-left: 2px solid var(--rule);
  margin-left: 0.85rem;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: counter(tl);
  position: absolute; left: -0.85rem; top: 0;
  width: 1.7rem; height: 1.7rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 0.8rem;
}
.tl-when {
  margin: 0 0 0.15rem;
  font-size: 0.78rem; letter-spacing: 0.08em; color: var(--ink-faint);
}
.timeline p { margin: 0 0 0.4rem; color: var(--ink-soft); font-size: 0.95rem; }
.tl-cost { color: var(--ink) !important; font-weight: 700; }

/* --- point of view ------------------------------------------------------- */
.pov p { color: var(--ink-soft); }
.pov p:first-of-type { color: var(--ink); font-weight: 700; }

/* --- trust --------------------------------------------------------------- */
.trust > div { padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
.trust dt { font-weight: 700; }
.trust dd { margin: 0.15rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }

/* --- fit ----------------------------------------------------------------- */
.cols > div + div { margin-top: 1.75rem; }
.cols h3 {
  margin-bottom: 0.6rem; padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem; letter-spacing: 0.06em; color: var(--ink-faint);
}
.fit-yes h3 { color: var(--accent-ink); border-bottom-color: var(--accent); }
.tick, .dash { list-style: none; }
.tick li, .dash li {
  padding: 0.35rem 0 0.35rem 1.5rem; position: relative; color: var(--ink-soft);
}
.tick li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-ink); }
.dash li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }

/* --- pricing ------------------------------------------------------------- */
.price { margin: 0 0 1.25rem; }
.price > div { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.price dt { font-weight: 700; }
.price dd { margin: 0; }
.price .amount { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.01em; }
.price .note { font-size: 0.85rem; color: var(--ink-faint); }

/* --- faq ----------------------------------------------------------------- */
details { border-bottom: 1px solid var(--rule); }
summary {
  padding: 0.9rem 1.8rem 0.9rem 0;
  cursor: pointer; font-weight: 700; position: relative; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 0.85rem;
  color: var(--ink-faint); font-weight: 400;
}
details[open] summary::after { content: "−"; }
details p { margin: 0 0 1rem; color: var(--ink-soft); }

/* --- cta ----------------------------------------------------------------- */
.cta { margin-top: 1.75rem; }
.btn {
  display: block; width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 8px;
  background: var(--cta-bg); color: #fff;
  font-weight: 700; text-align: center; text-decoration: none;
}
.btn:hover { background: var(--cta-bg-hover); }
.hint { margin: 0.7rem 0 0; font-size: 0.85rem; color: var(--ink-faint); }
.qr { margin-top: 1rem; }
.qr img { display: block; width: 160px; height: 160px; margin-bottom: 0.4rem; }

.final { background: var(--bg-alt); }

/* --- footer -------------------------------------------------------------- */
.site-foot {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 2.5rem;
  font-size: 0.9rem; color: var(--ink-soft);
}
.site-foot .corp { font-weight: 700; color: var(--ink); }
.site-foot p { margin: 0 0 0.6rem; }

/* --- desktop: widen, and open the comparisons --------------------------- */
@media (min-width: 48rem) {
  :root { --measure: 38rem; --measure-wide: 56rem; --pad: 2rem; }

  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.6rem; margin-bottom: 1.25rem; }

  .hero { padding: 5rem 0 4rem; }
  .hero .wrap { max-width: 44rem; }
  .hero .lede { font-size: 1.05rem; }
  .band { padding: 3rem 0 3.5rem; }
  .chapter-label { padding-top: 2.75rem; }

  /* Button and QR sit side by side: stacked, three QR blocks added a lot of
     vertical weight to a page that is already long. */
  .cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .cta .btn { display: inline-block; width: auto; min-width: 18rem; order: 1; }
  .cta .hint { order: 3; flex-basis: 100%; margin-top: 0; }
  .cta .qr { order: 2; margin-top: 0; display: flex; align-items: center; gap: 0.75rem; }
  .cta .qr img { width: 104px; height: 104px; margin-bottom: 0; }
  .cta .qr .fine { max-width: 7rem; }

  /* Before / After side by side - the step-count difference is the point. */
  .ba {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 1.25rem;
  }
  .ba-arrow { transform: none; margin-top: 4rem; font-size: 1.75rem; }

  .roi { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .roi-case + .roi-case { margin-top: 0; }

  .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .cols > div + div { margin-top: 0; }

  .scope { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }

  .trust { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }

  /* Long-form prose keeps a readable measure even on a wide viewport. */
  .pov .wrap, .wrap.narrow { max-width: 38rem; }
  .talk { max-width: 42rem; }
  .price, .timeline { max-width: 42rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
