/* Self-hosted Roboto, shared by every bundle that uses it.
   Variable font: each file serves weights 400-700. */
@font-face {
  font-family: "Roboto";
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/roboto/roboto-latin-ext.536359ff0fc9.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/roboto/roboto-latin.b7627e3c9663.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==================================================================
   GotoWork marketing site
   Built on the app's design system (DESIGN.md, "The Foreman's
   Clipboard"): white surfaces, cool grays, a charcoal bar, and one
   slate blue that means "act here". The site reads larger than the
   app's 13px working size because visitors read it, not scan it.
   ================================================================== */

:root {
  --slate: #325d88;
  --slate-deep: #244363;
  --slate-wash: #eef3f8;
  --sky: #77bcff;
  --charcoal: #333333;
  --charcoal-deep: #222222;
  --ink: #1a1a2e;
  --text: #374151;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --border: #e5e7eb;
  --border-soft: #f0f1f3;
  --field-border: #dde1e6;
  --field-border-hover: #c5cad0;
  --surface: #ffffff;
  --surface-zebra: #f9fafb;
  --surface-subtle: #f3f4f6;
  --success: #166534;
  --success-wash: #dcfce7;
  --danger: #dc2626;
  --danger-ink: #991b1b;
  --danger-wash: #fef2f2;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  --shadow-rest: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lift: 0 24px 48px -16px rgba(26, 26, 46, 0.18), 0 2px 6px rgba(26, 26, 46, 0.06);
  --focus-ring: 0 0 0 3px rgba(50, 93, 136, 0.28);

  --font: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-small: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.25rem;
  --fs-h3: 1.25rem;
  --fs-h2-sm: 1.625rem;
  --fs-h2: clamp(1.875rem, 1.35rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.5rem, 1.9rem + 1.6vw, 3.5rem);

  --container: 72rem;
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2rem);
  --section: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  /* The space above a page head, and under it before the first block. */
  --head-space: clamp(2.5rem, 1.75rem + 2.5vw, 4rem);
  --nav-height: 64px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--slate);
  color: #fff;
}

figure {
  margin: 0;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.3;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--slate);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--slate-deep);
}

:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-secondary);
}

.label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* A charcoal or photographic ground: the text tokens turn light, so
   headings, leads, notes and labels inside need no overrides of their own. */
.on-dark {
  --ink: #fff;
  --text: #e5e7eb;
  --text-secondary: #e5e7eb;
  --text-muted: #d1d5db;
  --field-border-hover: rgba(255, 255, 255, 0.45);
  color: var(--text-secondary);
}

/* ---------- Buttons: one pill for every action ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: 500 var(--fs-small) / 1.3 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--slate);
  color: #fff;
}

.btn--primary:hover {
  background: var(--slate-deep);
  color: #fff;
}

/* The primary action on a charcoal or photographic ground. */
/* Literal colours: inside .on-dark the --ink token itself turns white. */
.btn--inverse {
  background: #fff;
  color: var(--charcoal-deep);
}

.btn--inverse:hover {
  background: var(--slate-wash);
  color: var(--charcoal-deep);
}

.btn--lg {
  padding: 0.85rem 1.6rem;
  font-size: var(--fs-body);
}

.btn svg {
  width: 1em;
  height: 1em;
  flex: none;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.cta-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* ---------- Navigation: the app's charcoal bar ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  color: #fff;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--nav-height);
}

