/* Sitter launch site. Palette, type and rules from docs/site/BRIEF.md. */

:root {
  --paper: #f6f1e7;
  --paper-raised: #fffdf8;
  --paper-sunken: #ede6d8;
  --ink: #2a2622;
  --ink-muted: #625a51;
  --rule: #ddd3c3;
  --rule-strong: #b9ad9a;
  --sienna: #a4471f;
  --sienna-hover: #8c3b18;
  --sienna-ink: #fffaf3;
  --sienna-soft: #f3e1d6;
  --focus: #2b5f8a;
  --late: #a12a2a;
  --late-bg: #f8e3df;
  --soon: #8a5a00;
  --soon-bg: #f7ead0;
  --ontrack: #2f6b3a;
  --ontrack-bg: #e2eedf;
  --done: #4f5a66;
  --done-bg: #e6e8ea;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgb(60 40 20 / 0.06), 0 2px 6px -2px rgb(60 40 20 / 0.08);
  --shadow-warm: 0 1px 2px rgb(60 40 20 / 0.08), 0 12px 32px -8px rgb(60 40 20 / 0.18);
  --shadow-lift: 0 2px 4px rgb(60 40 20 / 0.08), 0 18px 40px -10px rgb(60 40 20 / 0.24);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --section-gap: clamp(5rem, 10vw, 9rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1c1a18;
    --paper-raised: #26231f;
    --paper-sunken: #161412;
    --ink: #ece6dc;
    --ink-muted: #b3a998;
    --rule: #3a352f;
    --rule-strong: #5a5249;
    --sienna: #e07a4f;
    --sienna-hover: #ea9068;
    --sienna-ink: #1c1a18;
    --sienna-soft: #3b2a21;
    --focus: #7fb3e0;
    --late: #ff8a80;
    --late-bg: #3d2220;
    --soon: #f2c14e;
    --soon-bg: #3a3020;
    --ontrack: #7fcf8e;
    --ontrack-bg: #203226;
    --done: #a9b4c0;
    --done-bg: #2a2e33;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3), 0 2px 6px -2px rgb(0 0 0 / 0.3);
    --shadow-warm: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px -8px rgb(0 0 0 / 0.5);
    --shadow-lift: 0 2px 4px rgb(0 0 0 / 0.3), 0 18px 40px -10px rgb(0 0 0 / 0.6);
  }
}

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(70rem 42rem at 70% -8rem, var(--sienna-soft), transparent 70%) no-repeat,
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

/* Paper grain. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
}

h3 {
  font-size: 1.375rem;
}

p {
  margin: 0;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

svg {
  display: block;
}

.defs {
  position: absolute;
}

.wrap {
  width: min(72rem, 100% - 2.5rem);
  margin-inline: auto;
}

main > section + section {
  margin-top: var(--section-gap);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  background: var(--paper-raised);
  color: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-warm);
}

.skip:focus {
  top: 1rem;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.section-lede {
  max-width: 62ch;
  margin-top: 1.25rem;
  color: var(--ink-muted);
}

.fine {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.center {
  text-align: center;
}

.panel {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- Links and buttons ---------- */

a {
  color: inherit;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform 120ms ease;
}

.btn:focus-visible {
  border-radius: var(--radius-md);
}

.btn:active,
.text-link:active,
.nav-link:active,
.brand:active {
  transform: translateY(1px);
}

.btn-outline {
  border: 1.5px solid var(--sienna);
  color: var(--sienna);
}

.btn-outline:hover {
  background: var(--sienna-soft);
  border-color: var(--sienna-hover);
}

.btn-primary {
  min-height: 52px;
  padding: 0 1.5rem;
  background: var(--sienna);
  color: var(--sienna-ink);
  font-size: 1rem;
}

.btn-primary:hover {
  background: var(--sienna-hover);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.25em;
  transition: transform 120ms ease;
}

.text-link:hover {
  color: var(--sienna);
  text-decoration-color: currentColor;
}

/* ---------- Logo ---------- */

.mark-canvas {
  fill: none;
  stroke: var(--sienna);
  stroke-width: 2;
  stroke-linejoin: round;
}

.mark-sitter {
  fill: var(--sienna);
  fill-opacity: 0.9;
}

.mark-easel {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
}

