/*
  growapps.ai company pages.

  Every color, space, radius and type value comes from tokens.css, which is
  generated from the growapps_brand Dart package (the same tokens the Flutter
  app uses). This file only composes them. If a value is missing, add it to
  the Dart tokens and regenerate; do not write a literal here.

  Brand world rules (docs/design/growapps-design-philosophy.md): one thing
  at a time, sections and dividers before cards, Newsreader for headlines
  and Plus Jakarta Sans for everything else, bloom at most once per page.
*/

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  background: var(--gw-background);
  color: var(--gw-text-primary);
  font-family: var(--gw-font-body);
  font-size: var(--gw-text-16);
  line-height: var(--gw-leading-body);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Accent used as text or behind white text. The light accent (#2e8b5b) is
   3.5:1 on the page grounds and 4.2:1 under white, below WCAG AA, so light
   mode uses accent-strong (4.9:1 and 6:1). Dark mode keeps the accent. */
:root {
  --site-accent-ink: var(--gw-accent-strong);
  --site-accent-ink-hover: color-mix(
    in srgb,
    var(--gw-accent-strong) 80%,
    var(--gw-text-primary)
  );
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --site-accent-ink: var(--gw-accent);
    --site-accent-ink-hover: var(--gw-accent-strong);
  }
}

:root[data-theme="dark"] {
  --site-accent-ink: var(--gw-accent);
  --site-accent-ink-hover: var(--gw-accent-strong);
}

a {
  color: var(--site-accent-ink);
  text-decoration-thickness: from-font;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--site-accent-ink-hover);
}

:focus-visible {
  outline: var(--gw-border-thick) solid var(--gw-accent);
  outline-offset: 3px;
  border-radius: var(--gw-radius-6);
}

code,
.mono {
  font-family: var(--gw-font-mono);
  font-size: 0.92em;
  font-variant-numeric: tabular-nums;
}

.wrap {
  width: min(100% - 2 * var(--gw-space-24), 1120px);
  margin-inline: auto;
}

/* ---------- Type scale ---------- */

h1,
h2,
h3 {
  font-family: var(--gw-font-display);
  font-weight: var(--gw-weight-semi-bold);
  color: var(--gw-text-primary);
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(var(--gw-text-40), 3.2vw + 1.4rem, var(--gw-text-64));
  line-height: var(--gw-leading-hero);
  letter-spacing: var(--gw-tracking-heading-tight);
  font-weight: var(--gw-weight-bold);
}

h1 em {
  font-style: italic;
  font-weight: var(--gw-weight-medium);
  color: var(--gw-accent-strong);
}

h2 {
  font-size: clamp(var(--gw-text-28), 1.6vw + 1.1rem, var(--gw-text-40));
  line-height: var(--gw-leading-tight);
  letter-spacing: var(--gw-tracking-tight);
}

h3 {
  font-family: var(--gw-font-body);
  font-size: var(--gw-text-20);
  line-height: var(--gw-leading-compact);
  font-weight: var(--gw-weight-bold);
}

p {
  margin: 0;
}

.lead {
  font-size: var(--gw-text-18);
  line-height: var(--gw-leading-loose);
  color: var(--gw-text-muted);
  max-width: 62ch;
}

.eyebrow {
  font-size: var(--gw-text-12);
  font-weight: var(--gw-weight-bold);
  line-height: var(--gw-leading-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--site-accent-ink);
}

.kicker {
  font-size: var(--gw-text-13);
  font-weight: var(--gw-weight-medium);
  color: var(--gw-text-muted);
}

.note {
  font-size: var(--gw-text-14);
  color: var(--gw-text-muted);
  max-width: 70ch;
  margin-top: var(--gw-space-24);
}

.prose {
  max-width: 66ch;
  display: grid;
  gap: var(--gw-space-20);
  font-size: var(--gw-text-17);
  line-height: var(--gw-leading-loose);
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gw-space-12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--gw-space-10) var(--gw-space-20);
  border-radius: var(--gw-radius-14);
  border: var(--gw-border-emphasis) solid transparent;
  font-weight: var(--gw-weight-semi-bold);
  font-size: var(--gw-text-15);
  line-height: 1;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease,
    color 120ms ease;
}

.button--primary {
  background: var(--site-accent-ink);
  color: var(--gw-text-on-accent);
}

.button--primary:hover {
  background: var(--site-accent-ink-hover);
  color: var(--gw-text-on-accent);
}

.button--secondary {
  background: transparent;
  color: var(--gw-text-primary);
  border-color: var(--gw-border-strong);
}

.button--secondary:hover {
  color: var(--gw-accent-strong);
  border-color: var(--gw-accent-strong);
}

/* ---------- Sidebar ----------

   The one navigation, the same one the app shows a visitor (owner,
   2026-09-29). From 900px it is a column, shrinkable to a rail (below); under,
   it is an HTML popover the top bar's menu button opens, which brings light
   dismiss and Escape with it. A browser without popover support gets it as a
   plain block above the page instead. */

.site {
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
}

.site__main {
  flex: 1;
  min-width: 0;
}

.sidebar[popover] {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(256px, 85vw);
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-right: var(--gw-border-hairline) solid var(--gw-border);
  background: var(--gw-surface);
  color: var(--gw-text-primary);
  overflow: hidden;
  flex-direction: column;
}

.sidebar[popover]:popover-open {
  display: flex;
}

/* Not --gw-scrim: that token is opaque, and white in dark mode. */
.sidebar::backdrop {
  background: color-mix(in srgb, var(--gw-palette-black) 45%, transparent);
}

@supports not selector(:popover-open) {
  .sidebar[popover] {
    position: static;
    display: flex;
    width: auto;
    height: auto;
    border-right: 0;
    border-bottom: var(--gw-border-hairline) solid var(--gw-border);
  }
  .topbar .icon-button,
  .sidebar__close {
    display: none;
  }
}

.sidebar__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gw-space-8);
  padding: var(--gw-space-12) var(--gw-space-8) var(--gw-space-8)
    var(--gw-space-16);
}

.sidebar .brand__name {
  font-size: var(--gw-text-18);
}

.sidebar__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--gw-space-2);
  padding: var(--gw-space-4) var(--gw-space-8) var(--gw-space-8);
  overflow-y: auto;
}

.sidebar__nav a {
  display: flex;
  align-items: center;
  gap: var(--gw-space-10);
  min-height: 36px;
  padding: 0 var(--gw-space-10);
  border-radius: var(--gw-radius-8);
  color: var(--gw-text-primary);
  font-size: var(--gw-text-13-5);
  font-weight: var(--gw-weight-medium);
  text-decoration: none;
}

.sidebar__nav a:hover {
  color: var(--gw-text-primary);
  background: color-mix(in srgb, var(--gw-text-primary) 5%, transparent);
}

.sidebar__nav a[aria-current="page"] {
  background: color-mix(in srgb, var(--gw-text-primary) 7%, transparent);
  font-weight: var(--gw-weight-semi-bold);
}

.sidebar__nav svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: var(--gw-text-muted);
}

.sidebar__nav a[aria-current="page"] svg {
  fill: var(--gw-text-primary);
}

.sidebar__label {
  flex: 1;
}

.sidebar__badge {
  padding: 1px var(--gw-space-6);
  border-radius: var(--gw-radius-pill);
  background: color-mix(in srgb, var(--gw-accent) 14%, transparent);
  color: var(--site-accent-ink);
  font-size: var(--gw-text-10);
  font-weight: var(--gw-weight-extra-bold);
  letter-spacing: 0.02em;
}