.wordmark {
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span {
  color: var(--sky);
  font-weight: 500;
}

.wordmark:hover {
  color: #fff;
}

.site-nav__menu {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 2rem;
}

.site-nav__links {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__links a,
.site-nav__login {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav__links a:hover,
.site-nav__login:hover,
.site-nav__links a:focus-visible,
.site-nav__login:focus-visible {
  color: #fff;
}

.site-nav__links a[aria-current="page"] {
  color: var(--sky);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.site-nav__actions .btn {
  padding: 0.45rem 1.05rem;
}

.site-nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.site-nav__toggle svg {
  width: 24px;
  height: 24px;
  margin: auto;
}

.site-nav__toggle .icon-close,
.site-nav__toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.site-nav__toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.site-nav__backdrop {
  display: none;
}

@media (max-width: 900px) {
  .site-nav__toggle {
    display: flex;
  }

  .site-nav__menu {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--charcoal);
    box-shadow: var(--shadow-hover);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0s linear 0.2s;
  }

  .site-nav.is-open .site-nav__menu {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  }

  .site-nav__links {
    flex-direction: column;
    gap: 0;
  }

  .site-nav__links a,
  .site-nav__login {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin: 0;
  }

  .site-nav__actions .btn {
    padding: 0.8rem 1.25rem;
    font-size: var(--fs-body);
  }

  .site-nav.is-open + .site-nav__backdrop {
    display: block;
    position: fixed;
    inset: var(--nav-height) 0 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.4);
  }
}

/* ---------- Page header: the app's header row, at reading size ---------- */

.page-head {
  padding: var(--head-space) 0 clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.page-head h1 {
  max-width: 18ch;
}

.page-head .lead {
  max-width: 40rem;
  margin: 1.25rem 0 0;
}

.page-body {
  padding: var(--head-space) 0 var(--section);
}

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-rest);
}

/* ---------- Product screenshots ---------- */

/* A bar over the screenshot; the image (or its scroll box) fills the rest,
   so a fixed aspect-ratio crops it from the top. */
.screen {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.screen__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 36px;
  padding: 0 1rem;
  background: var(--charcoal);
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.screen__bar .wordmark {
  font-size: 0.875rem;
}

.screen__bar-path {
  margin-left: auto;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* A screenshot that phones scroll sideways, like the app's own tables. */
.screen__scroll {
  min-height: 0;
  overflow-x: auto;
}

.screen__scroll img {
  width: var(--scroll-width, 100%);
  max-width: none;
}

.phone {
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 390 / 760;
  background: var(--surface);
  border: 8px solid var(--charcoal-deep);
  border-radius: 36px;
  box-shadow: var(--shadow-lift);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ---------- Price ---------- */

.price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
}

.price-card__main {
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  border-right: 1px solid var(--border);
}

.price-card__name {
  margin: 0 0 1rem;
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--ink);
}

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0;
  color: var(--ink);
}

.price-card__currency {
  font-size: 2rem;
  font-weight: 400;
}

.price-card__value {
  font-size: clamp(4rem, 3rem + 3vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.price-card__term {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.price-card__per-day {
  margin: 0.75rem 0 1.75rem;
  color: var(--text-secondary);
}

.price-card__list {
  margin: 0;
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  list-style: none;
  background: var(--surface-zebra);
}

.price-card__list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.price-card__list li:first-child {
  padding-top: 0;
}

.price-card__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.price-card__list svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  flex: none;
  color: var(--slate);
}

.price-card__list strong {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 720px) {
  .price-card {
    grid-template-columns: 1fr;
  }

  .price-card__main {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

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

.faq summary:hover {
  color: var(--slate);
}

.faq summary svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease-out);
}

.faq details[open] summary svg {
  transform: rotate(45deg);
}

.faq__answer {
  max-width: 44rem;
  padding: 0 2.75rem 1.25rem 0;
  color: var(--text-secondary);
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

/* ---------- Customer logos ---------- */

.logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.logos li {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 7rem;
  padding: 1.25rem 1.5rem;
}

.logos img {
  max-width: 100%;
  max-height: 3.25rem;
  width: auto;
}

/* Square marks look smaller than wordmarks in the same box. */
.logos .logos__mark {
  max-height: 4.75rem;
}

/* Ten logos: five or two to a row, so none is left alone on the last row. */
@media (max-width: 640px) {
  .logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logos a {
    min-height: 5.5rem;
    padding: 1rem;
  }
}

/* ---------- Forms ---------- */

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-md);
  background: var(--surface);
  font: 400 var(--fs-body) / 1.4 var(--font);
  color: var(--ink);
  caret-color: var(--slate);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder {
  color: var(--text-faint);
}

.field input:hover {
  border-color: var(--field-border-hover);
}

.field input:focus {
  outline: none;
  border-color: var(--slate);
  box-shadow: var(--focus-ring);
}

.errorlist {
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  color: var(--danger);
}

.form-errors .errorlist {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--danger-wash);
  font-size: var(--fs-small);
  color: var(--danger-ink);
}

/* ---------- Closing call to action ---------- */

.closing {
  padding: var(--section) 0;
  background: var(--charcoal);
}

.closing h2 {
  max-width: 16ch;
}

.closing .lead {
  max-width: 36rem;
  margin: 1.25rem 0 2rem;
}

/* ---------- Questions ---------- */

.questions {
  padding: 0 0 var(--section);
}

.questions__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
}

.questions__call {
  margin-top: 1rem;
  color: var(--text-secondary);
}

@media (max-width: 860px) {
  .questions__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

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

.site-footer {
  padding: 4rem 0 2rem;
  background: var(--charcoal-deep);
  color: var(--text-faint);
  font-size: var(--fs-small);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.site-footer h2 {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer .wordmark {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: #fff;
}

.site-footer p {
  max-width: 22rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.5rem;
}

.site-footer a {
  color: var(--text-faint);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.site-footer address {
  font-style: normal;
  line-height: 1.7;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom p {
  margin: 0;
  max-width: none;
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Shared subpage blocks ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

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

.prose {
  max-width: 40rem;
}

.prose h2 {
  margin: 0 0 1rem;
  font-size: var(--fs-h2-sm);
}

.prose h2:not(:first-child) {
  margin-top: 3rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 0 1.5rem 3.25rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1rem - 0.5px);
  top: 2.1rem;
  bottom: 0.4rem;
  width: 1px;
  background: var(--border);
}

.steps strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
}

.photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Functies: every feature in a real screen, in the order of the
   grower's season, with a sticky rail that marks the phase in view. */

/* ---------- Page head ---------- */

.features-head__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: end;
}

.features-head .lead {
  margin: 0 0 1.5rem;
}

@media (max-width: 860px) {
  .features-head__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- The season ---------- */

/* The rail's height: the phases scroll in below it. */
:root {
  --season-rail: 4.5rem;
}

/* Sticky inside .season, so it scrolls away with the last phase. */
.season-rail {
  position: sticky;
  top: var(--nav-height);
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.season-rail__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.season-rail a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: var(--season-rail);
  padding: 0 1rem 0 0.5rem;
  border-top: 3px solid transparent;
  text-decoration: none;
  transition: border-color 0.3s var(--ease-out);
}

.season-rail__when {
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out);
}

.season-rail__what {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.season-rail a:hover .season-rail__when,
.season-rail a.is-active .season-rail__when {
  color: var(--ink);
}

.season-rail a.is-active {
  border-top-color: var(--slate);
}

/* The links reach 0.5rem left of their text, so the focus ring has room
   and stays inside the rail. */
.season-rail li {
  margin-left: -0.5rem;
}

.season-rail a:focus-visible {
  outline-offset: -2px;
}

.phase {
  padding: var(--section) 0;
  /* Adds to the page's scroll-padding (the nav plus 1rem): lands under the rail. */
  scroll-margin-top: calc(var(--season-rail) - 1rem);
}

/* The page head already separates the first phase: it starts like a page body. */
.phase:first-of-type {
  padding-top: var(--head-space);
}

.phase--zebra {
  background: var(--surface-zebra);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.phase__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.phase__head {
  position: sticky;
  top: calc(var(--nav-height) + var(--season-rail) + 2rem);
}

.phase__head p {
  margin: 1rem 0 0;
  max-width: 20rem;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text-secondary);
}

.feat + .feat {
  margin-top: clamp(3.5rem, 2.5rem + 3vw, 5rem);
}

/* Landing pages use the same block one heading level up. */
.feat :is(h2, h3) {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 400;
}

.feat p {
  max-width: 40rem;
  margin: 0;
  color: var(--text-secondary);
}

.feat__screen {
  margin-top: 1.75rem;
}

/* The phone stands beside its own heading and text. */
.feat--with-phone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}

@media (max-width: 860px) {
  :root {
    --season-rail: 3.5rem;
  }

  .season-rail__list {
    gap: 0.75rem;
  }

  .season-rail a {
    padding-right: 0;
  }

  .season-rail__when {
    font-size: 0.875rem;
    line-height: 1.2;
  }

  .season-rail__what {
    display: none;
  }

  .phase__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .phase__head {
    position: static;
  }

  :is(.phase, .landing) .screen__scroll {
    --scroll-width: 560px;
  }
}

@media (max-width: 600px) {
  .feat--with-phone {
    grid-template-columns: minmax(0, 1fr);
  }

  .feat--with-phone .phone {
    max-width: 200px;
  }
}

/* Homepage: the employer's screen and the student's phone over a
   greenhouse, the customers, one week of GotoWork, the 2005 origin and
   the price. */

/* ---------- Hero: the two sides over the greenhouse ---------- */

.hero {
  --scrim: 34 34 34;
  position: relative;
  padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem);
  overflow: hidden;
  background: var(--charcoal-deep);
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

/* From 1800px home.html serves a 2000x800 strip cut around the mist over
   the plants; centre it. Keep 1800px in sync with the <source> there. */
@media (min-width: 1800px) {
  .hero__photo {
    object-position: 60% 50%;
  }
}

/* Darkest behind the copy, lighter where the screens stand. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(var(--scrim) / 0.9) 0%, rgb(var(--scrim) / 0.74) 40%, rgb(var(--scrim) / 0.35) 75%, rgb(var(--scrim) / 0.25) 100%),
    linear-gradient(0deg, rgb(var(--scrim) / 0.55) 0%, rgb(var(--scrim) / 0) 45%);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
}

.keep {
  white-space: nowrap;
}

.hero .lead {
  max-width: 30rem;
  margin: 1.5rem 0 2rem;
}

.hero__stage {
  position: relative;
  padding: 0 clamp(4rem, 2rem + 6vw, 7.5rem) 0 0;
}

.hero__desk .screen {
  aspect-ratio: 948 / 760;
}

/* The phone stands over the empty Sunday column, so the names and the
   totals of the week stay in view. */
.hero__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  max-width: 220px;
  text-align: right;
}

.hero__phone .phone {
  border-width: 6px;
  border-radius: 30px;
}

.side-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.side-label::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--field-border-hover);
}

/* One entrance: the week rises, then the phone slides in over it. */
@media (prefers-reduced-motion: no-preference) {
  .hero__desk {
    animation: rise 0.7s var(--ease-out) both;
  }

  .hero__phone {
    animation: slide-in 0.7s 0.25s var(--ease-out) both;
  }

  @keyframes rise {
    from {
      transform: translateY(24px);
      opacity: 0.001;
    }
  }

  @keyframes slide-in {
    from {
      transform: translate(24px, 16px);
      opacity: 0.001;
    }
  }
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* The copy spans the full width here: darken the whole top. */
  .hero::before {
    background: linear-gradient(180deg, rgb(var(--scrim) / 0.86) 0%, rgb(var(--scrim) / 0.72) 55%, rgb(var(--scrim) / 0.45) 100%);
  }

  .hero h1 {
    max-width: 14ch;
  }
}

@media (max-width: 560px) {
  .hero__stage {
    padding: 0 3rem 0 0;
  }

  .hero__phone {
    width: 42%;
  }

  .hero__phone .phone {
    border-width: 4px;
    border-radius: 22px;
  }
}

/* ---------- Customers, straight under the hero ---------- */

.customers {
  padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface-zebra);
}