/* ---------- 1. Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  text-decoration: none;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform 120ms ease;
}

.nav-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.site-nav .btn {
  margin-left: 0.5rem;
}

@media (max-width: 599px) {
  .nav-link {
    display: none;
  }
}

/* ---------- 2. Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: clamp(2rem, 6vw, 5rem);
}

.hero h1 {
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5.25rem);
  line-height: 1.02;
}

.hero h1 em {
  color: var(--sienna);
  font-style: italic;
}

.lede {
  max-width: 62ch;
  margin-top: 1.5rem;
  color: var(--ink-muted);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}

.reassure {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.hero-visual {
  /* Bleed into the gutter only when there is gutter to spare. */
  margin-right: calc(-1 * clamp(0rem, (100vw - 72rem) / 2 - 1rem, 2.5rem));
}

.desk {
  position: relative;
  padding: 1rem 3rem 5rem 0;
}

.layer {
  transition: transform 600ms var(--ease);
  will-change: transform;
}

.layer-card {
  position: absolute;
  right: 0;
  bottom: 0.5rem;
  width: 260px;
}

/* The quote sheet is a sheet of paper: light in both schemes. */
.sheet {
  --s-paper: #fffdf8;
  --s-ink: #2a2622;
  --s-muted: #625a51;
  --s-rule: #ddd3c3;
  --rot: -3deg;
  width: 340px;
  max-width: 100%;
  margin-left: auto;
  margin-right: 2.5rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--s-paper);
  color: var(--s-ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-warm);
  transform: rotate(var(--rot));
  font-size: 0.8125rem;
  line-height: 1.45;
}

.sheet-studio {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.sheet-number {
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--s-muted);
}

.sheet-dates,
.sheet-for {
  color: var(--s-muted);
  font-size: 0.75rem;
}

.sheet-for {
  margin-top: 0.75rem;
  color: var(--s-ink);
}

.lines {
  margin: 0.9rem 0 0;
  font-variant-numeric: tabular-nums lining-nums;
}

.lines > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.2rem;
}

.lines dt,
.lines dd {
  margin: 0;
}

.lines dd {
  text-align: right;
  white-space: nowrap;
}

.lines .rule-above {
  border-top: 1px solid var(--s-rule, var(--rule));
  margin-top: 0.3rem;
  padding-top: 0.4rem;
}

.lines .double-above {
  border-top: 3px double var(--s-rule, var(--rule-strong));
  margin-top: 0.3rem;
  padding-top: 0.45rem;
  align-items: baseline;
}

.lines .total dt,
.lines .total dd {
  font-family: var(--serif);
  font-size: 1.375rem;
}

.desk-card {
  --rot: 2deg;
  transform: rotate(var(--rot));
}

.card {
  position: relative;
  padding: 0.75rem 0.85rem;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.card.is-late {
  border-left: 4px solid var(--late);
}

.desk-card .card {
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-warm);
  font-size: 0.9375rem;
}

.card-name {
  font-weight: 600;
}

.card-meta {
  color: var(--ink-muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-top: 0.5rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.pill-late {
  color: var(--late);
  background: var(--late-bg);
}

.pill-soon {
  color: var(--soon);
  background: var(--soon-bg);
}

.pill-ontrack {
  color: var(--ontrack);
  background: var(--ontrack-bg);
}

.pill-done {
  color: var(--done);
  background: var(--done-bg);
}

.stage-label {
  margin-top: 0.6rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

/* Entrance: sheet rises, card slides in 200 ms later. */
.motion .sheet {
  animation: sheet-in 700ms var(--ease) both;
}

.motion .desk-card {
  animation: card-in 600ms var(--ease) 200ms both;
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(16px) rotate(var(--rot));
  }
  to {
    opacity: 1;
    transform: rotate(var(--rot));
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateX(12px) rotate(var(--rot));
  }
  to {
    opacity: 1;
    transform: rotate(var(--rot));
  }
}

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

  .hero-visual {
    margin-right: 0;
  }

  .desk {
    padding: 0.5rem 0 4.5rem;
  }

  .sheet {
    --rot: -2deg;
    width: 88%;
    margin: 0;
  }

  .layer-card {
    width: min(240px, 64%);
  }

  .desk-card {
    --rot: 1.5deg;
  }
}

/* ---------- 3. Problem ---------- */

.problem {
  text-align: center;
  padding-block: clamp(1rem, 4vw, 3rem);
}

.problem h2 {
  max-width: 24ch;
  margin-inline: auto;
}

.problem p {
  margin-top: 1.5rem;
  color: var(--ink-muted);
}

/* ---------- 4. How it works ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 3rem;
}

.steps-line {
  position: absolute;
  left: 0;
  right: 0;
  /* Level with the numerals: panel height + numeral top margin + half a numeral. */
  top: calc(9.5rem + 1.5rem + 1.5rem);
  z-index: 0;
  width: 100%;
  height: 24px;
  transform: translateY(-50%);
  overflow: visible;
  pointer-events: none;
}