.sidebar__gap {
  height: var(--gw-space-12);
  flex: none;
}

.sidebar__foot {
  display: grid;
  gap: var(--gw-space-8);
  padding: var(--gw-space-12);
  border-top: var(--gw-border-hairline) solid var(--gw-border);
}

.sidebar__foot .button {
  min-height: 38px;
  font-size: var(--gw-text-13-5);
}

/* The shrink toggle and the rail it makes (owner, 2026-10-03). The panel icon
   has a rule down its left third; hover adds a chevron in the wide part
   pointing the way the sidebar will go. In the rail the GrowApps mark sits in
   its place until hovered. sidebar.js sets .js and data-sidebar="rail" on
   <html>; without it the toggle never shows and the sidebar stays open. The
   rail and the toggle exist from 900px up, where the sidebar is a column. */

.sidebar__toggle {
  display: none;
  position: relative;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--gw-radius-10);
  background: transparent;
  color: var(--gw-text-muted);
  cursor: pointer;
}

.sidebar__toggle:hover,
.sidebar__toggle:focus-visible {
  background: var(--gw-background-alt);
  color: var(--gw-text-primary);
}

.sidebar__toggle-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toggle-chevron {
  stroke-width: 1.6;
  opacity: 0;
}

.sidebar__toggle-mark {
  display: none;
}

.sidebar__toggle-mark .brand__mark {
  width: 24px;
  height: 24px;
}

/* Names on hover, as a dark pill beside the control (Gemini's). */
.sidebar__toggle::after,
[data-sidebar="rail"] .sidebar__nav a::after,
[data-sidebar="rail"] .sidebar__foot .button::after {
  content: attr(data-tip);
  position: absolute;
  left: calc(100% + var(--gw-space-8));
  top: 50%;
  z-index: 30;
  padding: var(--gw-space-6) var(--gw-space-10);
  border-radius: var(--gw-radius-8);
  background: var(--gw-text-primary);
  color: var(--gw-background);
  font-size: var(--gw-text-12-5);
  font-weight: var(--gw-weight-medium);
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 120ms ease 0ms;
}

.sidebar__toggle::after {
  content: "Close sidebar";
}

[data-sidebar="rail"] .sidebar__toggle::after {
  content: "Open sidebar";
}

@media (hover: hover) and (min-width: 900px) {
  .sidebar__toggle:hover::after,
  .sidebar__toggle:focus-visible::after,
  [data-sidebar="rail"] .sidebar__nav a:hover::after,
  [data-sidebar="rail"] .sidebar__nav a:focus-visible::after,
  [data-sidebar="rail"] .sidebar__foot .button:hover::after,
  [data-sidebar="rail"] .sidebar__foot .button:focus-visible::after {
    opacity: 1;
    transition-delay: 350ms;
  }
}

.sidebar__foot .button svg {
  display: none;
  flex: none;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.sidebar__toggle:hover .toggle-chevron--close,
.sidebar__toggle:focus-visible .toggle-chevron--close {
  opacity: 1;
}

@media (min-width: 900px) {
  .js .sidebar__toggle {
    display: inline-grid;
  }

  .sidebar[popover] {
    z-index: 20;
    overflow: visible;
    transition: width 200ms ease;
  }

  [data-sidebar="rail"] .sidebar[popover] {
    width: 64px;
  }

  [data-sidebar="rail"] .sidebar__brand {
    justify-content: center;
    padding-inline: 0;
  }

  [data-sidebar="rail"] .sidebar__brand .brand {
    display: none;
  }

  [data-sidebar="rail"] .sidebar__toggle {
    width: 40px;
    height: 40px;
  }

  [data-sidebar="rail"] .sidebar__toggle-mark {
    display: block;
  }

  [data-sidebar="rail"] .sidebar__toggle-icon {
    display: none;
  }

  [data-sidebar="rail"] .sidebar__toggle:hover .sidebar__toggle-mark,
  [data-sidebar="rail"] .sidebar__toggle:focus-visible .sidebar__toggle-mark {
    display: none;
  }

  [data-sidebar="rail"] .sidebar__toggle:hover .sidebar__toggle-icon,
  [data-sidebar="rail"] .sidebar__toggle:focus-visible .sidebar__toggle-icon {
    display: block;
  }

  [data-sidebar="rail"] .sidebar__toggle:hover .toggle-chevron--close,
  [data-sidebar="rail"] .sidebar__toggle:focus-visible .toggle-chevron--close {
    opacity: 0;
  }

  [data-sidebar="rail"] .sidebar__toggle:hover .toggle-chevron--open,
  [data-sidebar="rail"] .sidebar__toggle:focus-visible .toggle-chevron--open {
    opacity: 1;
  }

  [data-sidebar="rail"] .sidebar__nav {
    align-items: center;
    padding-inline: 0;
    overflow: visible;
  }

  [data-sidebar="rail"] .sidebar__nav a {
    position: relative;
    justify-content: center;
    width: 40px;
    min-height: 40px;
    padding: 0;
    gap: 0;
  }

  [data-sidebar="rail"] .sidebar__gap {
    height: var(--gw-space-8);
  }

  /* Hidden to the eye, kept for screen readers: the link's name. */
  [data-sidebar="rail"] .sidebar__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  [data-sidebar="rail"] .sidebar__badge {
    display: none;
  }

  [data-sidebar="rail"] .sidebar__foot {
    justify-items: center;
    padding: var(--gw-space-10) 0;
  }

  [data-sidebar="rail"] .sidebar__foot .button {
    position: relative;
    width: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: var(--gw-radius-10);
  }

  [data-sidebar="rail"] .sidebar__foot .button svg {
    display: block;
  }
}

.icon-button {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--gw-radius-10);
  background: transparent;
  color: var(--gw-text-primary);
  cursor: pointer;
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.icon-button:hover {
  background: var(--gw-background-alt);
}

/* The bar over the page while the sidebar is hidden. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--gw-space-8);
  min-height: 60px;
  padding: var(--gw-space-8) var(--gw-space-16);
  background: color-mix(in srgb, var(--gw-background) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: var(--gw-border-hairline) solid var(--gw-border);
}

.topbar__cta {
  margin-left: auto;
  min-height: 40px;
}

@media (max-width: 399px) {
  .topbar .brand__name {
    display: none;
  }
}

@media (min-width: 900px) {
  .sidebar[popover] {
    display: flex;
    position: sticky;
    inset: auto;
    top: 0;
    flex: none;
    width: 256px;
    height: 100vh;
  }
  .topbar,
  .sidebar__close {
    display: none;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--gw-space-10);
  text-decoration: none;
  color: var(--gw-text-primary);
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: var(--gw-radius-8);
}

.brand__mark--dark {
  display: none;
}

.brand__name {
  font-family: var(--gw-font-display);
  font-weight: var(--gw-weight-semi-bold);
  font-size: var(--gw-text-22);
  letter-spacing: var(--gw-tracking-snug);
}

/* ---------- Hero ---------- */

.hero {
  padding-block: var(--gw-space-64) var(--gw-space-56);
  border-bottom: var(--gw-border-hairline) solid var(--gw-border);
}

.hero--meadow {
  background:
    radial-gradient(
      ellipse 70% 80% at 85% 20%,
      color-mix(in srgb, var(--gw-meadow) 28%, transparent),
      transparent 70%
    ),
    var(--gw-background);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gw-space-48);
  align-items: center;
}

