/* DealPrompt landing page.
   Tokens are the values from the DealPrompt brand guidelines (October 2026). Fonts are declared in fonts.css.
   The logo is the official PNG mark (assets/logo-mark-*.png); photo framing has its own block further down. */

/* Layout: photographs carry each section; copy is a heavy headline plus one line. Graphite only for the hero panel, the contact band and the footer. */
:root {
  color-scheme: light;

  /* Core */
  --canvas: #EFEDEA; --surface: #FFFFFF; --surface-muted: #F8F6F4;
  --graphite: #1B1D24; --ink: #171A21; --ink-2: #4B5159; --label: #626975; --border: #E2DEDA;
  --on-graphite-2: #9BA1AC;

  /* Accent. The guideline accent is crimson (#C82A55 rule, #FDE3E7 ground); it is switched off at the founder's request. */
  --accent: var(--graphite); --accent-tint: var(--surface-muted);

  /* Supporting: status and small labels only */
  --positive-tint: #DFF7F1; --positive-text: #0F6E5A; --positive-fill: #12876F;
  --caution-tint: #FFF3D6; --caution-text: #8A5D00; --caution-fill: #FFC93C;
  --neutral-tint: #F1EFEC;

  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius-card: 24px; --radius-panel: 22px; --radius-inset: 16px; --radius-tile: 14px; --radius-pill: 999px;
  --shadow-card: 0 8px 24px rgba(23, 26, 33, 0.05);
  --shadow-hover: 0 14px 30px rgba(23, 26, 33, 0.09);
  --shadow-on-graphite: 0 24px 60px -28px rgb(0 0 0 / 0.7);

  --graphite-rgb: 27 29 36; /* --graphite as channels, for the scrims that keep text readable on photos */
  --surface-rgb: 255 255 255;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
}

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

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Type scale: Display 64 (40 on phones), section headline 44 (32), heading 20, lead 18, body 16, eyebrow mono 11. */
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.78rem + 2.96vw, 4rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; }
h2 { font-size: clamp(2rem, 1.64rem + 1.48vw, 2.75rem); line-height: 1.1; letter-spacing: -0.04em; font-weight: 800; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; }
.lead { font-size: 1.125rem; line-height: 1.6; font-weight: 500; }
.eyebrow { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700; line-height: 1.4; letter-spacing: 1.3px; text-transform: uppercase; color: var(--label); }

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

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

.skip {
  position: absolute; left: var(--gutter); top: -120px; z-index: 100;
  padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--graphite); color: var(--surface);
  font-size: 0.9375rem; font-weight: 700; text-decoration: none;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }

.wrap { width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }

/* One rule gives sections their vertical rhythm; .stack spaces the heading from what follows. */
.section { padding-block: 72px; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (max-width: 720px) {
  .section { padding-block: 48px; }
  .stack { gap: 32px; }
}
section[id] { scroll-margin-top: 28px; }
/* The skip link lands on <main>; without this the sticky header covers the first lines of the hero. */
main { scroll-margin-top: calc(var(--header-h) + 1px); }

.heading { display: grid; gap: 14px; max-width: 46rem; }
.heading--center { justify-self: center; justify-items: center; text-align: center; }

.ico { width: 13px; height: 13px; flex: none; }

/* ---------- Photo framing ----------
   The one place to adjust when the photo set changes: object-position per slot (x y).
   The crops themselves are made by the photo script. Three tile photos (score, insights, coaching) show the
   product on a screen; the tiles are shaped so that the screen and the faces in them stay whole at every width. */
.photo { object-fit: cover; object-position: var(--focus, 50% 50%); }
/* Hero band: the dark wall is the left 44% of the picture. Narrower panels lose the right side first, so the headline stays on the wall. */
.photo--hero { --focus: 30% 0%; }
.photo--pain-rep { --focus: 50% 50%; }
.photo--pain-script { --focus: 50% 50%; }
.photo--pain-lead { --focus: 50% 50%; }
.photo--live { --focus: 50% 21%; }
.photo--tile-score { --focus: 50% 27%; }
.photo--tile-script { --focus: 35% 50%; }
.photo--tile-insights { --focus: 85% 50%; }
.photo--tile-coaching { --focus: 50% 7%; }
.photo--how { --focus: 50% 50%; }
.photo--contact { --focus: 50% 50%; }
/* The hero band keeps its height, so narrower panels show less of its width. These steps move the picture a little
   so that none of the three pendant lamps is cut in half by the panel edge. */
@media (min-width: 1076px) and (max-width: 1165px) {
  .photo--hero { --focus: 6% 0%; }
}
@media (min-width: 900px) and (max-width: 939px) {
  .photo--hero { --focus: 18% 0%; }
}
@media (min-width: 860px) and (max-width: 899px) {
  .photo--hero { --focus: 24% 0%; }
}
@media (max-width: 799px) {
  .photo--hero { --focus: 22% 0%; }
}
/* Phone hero: its own crop with the wall on the left; wider phones keep the city in view. */
@media (max-width: 720px) {
  .photo--hero { --focus: 0% 60%; }
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font-size: 0.9375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn--sm { min-height: 42px; padding: 0 18px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--graphite); color: var(--surface); }
.btn--primary:hover { background: var(--ink); box-shadow: var(--shadow-hover); }
/* On graphite: the primary is white, the secondary an outline. */
.btn--light { background: var(--surface); color: var(--ink); }
.btn--light:hover { background: var(--canvas); }
.btn--outline { border-color: rgb(var(--surface-rgb) / 0.4); background: rgb(var(--graphite-rgb) / 0.5); color: var(--surface); }
.btn--outline:hover { border-color: var(--surface); }
.btn__meta { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0; color: var(--on-graphite-2); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: var(--header-h); }

/* Lockup: wordmark in 800 with -0.03em; the gap is 28% of the mark's height. */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-size: 1.375rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
}
.brand__mark { display: block; width: 36px; height: 36px; flex: none; }
/* On graphite the mark sits on a white chip: radius 30% of the chip, mark at 80% of it. */
.brand--on-dark { gap: 9px; color: var(--surface); }
.brand__chip { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); flex: none; }
.brand__chip .brand__mark { width: 32px; height: 32px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 32px); }
.nav a { color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; text-decoration: none; transition: color 0.15s ease; }
.nav a:hover { color: var(--ink); }
@media (max-width: 860px) {
  .nav { display: none; }
}
/* Under 400px the brand and the button don't fit side by side at full size. */
@media (max-width: 399px) {
  .site-header__inner { gap: 12px; }
  .site-header .brand { gap: 8px; font-size: 1.125rem; }
  .site-header .brand__mark { width: 30px; height: 30px; }
  .site-header .btn--sm { padding: 0 14px; font-size: 0.875rem; }
}

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

.hero { padding: 12px clamp(8px, 1.4vw, 20px) 0; }
.hero__panel {
  position: relative; isolation: isolate; overflow: hidden;
  width: min(100%, 1560px); margin-inline: auto;
  border-radius: var(--radius-panel);
  background: var(--graphite); color: var(--surface);
}
/* The window band behind the headline row. Its scrim keeps the text readable and ends in solid graphite, where the video sits. */
.hero__photo { position: absolute; inset: 0 0 auto 0; z-index: -1; display: block; height: 276px; }
.hero__photo img { display: block; width: 100%; height: 100%; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(var(--graphite-rgb) / 0.68) 0%, rgb(var(--graphite-rgb) / 0.74) 60%, rgb(var(--graphite-rgb) / 0.84) 85%, var(--graphite) 100%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 40px 22px; }
.hero__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.hero__title { display: grid; gap: 14px; }
.hero__side { display: grid; gap: 22px; max-width: 34rem; }
.hero h1, .hero .lead { color: var(--surface); }
/* Below 1024 px two lines, so the first line ends on the dark wall of the photo; the desktop column below allows three. */
.hero h1 { max-width: 11em; }
.hero .eyebrow { color: var(--on-graphite-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (min-width: 900px) {
  .hero__top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; align-items: end; }
}
/* Desktop: text on the left, the video on the right at about 7/12 of the width, so it no longer fills the screen. */
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: center; padding-block: 48px; }
  .hero__top { grid-template-columns: minmax(0, 1fr); row-gap: 22px; align-items: start; }
  /* Capped at 60 px so the headline stays on two lines in the text column at every desktop width. */
  .hero h1 { max-width: none; font-size: clamp(2.75rem, 1rem + 2.9vw, 3.75rem); }
}
@media (max-width: 720px) {
  .hero { padding: 0; }
  .hero__panel { border-radius: 0; }
  .hero__photo { height: 250px; }
  .hero__inner { gap: 22px; padding-block: 32px 18px; }
}

.demo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; scroll-margin-top: calc(var(--header-h) + 20px); }
.demo__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid rgb(var(--surface-rgb) / 0.16); border-radius: var(--radius-inset);
  background: var(--graphite);
  box-shadow: var(--shadow-on-graphite);
}
.demo__video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--graphite); transition: filter 0.2s ease; }
/* The play button is drawn into the poster; this invisible button covers the frame and starts the video. */
.demo__play { position: absolute; inset: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.demo__play:focus-visible { outline: none; }
.demo__frame:has(.demo__play:hover) .demo__video { filter: brightness(1.08); }
/* The frame carries the focus ring, for the play button and for the video once it has focus (their own outlines would be clipped). */
.demo__frame:has(.demo__play:focus-visible),
.demo__frame:has(.demo__video:focus-visible) { outline: 2px solid var(--surface); outline-offset: 3px; }
.demo__cap { font-size: 0.8125rem; line-height: 1.5; color: var(--on-graphite-2); }

/* ---------- Pains: three photo cards ---------- */

.pcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 22px; }
@media (min-width: 760px) {
  .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pcard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: start; }