.customers__title {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-secondary);
}

.customers .logos {
  background: var(--surface);
}

/* ---------- The week ---------- */

.week {
  padding: var(--section) 0;
}

.week__head {
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.week__head h2 {
  max-width: 18ch;
}

.week__head .lead {
  margin: 1rem 0 0;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline__item {
  --rail: 11rem;
  --gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  position: relative;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 44rem);
  gap: 0 var(--gap);
  padding: 0 0 clamp(2.5rem, 2rem + 2vw, 3.5rem);
}

/* The line of the week, with a dot on each moment. */
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(var(--rail) + var(--gap) / 2);
  top: 0.55rem;
  bottom: -0.55rem;
  width: 1px;
  background: var(--border);
}

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

.timeline__item::after {
  content: "";
  position: absolute;
  left: calc(var(--rail) + var(--gap) / 2 - 5px);
  top: 0.4rem;
  width: 11px;
  height: 11px;
  border: 2px solid var(--slate);
  border-radius: 50%;
  background: var(--surface);
}

.timeline__when {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.timeline__when span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.timeline__body h3 {
  margin-bottom: 0.5rem;
}

.timeline__body p {
  margin: 0;
  color: var(--text-secondary);
}

.timeline__media {
  margin: 1.5rem 0 0;
}

.timeline__media--phone .phone {
  max-width: 220px;
}

/* Phones: the time stays in a narrow rail beside the moment. */
@media (max-width: 760px) {
  .timeline__item {
    --rail: 4.25rem;
    --gap: 1.75rem;
  }

  .timeline__when {
    font-size: 1.0625rem;
  }

  .timeline__when span {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .timeline__media .screen__scroll {
    --scroll-width: 560px;
  }

  .timeline__media--phone .phone {
    max-width: 180px;
  }
}

/* ---------- Origin: the photo stands on its own, the story below ---------- */

.origin {
  padding-bottom: var(--section);
  background: var(--surface-zebra);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.origin__photo {
  height: clamp(16rem, 10rem + 22vw, 30rem);
}

.origin__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.origin__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  padding-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.origin__inner h2 {
  max-width: 14ch;
}

.origin__text .lead {
  margin: 0 0 1rem;
}

.origin__text p:last-child {
  margin: 0;
  color: var(--text-secondary);
}

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

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

.pricing {
  padding: var(--section) 0;
}

.pricing h2 {
  margin-bottom: 2rem;
}

/* Privacy statement and other legal text: one readable column. */

.legal {
  max-width: 42rem;
  color: var(--text-secondary);
}

.legal__updated {
  margin: 0 0 2.5rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.legal h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: var(--fs-h2-sm);
}

.legal h3 {
  margin: 1.75rem 0 0.5rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.4rem;
}

.legal__table-wrap {
  margin: 1.25rem 0 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
  line-height: 1.5;
}

.legal__table th {
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--border);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  color: var(--text-muted);
}

.legal__table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-soft);
  vertical-align: top;
}

