/*
  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). No JavaScript: from 900px it is simply always there; below,
   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);
}

.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;
}

/* ---------- 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);
}