.hero__copy {
  display: grid;
  gap: var(--gw-space-20);
}

.hero__copy .actions {
  margin-top: var(--gw-space-8);
}

.hero__visual .brand-image {
  border-radius: var(--gw-radius-20);
  border: var(--gw-border-hairline) solid var(--gw-border);
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.10);
}

@media (max-width: 860px) {
  .hero {
    padding-block: var(--gw-space-48) var(--gw-space-40);
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--gw-space-32);
  }
}

/* ---------- Sections ---------- */

.block {
  padding-block: var(--gw-space-96);
}

.block--alt {
  background: var(--gw-background-alt);
}

.block__head {
  display: grid;
  gap: var(--gw-space-12);
  max-width: 720px;
  margin-bottom: var(--gw-space-48);
}

@media (max-width: 720px) {
  .block {
    padding-block: var(--gw-space-64);
  }
  .block__head {
    margin-bottom: var(--gw-space-32);
  }
}

.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gw-space-32) var(--gw-space-40);
}

.columns__item {
  display: grid;
  gap: var(--gw-space-8);
  padding-top: var(--gw-space-16);
  border-top: var(--gw-border-hairline) solid var(--gw-border-strong);
}

.columns__item p {
  color: var(--gw-text-muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gw-space-32) var(--gw-space-24);
  counter-reset: step;
}

.steps li {
  display: grid;
  gap: var(--gw-space-8);
  counter-increment: step;
}

.steps__state {
  display: inline-flex;
  align-items: center;
  gap: var(--gw-space-8);
  width: fit-content;
  padding: var(--gw-space-4) var(--gw-space-10);
  border-radius: var(--gw-radius-pill);
  background: color-mix(in srgb, var(--gw-accent) 12%, transparent);
  color: var(--gw-accent-strong);
  font-family: var(--gw-font-mono);
  font-size: var(--gw-text-13);
}

.steps__state::before {
  content: counter(step);
  font-weight: var(--gw-weight-bold);
}

.steps p {
  color: var(--gw-text-muted);
}

.story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gw-space-32);
}

.story__beat {
  display: grid;
  gap: var(--gw-space-12);
}

.story__beat .brand-image {
  border-radius: var(--gw-radius-14);
  border: var(--gw-border-hairline) solid var(--gw-border);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: var(--gw-space-8);
}

.story__beat h3 {
  font-family: var(--gw-font-display);
  font-size: var(--gw-text-24);
  font-weight: var(--gw-weight-semi-bold);
  line-height: var(--gw-leading-heading);
}

.story__beat p {
  color: var(--gw-text-muted);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gw-space-16) var(--gw-space-32);
  font-size: var(--gw-text-17);
}

.checklist li {
  padding-left: var(--gw-space-28);
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: var(--gw-border-thick) solid var(--gw-accent);
  border-bottom: var(--gw-border-thick) solid var(--gw-accent);
  transform: rotate(-45deg);
}

/* ---------- Facts (operator block, company facts) ---------- */

.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--gw-space-12) var(--gw-space-32);
  margin: 0;
  max-width: 760px;
  padding: var(--gw-space-24) var(--gw-space-28);
  border: var(--gw-border-hairline) solid var(--gw-border);
  border-radius: var(--gw-radius-20);
  background: var(--gw-surface);
}

.facts dt {
  color: var(--gw-text-muted);
  font-size: var(--gw-text-14);
  font-weight: var(--gw-weight-medium);
  padding-top: 2px;
}

.facts dd {
  margin: 0;
}

@media (max-width: 560px) {
  .facts {
    grid-template-columns: 1fr;
    gap: var(--gw-space-4);
  }
  .facts dd {
    margin-bottom: var(--gw-space-12);
  }
}

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gw-space-24);
  align-items: start;
}

.plan {
  display: grid;
  gap: var(--gw-space-16);
  padding: var(--gw-space-28);
  border: var(--gw-border-hairline) solid var(--gw-border);
  border-radius: var(--gw-radius-20);
  background: var(--gw-surface);
}

.plan--featured {
  border-color: var(--gw-accent);
  box-shadow: 0 0 0 1px var(--gw-accent);
}

.plan h3 {
  font-family: var(--gw-font-display);
  font-size: var(--gw-text-26);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: var(--gw-space-6);
}

.plan__amount {
  font-family: var(--gw-font-display);
  font-size: var(--gw-text-46);
  font-weight: var(--gw-weight-semi-bold);
  line-height: 1;
  letter-spacing: var(--gw-tracking-tight);
  font-variant-numeric: tabular-nums;
}

.plan__period,
.plan__for {
  color: var(--gw-text-muted);
}

.plan__credits {
  font-weight: var(--gw-weight-semi-bold);
}

.plan ul {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: var(--gw-space-8);
  color: var(--gw-text-muted);
  font-size: var(--gw-text-15);
}

.plan .button {
  justify-self: start;
}

.faq {
  max-width: 760px;
  border-top: var(--gw-border-hairline) solid var(--gw-border-strong);
}

.faq details {
  border-bottom: var(--gw-border-hairline) solid var(--gw-border);
  padding: var(--gw-space-16) 0;
}

.faq summary {
  cursor: pointer;
  font-weight: var(--gw-weight-semi-bold);
  font-size: var(--gw-text-17);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--gw-space-16);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--gw-accent);
  font-family: var(--gw-font-mono);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin-top: var(--gw-space-12);
  color: var(--gw-text-muted);
  max-width: 66ch;
}

/* ---------- Contact, about, legal ---------- */

.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gw-space-32) var(--gw-space-40);
}

.channel {
  display: grid;
  gap: var(--gw-space-8);
  padding-top: var(--gw-space-16);
  border-top: var(--gw-border-hairline) solid var(--gw-border-strong);
}

.channel p {
  color: var(--gw-text-muted);
}

.channel .mono {
  font-size: var(--gw-text-18);
  width: fit-content;
}

.socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gw-space-12);
}

.socials a {
  display: inline-block;
  padding: var(--gw-space-8) var(--gw-space-16);
  border: var(--gw-border-hairline) solid var(--gw-border-strong);
  border-radius: var(--gw-radius-pill);
  color: var(--gw-text-primary);
  text-decoration: none;
  font-weight: var(--gw-weight-medium);
}

.socials a:hover {
  border-color: var(--gw-accent);
  color: var(--gw-accent-strong);
}

.person {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--gw-space-24);
  max-width: 760px;
}

.person__mark {
  width: 72px;
  height: 72px;
  border-radius: var(--gw-radius-pill);
  display: grid;
  place-items: center;
  background: var(--gw-meadow);
  color: var(--gw-text-primary);
  font-family: var(--gw-font-display);
  font-size: var(--gw-text-24);
  font-weight: var(--gw-weight-semi-bold);
}

.person__body {
  display: grid;
  gap: var(--gw-space-8);
}

.person__role {
  color: var(--gw-text-muted);
}

.person__links {
  font-size: var(--gw-text-15);
}

@media (max-width: 560px) {
  .person {
    grid-template-columns: 1fr;
  }
}

/* ---------- Figures (sourced market numbers) ---------- */

.figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gw-space-32) var(--gw-space-48);
  max-width: 900px;
}

