@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/albert-sans-latin.woff2) format("woff2");
}

:root {
  --bg: #eef0f3;
  --paper: #f8f9fb;
  --surface: #e2e5ea;
  --surface-2: #d3d8df;
  --ink: #0b0c0e;
  --ink-2: #1b1e24;
  --ink-3: #2a2e36;
  --muted: #4f5662;
  --accent: #1f2de6;
  --accent-strong: #1520b8;
  --accent-ink: #ffffff;
  --accent-soft: #c9cdfb;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.6vw, 4.5rem);
  --step-sub: clamp(1.75rem, 1rem + 2.2vw, 3.25rem);
  --step-display: clamp(5.5rem, 12.5vw, 12rem);

  --gap: 8px;
  --edge: 10px;
  --r: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 "Albert Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
h1, h2, h3, p, ol, figure { margin: 0; }
h1, h2 { font-weight: 600; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tile-accent :focus-visible, .pilot :focus-visible, .tile-accent:focus-visible { outline-color: var(--ink); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: #fff; padding: 12px 16px; }
.skip:focus { top: 12px; }

.tile { border-radius: var(--r); }
.tile-ink { background: var(--ink); color: #fff; }
.tile-surface { background: var(--surface); }
.tile-paper { background: var(--paper); }
.tile-accent { background: var(--accent); color: var(--accent-ink); }

/* Buttons: square, one fill. */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 500; text-decoration: none; border: 0; border-radius: var(--r);
  cursor: pointer; user-select: none;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button-inverse { background: #fff; color: var(--accent); }
.button-quiet { background: var(--ink); color: #fff; }
.button-small { min-height: 44px; padding: 0 16px; font-size: var(--step-small); background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); color: #fff; }
  .button-inverse:hover { background: var(--accent-soft); color: var(--ink); }
  .button-quiet:hover, .button-small:hover { background: var(--accent); }
}

/* ---------- Top bar: a row of tiles ---------- */
.bar {
  display: grid; grid-template-columns: 60px 1fr auto; gap: var(--gap);
  padding: var(--edge) var(--edge) 0; height: calc(60px + var(--edge));
}
.bar-mark { display: grid; place-items: center; color: #fff; transition: background-color var(--t-hover) ease; }
.bar-links { display: flex; align-items: center; gap: 32px; padding-left: calc(50vw - 60px - var(--gap) - var(--edge)); }
.bar-links a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; text-decoration-thickness: 2px; transition: text-decoration-color var(--t-hover) ease; font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .bar-links a:hover { text-decoration-color: currentColor; }
  .bar-mark:hover { background: var(--accent); }
}
.bar-action { background: var(--ink); padding: 0 28px; min-height: 60px; }
.bar-menu { display: none; }

/* ---------- Hero: two-by-two board ---------- */
.hero {
  display: grid; gap: var(--gap); padding: var(--gap) var(--edge) 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(300px, 1fr) minmax(260px, 1fr);
  height: max(640px, calc(100svh - 60px - var(--edge)));
}
.hero-name { display: flex; align-items: flex-end; padding: 24px; overflow: hidden; }
.hero-name h1 { display: flex; flex-direction: column; gap: 18px; }
.hero-word { font-size: var(--step-display); font-weight: 500; letter-spacing: -0.05em; line-height: 0.85; margin-left: -0.04em; }
.hero-what { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.hero-photo { overflow: hidden; position: relative; background: var(--surface); }
.hero-photo img, .hero-photo video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo-a img { object-position: 50% 60%; }
.hero-photo-b img { object-position: 50% 45%; }
.hero-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); }
.hero-say { padding: 24px; font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; font-weight: 500; }
.hero-say-link { text-decoration: none; transition: background-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .hero-say-link:hover { background: var(--accent-strong); } }

/* ---------- How: stages as one bar ---------- */
.how { padding: 200px var(--edge) 0; }
.how-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-bottom: 64px; }
.how h2 { grid-column: 1 / 7; font-size: var(--step-head); max-width: 14ch; }
.how-lead { grid-column: 8 / 13; font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.stages { list-style: none; padding: 0; display: flex; gap: 6px; }
.stage { flex: var(--grow) 1 0; min-width: 14%; display: flex; flex-direction: column; gap: 16px; }
.stage-bar { display: block; height: 26vh; min-height: 150px; padding: 20px; font-size: var(--step-lead); font-weight: 500; line-height: 1.2; }
.stage-ink .stage-bar { background: var(--ink); color: #fff; }
.stage-surface .stage-bar { background: var(--surface-2); }
.stage-accent .stage-bar { background: var(--accent); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.stage-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; font-size: var(--step-body); font-weight: 400; }
.stage-count b { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.stage-text { max-width: 26ch; font-size: var(--step-body); }

/* ---------- Board: one floor, any weekday ---------- */
.board { margin-top: 200px; background: var(--ink); color: #fff; padding: 96px var(--edge) 0; overflow: hidden; }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 40px; padding: 0 14px; }
.board h2 { font-size: var(--step-head); }
.board-note { padding: 20px 14px 40px; max-width: 60ch; color: #d6d9df; }
.days { display: flex; gap: 4px; }
.days button {
  min-width: 72px; min-height: 56px; padding: 0 14px; border: 0; border-radius: var(--r);
  background: var(--ink-3); color: #fff; font-size: var(--step-lead); font-weight: 500; cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.days button:active { transform: scale(0.96); }
.days button[aria-checked="true"] { background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .days button[aria-checked="false"]:hover { background: #454b56; } }

.rows { display: flex; flex-direction: column; gap: 4px; margin: 0 -2px; }
.rows::before, .rows::after { content: ""; display: block; height: 36px; background: var(--ink-2); }
.row {
  display: grid; grid-template-columns: 3fr 3fr 2fr 2fr 2fr; align-items: center; gap: var(--gap);
  min-height: 72px; padding: 0 14px; background: var(--ink-2); color: #fff;
  border: 0; border-radius: 0; width: 100%; text-align: left; cursor: pointer;
  font-size: var(--step-lead); line-height: 1.15;
  transition: background-color var(--t-ui) ease;
}
.row-code { font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.row-zone, .row-by { color: #d6d9df; }
.row-status { justify-self: stretch; display: flex; align-items: center; min-height: 48px; padding: 0 14px; font-size: var(--step-body); font-weight: 500; }
.s-in { background: var(--surface-2); color: var(--ink); }
.s-free { background: var(--accent); color: #fff; }
.s-booked { background: #4d5361; color: #fff; }
.s-checked { background: #fff; color: var(--ink); }
.s-released { background: transparent; color: #fff; box-shadow: inset 0 0 0 3px #6b7280; } /* taste-skill-ignore: status block inside the data-ui board */
.s-kept { background: #8a919d; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .row:not(.open):hover { background: var(--ink-3); } }
.row.open { background: var(--accent); min-height: 216px; align-items: start; padding-top: 22px; padding-bottom: 22px; }
.row.open .row-code { font-size: var(--step-head); line-height: 0.95; }
.row.open .row-zone, .row.open .row-by { color: #fff; }
.row.open .s-free { background: #fff; color: var(--accent); }
.row-detail { grid-column: 1 / -1; font-size: var(--step-body); line-height: 1.45; max-width: 64ch; display: none; }
.row.open .row-detail { display: block; }
.rows-fallback { padding: 24px 14px; font-size: var(--step-lead); }

/* ---------- Features: close-ups on a board ---------- */
.features {
  margin-top: 200px; padding: 0 var(--edge);
  display: grid; gap: var(--gap); grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 104px;
}
.ft { position: relative; overflow: hidden; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; }
.ft-head { grid-column: 1 / 7; grid-row: 1 / 3; justify-content: flex-start; }
.ft-head h2 { font-size: var(--step-sub); max-width: 16ch; }
.ft-days { grid-column: 7 / 13; grid-row: 1 / 5; }
.ft-release { grid-column: 1 / 7; grid-row: 3 / 5; }
.ft-ics { grid-column: 1 / 4; grid-row: 5 / 9; }
.ft-roster { grid-column: 4 / 7; grid-row: 5 / 9; }
.ft-who { grid-column: 7 / 10; grid-row: 5 / 7; }
.ft-limit { grid-column: 10 / 13; grid-row: 5 / 7; }
.ft-keeps { grid-column: 7 / 13; grid-row: 7 / 9; }
.ft-cap { position: relative; z-index: 1; font-size: var(--step-small); line-height: 1.4; max-width: 34ch; }
.ft-cap strong { display: block; font-size: var(--step-lead); letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 6px !important; font-weight: 500; margin-bottom: 2px; }
.ft .ui { position: absolute; font-size: 16px; line-height: 1; pointer-events: none; }

.ft-days .ui { top: 28px; left: 20px; right: -120px; display: flex; gap: 0.12em; font-size: clamp(64px, 9vw, 150px); }
.key { display: inline-grid; place-items: center; width: 2.3em; height: 1.9em; background: #3743ee; color: #c9cdfb; font-size: 0.6em; font-weight: 600; letter-spacing: -0.03em; flex: none; }
.key.on { background: #fff; color: var(--accent); }
.ft-release .ui { top: 20px; right: 20px; font-size: clamp(40px, 3.9vw, 60px); }
.status { display: inline-block; padding: 0.3em 0.5em; background: transparent; color: #fff; box-shadow: inset 0 0 0 0.08em #6b7280; /* taste-skill-ignore: interface fragment */ font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.ft-ics .ui { top: 24px; left: 20px; right: -80px; font-size: clamp(18px, 1.9vw, 28px); }
.ev { background: #fff; padding: 0.8em 0.9em; border-left: 0.3em solid var(--accent); line-height: 1.35; color: var(--ink); }
.ev p { margin: 0; white-space: nowrap; }
.ev .ev-title { font-size: 1.4em; font-weight: 600; letter-spacing: -0.02em; }
.ev .ev-link { display: inline-block; margin-top: 0.6em; background: var(--accent); color: #fff; padding: 0.35em 0.7em; font-weight: 600; }
.ft-roster .ui { top: 20px; left: 20px; font-size: clamp(36px, 4.2vw, 64px); }
.diffs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.1em; }
.diff { white-space: nowrap; font-weight: 500; letter-spacing: -0.03em; color: var(--muted); }
.diff b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.ft-who .ui { top: 20px; left: 32px; display: flex; font-size: clamp(48px, 5vw, 80px); }
.disc { display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: #fff; color: var(--ink); font-size: 0.6em; font-weight: 600; margin-left: -0.35em; box-shadow: 0 0 0 0.12em var(--ink); } /* taste-skill-ignore: avatar ring inside interface fragment */
.disc:nth-child(2) { background: var(--accent); color: #fff; }
.disc:nth-child(3) { background: var(--surface-2); }
.ft-limit .ui { top: 14px; right: 20px; font-size: clamp(44px, 6.4vw, 104px); }
.fig { font-weight: 600; letter-spacing: -0.06em; color: var(--accent); font-variant-numeric: tabular-nums; }
.ft-keeps .ui { top: 22px; right: 24px; display: flex; align-items: center; gap: 0.4em; font-size: clamp(48px, 5vw, 80px); }
.switch { position: relative; width: 2.2em; height: 1.2em; border-radius: 1em; background: var(--accent); }
.knob { position: absolute; top: 0.15em; right: 0.15em; width: 0.9em; height: 0.9em; border-radius: 50%; background: #fff; }
.switch-label { font-weight: 500; letter-spacing: -0.02em; font-size: 0.7em; }

/* ---------- Shots: the app as it is ---------- */
.shots {
  margin-top: 200px; padding: 0 var(--edge);
  display: grid; gap: var(--gap); grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "head head head head head head head head head head head head"
    "plan plan plan plan plan plan plan plan phone phone phone phone"
    "who who who who who setup setup setup setup setup setup setup"
    "who who who who who room room room room room room room";
}
.shots-head { grid-area: head; display: grid; grid-template-columns: subgrid; align-items: end; padding-bottom: 56px; }
.shots h2 { grid-column: 1 / 7; font-size: var(--step-head); max-width: 12ch; }
.shots-head p { grid-column: 8 / 13; font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.shot { background: var(--surface); display: flex; flex-direction: column; overflow: hidden; }
.shot img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top left; }
.shot figcaption { padding: 14px 16px 16px; font-size: var(--step-small); line-height: 1.4; }
.shot-plan { grid-area: plan; }
.shot-phone { grid-area: phone; }
.shot-phone img { object-fit: contain; object-position: top center; background: #eceee9; }
.shot-who { grid-area: who; }
.shot-setup { grid-area: setup; }
.shot-room { grid-area: room; }
.shot-room img { aspect-ratio: 16 / 7; object-position: 50% 60%; filter: grayscale(1); }

/* ---------- Proof: facts on tiles ---------- */
.proof {
  margin-top: 200px; padding: 0 var(--edge);
  display: grid; gap: var(--gap); grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pt { background: var(--surface); padding: 24px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.pt b { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.pt span { font-size: var(--step-small); line-height: 1.45; max-width: 34ch; }
.pt-head { grid-column: span 2; background: var(--accent); color: #fff; }
.pt-head h2 { font-size: var(--step-sub); max-width: 14ch; }

/* ---------- Pricing: one large table ---------- */
.pricing { margin-top: 200px; padding: 0 var(--edge); }
.plans { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: var(--step-body); }
.plans th, .plans td { text-align: left; vertical-align: top; padding: 20px; font-weight: 400; }
.plans thead th { padding-top: 28px; padding-bottom: 28px; vertical-align: bottom; }
.plans thead p { margin: 0; }
.plan-name { font-size: var(--step-sub); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; white-space: nowrap; }
.plans thead th:first-child { width: 33.3%; vertical-align: top; }
.plans h2 { font-size: var(--step-head); }
.price { font-size: var(--step-sub); letter-spacing: -0.03em; line-height: 1.05; margin-top: 6px; white-space: nowrap; }
.per { font-size: var(--step-small); margin-top: 10px; }
.plans tbody tr:nth-child(odd) { background: var(--surface); }
.plans tbody th { color: var(--muted); }
.plans .rec { background: var(--accent); color: #fff; }
.plans tbody tr:nth-child(odd) .rec { background: #1a27d0; }
.plans-actions td { padding-top: 24px; padding-bottom: 24px; }
.plans-actions .button { width: 100%; }
.plans tbody tr.plans-actions { background: transparent; }

.plan-cards { display: none; }
.plans-note { margin: 32px 0 0; padding: 0 20px; max-width: 46em; font-size: var(--step-body); }

/* ---------- FAQ ---------- */
.faq { margin-top: 200px; padding: 0 var(--edge); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.faq-side { grid-column: 1 / 5; position: sticky; top: 96px; padding: 8px 14px; display: flex; flex-direction: column; gap: 24px; }
.faq h2 { font-size: var(--step-head); }
.faq-side p { max-width: 26ch; }
.faq-side a { font-weight: 500; text-underline-offset: 0.2em; }
.faq-list { grid-column: 5 / 13; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--surface); border-radius: var(--r); transition: background-color var(--t-ui) ease, color var(--t-ui) ease; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 72px; padding: 20px 64px 20px 24px; position: relative;
  font-size: var(--step-body); font-weight: 500; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 16px; height: 3px; margin-top: -1.5px; background: currentColor;
  transition: transform var(--t-ui) var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] { background: var(--accent); color: #fff; }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 24px 24px; max-width: 52ch; }
@media (hover: hover) and (pointer: fine) { .faq details:not([open]):hover { background: var(--surface-2); } }

/* ---------- Pilot: the form on a cobalt field ---------- */
.pilot { margin-top: 200px; background: var(--accent); color: #fff; padding: 48px var(--edge) 96px; overflow: hidden; }
.strip { margin: 0 calc(-1 * var(--edge)); overflow: hidden; }
.strip-track { display: flex; gap: 8px; width: max-content; }
.strip img { height: 150px; width: auto; background: #3743ee; }
@media (prefers-reduced-motion: no-preference) {
  .strip-track { animation: drift 80s linear infinite; }
  .strip:hover .strip-track { animation-play-state: paused; }
}
@keyframes drift { to { transform: translateX(-50%); } }
.pilot h2 { margin-top: 72px; padding: 0 14px; font-size: var(--step-head); }
.pilot-lead { padding: 20px 14px 40px; font-size: var(--step-lead); max-width: 36ch; }
.pilot-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cell { position: relative; background: #3743ee; min-height: 96px; border: 0; border-radius: var(--r); transition: background-color var(--t-hover) ease; }
.cell label { position: absolute; left: 20px; top: 14px; font-size: var(--step-small); font-weight: 500; }
.cell input { width: 100%; height: 100%; min-height: 96px; padding: 40px 20px 14px; background: transparent; border: 0; color: #fff; font-size: 1.25rem; outline: none; }
.cell:focus-within { background: #fff; color: var(--ink); }
.cell:focus-within input { color: var(--ink); }
.cell-submit { background: var(--ink); color: #fff; font-size: var(--step-lead); font-weight: 500; cursor: pointer; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cell-submit:active { transform: scale(0.98); }
.cell-submit:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .cell-submit:hover { background: #fff; color: var(--ink); } }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; } /* taste-skill-ignore: honeypot field, off screen */
.pilot-note { grid-column: 1 / 3; font-size: var(--step-small); padding: 4px 20px; }
.pilot-status { grid-column: 3; font-size: var(--step-body); font-weight: 500; padding: 4px 20px; }
.pilot-status:empty { display: none; }
.pilot-form.sent .cell { display: none; }

/* ---------- Footer: the mark, built large ---------- */
.footer { padding: 48px var(--edge) 24px; background: var(--ink); color: #fff; }
.mark { display: flex; align-items: flex-end; gap: 4px; width: min(100%, 700px); margin-inline: auto; height: 20svh; min-height: 120px; max-height: 160px; }
.mark span {
  flex: 1; height: var(--h); background: var(--ink-3); color: var(--bg);
  display: flex; align-items: flex-end; justify-content: center;
  font-size: min(5.75rem, 12vw); font-weight: 600; line-height: 0.78; letter-spacing: -0.04em; overflow: hidden;
}
.mark span:nth-child(5) { background: var(--accent); color: #fff; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gap); margin-top: 56px; padding: 0 14px; }
.foot-links { grid-column: 1 / 5; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 24px; align-content: start; font-size: var(--step-small); }
.foot-links a, .foot-contact a, .credits a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; transition: text-decoration-color var(--t-hover) ease; }
.foot-links a { min-height: 32px; display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover, .foot-contact a:hover, .credits a:hover { text-decoration-color: currentColor; } }
.foot-contact { grid-column: 5 / 9; display: flex; flex-direction: column; gap: 10px; font-size: var(--step-small); }
.foot-contact a { font-size: var(--step-lead); font-weight: 500; }
.credits { grid-column: 9 / 13; font-size: 13px; line-height: 1.5; color: #c3c8d0; max-width: 70ch; }
.credits a { text-decoration-color: currentColor; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding: 0 14px; font-size: var(--step-small); }

/* ---------- Motion ---------- */
.motion-toggle { display: none; }
.js .motion-toggle {
  display: block; position: absolute; z-index: 2; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--r);
  background: var(--ink); color: #fff; font-size: var(--step-small); font-weight: 500; cursor: pointer;
  transition: background-color var(--t-hover) ease;
}
.hero-photo .motion-toggle { right: 0; bottom: 0; }
.pilot { position: relative; }
.strip-toggle { right: var(--edge); top: 210px; }
@media (hover: hover) and (pointer: fine) { .js .motion-toggle:hover { background: var(--accent); } }
@media (prefers-reduced-motion: reduce) { .js .motion-toggle { display: none; } }
.strip.paused .strip-track { animation-play-state: paused; }
.shutter { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .js .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter img { transform: scale(1.12); transition: transform 1500ms var(--ease-soft); }
  .js .shutter.is-in { clip-path: inset(0); }
  .js .shutter.is-in img { transform: none; }
  .js .hero-photo-b img { animation: drift-photo 24s var(--ease-soft) infinite alternate; }
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-expo); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .row { animation: row-in 520ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  .js .reveal { opacity: 1; transform: translateY(16px); }
}
@keyframes drift-photo { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
@keyframes row-in { from { opacity: 0; transform: translateX(-16px); } }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .bar-links { padding-left: 24px; gap: 22px; }
  .hero-say { font-size: var(--step-body); line-height: 1.35; }
  .stages { flex-direction: column; }
  .stage { min-width: 0; }
  .stage-bar { height: auto; min-height: 72px; }
  .stage-surface .stage-bar { min-height: 96px; }
  .stage-accent .stage-bar { min-height: 26svh; }
  .stage-text { max-width: 60ch; padding: 0 4px 12px; }
  .row-code { white-space: nowrap; }
  .row.open .row-code { font-size: clamp(2.25rem, 5vw, 3rem); }
  .row { grid-template-columns: 2fr 3fr 2fr 3fr; }
  .row-zone { display: none; }
  .features { grid-auto-rows: 96px; }
  .ft-ics .ui { font-size: 18px; }
  .plan-name, .price { white-space: normal; font-size: var(--step-lead); }
  .plans th, .plans td { padding: 16px 12px; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof .pt:nth-child(3n + 2) { grid-column: span 2; background: var(--ink); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; min-height: 0; }
  .faq-side { grid-column: 1 / -1; position: static; }
  .faq-list { grid-column: 1 / -1; }
  .foot-links { grid-column: 1 / 7; }
  .foot-contact { grid-column: 7 / 13; }
  .credits { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --gap: 6px; --edge: 12px; }
  .bar { grid-template-columns: 52px 1fr auto; height: auto; }
  .bar-links { display: none; }
  .bar-action { grid-column: 3; grid-row: 1; min-height: 52px; padding: 0 16px; background: var(--accent); }
  .bar-menu { grid-column: 2; grid-row: 1; }
  .bar-mark { height: 52px; }
  .bar-menu { display: block; position: relative; }
  .bar-menu summary { list-style: none; height: 52px; display: flex; align-items: center; justify-content: flex-start; padding: 0 16px; font-weight: 500; cursor: pointer; }
  .bar-menu summary::-webkit-details-marker { display: none; }
  .bar-menu[open] summary { background: var(--ink); color: #fff; }
  .bar-menu nav { position: absolute; z-index: 5; left: 0; width: calc(100vw - 24px - 58px); top: 52px; display: flex; flex-direction: column; background: var(--ink); color: #fff; padding: 8px 20px 16px; }
  .bar-menu nav a { min-height: 48px; display: flex; align-items: center; font-size: var(--step-lead); text-decoration: none; }

  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; height: auto; }
  .hero-name { grid-column: 1 / -1; min-height: 34svh; padding: 18px; }
  .hero-word { font-size: 22vw; }
  .hero-what { font-size: 1.375rem; }
  .hero-photo-a { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .hero-photo-b { grid-column: 1 / -1; grid-row: 4; aspect-ratio: 4 / 3; }
  .hero-pair { grid-column: 1 / -1; }
  .hero-say { font-size: 1.0625rem; line-height: 1.3; padding: 16px; min-height: 44vw; }

  .how { padding-top: 120px; }
  .how-head { display: block; margin-bottom: 32px; padding: 0 6px; }
  .how h2 { font-size: 11vw; margin-bottom: 16px; }
  .how-lead { font-size: 1.125rem; }
  .stages { flex-direction: column; height: auto; }
  .stage { min-width: 0; }
  .stage-bar { height: auto; min-height: 72px; font-size: 1.375rem; }
  .stage-accent .stage-bar { min-height: 26svh; }
  .stage-surface .stage-bar { min-height: 96px; }
  .stage-text { max-width: none; padding: 0 4px 12px; font-size: 1rem; }

  .board { margin-top: 120px; padding-top: 64px; }
  .board-head { padding: 0 8px; }
  .board h2 { font-size: 11vw; }
  .days { width: 100%; }
  .days button { flex: 1; min-width: 0; padding: 0; font-size: 1.0625rem; }
  .board-note { padding: 16px 8px 28px; font-size: 1rem; }
  .row { grid-template-columns: 1fr auto; min-height: 64px; font-size: 1.25rem; padding: 0 8px 0 12px; }
  .row-holder, .row-zone, .row-by { display: none; }
  .row-status { font-size: 0.9375rem; padding: 0 10px; min-height: 40px; }
  .row.open { min-height: 200px; }
  .row.open .row-holder, .row.open .row-by { display: block; grid-column: 1 / -1; font-size: 1rem; }
  .row.open .row-code { font-size: 2.5rem; }
  .row-detail { font-size: 1rem; }

  .features { margin-top: 120px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 28vw; }
  .ft { grid-column: auto !important; grid-row: span 2 !important; padding: 14px; }
  .ft-head { grid-column: 1 / -1 !important; grid-row: span 2 !important; }
  .ft-head h2 { font-size: 9vw; }
  .ft-days, .ft-release, .ft-keeps { grid-column: 1 / -1 !important; grid-row: span 2 !important; }
  .ft-cap { font-size: 0.875rem; }
  .ft-cap strong { font-size: 1rem; }
  .ft-days .ui { font-size: 13.5vw; top: 20px; left: 14px; }
  .ft-release .ui { font-size: 34px; top: 14px; right: 14px; }
  .ft-ics .ui { font-size: 12px; top: 12px; left: 12px; right: -40px; }
  .ft-ics .ev p:nth-child(3) { display: none; }
  .ft-ics, .ft-roster { grid-row: span 3 !important; }
  .ft-roster .ui { font-size: 26px; top: 14px; left: 14px; }
  .ft-who .ui { font-size: 34px; }
  .ft-limit .ui { font-size: clamp(40px, 46vw - 104px, 76px); top: 10px; right: 14px; }
  .ft-keeps .ui { font-size: 30px; top: 16px; right: 14px; }

  .shots { margin-top: 120px; grid-template-columns: 1fr; grid-template-areas: "head" "phone" "plan" "who" "setup" "room"; }
  .shots-head { display: block; padding: 0 8px 28px; }
  .shots h2 { font-size: 11vw; margin-bottom: 16px; }
  .shots-head p { font-size: 1.125rem; }

  .proof { margin-top: 120px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pt { min-height: 0; padding: 16px; gap: 16px; }
  .pt-head { grid-column: 1 / -1; min-height: 120px; }
  .pt-head h2 { font-size: 9vw; }
  .pt b { font-size: 1.25rem; }

  .pricing { margin-top: 120px; }
  .plans, .plans thead, .plans tbody, .plans tr, .plans th, .plans td { display: block; width: auto !important; }
  .plans thead tr { display: flex; flex-direction: column; gap: 6px; }
  .plans thead th:first-child { padding: 0 8px 20px; }
  .plans h2 { font-size: 11vw; }
  .plans-note { padding: 0 8px; }
  .plans tbody { display: none; }
  .plan-card { margin-top: 6px; }
  .plans thead th:not(:first-child) { display: none; }
  .plan-cards { display: flex; flex-direction: column; gap: 32px; }

  .faq { margin-top: 120px; }
  .faq h2 { font-size: 9vw; }
  .faq-side { padding: 0 6px 16px; gap: 12px; }
  .faq summary { font-size: 1.125rem; min-height: 64px; padding: 18px 56px 18px 20px; }
  .faq details p { padding: 0 20px 20px; font-size: 1rem; }

  .pilot { margin-top: 120px; padding-top: 32px; padding-bottom: 80px; min-height: 0; }
  .strip img { height: 110px; }
  .strip-toggle { top: 150px; }
  .pilot h2 { margin-top: 48px; font-size: 11vw; padding: 0 8px; }
  .pilot-lead { padding: 16px 8px 28px; font-size: 1.125rem; }
  .pilot-form { grid-template-columns: 1fr; }
  .cell, .cell input { min-height: 64px; }
  .cell input { padding: 30px 16px 10px; font-size: 1.125rem; }
  .cell label { left: 16px; top: 10px; }
  .pilot-note, .pilot-status { grid-column: 1; padding: 4px 8px; }

  .footer { padding-top: 32px; }
  .mark { height: 14svh; min-height: 96px; gap: 3px; }
  .mark span { font-size: 10vw; line-height: 1; padding-bottom: 0.06em; }
  .foot-grid { grid-template-columns: 1fr; padding: 0 4px; margin-top: 40px; }
  .foot-links { grid-column: 1; }
  .foot-contact, .credits { grid-column: 1; }
  .foot-last { padding: 0 4px; }
}

/* Plan cards: the phone version of the pricing table. */
@media (max-width: 760px) {
  .plan-card { background: var(--surface); padding: 44px 16px 20px; }
  .plan-card.rec { background: var(--accent); color: #fff; }
  .plan-card .plan-card-name { margin: 0; font-size: 9vw; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
  .plan-card .plan-price { font-size: 9vw; letter-spacing: -0.03em; line-height: 1.1; }
  .plan-card .plan-per { font-size: 1rem; margin: 6px 0 16px; }
  .plan-card dl { margin: 0 0 20px; display: grid; gap: 12px; }
  .plan-card dt { font-size: 1rem; opacity: 0.85; }
  .plan-card dd { margin: 0; font-size: 1.0625rem; }
  .plan-card .button { width: 100%; }
}