.steps-line-dash {
  fill: none;
  stroke: var(--rule-strong);
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.steps-line-reveal {
  fill: none;
  stroke: #fff;
  stroke-width: 12;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.motion .steps-line-reveal {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1200ms var(--ease) 300ms;
}

.motion .steps.is-in .steps-line-reveal {
  stroke-dashoffset: 0;
}

.step {
  position: relative;
}

.step-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 9.5rem;
  padding: 1rem;
  overflow: hidden;
}

.step-num {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--sienna);
}

.step h3 {
  margin-top: 0.5rem;
}

.step h3 + p {
  margin-top: 0.6rem;
  color: var(--ink-muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.chip {
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--ink-muted);
  background: var(--paper);
}

.chip.is-on {
  border: 1.5px solid var(--sienna);
  color: var(--sienna);
  font-weight: 600;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.stepper span,
.stepper b {
  display: inline-block;
  padding: 0.1rem 0.7rem;
}

.stepper b {
  border-inline: 1px solid var(--rule);
  font-weight: 600;
}

.printer {
  position: relative;
  width: 8rem;
  height: 7.5rem;
}

.mini-sheet {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  width: 4.6rem;
  height: 6.5rem;
  margin-left: -2.3rem;
  padding: 0.6rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fffdf8;
  border: 1px solid #ddd3c3;
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
}

.mini-sheet i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: #ddd3c3;
}

.mini-sheet i.short {
  width: 60%;
}

.mini-sheet b {
  display: block;
  margin-top: auto;
  height: 6px;
  width: 50%;
  align-self: flex-end;
  border-radius: 2px;
  background: #a4471f;
}

.motion .mini-sheet {
  transform: translateY(6px);
  transition: transform 700ms var(--ease) 400ms;
}

.motion .is-in .mini-sheet {
  transform: translateY(0);
}

.tray {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.6rem;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: var(--paper-sunken);
}

.tray::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 0.4rem;
  height: 3px;
  border-radius: 2px;
  background: var(--rule-strong);
}

.stages {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
}

.stages::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 6px;
  height: 1.5px;
  background: var(--rule-strong);
}

.stages li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6875rem;
  color: var(--ink-muted);
}

.stages span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--rule-strong);
  background: var(--paper-raised);
}

.stages .is-on {
  color: var(--sienna);
  font-weight: 600;
}

.stages .is-on span {
  border-color: var(--sienna);
  background: var(--sienna);
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .steps-line {
    display: none;
  }
}

/* ---------- 5. Quote build-up ---------- */

.quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.quote-copy > p {
  margin-top: 1.25rem;
  max-width: 62ch;
  color: var(--ink-muted);
}

.beats {
  margin-top: 2.5rem;
}

.beat {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 1.25rem;
  border-left: 2px solid var(--rule);
}

.beat h3 {
  font-size: 1.625rem;
}

.beat p {
  margin-top: 0.5rem;
  max-width: 44ch;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums lining-nums;
}

.beat.is-current {
  border-left-color: var(--sienna);
}

.buildup-wrap {
  position: sticky;
  top: 2rem;
}

.buildup {
  padding: 1.75rem 1.75rem 1.5rem;
}

.buildup-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.buildup .lines {
  margin-top: 1rem;
  font-size: 1rem;
}

.buildup .lines > div {
  position: relative;
  padding: 0.45rem 0.5rem;
  margin-inline: -0.5rem;
  border-radius: var(--radius-sm);
}

.buildup .lines .total dt,
.buildup .lines .total dd {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  line-height: 1.1;
}

.buildup .lines > div > * {
  position: relative;
}

/* Highlight sweep behind each line as it arrives. */
.buildup [data-line]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--sienna-soft);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
}

.motion .buildup [data-line] {
  color: var(--ink-muted);
}

.motion .buildup [data-line].is-on {
  color: var(--ink);
}

.motion .buildup [data-line].is-sweep::before {
  animation: sweep 900ms var(--ease) both;
}

@keyframes sweep {
  0% {
    transform: scaleX(0);
    opacity: 1;
  }
  55% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

.buildup-wrap .fine {
  margin-top: 0.85rem;
}

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

  .buildup-wrap {
    position: static;
  }

  .beats {
    margin-top: 2rem;
    display: grid;
    gap: 1.25rem;
  }

  .beat {
    min-height: 0;
  }

  .beat h3 {
    font-size: 1.375rem;
  }
}