.figure {
  display: grid;
  gap: var(--gw-space-8);
  padding-top: var(--gw-space-16);
  border-top: var(--gw-border-thick) solid var(--gw-accent);
}

.figure__value {
  font-family: var(--gw-font-display);
  font-size: clamp(var(--gw-text-40), 2.4vw + 1.2rem, var(--gw-text-56));
  font-weight: var(--gw-weight-semi-bold);
  line-height: 1;
  letter-spacing: var(--gw-tracking-tight);
  font-variant-numeric: tabular-nums;
  color: var(--gw-text-primary);
}

.figure__label {
  font-size: var(--gw-text-17);
  line-height: var(--gw-leading-loose);
  max-width: 44ch;
}

.figure__source {
  font-size: var(--gw-text-13);
  color: var(--gw-text-muted);
}

/* ---------- Timeline ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  max-width: 820px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--gw-space-24);
  position: relative;
  padding-bottom: var(--gw-space-40);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(160px + var(--gw-space-24) / 2 - 1px);
  top: 0.5em;
  bottom: calc(-1 * var(--gw-space-8));
  width: 2px;
  background: var(--gw-border-strong);
}

.timeline__item:last-child::before {
  display: none;
}

.timeline__item::after {
  content: "";
  position: absolute;
  left: calc(160px + var(--gw-space-24) / 2 - 6px);
  top: 0.35em;
  width: 12px;
  height: 12px;
  border-radius: var(--gw-radius-pill);
  background: var(--gw-accent);
  box-shadow: 0 0 0 4px var(--gw-background);
}

.block--alt .timeline__item::after {
  box-shadow: 0 0 0 4px var(--gw-background-alt);
}

.timeline__when {
  font-family: var(--gw-font-mono);
  font-size: var(--gw-text-14);
  color: var(--gw-text-muted);
  padding-top: 0.25em;
  text-align: right;
}

.timeline__body {
  display: grid;
  gap: var(--gw-space-8);
  padding-left: var(--gw-space-24);
}

.timeline__body h3 {
  font-family: var(--gw-font-display);
  font-size: var(--gw-text-24);
  font-weight: var(--gw-weight-semi-bold);
  line-height: var(--gw-leading-heading);
}

.timeline__body p {
  color: var(--gw-text-muted);
  max-width: 62ch;
}

@media (max-width: 640px) {
  .timeline__item {
    grid-template-columns: 1fr;
    gap: var(--gw-space-6);
    padding-left: var(--gw-space-24);
  }
  .timeline__item::before {
    left: 5px;
  }
  .timeline__item::after {
    left: 0;
    top: 0.45em;
  }
  .timeline__when {
    text-align: left;
    padding-top: 0;
  }
  .timeline__body {
    padding-left: 0;
  }
}

/* ---------- People ---------- */

.people {
  display: grid;
  gap: var(--gw-space-40);
}

.people .person + .person {
  padding-top: var(--gw-space-40);
  border-top: var(--gw-border-hairline) solid var(--gw-border);
}

.doc-list {
  display: grid;
  max-width: 760px;
  border-top: var(--gw-border-hairline) solid var(--gw-border-strong);
}

.doc {
  display: grid;
  gap: var(--gw-space-6);
  padding: var(--gw-space-20) 0;
  border-bottom: var(--gw-border-hairline) solid var(--gw-border);
}

.doc p {
  color: var(--gw-text-muted);
  max-width: 66ch;
}

.doc__host {
  font-size: var(--gw-text-13);
  color: var(--gw-text-muted);
  font-family: var(--gw-font-mono);
}

/* ---------- CTA band ---------- */

.cta-band {
  padding-block: var(--gw-space-64);
  background: var(--gw-text-primary);
  color: var(--gw-background);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gw-space-24);
}

.cta-band h2 {
  color: inherit;
  margin-bottom: var(--gw-space-8);
}

.cta-band p {
  color: inherit;
  opacity: 0.8;
  max-width: 52ch;
}

.cta-band .button--primary {
  background: var(--gw-meadow);
  color: var(--gw-text-primary);
}

.cta-band .button--primary:hover {
  background: var(--gw-accent);
  color: var(--gw-text-on-accent);
}

.cta-band .button--secondary {
  color: inherit;
  border-color: currentColor;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: var(--gw-space-56) var(--gw-space-40);
  border-top: var(--gw-border-hairline) solid var(--gw-border);
  font-size: var(--gw-text-14);
  color: var(--gw-text-muted);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--gw-space-32);
}

.site-footer__brand {
  display: grid;
  gap: var(--gw-space-8);
  align-content: start;
}

.site-footer__brand .brand__name {
  color: var(--gw-text-primary);
}

.site-footer__heading {
  font-family: var(--gw-font-body);
  font-size: var(--gw-text-12);
  font-weight: var(--gw-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gw-text-primary);
  margin-bottom: var(--gw-space-12);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--gw-space-8);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gw-text-primary);
  text-decoration: underline;
}

.site-footer__legal {
  margin-top: var(--gw-space-40);
  padding-top: var(--gw-space-24);
  border-top: var(--gw-border-hairline) solid var(--gw-border);
  display: grid;
  gap: var(--gw-space-8);
}

.operator strong {
  color: var(--gw-text-primary);
}

@media (max-width: 760px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Dark scheme adjustments ---------- */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__mark--light {
    display: none;
  }
  :root:not([data-theme="light"]) .brand__mark--dark {
    display: block;
  }
  :root:not([data-theme="light"]) .hero__visual .brand-image,
  :root:not([data-theme="light"]) .story__beat .brand-image {
    box-shadow: 0 10px 28px rgb(0 0 0 / 0.40);
  }
}

:root[data-theme="dark"] .brand__mark--light {
  display: none;
}

:root[data-theme="dark"] .brand__mark--dark {
  display: block;
}

/* ---------- Docs chrome (owner, 2026-10-03) ----------

   Under /docs there is one sidebar: the docs menu in the site sidebar's own
   element, shrinkable like the rest. Over the page sits the docs top bar: the
   search, Get started and the section tabs, the way Replit's and Lovable's
   docs are laid out. Components: site/lib/components/docs_nav.dart. */

html:has(.docs-topbar) {
  scroll-padding-top: 128px;
}

.docs-nav {
  font-size: var(--gw-text-13-5);
}

.docs-nav .docs-group {
  display: grid;
}

.docs-nav .docs-group__icon {
  display: none;
}

.docs-nav__group {
  margin: 0;
  padding: var(--gw-space-16, 16px) var(--gw-space-10) var(--gw-space-6);
  font-size: var(--gw-text-12);
  font-weight: var(--gw-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gw-text-muted);
}

.docs-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.docs-nav li a {
  display: block;
  min-height: 0;
  padding: 7px var(--gw-space-10);
  line-height: 1.35;
  color: var(--gw-text-muted);
}

.docs-nav li a:hover {
  color: var(--gw-text-primary);
}

.docs-nav li a[aria-current="page"] {
  background: var(--docs-tint, color-mix(in srgb, var(--gw-accent) 12%, var(--gw-surface)));
  color: var(--site-accent-ink);
  font-weight: var(--gw-weight-bold);
}

.docs-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--gw-background) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: var(--gw-border-hairline) solid var(--gw-border);
}

.docs-topbar__row {
  display: flex;
  align-items: center;
  gap: var(--gw-space-12);
  min-height: 60px;
  padding: var(--gw-space-8) var(--gw-space-16);
}

.docs-topbar__brand {
  margin-right: auto;
}