.pcard__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: var(--radius-card); background: var(--neutral-tint); }
.pcard__text { display: grid; gap: 6px; }

/* ---------- Live prompts ---------- */

.live { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
/* Secondary button: white with a hairline border; the chosen one turns graphite. */
.chip-btn {
  min-height: 42px; padding: 0 18px;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  background: var(--surface); color: var(--ink);
  font-size: 0.9375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip-btn:hover { border-color: var(--label); }
.chip-btn[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--surface); }

.live-card {
  display: grid; grid-template-columns: minmax(0, 1fr);
  width: 100%; max-width: 1040px; overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.live-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--neutral-tint); }
.live-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (min-width: 760px) {
  .live-card { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
  .live-card__media { aspect-ratio: auto; min-height: 440px; }
}

/* The app window, in the product's light UI. */
.app { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; background: var(--surface-muted); }
.app__bar { display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: var(--graphite); color: var(--surface); }
.app__brand { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.app__chip { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--surface); flex: none; }
.app__chip img { display: block; width: 24px; height: 24px; }
.app__live {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border: 1px solid rgb(var(--surface-rgb) / 0.22); border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700; line-height: 1.3; letter-spacing: 1.3px; text-transform: uppercase;
}
.app__live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--positive-fill); }
.app__timer { margin-inline-start: auto; font-family: var(--font-mono); font-size: 0.8125rem; font-variant-numeric: tabular-nums; color: var(--on-graphite-2); }
.app__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: center; padding: clamp(18px, 2.6vw, 32px); }

.line { display: grid; gap: 6px; }
.line__who { display: flex; gap: 10px; font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700; line-height: 1.4; letter-spacing: 1.3px; text-transform: uppercase; color: var(--label); }
.line__time { font-weight: 500; }
.line__text { font-size: 1.125rem; font-weight: 500; line-height: 1.5; color: var(--ink); }

.prompt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; background: var(--surface); border-radius: var(--radius-inset); box-shadow: var(--shadow-card); }
.prompt__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
/* Under 360px the longer tags would wrap below the status pill. Stacking them for every example keeps the card height fixed. */
@media (max-width: 359px) {
  .prompt__meta { flex-direction: column; align-items: flex-start; }
}
.status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: var(--radius-pill); background: var(--caution-tint); color: var(--caution-text); font-size: 0.8125rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.status__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--caution-fill); }
.tag { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--label); }
.say { display: grid; gap: 8px; padding: 16px 18px 18px; background: var(--accent-tint); border-left: 3px solid var(--accent); border-radius: var(--radius-tile); }
.say__label { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700; line-height: 1.4; letter-spacing: 1.3px; text-transform: uppercase; color: var(--ink); }
.say__line { font-size: clamp(1.125rem, 0.95rem + 0.6vw, 1.375rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.say__line span { transition: opacity 0.16s ease; }
.say__line span.is-off { opacity: 0; }

.note { font-size: 0.875rem; line-height: 1.5; color: var(--label); text-align: center; }

/* ---------- What changes: photo tiles ---------- */

.features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
/* A tile is a photo with its caption on a graphite strip underneath, so nothing sits on a face or on a screen in the photo. */
.tile { display: grid; grid-template-rows: auto auto; overflow: hidden; border-radius: var(--radius-panel); background: var(--graphite); }
.tile__media { position: relative; aspect-ratio: 3 / 2; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile__cap { padding: 14px 22px 18px; color: var(--surface); }
@media (min-width: 820px) {
  /* Two rows: wide + narrow, then narrow + wide. Every tile takes one photo row and one caption row of the grid, so photos
     and captions line up across a row whatever the caption length. The wide photo sets the row height. */
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .tile { grid-column: span 5; grid-row: span 2; grid-template-rows: 1fr auto; grid-template-rows: subgrid; row-gap: 0; }
  .tile--wide { grid-column: span 7; }
  .tile__media { aspect-ratio: auto; }
  .tile--wide .tile__media { aspect-ratio: 16 / 9; }
}

/* UI chip on the script tile, the one photo without a screen. It is a single element: delete it and nothing else changes. */
.uchip {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px;
  max-width: calc(100% - 36px); padding: 8px;
  border-radius: var(--radius-tile);
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-hover);
  font-size: 0.8125rem; line-height: 1.3;
}
.phase { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: var(--radius-pill); font-weight: 500; white-space: nowrap; color: var(--ink-2); }
.phase .ico { color: var(--label); }
.phase--active { background: var(--graphite); color: var(--surface); font-weight: 700; }
.phase--next { color: var(--label); }
@media (max-width: 519px) {
  .uchip { top: 12px; left: 12px; max-width: calc(100% - 24px); }
  .tile__cap { padding: 12px 18px 16px; }
}
/* Narrow tiles: on phones and in the two-row grid below 1100px. */
@media (max-width: 399px), (min-width: 820px) and (max-width: 1099px) {
  .uchip { gap: 0; padding: 6px; }
  .phase { gap: 3px; padding: 4px 6px; font-size: 0.75rem; }
  .phase .ico { width: 11px; height: 11px; }
}
@media (max-width: 339px) {
  .phase { padding: 4px 5px; font-size: 0.6875rem; }
}

.statement { max-width: 26em; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }

/* ---------- How it works ---------- */

.how { background: var(--surface-muted); }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 720px) {
  .how__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); }
}
@media (min-width: 1000px) {
  .how__grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
}
.how__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: var(--radius-panel); background: var(--neutral-tint); }