.legal__table tr:nth-child(even) td {
  background: var(--surface-zebra);
}

.legal__table td:first-child {
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 576px) {
  .legal__table thead {
    display: none;
  }

  .legal__table tr {
    display: block;
    padding: 0.75rem 1rem;
  }

  .legal__table tr + tr {
    border-top: 1px solid var(--border-soft);
  }

  .legal__table td {
    display: block;
    padding: 0;
    border-top: 0;
  }

  .legal__table tr:nth-child(even) td {
    background: none;
  }
}

/* Kosten, Over ons, Contact, Probeer nu and the landing pages. */

/* Landing pages for a search phrase, e.g. Scholieren inplannen */

.landing {
  max-width: 48rem;
}

/* Kosten */

.cost-details {
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}

.page-faq {
  max-width: 52rem;
  margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
}

.page-faq h2 {
  margin-bottom: 1.5rem;
}

/* Over ons */

.about-photo {
  aspect-ratio: 21 / 9;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

@media (max-width: 640px) {
  .about-photo {
    aspect-ratio: 4 / 3;
  }
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem;
}

.contact-card,
.signup-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.contact-list {
  display: grid;
  gap: 1.75rem;
  margin: 0;
}

.contact-list dd {
  margin: 0.35rem 0 0;
  font-size: 1.25rem;
  color: var(--ink);
}

.contact-list dd a {
  text-decoration: none;
}

.contact-list dd a:hover {
  text-decoration: underline;
}

.contact-list address {
  font-style: normal;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
}

.contact-map {
  overflow: hidden;
  min-height: 22rem;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

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

/* Probeer nu */

.signup-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.signup-card .cta-note {
  justify-content: center;
  margin-top: 0.85rem;
}

.signup-next h2 {
  margin-bottom: 1.75rem;
  font-size: var(--fs-h2-sm);
}

.signup-next .steps {
  color: var(--text-secondary);
}

.signup-help {
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}