.docs-topbar__cta {
  flex: none;
  min-height: 38px;
  font-size: var(--gw-text-13-5);
}

/* The search button is a pill that looks like a field; it opens the dialog. */
.docs-search-open {
  display: none;
  align-items: center;
  gap: var(--gw-space-8);
  flex: 1;
  max-width: 440px;
  min-height: 38px;
  margin-inline: auto;
  padding: 0 var(--gw-space-12);
  border: var(--gw-border-hairline) solid var(--gw-border);
  border-radius: var(--gw-radius-pill);
  background: var(--gw-surface);
  color: var(--gw-text-muted);
  font: inherit;
  font-size: var(--gw-text-13-5);
  cursor: pointer;
}

.js .docs-search-open {
  display: flex;
}

.docs-search-open:hover {
  border-color: var(--gw-border-strong);
  color: var(--gw-text-primary);
}

.docs-search-open svg,
.docs-search__field svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.docs-search-open__label {
  flex: 1;
  text-align: left;
}

.docs-search-open__key {
  padding: 2px 7px;
  border-radius: var(--gw-radius-6);
  background: var(--gw-background-alt);
  font: inherit;
  font-size: var(--gw-text-11);
  font-weight: var(--gw-weight-semi-bold);
  letter-spacing: 0.02em;
}

.docs-tabs {
  display: flex;
  gap: var(--gw-space-4);
  padding: 0 var(--gw-space-16);
  overflow-x: auto;
  scrollbar-width: none;
}

.docs-tabs::-webkit-scrollbar {
  display: none;
}

.docs-tabs a {
  flex: none;
  padding: var(--gw-space-8) var(--gw-space-12) var(--gw-space-10);
  border-bottom: 2px solid transparent;
  color: var(--gw-text-muted);
  font-size: var(--gw-text-13-5);
  font-weight: var(--gw-weight-medium);
  text-decoration: none;
  white-space: nowrap;
}

.docs-tabs a:hover {
  color: var(--gw-text-primary);
}

.docs-tabs a[aria-current="page"] {
  border-bottom-color: var(--site-accent-ink);
  color: var(--gw-text-primary);
  font-weight: var(--gw-weight-semi-bold);
}

/* The search dialog. */
.docs-search {
  width: min(560px, calc(100% - 2 * var(--gw-space-16)));
  max-height: min(520px, 80vh);
  margin: 12vh auto auto;
  padding: 0;
  border: var(--gw-border-hairline) solid var(--gw-border);
  border-radius: var(--gw-radius-16);
  background: var(--gw-surface);
  color: var(--gw-text-primary);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.28);
  overflow: hidden;
}

.docs-search::backdrop {
  background: color-mix(in srgb, var(--gw-palette-black) 45%, transparent);
}

.docs-search__box {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: inherit;
}

.docs-search__field {
  display: flex;
  align-items: center;
  gap: var(--gw-space-10);
  padding: 0 var(--gw-space-16);
  border-bottom: var(--gw-border-hairline) solid var(--gw-border);
  color: var(--gw-text-muted);
}

.docs-search__input {
  flex: 1;
  min-height: 52px;
  border: 0;
  background: transparent;
  color: var(--gw-text-primary);
  font: inherit;
  font-size: var(--gw-text-16);
  outline: 0;
}

.docs-search__results {
  list-style: none;
  margin: 0;
  padding: var(--gw-space-8);
  overflow-y: auto;
}

.docs-search__results a {
  display: grid;
  gap: 2px;
  padding: var(--gw-space-8) var(--gw-space-12);
  border-radius: var(--gw-radius-10);
  color: inherit;
  text-decoration: none;
}

.docs-search__results [aria-selected="true"] a {
  background: var(--docs-tint, color-mix(in srgb, var(--gw-accent) 12%, var(--gw-surface)));
}

.docs-search__title {
  font-size: var(--gw-text-14);
  font-weight: var(--gw-weight-semi-bold);
}

.docs-search__title mark {
  background: transparent;
  color: var(--site-accent-ink);
}

.docs-search__crumb {
  font-size: var(--gw-text-12);
  color: var(--gw-text-muted);
}

.docs-search__none {
  padding: var(--gw-space-16);
  color: var(--gw-text-muted);
  font-size: var(--gw-text-14);
}

.docs-search__hints {
  display: flex;
  gap: var(--gw-space-16);
  padding: var(--gw-space-10) var(--gw-space-16);
  border-top: var(--gw-border-hairline) solid var(--gw-border);
  color: var(--gw-text-muted);
  font-size: var(--gw-text-12);
}

.docs-toc a[aria-current="true"] {
  border-left-color: var(--site-accent-ink);
  color: var(--gw-text-primary);
  font-weight: var(--gw-weight-semi-bold);
}

.docs-article h3,
.docs-article [id] {
  scroll-margin-top: 128px;
}

/* Narrow screens: the sidebar is the popover, so the bar carries the menu
   button and the logo; the search shrinks to its icon. */
@media (max-width: 899px) {
  .docs-search-open {
    flex: none;
    width: 38px;
    padding: 0;
    justify-content: center;
    margin-inline: 0;
  }
  .docs-search-open__label,
  .docs-search-open__key {
    display: none;
  }
}

@media (max-width: 479px) {
  .docs-topbar__brand .brand__name {
    display: none;
  }
}

@media (min-width: 900px) {
  .docs-topbar__menu,
  .docs-topbar__brand {
    display: none;
  }
  .docs-topbar__row {
    padding-inline: var(--gw-space-24);
  }
  .docs-tabs {
    padding-inline: var(--gw-space-20);
  }

  /* The rail shows one icon per group, in place of the group's guides. */
  [data-sidebar="rail"] .docs-nav .docs-nav__group,
  [data-sidebar="rail"] .docs-nav ul {
    display: none;
  }
  [data-sidebar="rail"] .docs-nav .docs-group {
    display: block;
  }
  [data-sidebar="rail"] .docs-nav .docs-group__icon {
    display: flex;
  }
  [data-sidebar="rail"] .docs-nav .docs-group__icon[aria-current="true"] {
    background: color-mix(in srgb, var(--gw-text-primary) 7%, transparent);
  }
  [data-sidebar="rail"] .docs-nav .docs-group__icon[aria-current="true"] svg {
    fill: var(--gw-text-primary);
  }
}

/* ---------- Register page (/company) ---------- */

.register-table {
  max-width: 960px;
  border: var(--gw-border-hairline) solid var(--gw-border);
  border-radius: var(--gw-radius-20);
  background: var(--gw-surface);
  overflow: hidden;
}

.register-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--gw-text-15);
}

.register-table th {
  text-align: left;
  font-size: var(--gw-text-13);
  font-weight: var(--gw-weight-medium);
  color: var(--gw-text-muted);
  padding: var(--gw-space-16) var(--gw-space-24);
  border-bottom: var(--gw-border-hairline) solid var(--gw-border);
}

.register-table td {
  padding: var(--gw-space-16) var(--gw-space-24);
  border-bottom: var(--gw-border-hairline) solid var(--gw-border);
  vertical-align: top;
}

.register-table tr:last-child td {
  border-bottom: none;
}

.register-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.register-manager {
  margin-top: var(--gw-space-24);
}

