/* Open Smart Pen. One page, no build step.
   White paper, the lilac and pink of the app icon, and a few colours of ink. */

@font-face {
  font-family: "Literata";
  src: url("fonts/literata-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Reenie Beanie";
  src: url("fonts/reenie-beanie-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #18203a;
  --graphite: #555d77;
  --dot: #d6dbe7;
  --line: #e4e6f0;

  /* the app icon */
  --lilac: #e7e0ff;
  --pink: #ffe1ee;

  /* inks, and the wash each one leaves */
  --violet: #5b3fe0;
  --violet-wash: #efeaff;
  --green: #14805a;
  --green-wash: #e2f6ec;
  --sky: #1a6fd0;
  --sky-wash: #e3f0ff;
  --rose: #d1335b;
  --rose-wash: #ffe6ee;
  --sun: #ffe45c;
  --amber: #a85d00;
  --amber-wash: #fff0c9;
  --pen-ink: #22347a;

  --text: "Literata", "Iowan Old Style", Georgia, serif;
  --hand: "Reenie Beanie", "Bradley Hand", cursive;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --wide: 66rem;
  --measure: 36rem;
}

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

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(52rem 34rem at 88% -6rem, var(--lilac), transparent 70%),
    radial-gradient(44rem 30rem at -4% 4rem, var(--pink), transparent 70%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--violet); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, p, ul, ol, dl, dd, figure, table, pre { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { text-wrap: balance; }
[id] { scroll-margin-top: 2rem; }
a, button, summary { touch-action: manipulation; }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  padding: 0.5rem 0.9rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; color: var(--paper); }

code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--violet-wash);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* ---------- frame ---------- */

.top, main, .foot {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  text-decoration: none;
}
.brand img { display: block; border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: 1.6rem; font-size: 1rem; }
.top nav a { text-decoration: none; color: var(--graphite); }
.top nav a:hover { color: var(--violet); }
.top nav .dl {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--violet);
  color: var(--paper);
  font-weight: 600;
}
.top nav .dl:hover { background: var(--ink); color: var(--paper); }
.top nav .gh { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--ink); font-weight: 600; }

/* ---------- hero ---------- */

.hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }

h1 {
  font-size: clamp(2.15rem, 6.4vw, 4.75rem);
  font-weight: 380;
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.lede {
  max-width: 38rem;
  margin-top: 1.75rem;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--graphite);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 2.25rem;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  background: var(--violet);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--violet);
  border-radius: 999px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button.ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink); border-color: var(--ink); }
.button.ghost:hover { background: var(--ink); color: var(--paper); }
.actions .quiet { margin-left: 0.75rem; }
.fine { margin-top: 1.1rem; max-width: var(--measure); font-size: 0.95rem; color: var(--graphite); }

/* ---------- the film ---------- */

.film {
  background: linear-gradient(135deg, var(--lilac), var(--pink) 55%, #fff1d6);
  border-radius: 24px;
  padding: clamp(1rem, 3.5vw, 3rem);
}
.film video { display: block; width: 100%; border-radius: 12px; }

.scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: stretch;
}

.sheet {
  background-color: var(--paper);
  background-image: radial-gradient(circle, var(--dot) 0.9px, transparent 1.3px);
  background-size: 15px 15px;
  background-position: 7px 7px;
  border-radius: 3px;
  box-shadow: 0 1px 1px rgba(24, 32, 58, 0.06), 0 18px 40px -18px rgba(60, 40, 140, 0.35);
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  color: var(--pen-ink);
}
.hand {
  font-family: var(--hand);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.3;
  white-space: nowrap;
  width: max-content;
  max-width: 100%;
}
.hand.h1 { font-size: clamp(2.1rem, 3.8vw, 2.75rem); }
.hand.red { color: var(--rose); margin-top: 0.6rem; }
.hand mark {
  color: inherit;
  background: linear-gradient(var(--sun), var(--sun)) no-repeat 0 62% / 100% 58%;
  padding-inline: 0.15em;
  margin-inline: -0.15em;
}
.hash { display: inline-block; width: 0.55em; height: 0.62em; vertical-align: -0.02em; }
.hash path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rule { display: block; width: 13.5rem; max-width: 80%; height: 0.6rem; margin: -0.35rem 0 0.6rem; }
.sheet path, .board path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scene .sheet path { stroke-dasharray: 1; }

.side { display: grid; gap: clamp(0.75rem, 1.6vw, 1.25rem); align-content: start; }

