/* Inter, self-hosted (latin subset) — no third-party font requests, per privacy page */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700-latin.woff2') format('woff2');
}

:root {
  /* Surfaces */
  --color-bg-main: #ffffff;
  --color-bg-alt: #f9f9f9;
  --color-bg-accent: #f3e4bd;
  --color-bg-card: #d2d8f8;

  /* The ladder ramp — one axis of meaning: cream = human, blue = machine.
     These four, plus the illustration purple, are the only purples on the
     site. Anything else is drift. */
  --color-ladder-keep: #f3e4bd;      /* = bg-accent; the cream bookend IS the human end */
  --color-ladder-augment: #d2d8f8;   /* = bg-card */
  --color-ladder-delegate: #b9b8ff;
  --color-ladder-automate: #5652ff;  /* = primary */
  --color-illustration: #8683ff;     /* the single fill inside every SVG in images/ —
                                        tokenized so it is a decision, not a drift.
                                        Lives in the files; do not use it in CSS. */

  /* Actions */
  --color-primary: #5652ff;

  /* Ink */
  --color-text-dark: #14141a;
  --color-text-body: #333333;
  --color-text-muted: #6b6b6b;
  --color-text-navy: #21274f;        /* only on periwinkle surfaces */
  --color-text-light: #ffffff;

  /* Lines */
  --color-border: #b5b5b5;
  --color-border-soft: #e8e8e8;

  /* Radii — three shapes, one rule:
     square (no radius) = outlined editorial boxes (reframe, moves, what-to-expect)
     card (20px)        = filled surfaces (ladder, offers, form, photo slot)
     pill (999px)       = chips and buttons
     input (12px)       = form fields only */
  --radius-card: 20px;
  --radius-input: 12px;
  --radius-pill: 999px;

  /* Type scale — 7 steps (16/32/64 and 24/48 double; 14/18 flank the body) */
  --text-caption: 14px;
  --text-body: 16px;
  --text-lede: 18px;
  --text-title-sm: 24px;
  --text-title: 32px;
  --text-display: 48px;
  --text-hero: 64px;

  --font-main: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-body);
  margin: 0;
  padding: 0;
  background-color: var(--color-bg-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-dark);
  margin-top: 0;
  line-height: 1.2;
  text-wrap: balance;
}

a {
  text-decoration: none;
}

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

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.text-center {
  text-align: center;
}

.text-blue {
  color: var(--color-primary);
}

.pill {
  background-color: var(--color-bg-accent);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: var(--text-caption);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 24px;
  color: var(--color-text-body);
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--text-body);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
  border: none;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.btn--quiet {
  background-color: transparent;
  color: var(--color-text-dark);
  border: 1px solid var(--color-border);
}

/* Cookie banner — shared by index, privacy and thanks */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  box-shadow: 0 -4px 24px rgba(20, 20, 26, 0.08);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.cookie-banner-text {
  flex: 1;
  margin: 0;
  font-size: var(--text-caption);
  color: var(--color-text-body);
  line-height: 1.6;
}
.cookie-banner-text a {
  color: var(--color-text-dark);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .cookie-banner-actions {
    justify-content: flex-end;
  }
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}