/* ---------- 6. Board ---------- */

.window {
  margin-top: 3rem;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-warm);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--rule);
}

.window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rule-strong);
}

.url {
  margin-inline: auto;
  padding: 0.15rem 2.5rem;
  border-radius: 999px;
  background: var(--paper-sunken);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.board-body {
  padding: 1rem;
  overflow-x: auto;
}

.board-summary {
  font-size: 0.9375rem;
  font-weight: 600;
}

.board-phone-note {
  display: none;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.board {
  --col-gap: 0.6rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(10.25rem, 1fr));
  gap: var(--col-gap);
  margin-top: 0.85rem;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 15rem;
  padding: 0.6rem;
  background: var(--paper-sunken);
  border-radius: var(--radius-md);
}

.col-title {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  font-weight: 600;
}

.col-empty {
  color: var(--ink-muted);
  text-align: center;
  padding-top: 1rem;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 0.55rem;
  font-size: 0.6875rem;
  color: var(--ink-muted);
}

.card-actions span {
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
}

[data-mover] {
  z-index: 2;
}

.motion [data-mover].is-moving {
  transition: transform 220ms var(--ease);
}

.motion [data-mover-pill].is-shaking {
  animation: shake 320ms linear 1;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-1px);
  }
  50% {
    transform: translateX(1px);
  }
  75% {
    transform: translateX(-1px);
  }
}

.notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
}

.notes li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.notes svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  fill: none;
  stroke: var(--ink-muted);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notes p {
  color: var(--ink-muted);
}

.notes strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 720px) {
  .board-phone-note {
    display: block;
    margin-top: 0.25rem;
  }

  .board {
    grid-template-columns: 1fr;
  }

  .col-extra {
    display: none;
  }

  .col {
    min-height: 0;
  }
}

/* ---------- 7. Features ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.tile {
  position: relative;
  padding: 1.6rem 1.5rem 1.7rem;
  transition: transform 220ms var(--ease);
}

/* The deeper shadow fades in, so only opacity and transform animate. */
.tile::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}

.tile:hover {
  transform: translateY(-2px);
  border-color: var(--rule-strong);
}

.tile:hover::after {
  opacity: 1;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--sienna);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile h3 {
  margin-top: 1.1rem;
}

.tile p {
  margin-top: 0.5rem;
  color: var(--ink-muted);
}

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

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

/* ---------- 8. The real app ---------- */

.window-live iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 760px;
  border: 0;
  background: var(--paper);
}

.try-link {
  margin-top: 1.5rem;
  text-align: center;
}

.try .fine {
  margin-top: 0.25rem;
}

@media (max-width: 719px) {
  .window-live iframe {
    height: 640px;
  }
}

/* ---------- 9. Trust strip ---------- */

.trust ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.trust li + li::before {
  content: "·";
  padding-inline: 0.85rem;
}

@media (max-width: 600px) {
  .trust ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    text-align: center;
  }

  .trust li + li::before {
    content: none;
  }
}

/* ---------- 10. Closing ---------- */

.closing-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--sienna-soft);
  border-radius: var(--radius-lg);
}

.mark-lg {
  width: 48px;
  height: 48px;
}

.closing-block h2 {
  margin-top: 1.5rem;
  max-width: 20ch;
}

.closing-block p {
  margin-top: 1rem;
  max-width: 62ch;
  color: var(--ink-muted);
}

.closing-block .btn {
  margin-top: 2rem;
}

.mark-fill {
  clip-path: inset(0);
}

.motion [data-closing] .mark-fill {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 700ms var(--ease);
}

.motion [data-closing].is-in .mark-fill {
  clip-path: inset(0);
}

/* ---------- 11. Footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: var(--section-gap);
  padding-block: 1.75rem 2.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* ---------- Reveal on scroll ---------- */

.motion [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 500ms var(--ease),
    transform 500ms var(--ease);
}

.motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Phone ---------- */

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  .lede {
    font-size: 1.0625rem;
  }

  .fine,
  .reassure,
  .site-footer {
    font-size: 0.875rem;
  }
}

/* ---------- Reduced motion: everything static, in its final state ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal],
  .mini-sheet,
  [data-mover] {
    opacity: 1 !important;
    transform: none !important;
  }

  .steps-line-reveal {
    stroke-dashoffset: 0 !important;
  }

  .mark-fill {
    clip-path: none !important;
  }
}