.file, .agent {
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(24, 32, 58, 0.05), 0 14px 30px -20px rgba(60, 40, 140, 0.4);
  overflow: hidden;
}
.file {
  font-family: var(--mono);
  font-size: clamp(0.7rem, 1.2vw, 0.84rem);
  line-height: 1.75;
}
.file .path {
  padding: 0.55rem 1rem;
  color: var(--graphite);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file .path span {
  float: right;
  margin-left: 1rem;
  font-family: var(--text);
  color: var(--violet);
}
.file pre {
  padding: 0.85rem 1rem;
  font: inherit;
  white-space: pre;
  overflow: hidden;
}
.file pre span { display: inline-block; vertical-align: top; }

.agent { padding: 1rem 1.1rem 1.1rem; font-size: 0.98rem; line-height: 1.4; }
.agent .who { font-weight: 600; margin-bottom: 0.7rem; }
.agent ul { display: grid; gap: 0.6rem; }
.agent li { position: relative; padding-left: 1.7rem; }
.agent li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--c) var(--tick) center / 62% no-repeat;
}
.agent {
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.4l2.3 2.3 4.7-5.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.c-violet { --c: var(--violet); }
.c-sky { --c: var(--sky); }
.c-green { --c: var(--green); }
.c-pink { --c: var(--rose); }
.agent li.wait::before { background: var(--paper); border: 2px dashed var(--amber); }
.pill {
  display: inline-block;
  margin-left: 0.15rem;
  padding: 0.05em 0.6em;
  border-radius: 999px;
  background: var(--amber-wash);
  color: var(--amber);
  font-size: 0.86em;
  font-weight: 600;
  white-space: nowrap;
}

figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 2rem;
  margin-top: clamp(1rem, 2.5vw, 1.75rem);
  font-size: 0.95rem;
  color: #4a4468;
}
figcaption span { max-width: 40rem; }
figcaption button {
  font: inherit;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
figcaption button:hover { color: var(--violet); }

/* The one piece of motion on the page. Without .play, and with reduced
   motion, the scene simply shows its finished state. */
@media (prefers-reduced-motion: no-preference) {
  .play .sheet .hand { animation: write var(--dur) ease-out var(--at) backwards; }
  .play .sheet path { animation: draw var(--dur) ease-out var(--at) backwards; }
  .play .sheet mark { animation: swipe 0.45s ease-out var(--at) backwards; }
  .play .file, .play .agent { animation: appear 0.5s ease-out var(--at) backwards; }
  .play .file pre span { animation: write 0.45s steps(var(--n)) var(--at) backwards; }
  .play .agent li { animation: appear 0.45s ease-out var(--at) backwards; }
}
@keyframes write {
  from { clip-path: inset(-20% 100% -20% 0); }
  to { clip-path: inset(-20% -2% -20% 0); }
}
@keyframes draw {
  from { stroke-dashoffset: 1; opacity: 0; }
  1% { opacity: 1; }
  to { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes swipe { from { background-size: 0% 58%; } to { background-size: 100% 58%; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

/* ---------- sections ---------- */

.block { padding-top: clamp(4.5rem, 10vw, 8rem); }

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.012em;
  max-width: 24ch;
}
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.intro { margin-top: 1.25rem; max-width: 42rem; color: var(--graphite); }

/* ---------- jobs ---------- */

.jobs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.jobs li { border-top: 3px solid var(--tone); padding-top: 1.25rem; }
.jobs h3 { font-size: 1.3rem; font-weight: 400; line-height: 1.3; text-wrap: pretty; }
.jobs p { margin-top: 0.7rem; color: var(--graphite); }

/* ---------- stories ---------- */

.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 24px;
  background: var(--wash);
}
.intro + .story { margin-top: 2.75rem; }
.t-violet { --wash: var(--violet-wash); --tone: var(--violet); }
.t-green { --wash: var(--green-wash); --tone: var(--green); }
.t-sky { --wash: var(--sky-wash); --tone: var(--sky); }
.t-rose { --wash: var(--rose-wash); --tone: var(--rose); }
.t-amber { --wash: #fff3d4; --tone: var(--amber); }

.story h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.story .words p { margin-top: 0.9rem; color: #3f4660; }
.story .words .care { font-size: 0.92rem; line-height: 1.5; padding: 0.6rem 0.8rem; border-radius: 10px; background: rgba(255, 255, 255, 0.7); color: var(--ink); }
.story .words .for { font-size: 0.98rem; color: var(--tone); font-weight: 600; }

.pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}
.pair .then { margin-top: 3.5rem; }
.item { display: grid; gap: 0.7rem; min-width: 0; }
.cap { font-size: 0.85rem; line-height: 1.35; text-align: center; color: #3f4660; }
.then { width: 100%; height: 1.6rem; color: var(--tone); stroke-width: 2.5; }

.sheet.small { min-height: 0; padding: 1rem 1.1rem 1.2rem; }
.sheet.small .hand { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.25; }
.wire { display: block; width: 100%; }
.wire text { font-family: var(--hand); font-size: 20px; fill: currentColor; text-anchor: middle; }

.proto {
  background: var(--paper);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: 0 14px 30px -20px rgba(60, 40, 140, 0.5);
  font-size: 0.9rem;
  line-height: 1.3;
}
.proto-title { font-weight: 600; font-size: 1.05rem; margin-bottom: 0.7rem; }
.proto .field {
  border: 1px solid var(--dot);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  color: #8a90a6;
  margin-bottom: 0.5rem;
}
.proto-button {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--violet);
  color: var(--paper);
  font-weight: 600;
}

.tree {
  background: var(--paper);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 30px -20px rgba(20, 100, 70, 0.5);
  font-family: var(--mono);
  font-size: clamp(0.7rem, 1.15vw, 0.82rem);
  line-height: 1.9;
}
.tree .in1 { padding-left: 1.2em; }
.tree .in2 { padding-left: 2.4em; }
.tree span {
  font-family: var(--text);
  font-size: 0.92em;
  font-weight: 600;
  color: var(--green);
  background: var(--green-wash);
  padding: 0.1em 0.5em;
  border-radius: 999px;
  white-space: nowrap;
}
.tree .cal { margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--line); line-height: 1.6; }
.tree .cal span { color: var(--sky); background: var(--sky-wash); }
.tree .links { padding-left: 1.2em; color: var(--violet); line-height: 1.5; }
.tree.amber span { color: var(--amber); background: var(--amber-wash); }
.tree.amber .cal span { color: var(--green); background: var(--green-wash); }

.phone {
  justify-self: center;
  width: min(100%, 11.5rem);
  padding: 0.4rem 0.4rem 0.45rem;
  border-radius: 24px;
  background: var(--ink);
  box-shadow: 0 16px 30px -18px rgba(20, 60, 140, 0.6);
  text-align: center;
}
.shot {
  /* the photo: a wall, and the whiteboard on it */
  background: linear-gradient(#c9d3e4, #b9c4d8);
  border-radius: 20px 20px 6px 6px;
  padding: 1.5rem 0.6rem 1.9rem;
}
.board {
  position: relative;
  background: #fdfdff;
  border: 3px solid #eef1f6;
  outline: 1px solid #98a3b8;
  border-radius: 3px;
  box-shadow: 0 6px 10px -6px rgba(20, 30, 60, 0.5);
  padding: 0.5rem 0.55rem 0.7rem;
  text-align: left;
  color: var(--rose);
}
.board::after {
  /* the marker tray */
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: -8px;
  height: 4px;
  border-radius: 2px;
  background: #98a3b8;
}
.shutter {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--paper);
}
.hand.marker { font-size: 1.5rem; line-height: 1.1; margin-bottom: 0.2rem; }
.board path { stroke-width: 2.2; }
.marker-g { color: var(--green); }

.diagram { display: block; width: 100%; }
.diagram rect { fill: var(--paper); stroke: var(--sky); stroke-width: 1.5; }
.diagram .link { fill: none; stroke: var(--sky); stroke-width: 1.5; }
.diagram text { font-family: var(--text); font-size: 13px; font-weight: 600; fill: var(--ink); text-anchor: middle; }

.quotes {
  background: var(--paper);
  border-radius: 14px;
  padding: 0.4rem 1rem;
  box-shadow: 0 14px 30px -20px rgba(160, 30, 70, 0.5);
  font-size: 0.84rem;
  line-height: 1.4;
}
.quotes p { padding-block: 0.6rem; }
.quotes p + p { border-top: 1px solid var(--line); }
.quotes .hand { display: block; font-size: 1.3rem; line-height: 1.1; color: var(--pen-ink); }
.quotes b { color: var(--rose); margin-right: 0.35em; font-variant-numeric: tabular-nums; }

.sub { margin-top: clamp(3rem, 6vw, 4.5rem); font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 400; }
.ideas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem 2.5rem;
  margin-top: 1.75rem;
}
.ideas .hand {
  font-size: 1.7rem;
  line-height: 1.15;
  color: var(--tone);
  white-space: normal;
  width: auto;
  padding-bottom: 0.55rem;
  margin-bottom: 0.8rem;
  border-bottom: 2px solid var(--wash);
}
.ideas .mini {
  display: block;
  width: 100%;
  max-width: 9rem;
  height: 1.95rem;
  box-sizing: content-box;
  padding-bottom: 0.55rem;
  margin-bottom: 0.8rem;
  border-bottom: 2px solid var(--wash);
  max-width: none;
  color: var(--tone);
}
.ideas .mini path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ideas h4 { margin: 0; font-size: 1.05rem; font-weight: 400; line-height: 1.4; color: var(--graphite); }
.ideas li > p:last-child { margin-top: 0.3rem; color: var(--graphite); font-size: 1rem; line-height: 1.55; }
.i-violet { --tone: var(--violet); --wash: var(--lilac); }
.i-green { --tone: var(--green); --wash: #bfe9d3; }
.i-sky { --tone: var(--sky); --wash: #c4dcfa; }
.i-rose { --tone: var(--rose); --wash: #ffc9d8; }

.more { margin-top: 2.75rem; max-width: 42rem; color: var(--graphite); }

/* ---------- the rest ---------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--tone);
  background: var(--wash);
  margin-bottom: 1.1rem;
}
.steps li { --tone: var(--violet); --wash: var(--violet-wash); }
.steps p { margin-top: 0.4rem; color: var(--graphite); }

.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem clamp(2rem, 6vw, 5rem);
}
.plain { margin-top: 1.75rem; display: grid; gap: 0.7rem; color: #3f4660; }
.plain strong { color: var(--ink); font-weight: 600; }

.need {
  width: 100%;
  margin-top: 2.5rem;
  border-collapse: collapse;
  text-align: left;
}
.need th, .need td {
  padding: 1.15rem 2rem 1.15rem 0;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.need tr:last-child th, .need tr:last-child td { border-bottom: 1px solid var(--line); }
.need th { width: 10rem; font-size: 1.2rem; font-weight: 400; }
.need td { color: var(--graphite); }
.need .price { width: 15rem; padding-right: 0; color: var(--ink); text-align: right; }

.scroll { margin-top: 2.5rem; overflow-x: auto; }
.compare { width: 100%; min-width: 44rem; border-collapse: collapse; text-align: left; font-size: 1rem; line-height: 1.45; }
.compare th, .compare td { padding: 1rem 1.5rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-weight: 600; font-size: 0.95rem; color: var(--graphite); padding-bottom: 0.7rem; }
.compare tbody th { font-weight: 400; font-size: 1.1rem; width: 15rem; }
.compare td { color: var(--graphite); }
.compare .us th, .compare .us td { background: var(--violet-wash); color: var(--ink); font-weight: 600; }
.compare .us th { padding-left: 1rem; border-radius: 12px 0 0 12px; }
.compare .us td:last-child { border-radius: 0 12px 12px 0; }
.compare .us th, .compare .us td { border-bottom-color: transparent; }
.note { margin-top: 1rem; font-size: 0.9rem; color: var(--graphite); }

.cta {
  margin-top: clamp(4.5rem, 10vw, 8rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--lilac), var(--pink) 55%, #fff1d6);
}
.cta > p:not(.fine) { margin-top: 1rem; max-width: var(--measure); color: #3f4660; font-size: 1.2rem; line-height: 1.55; }
.cta .fine { color: #4a4468; }

.faq { margin-top: 2.5rem; max-width: 46rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  font-size: 1.2rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1.25rem; max-width: var(--measure); color: var(--graphite); }

.foot {
  margin-top: clamp(5rem, 10vw, 8rem);
  padding-block: 2rem 3rem;
  font-size: 0.9rem;
  color: var(--graphite);
}
.foot p { max-width: 44rem; }
.foot p + p { margin-top: 0.4rem; }

/* ---------- small screens ---------- */

@media (max-width: 860px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .top nav a:not(.dl) { display: none; }
  .button { padding: 0.7rem 1.1rem; }
  .scene { grid-template-columns: minmax(0, 1fr); }
  .sheet { min-height: 0; }
  .steps, .jobs { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .actions .quiet { margin-left: 0; }
  .need, .need tbody, .need tr, .need th, .need td { display: block; width: auto; }
  .need tr { padding-block: 1.1rem; border-top: 1px solid var(--line); }
  .need tr:last-child { border-bottom: 1px solid var(--line); }
  .need th, .need td,
  .need tr:last-child th, .need tr:last-child td { padding: 0; border: 0; }
  .need .price { width: auto; text-align: left; margin-top: 0.25rem; }
  .need .price:empty { display: none; }
}
@media (max-width: 700px) {
  .scroll { overflow: visible; }
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .compare tbody th, .compare td { padding: 0; border: 0; }
  .compare tbody th { width: auto; font-weight: 600; margin-bottom: 0.4rem; }
  .compare td::before { content: attr(data-l) ": "; color: var(--ink); font-weight: 600; }
  .compare .us { padding: 1rem; border-radius: 12px; background: var(--violet-wash); border-bottom: 0; }
  .compare .us th, .compare .us td { background: none; border-radius: 0; padding-left: 0; font-weight: 400; }
  .compare .us th { font-weight: 600; }
}
@media (max-width: 460px) {
  .ideas { grid-template-columns: minmax(0, 1fr); }
  .pair { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .pair > * { width: 100%; max-width: 16rem; }
  .then { width: 2.75rem; transform: rotate(90deg); }
}