@media (max-width: 720px) {
  .register-table thead {
    display: none;
  }
  .register-table table,
  .register-table tbody,
  .register-table tr,
  .register-table td {
    display: block;
    width: 100%;
  }
  .register-table tr {
    padding: var(--gw-space-16) var(--gw-space-20);
    border-bottom: var(--gw-border-hairline) solid var(--gw-border);
  }
  .register-table tr:last-child {
    border-bottom: none;
  }
  .register-table td {
    padding: 2px 0;
    border: none;
  }
  .register-table .num {
    text-align: left;
  }
  .register-table td[data-label]::before {
    content: attr(data-label) ": ";
    color: var(--gw-text-muted);
  }
}

/* ---------- Language switch ---------- */

/* A small, unobtrusive link near the top of a page that has a translated
   twin: "Ελληνικά" on the English pages, "English" on the Greek ones. */
.lang-switch {
  padding-top: var(--gw-space-16);
  text-align: right;
}

.lang-switch a {
  font-size: var(--gw-text-13);
  font-weight: var(--gw-weight-medium);
  color: var(--gw-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lang-switch a:hover {
  color: var(--site-accent-ink);
}

/* ---------- Greek pages ---------- */

/* Newsreader and Plus Jakarta Sans (the brand fonts above) ship with no
   Greek glyphs, so every Greek page falls back to the browser's default
   serif/sans-serif, which is a real regression for a reader (see
   docs, /company already had this bug). Inter is bundled at
   /assets/google_fonts/ and does cover Greek, so re-point both font
   variables for any element written in Greek and set body's own
   font-family explicitly: body sets `font-family: var(--gw-font-body)` as
   a literal declaration, not an inherited one, so redefining the variable
   on a description alone would not reach it. */
:lang(el) {
  --gw-font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --gw-font-display: Georgia, 'Palatino Linotype', 'Times New Roman', serif;
  font-family: var(--gw-font-body);
}

/* :lang(el) above matches every element in a Greek subtree (language is
   inherited), so its font-family wins over the plain element/class
   selectors below by specificity alone, even though it is declared once.
   Re-assert the display font, now the Greek-safe Georgia stack, wherever
   the English page uses it, so headings and callouts do not collapse to
   body text on a Greek page. */
:lang(el) h1,
:lang(el) h2,
:lang(el) .brand__name,
:lang(el) .story__beat h3,
:lang(el) .plan h3,
:lang(el) .plan__amount,
:lang(el) .person__mark,
:lang(el) .figure__value,
:lang(el) .timeline__body h3 {
  font-family: var(--gw-font-display);
}

/* ---------- Docs (/docs and /docs/<guide>) ---------- */
/* A home of picture cards, then one short guide per topic: the docs menu,
   one reading column, and the page's own headings on the right. Steps sit
   on a numbered rail; screenshots are framed like the product's cards.
   Design: Figma AjQHNfsnjuO1WJbsh7v4Ns, page "20 GrowApps docs v2". */

.docs {
  --docs-tint: color-mix(in srgb, var(--gw-accent) 12%, var(--gw-surface));
  --docs-forest: var(--gw-palette-soil-glass-soft, #16221b);
  --docs-cream: var(--gw-palette-moon-cream, #fff7e6);
  --docs-meadow: #93c07c;
}

.docs h1 em {
  color: var(--site-accent-ink);
}

.docs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gw-space-8);
  list-style: none;
  padding: 0;
  margin: 0;
}

.docs-chips li,
.docs-chip {
  font-size: var(--gw-text-13);
  font-weight: var(--gw-weight-bold);
  padding: 5px 12px;
  border-radius: 999px;
  border: var(--gw-border-hairline, 1px) solid var(--gw-border);
  background: var(--gw-surface);
  color: var(--site-accent-ink);
  white-space: nowrap;
}

.docs-more {
  font-weight: var(--gw-weight-bold);
  font-size: var(--gw-text-15);
  color: var(--site-accent-ink);
  text-decoration: none;
}

.docs-more::after {
  content: "  \2192";
}

.docs-more:hover {
  text-decoration: underline;
}

/* Home */

.docs-home__inner {
  display: grid;
  gap: var(--gw-space-64, 64px);
  padding-block: var(--gw-space-48, 48px) var(--gw-space-64, 64px);
}

.docs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--gw-space-48, 48px);
  align-items: center;
}

.docs-hero__text {
  display: grid;
  gap: var(--gw-space-16, 16px);
  justify-items: start;
}

.docs-hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.06;
}

.docs-hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--gw-radius-18, 18px);
  border: var(--gw-border-hairline, 1px) solid var(--gw-border);
  box-shadow: 0 24px 48px -28px rgba(14, 20, 12, 0.55);
}

.docs-journey {
  scroll-margin-top: var(--gw-space-24);
  background: var(--gw-surface);
  border: var(--gw-border-hairline, 1px) solid var(--gw-border);
  border-radius: var(--gw-radius-20, 20px);
  padding: var(--gw-space-32, 32px);
  box-shadow: 0 4px 16px -8px rgba(14, 20, 12, 0.12);
  display: grid;
  gap: var(--gw-space-24);
}

.docs-journey__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--gw-space-16, 16px);
}

.docs-journey__head > div {
  flex: 1;
  min-width: 220px;
}

.docs-journey h2,
.docs-block h2,
.docs-credits h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-top: var(--gw-space-8);
}

.docs-journey__steps {
  list-style: none;
  counter-reset: docs-step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--gw-space-10, 10px);
}

.docs-journey__steps li {
  counter-increment: docs-step;
}

.docs-journey__steps a {
  display: grid;
  gap: var(--gw-space-6);
  height: 100%;
  padding: var(--gw-space-16, 16px) var(--gw-space-14, 14px);
  border-radius: var(--gw-radius-14, 14px);
  background: var(--gw-background);
  color: var(--gw-text-primary);
  text-decoration: none;
  align-content: start;
}

.docs-journey__steps a::before {
  content: counter(docs-step);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gw-accent);
  color: var(--gw-text-on-accent);
  font-weight: var(--gw-weight-bold);
  font-size: var(--gw-text-14);
  margin-bottom: var(--gw-space-4);
}

.docs-journey__steps a:hover {
  background: var(--docs-tint);
}

.docs-journey__steps strong {
  font-size: var(--gw-text-15);
  line-height: 1.3;
}

.docs-journey__steps span {
  font-size: var(--gw-text-13);
  color: var(--gw-text-muted);
}

.docs-block {
  display: grid;
  gap: var(--gw-space-12);
}

.docs-block__sub {
  color: var(--gw-text-muted);
}

.docs-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gw-space-24);
  margin-top: var(--gw-space-12);
}

.docs-card {
  scroll-margin-top: var(--gw-space-24);
  display: flex;
  flex-direction: column;
  border: var(--gw-border-hairline, 1px) solid var(--gw-border);
  border-radius: var(--gw-radius-16, 16px);
  background: var(--gw-surface);
  overflow: hidden;
  color: var(--gw-text-primary);
  text-decoration: none;
  box-shadow: 0 2px 8px -4px rgba(14, 20, 12, 0.12);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.docs-card:hover {
  border-color: var(--gw-accent);
  transform: translateY(-2px);
}

.docs-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.docs-card__body {
  display: grid;
  gap: var(--gw-space-6);
  padding: var(--gw-space-18, 18px) var(--gw-space-20) var(--gw-space-20);
}

.docs-card__body strong {
  font-family: var(--gw-font-display);
  font-weight: 600;
  font-size: var(--gw-text-22, 22px);
  line-height: 1.25;
}

.docs-card__body span {
  font-size: var(--gw-text-14);
  line-height: 1.55;
  color: var(--gw-text-muted);
}

.docs-card .docs-card__more {
  font-weight: var(--gw-weight-bold);
  color: var(--site-accent-ink);
}

.docs-card__more::after {
  content: "  \2192";
}

.docs-goals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gw-space-24);
  align-items: start;
  margin-top: var(--gw-space-12);
}