.steps { display: grid; gap: 32px; max-width: 30rem; }
.step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; align-items: start; }
.step__n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow-card);
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 700; line-height: 1; color: var(--ink);
}
/* Hairline from one marker to the next. */
.step:not(:last-child)::after { content: ""; position: absolute; left: 21.5px; top: 50px; bottom: -26px; width: 1px; background: var(--border); }
.step__body { display: grid; gap: 4px; padding-top: 9px; }

.facts { display: flex; flex-wrap: wrap; gap: 8px 0; font-size: 0.875rem; line-height: 1.5; color: var(--label); }
.facts li { padding-inline: 18px; border-left: 1px solid var(--border); }
.facts li:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 759px) {
  .facts { flex-direction: column; gap: 6px; }
  .facts li { padding-inline: 0; border-left: 0; }
}

/* ---------- Contact + footer (graphite) ---------- */

.contact { position: relative; isolation: isolate; overflow: hidden; background: var(--graphite); color: var(--surface); }
.contact__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(var(--graphite-rgb) / 0.7); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 920px) {
  .contact__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(48px, 6vw, 96px); }
}
.contact h2, .contact .lead { color: var(--surface); }
.contact .eyebrow { color: var(--on-graphite-2); }

.form-card { padding: clamp(22px, 3.2vw, 32px); background: var(--surface); color: var(--ink-2); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 600px) {
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 0.875rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.field__optional { font-weight: 400; color: var(--label); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-tile);
  background: var(--surface-muted); color: var(--ink);
  font-size: 1rem; line-height: 1.4;
}
.field textarea { min-height: 116px; resize: vertical; }
.field ::placeholder { color: var(--label); opacity: 1; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.field select:invalid { color: var(--label); }
.select { position: relative; display: block; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field [aria-invalid="true"] { border-color: var(--caution-text); }
.field__error { font-size: 0.8125rem; font-weight: 500; line-height: 1.4; color: var(--caution-text); }
.field__error:empty { display: none; }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.notice { padding: 12px 14px; border-radius: var(--radius-tile); background: var(--caution-tint); color: var(--caution-text); font-size: 0.875rem; font-weight: 500; line-height: 1.5; }
.notice:empty { padding: 0; }
.fineprint { font-size: 0.8125rem; line-height: 1.5; color: var(--label); }

.success { display: grid; gap: 10px; justify-items: start; padding-block: 12px; }
.success:focus { outline: none; }
.success__badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--positive-tint); color: var(--positive-text); }
.success__badge svg { width: 20px; height: 20px; }
.success__title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }

.footer { background: var(--graphite); color: var(--on-graphite-2); padding-block: 22px; border-top: 1px solid rgb(var(--surface-rgb) / 0.14); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.footer__tag { font-size: 0.9375rem; }
.footer__copy { margin-inline-start: auto; font-size: 0.875rem; }
/* Up to 500px the copyright no longer fits on the first line. It then gets its own line, left-aligned under the brand. */
@media (max-width: 500px) {
  .footer__copy { flex-basis: 100%; margin-inline-start: 0; }
}

/* Focus rings on graphite are white; inside the white form card they are ink again. */
.hero :focus-visible, .contact :focus-visible, .footer :focus-visible { outline-color: var(--surface); }
.form-card :focus-visible { outline-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--ink); }

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