.docs-goals__col {
  background: var(--gw-surface);
  border: var(--gw-border-hairline, 1px) solid var(--gw-border);
  border-radius: var(--gw-radius-16, 16px);
  padding: var(--gw-space-20) var(--gw-space-8) var(--gw-space-12);
}

.docs-goals__title {
  font-size: var(--gw-text-12);
  font-weight: var(--gw-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gw-text-muted);
  padding: 0 var(--gw-space-12) var(--gw-space-8);
}

.docs-goals ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-goals a {
  scroll-margin-top: var(--gw-space-24);
  display: grid;
  gap: 2px;
  padding: var(--gw-space-10, 10px) var(--gw-space-12);
  border-radius: var(--gw-radius-10, 10px);
  color: var(--gw-text-primary);
  text-decoration: none;
}

.docs-goals a:hover,
.docs-goals a:target {
  background: var(--docs-tint);
}

.docs-goals strong {
  font-size: var(--gw-text-15);
}

.docs-goals span {
  font-size: var(--gw-text-13);
  color: var(--gw-text-muted);
}

.help-soon {
  display: inline-block;
  margin-left: var(--gw-space-8);
  padding: 1px 8px;
  border-radius: 999px;
  font-size: var(--gw-text-10-5, 10.5px);
  font-weight: var(--gw-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 2px;
  background: color-mix(in srgb, var(--gw-bloom) 14%, var(--gw-surface));
  color: var(--gw-bloom);
}

.docs-goals .help-soon {
  color: var(--gw-bloom);
  font-size: var(--gw-text-10-5, 10.5px);
}

.docs-card:target,
.docs-journey:target {
  outline: 2px solid var(--gw-accent);
  outline-offset: 4px;
}

.docs-credits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--gw-space-40, 40px);
  align-items: center;
  padding: var(--gw-space-40, 40px);
  border-radius: var(--gw-radius-24, 24px);
  background: var(--docs-forest);
  color: var(--docs-cream);
}

.docs-credits__text {
  display: grid;
  gap: var(--gw-space-12);
  justify-items: start;
}

.docs-credits .eyebrow,
.docs-credits .docs-more {
  color: var(--docs-meadow);
}

.docs-credits h2 {
  color: var(--docs-cream);
  margin-top: 0;
}

.docs-credits p {
  color: color-mix(in srgb, var(--docs-cream) 80%, transparent);
  max-width: 52ch;
}

.docs-credits__plans {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 170px);
  gap: var(--gw-space-12);
}

.docs-credits__plans li {
  display: grid;
  gap: var(--gw-space-4);
  align-content: start;
  padding: var(--gw-space-18, 18px);
  border-radius: var(--gw-radius-14, 14px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--gw-text-13);
  color: color-mix(in srgb, var(--docs-cream) 78%, transparent);
}

.docs-credits__name {
  font-weight: var(--gw-weight-bold);
  color: var(--docs-meadow);
}

.docs-credits__plans strong {
  font-family: var(--gw-font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--docs-cream);
}

.docs-faq {
  background: var(--gw-surface);
  border: var(--gw-border-hairline, 1px) solid var(--gw-border);
  border-radius: var(--gw-radius-16, 16px);
  padding-inline: var(--gw-space-24);
  margin-block: var(--gw-space-8);
}

.docs-faq .help-faq:last-child {
  border-bottom: 0;
}

/* Guide pages */

.docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: var(--gw-space-48, 48px);
  align-items: start;
  padding-block: var(--gw-space-40, 40px) var(--gw-space-64, 64px);
}

.docs-toc {
  position: sticky;
  top: 128px;
  max-height: calc(100vh - 152px);
  overflow-y: auto;
}

.docs-article {
  min-width: 0;
  display: grid;
  gap: var(--gw-space-16, 16px);
  align-content: start;
}

.docs-article > * {
  margin-block: 0;
}

.docs-crumbs {
  display: flex;
  gap: var(--gw-space-8);
  font-size: var(--gw-text-13);
  color: var(--gw-text-muted);
}

.docs-crumbs a {
  font-weight: var(--gw-weight-bold);
  color: var(--site-accent-ink);
  text-decoration: none;
}

.docs-crumbs span::before {
  content: "/";
  margin-right: var(--gw-space-8);
  color: var(--gw-border);
}

.docs-article h1 {
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.1;
}

.docs-outcome {
  font-size: var(--gw-text-19, 19px);
  line-height: 1.55;
  color: var(--gw-text-muted);
  max-width: 60ch;
}

.docs-article h3 {
  font-size: var(--gw-text-20);
  margin-top: var(--gw-space-16, 16px);
  scroll-margin-top: var(--gw-space-24);
}

.docs-article p,
.docs-article li {
  line-height: var(--gw-leading-loose);
}

.docs-article .help-list li + li {
  margin-top: var(--gw-space-6);
}

.docs-toc__title {
  font-size: var(--gw-text-12);
  font-weight: var(--gw-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gw-text-muted);
  margin-bottom: var(--gw-space-10, 10px);
}

.docs-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-toc a {
  display: block;
  padding: 5px 0 5px var(--gw-space-12);
  border-left: 2px solid var(--gw-border);
  font-size: var(--gw-text-13);
  line-height: 1.4;
  color: var(--gw-text-muted);
  text-decoration: none;
}

.docs-toc a:hover {
  color: var(--site-accent-ink);
  border-left-color: var(--gw-accent);
}

/* Guide content blocks */

.help-need {
  border: var(--gw-border-hairline, 1px) solid var(--gw-border);
  background: var(--gw-surface);
  border-radius: var(--gw-radius-14, 14px);
  padding: var(--gw-space-16, 16px) var(--gw-space-20);
}

.help-need__label {
  font-size: var(--gw-text-12);
  font-weight: var(--gw-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gw-text-muted);
}

.help-need ul {
  list-style: none;
  margin: var(--gw-space-8) 0 0;
  padding: 0;
  display: grid;
  gap: var(--gw-space-6);
}

.help-need li {
  position: relative;
  padding-left: 28px;
}

.help-need li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--gw-accent);
  border-bottom: 2px solid var(--gw-accent);
  transform: rotate(-45deg);
}

.help-list {
  margin: 0;
  padding-left: 1.2em;
}

.help-steps {
  list-style: none;
  counter-reset: help-step;
  padding: 0;
  margin: var(--gw-space-8) 0 0;
  display: grid;
  gap: var(--gw-space-32, 32px);
}

.help-steps > li {
  counter-increment: help-step;
  position: relative;
  padding-left: 52px;
  scroll-margin-top: var(--gw-space-24);
  display: grid;
  gap: var(--gw-space-10, 10px);
}

.help-steps > li > * {
  margin-block: 0;
}

.help-steps > li::before {
  content: counter(help-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gw-accent);
  color: var(--gw-text-on-accent);
  font-weight: var(--gw-weight-bold);
  font-size: var(--gw-text-14);
}

.help-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 40px;
  bottom: calc(-1 * var(--gw-space-32, 32px) + 8px);
  width: 2px;
  background: var(--gw-border);
}

.help-steps h3 {
  font-family: var(--gw-font-body);
  font-size: var(--gw-text-20);
  font-weight: var(--gw-weight-bold);
  margin: 4px 0 0;
}

.help-ui {
  font-weight: var(--gw-weight-bold);
  color: var(--site-accent-ink);
  white-space: nowrap;
}

.help-shot {
  margin: var(--gw-space-8) 0;
}

.help-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--gw-radius-12, 12px);
  border: var(--gw-border-hairline, 1px) solid var(--gw-border);
  box-shadow: 0 12px 32px -20px rgba(14, 20, 12, 0.5);
}

.help-shot--narrow img {
  max-width: 460px;
}

.help-shot figcaption {
  font-size: var(--gw-text-13-5);
  color: var(--gw-text-muted);
  margin-top: var(--gw-space-8);
}

.help-callout {
  position: relative;
  border-radius: var(--gw-radius-12, 12px);
  padding: var(--gw-space-14, 14px) var(--gw-space-18, 18px)
    var(--gw-space-14, 14px) 56px;
  font-size: var(--gw-text-15);
  border: var(--gw-border-hairline, 1px) solid
    color-mix(in srgb, var(--gw-accent) 30%, transparent);
  background: var(--docs-tint);
}

.help-callout p {
  margin: 0;
}

.help-callout::before {
  position: absolute;
  left: 16px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: var(--gw-weight-bold);
  color: var(--gw-text-on-accent);
  background: var(--gw-accent);
}

.help-callout--tip::before {
  content: "\2605";
}

.help-callout--done::before {
  content: "\2713";
}

.help-callout__title {
  font-weight: var(--gw-weight-bold);
  color: var(--site-accent-ink);
}

.help-callout strong {
  color: var(--site-accent-ink);
}

.help-prompts {
  display: grid;
  gap: var(--gw-space-10, 10px);
}

.help-prompt {
  margin: 0;
  border-radius: var(--gw-radius-12, 12px);
  padding: var(--gw-space-14, 14px) var(--gw-space-18, 18px);
  background: var(--docs-forest);
  color: var(--docs-cream);
  font-family: var(--gw-font-mono);
  font-size: var(--gw-text-14);
  line-height: 1.65;
}

.help-prompt__label {
  display: block;
  font-family: var(--gw-font-body);
  font-size: var(--gw-text-12);
  font-weight: var(--gw-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--docs-meadow);
  margin-bottom: var(--gw-space-6);
}

.help-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gw-space-10, 10px);
  list-style: none;
  padding: 0;
  margin: 0;
}

.help-values li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: var(--gw-border-hairline, 1px) solid var(--gw-border);
  background: var(--gw-surface);
  border-radius: var(--gw-radius-12, 12px);
  padding: var(--gw-space-12) var(--gw-space-14, 14px);
  font-size: var(--gw-text-14-5);
  line-height: 1.5;
}

.help-values__tool {
  font-size: var(--gw-text-12-5);
  color: var(--gw-text-muted);
}

.help-tag {
  display: inline-block;
  margin-left: var(--gw-space-6);
  padding: 0 7px;
  border-radius: 999px;
  font-size: var(--gw-text-11);
  font-weight: var(--gw-weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--gw-bloom) 14%, var(--gw-surface));
  color: var(--gw-bloom);
  vertical-align: 2px;
}

.help-table {
  overflow-x: auto;
}

.help-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--gw-surface);
  border: var(--gw-border-hairline, 1px) solid var(--gw-border);
  border-radius: var(--gw-radius-12, 12px);
  overflow: hidden;
  font-size: var(--gw-text-15);
}

.help-table th,
.help-table td {
  text-align: left;
  vertical-align: top;
  padding: var(--gw-space-10, 10px) var(--gw-space-14, 14px);
  border-bottom: var(--gw-border-hairline, 1px) solid var(--gw-border);
}

.help-table th {
  font-size: var(--gw-text-12);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gw-text-muted);
}

.help-table tr:last-child td {
  border-bottom: 0;
}

.help-table .num {
  white-space: nowrap;
  font-weight: var(--gw-weight-bold);
  font-variant-numeric: tabular-nums;
}

.help-faq {
  border-bottom: var(--gw-border-hairline, 1px) solid var(--gw-border);
  padding-block: var(--gw-space-16, 16px);
}

.help-faq summary {
  cursor: pointer;
  font-weight: var(--gw-weight-bold);
  font-size: var(--gw-text-16);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--gw-space-12);
}

.help-faq summary::-webkit-details-marker {
  display: none;
}

.help-faq summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  color: var(--site-accent-ink);
  transition: transform 0.15s ease;
}

.help-faq[open] summary::after {
  transform: rotate(45deg);
}

.help-faq p {
  margin-top: var(--gw-space-8);
  color: var(--gw-text-muted);
}

.help-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gw-space-16, 16px);
  margin-top: var(--gw-space-24);
}

.help-next a {
  display: grid;
  gap: var(--gw-space-4);
  padding: var(--gw-space-16, 16px) var(--gw-space-18, 18px);
  border: var(--gw-border-hairline, 1px) solid var(--gw-border);
  border-radius: var(--gw-radius-12, 12px);
  background: var(--gw-surface);
  color: var(--gw-text-primary);
  text-decoration: none;
}

.help-next a:hover {
  border-color: var(--gw-accent);
}

.help-next a span {
  font-size: var(--gw-text-12);
  font-weight: var(--gw-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gw-text-muted);
}

.help-next a strong {
  font-family: var(--gw-font-display);
  font-weight: 600;
  font-size: var(--gw-text-20);
}

.help-next a:first-child strong::before {
  content: "\2190  ";
}

.help-next__fwd {
  grid-column: 2;
  text-align: right;
}

.help-next__fwd strong::after {
  content: "  \2192";
}

.help-next__fwd strong::before {
  content: none !important;
}

@media (max-width: 1279px) {
  .docs-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .docs-toc {
    display: none;
  }
  .docs-journey__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .docs-credits {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1099px) {
  .docs-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-top: var(--gw-space-24);
  }
  .docs-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .docs-cards,
  .docs-goals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .docs-home__inner {
    gap: var(--gw-space-48, 48px);
    padding-top: var(--gw-space-28, 28px);
  }
  .docs-hero .actions,
  .docs-hero .actions .button {
    width: 100%;
  }
  .docs-hero .actions .button {
    justify-content: center;
  }
  .docs-journey {
    padding: var(--gw-space-20);
  }
  .docs-journey__steps,
  .docs-cards,
  .docs-goals,
  .help-values,
  .help-next {
    grid-template-columns: minmax(0, 1fr);
  }
  .docs-journey__steps a {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: var(--gw-space-12);
    row-gap: 0;
    background: none;
    padding: var(--gw-space-6) 0;
  }
  .docs-journey__steps a::before {
    grid-row: span 2;
    margin: 0;
    align-self: center;
  }
  .docs-credits {
    padding: var(--gw-space-24);
  }
  .docs-credits__plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .help-next__fwd {
    grid-column: auto;
    order: -1;
  }
  .help-steps > li {
    padding-left: 44px;
  }
  .help-steps > li::before {
    width: 28px;
    height: 28px;
  }
  .help-steps > li:not(:last-child)::after {
    left: 13px;
    top: 36px;
  }
}
