/* Proseview's landing page. Warm, calm literary-press aesthetic: bright fine
   book paper (#faf8f4) + Newsreader serif prose + graphite-light product media
   in day mode; cool charcoal (#111215) + graphite-dark media in dark mode.
   Zero external CDN requests. */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf8f4;
  --paper-linen: #f2eee6;
  --card: #ffffff;
  --card-subtle: #f6f3ec;
  --ink: #1f1d1a;
  --body-ink: #2b2824;
  --muted: #5c574f;
  --subtle: #7c766c;
  --line: rgba(31, 29, 26, 0.10);
  --line-strong: rgba(31, 29, 26, 0.19);
  --accent: #b8423d;
  --accent-hover: #a23732;
  --accent-ink: #fffcf9;
  --accent-soft: rgba(184, 66, 61, 0.06);
  --accent-border: rgba(184, 66, 61, 0.24);
  --shot-bg: #fcfcfd;
  --code-bg: #f1ede4;
  --code-ink: #26231f;
  --shadow: 0 20px 52px -20px rgba(31, 26, 18, 0.18), 0 2px 10px -2px rgba(31, 26, 18, 0.06);
  --shadow-soft: 0 10px 28px -14px rgba(31, 26, 18, 0.10), 0 1px 4px rgba(31, 26, 18, 0.04);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Hero editorial margin-note callouts */
  --callout-parchment-bg: #f3e8d7;
  --callout-parchment-hl: #e6cfa9;
  --callout-parchment-line: #b48543;
  --callout-sage-bg: #e1ece0;
  --callout-sage-hl: #c7dcc5;
  --callout-sage-line: #5b8759;
  --callout-rose-bg: #f4dfdb;
  --callout-rose-hl: #e7c1ba;
  --callout-rose-line: #bf5750;
  --callout-slate-bg: #e3e9ef;
  --callout-slate-hl: #cbd6e2;
  --callout-slate-line: #5b7693;
  --callout-lavender-bg: #ebe3f1;
  --callout-lavender-hl: #d6c5e4;
  --callout-lavender-line: #7c5c99;
  --callout-ink: #24211d;
  --callout-shadow: rgba(31, 26, 18, 0.10);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111215;
  --paper-linen: #0a0b0e;
  --card: #181a1f;
  --card-subtle: #15171c;
  --ink: #f1efe9;
  --body-ink: #dad7d0;
  --muted: #9da1ab;
  --subtle: #767a84;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #e0645e;
  --accent-hover: #ea746e;
  --accent-ink: #111215;
  --accent-soft: rgba(224, 100, 94, 0.10);
  --accent-border: rgba(224, 100, 94, 0.30);
  --shot-bg: #1b1d22;
  --code-bg: #181a20;
  --code-ink: #eceae4;
  --shadow: 0 28px 68px -18px rgba(0, 0, 0, 0.65), 0 4px 16px -4px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 12px 30px -14px rgba(0, 0, 0, 0.45);

  --callout-parchment-bg: #272119;
  --callout-parchment-hl: rgba(219, 174, 107, 0.24);
  --callout-parchment-line: #d4a45e;
  --callout-sage-bg: #1a241c;
  --callout-sage-hl: rgba(132, 188, 138, 0.24);
  --callout-sage-line: #7eb583;
  --callout-rose-bg: #291c1c;
  --callout-rose-hl: rgba(224, 100, 94, 0.26);
  --callout-rose-line: #e06b65;
  --callout-slate-bg: #1b222a;
  --callout-slate-hl: rgba(136, 168, 204, 0.24);
  --callout-slate-line: #86a7cb;
  --callout-lavender-bg: #231d2a;
  --callout-lavender-hl: rgba(178, 146, 212, 0.24);
  --callout-lavender-line: #b292d4;
  --callout-ink: #eeeae3;
  --callout-shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--body-ink);
  font: 18.5px/1.64 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(36px, 4.7vw, 56px);
  line-height: 1.07;
}

h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

h3 {
  font-size: 22px;
  letter-spacing: -0.015em;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}

main > section,
.linen-band > section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 76px 28px;
}

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 13px 28px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.top-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 27px;
  height: 27px;
  flex: none;
}

.brand-mark rect {
  fill: var(--accent);
}

.top nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font: 500 14px/1 var(--sans);
}

.top nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 140ms ease;
}

.top nav a:hover {
  color: var(--ink);
}

.top nav .top-cta {
  color: var(--accent-ink);
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 140ms ease;
}

.top nav .top-cta:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--card);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

/* Buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font: 500 15px/1.2 var(--sans);
  transition: border-color 140ms ease, background-color 140ms ease;
}

.button:hover {
  border-color: var(--muted);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.button.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Eyebrow */

.eyebrow {
  margin: 0 0 12px;
  font: 600 11.5px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

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

/* Hero & Annotated Centerpiece */

.hero {
  max-width: 1260px !important;
  text-align: center;
  padding-top: 26px !important;
  padding-bottom: 64px !important;
}

.hero-art {
  display: block;
  max-width: 196px;
  margin: 0 auto 12px;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 86px;
  object-fit: contain;
}

.hero .eyebrow {
  margin-bottom: 10px;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto 14px;
  text-wrap: balance;
}

.lede {
  text-wrap: balance;
  max-width: 650px;
  margin: 0 auto 24px;
  color: var(--muted);
  font: 400 20px/1.55 var(--serif);
}

.fine {
  margin: 13px 0 0;
  color: var(--muted);
  font: 400 14px/1.5 var(--sans);
}

.fine a,
.notes a {
  color: var(--ink);
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}

.fine a:hover,
.notes a:hover {
  text-decoration-color: var(--accent);
}

.hero-cli {
  max-width: 660px;
  margin: 18px auto 0;
  text-align: left;
}

.hero-cli-tabs {
  display: inline-flex;
  gap: 2px;
  margin: 0 0 6px 2px;
}

.hero-cli-tabs button {
  font: 500 12px/1 var(--sans);
  padding: 5px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.hero-cli-tabs button:hover {
  color: var(--ink);
}

.hero-cli-tabs button[aria-selected="true"] {
  background: var(--code-bg);
  color: var(--ink);
  font-weight: 600;
}

.hero-install {
  margin: 0;
  padding: 8px 8px 8px 14px;
  box-shadow: var(--shadow-soft);
}

.hero-install code {
  font-size: 13px;
}

.hero-stage {
  position: relative;
  margin: 34px auto 0;
  padding: 0 17.5%;
}

.hero-shot {
  margin: 0;
}

.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 3;
}

.hero-lines path {
  fill: none;
  stroke: var(--hl-color);
  stroke-width: 1.75;
  stroke-linecap: round;
  opacity: 0.85;
}

.hero-lines .hl-origin {
  fill: var(--hl-color);
}

.hero-lines .hl-dot {
  fill: var(--hl-color);
  stroke: var(--card);
  stroke-width: 1.6;
}

.hero-lines .hl-halo {
  fill: var(--hl-color);
  opacity: 0.20;
}

.hl-parchment { --hl-color: var(--callout-parchment-line); }
.hl-sage      { --hl-color: var(--callout-sage-line); }
.hl-rose      { --hl-color: var(--callout-rose-line); }
.hl-slate     { --hl-color: var(--callout-slate-line); }

.hero-callouts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-callout {
  position: absolute;
  width: 15.8%;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--callout-ink);
  font: 400 15px/1.34 var(--serif);
  text-align: center;
  text-wrap: balance;
  filter: drop-shadow(0 6px 14px var(--callout-shadow));
  z-index: 2;
}

.hero-callout b {
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-callout.c-parchment {
  top: 11.5%;
  left: 0;
  background: var(--callout-parchment-bg);
  transform: rotate(-1.1deg);
}

.hero-callout.c-parchment b {
  background: var(--callout-parchment-hl);
}

.hero-callout.c-sage {
  bottom: 9%;
  left: 0;
  background: var(--callout-sage-bg);
  transform: rotate(1.0deg);
}

.hero-callout.c-sage b {
  background: var(--callout-sage-hl);
}

.hero-callout.c-rose {
  top: 18%;
  right: 0;
  background: var(--callout-rose-bg);
  transform: rotate(1.0deg);
}

.hero-callout.c-rose b {
  background: var(--callout-rose-hl);
}

.hero-callout.c-slate {
  bottom: 3%;
  right: 0;
  background: var(--callout-slate-bg);
  transform: rotate(-0.9deg);
}

.hero-callout.c-slate b {
  background: var(--callout-slate-hl);
}

/* Clean, bezel-free product media */

.shot {
  margin: 0;
}

.shot img,
.shot video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--shot-bg);
  box-shadow: var(--shadow);
}

.shot img.zoomable {
  cursor: zoom-in;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.shot img.zoomable:hover {
  border-color: var(--line-strong);
}

/* Calm full-screen pan & zoom lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 180ms ease;
}

:root[data-theme="dark"] .lightbox {
  background: rgba(11, 12, 15, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
}

.lb-bar {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.lb-btn,
.lb-pct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.lb-btn {
  width: 30px;
  font: 500 17px/1 var(--sans);
}

.lb-pct {
  min-width: 50px;
  padding: 0 8px;
  font: 500 12px/1 var(--mono);
  font-variant-numeric: tabular-nums;
}

.lb-btn:hover:not(:disabled),
.lb-pct:hover {
  background: var(--code-bg);
  color: var(--ink);
}

.lb-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.lb-sep {
  width: 1px;
  height: 16px;
  margin: 0 3px;
  background: var(--line-strong);
}

.lb-stage {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 68px 28px 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  cursor: zoom-out;
}

.lb-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--shot-bg);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transform-origin: center center;
  will-change: transform;
}

.lb-img.is-animating {
  transition: transform 190ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox[data-zoomed="true"] .lb-img {
  cursor: grab;
}

.lightbox.is-dragging[data-zoomed="true"] .lb-img,
.lightbox.is-dragging[data-zoomed="true"] .lb-stage {
  cursor: grabbing;
}

.lb-hint {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  padding: 5px 13px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  border: 1px solid var(--line);
  color: var(--muted);
  font: 400 12px/1.3 var(--sans);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox[data-zoomed="true"] .lb-hint {
  opacity: 0;
}

.lb-vctrl {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: min(520px, calc(100% - 36px));
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
  opacity: 0.96;
}

.lb-vctrl[hidden] {
  display: none;
}

.lb-img[hidden] {
  display: none;
}

.write-search h3 {
  font-size: clamp(24px, 2.8vw, 32px);
  margin-bottom: 12px;
}

.spotlight-annotated {
  max-width: 1260px !important;
}

.spotlight-annotated .shot {
  max-width: none;
}

.dash-stage {
  margin-top: 28px;
}

.dash-callouts .c-parchment {
  top: 5%;
}

.dash-callouts .c-sage {
  bottom: 4%;
}

.dash-callouts .c-rose {
  top: 2.5%;
}

.dash-callouts .c-slate {
  top: 40%;
  bottom: auto;
}

/* Dual-view Beat Map annotations (Top Strip & Side Panel) */

.bm-stage {
  margin-top: 0;
}

.bm-stage[data-view="strip"] .bm-for-sidebar,
.bm-stage[data-view="sidebar"] .bm-for-strip {
  display: none !important;
}

.bm-strip-callouts .c-parchment {
  top: 4%;
  left: 0;
}

.bm-strip-callouts .c-rose {
  top: auto;
  bottom: 5%;
  left: 0;
  right: auto;
  transform: rotate(1.0deg);
}

.bm-strip-callouts .c-slate {
  top: 2%;
  bottom: auto;
  right: 0;
  transform: rotate(0.9deg);
}

.bm-strip-callouts .c-sage {
  top: 32%;
  bottom: auto;
  left: auto;
  right: 0;
  transform: rotate(-0.9deg);
}

.bm-sidebar-callouts .c-rose {
  top: 40%;
  left: 0;
  right: auto;
  transform: rotate(-1.0deg);
}

.bm-sidebar-callouts .c-parchment {
  top: 13%;
  left: auto;
  right: 0;
  transform: rotate(1.0deg);
}

.bm-sidebar-callouts .c-sage {
  top: 50%;
  bottom: auto;
  left: auto;
  right: 0;
  transform: rotate(-0.9deg);
}

.bm-sidebar-callouts .c-slate {
  top: auto;
  bottom: 9%;
  right: 0;
  transform: rotate(0.9deg);
}

.shot figcaption {
  margin-top: 14px;
  color: var(--muted);
  font: italic 15.5px/1.5 var(--serif);
}

/* Calm, hairline video playback controls */

.vctrl {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 0 4px;
  opacity: 0.72;
  transition: opacity 180ms ease;
}

.vctrl:hover,
.vctrl:focus-within,
.vctrl[data-paused="true"] {
  opacity: 1;
}

.vctrl-phone {
  width: 268px;
  max-width: 100%;
  margin: 14px auto 0;
}

.vctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  flex: none;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.vctrl-btn:hover {
  color: var(--ink);
  border-color: var(--muted);
}

.vctrl-btn svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
}

.vctrl-icon-play {
  display: none;
  margin-left: 1px;
}

.vctrl[data-paused="true"] .vctrl-icon-pause {
  display: none;
}

.vctrl[data-paused="true"] .vctrl-icon-play {
  display: block;
}

.vctrl-track {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 22px;
  display: flex;
  align-items: center;
}

.vctrl-rail {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: height 140ms ease;
}

.vctrl-track:hover .vctrl-rail,
.vctrl-track:focus-within .vctrl-rail {
  height: 4px;
}

.vctrl-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: 999px;
  background: var(--muted);
  transition: background-color 160ms ease;
}

.vctrl:hover .vctrl-fill,
.vctrl:focus-within .vctrl-fill,
.vctrl[data-paused="true"] .vctrl-fill {
  background: var(--accent);
}

.vctrl-mark {
  position: absolute;
  top: -1px;
  bottom: -1px;
  width: 1.5px;
  background: var(--paper);
  opacity: 0.85;
  pointer-events: none;
}

.vctrl-thumb {
  position: absolute;
  left: 0%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--card);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 140ms ease, opacity 140ms ease;
}

.vctrl:hover .vctrl-thumb,
.vctrl:focus-within .vctrl-thumb,
.vctrl[data-paused="true"] .vctrl-thumb {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.vctrl-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.vctrl-time {
  flex: none;
  font: 400 11.5px/1 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--subtle);
  user-select: none;
}

.phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Editorial notes (replaces bullet-point lists) */

.prose {
  margin: 0 0 22px;
  color: var(--body-ink);
  font-size: 18.5px;
  line-height: 1.66;
}

.notes {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.notes li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.56;
}

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

kbd {
  font: 500 12.5px var(--mono);
  padding: 2px 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--card);
  color: var(--ink);
}

.prose code,
.notes code,
.faq code,
.fine code,
.card-copy code {
  font: 13.5px var(--mono);
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--code-bg);
  color: var(--code-ink);
}

/* Section dividers & split rows */

.section-rule {
  border-top: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
  gap: 52px;
  align-items: center;
}

.feature.flip {
  grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr);
}

.feature.flip .copy {
  order: 2;
}

.feature h2 {
  margin-bottom: 14px;
}

/* Full-width centered spotlight */

.spotlight {
  text-align: center;
}

.spotlight > .prose {
  max-width: 650px;
  margin: 0 auto 28px;
}

.spotlight .shot {
  max-width: 980px;
  margin: 0 auto;
}

.spotlight-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 28px auto 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  text-align: left;
}

.spotlight-notes li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.spotlight-notes strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 600;
}

/* Beat Map segmented layout toggle */

.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin: 0 auto 22px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.view-toggle button {
  font: 500 13.5px/1 var(--sans);
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.view-toggle button:hover {
  color: var(--ink);
}

.view-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}

/* Chapter 1: Annotated folder diagram + Write & Dashboard pair */

.shape-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.shape-head .prose {
  margin-bottom: 0;
}

.folder-diagram-card {
  margin: 0 auto 52px;
  padding: 28px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.folder-diagram {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.fd-tree-bg { fill: var(--card-subtle); stroke: var(--line); stroke-width: 1; }
.fd-mono { font: 500 14.5px var(--mono); fill: var(--code-ink); }
.fd-mono-dim { font: 400 14px var(--mono); fill: var(--muted); }
.fd-branch { stroke: var(--line-strong); stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fd-arrow { stroke: var(--accent); stroke-width: 1.6; fill: none; stroke-linecap: round; opacity: 0.8; }
.fd-dot { fill: var(--accent); }
.fd-node-bg { fill: var(--paper); stroke: var(--line); stroke-width: 1; }
.fd-num { font: 600 11px var(--sans); letter-spacing: 0.08em; fill: var(--accent); }
.fd-title { font: 600 19px var(--serif); fill: var(--ink); }
.fd-desc { font: 400 14.5px var(--serif); fill: var(--muted); }
.fd-pill { fill: var(--accent-soft); stroke: var(--accent-border); stroke-width: 1; }

.studio-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.studio-card h3 {
  margin: 18px 0 6px;
  font-size: 22px;
}

.studio-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.56;
}

/* Warm linen band for Optional AI (light on day theme, recessed obsidian on dark) */

.linen-band {
  background: var(--paper-linen);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ai-intro {
  text-align: center;
  padding-top: 72px !important;
  padding-bottom: 24px !important;
}

.ai-art {
  display: block;
  max-width: 340px;
  margin: 0 auto 20px;
}

.ai-art img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.92;
}

.ai-intro h2 {
  max-width: 720px;
  margin: 0 auto 14px;
  text-wrap: balance;
}

.ai-lede {
  max-width: 620px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 18.5px;
  line-height: 1.6;
}

.agent-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-family: var(--sans);
}

.agent-pills li {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
}

.agent-pills span {
  color: var(--muted);
  font-weight: 400;
}

/* AI secondary 3-card showcase (Ask, The Group, Illustrations) */

.ai-trio {
  padding-top: 56px !important;
  padding-bottom: 76px !important;
}

.ai-trio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.ai-card-wide {
  grid-column: 1 / -1;
}

.ai-card h3 {
  margin: 18px 0 8px;
  font-size: 24px;
}

.ai-card .card-copy {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.58;
}

.ai-card-wide-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px;
  align-items: center;
}

.illus-media {
  display: grid;
  grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr);
  gap: 20px;
  align-items: center;
}

.illus-menu img {
  border-radius: 12px;
}

/* Live-synced editorial callouts for Review, Ask, Group & Phone videos */

.spotlight-review {
  max-width: 1260px !important;
}

.review-stage {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding-right: 242px;
}

.review-stage .shot {
  max-width: none;
  margin: 0;
}

.side-callout,
.bar-callout {
  border-radius: 11px;
  color: var(--callout-ink);
  text-align: left;
  transition: top 380ms cubic-bezier(0.22, 1, 0.36, 1), background-color 260ms ease;
}

.side-callout.c-parchment, .bar-callout.c-parchment { background: var(--callout-parchment-bg); --pc-hl: var(--callout-parchment-hl); --pc-line: var(--callout-parchment-line); }
.side-callout.c-sage,      .bar-callout.c-sage      { background: var(--callout-sage-bg);      --pc-hl: var(--callout-sage-hl);      --pc-line: var(--callout-sage-line); }
.side-callout.c-rose,      .bar-callout.c-rose      { background: var(--callout-rose-bg);      --pc-hl: var(--callout-rose-hl);      --pc-line: var(--callout-rose-line); }
.side-callout.c-slate,     .bar-callout.c-slate     { background: var(--callout-slate-bg);     --pc-hl: var(--callout-slate-hl);     --pc-line: var(--callout-slate-line); }
.side-callout.c-lavender,  .bar-callout.c-lavender  { background: var(--callout-lavender-bg);  --pc-hl: var(--callout-lavender-hl);  --pc-line: var(--callout-lavender-line); }

.side-callout {
  position: absolute;
  top: 14%;
  width: 204px;
  padding: 13px 15px 12px;
  filter: drop-shadow(0 6px 14px var(--callout-shadow));
  z-index: 3;
}

.side-callout-left {
  left: 0;
}

.side-callout-right {
  right: 0;
}

#phoneCallout[data-step="0"] { top: 13%; }
#phoneCallout[data-step="1"] { top: 34%; }
#phoneCallout[data-step="2"] { top: 48%; }
#phoneCallout[data-step="3"] { top: 28%; }
#phoneCallout[data-step="4"] { top: 64%; }

#reviewCallout[data-step="0"] { top: 10%; }
#reviewCallout[data-step="1"] { top: 30%; }
#reviewCallout[data-step="2"] { top: 42%; }
#reviewCallout[data-step="3"] { top: 58%; }
#reviewCallout[data-step="4"] { top: 68%; }

#askCallout[data-step="0"] { top: 16%; }
#askCallout[data-step="1"] { top: 26%; }
#askCallout[data-step="2"] { top: 44%; }

#roomCallout[data-step="0"] { top: 16%; }
#roomCallout[data-step="1"] { top: 32%; }
#roomCallout[data-step="2"] { top: 46%; }
#roomCallout[data-step="3"] { top: 60%; }

.callout-step {
  display: block;
  margin-bottom: 5px;
  font: 600 10.5px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pc-line);
}

.callout-text {
  margin: 0;
  font: 400 15.5px/1.36 var(--serif);
  color: var(--callout-ink);
  text-wrap: balance;
}

.callout-text b {
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--pc-hl);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.callout-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
}

.callout-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pc-line) 32%, transparent);
  cursor: pointer;
  transition: width 220ms ease, background-color 220ms ease;
}

.callout-dots button[aria-selected="true"] {
  width: 18px;
  background: var(--pc-line);
}

/* Crisp leader line + target dot connecting side cards to the video */
.side-connector {
  position: absolute;
  top: 50%;
  width: 66px;
  height: 2px;
  transform: translateY(-50%);
  background: var(--pc-line);
  opacity: 0.85;
  pointer-events: none;
  transition: background-color 260ms ease;
}

.side-callout-left .side-connector {
  left: 100%;
}

.side-callout-right .side-connector {
  right: 100%;
  width: 58px;
}

.side-connector::before,
.side-connector::after {
  content: "";
  position: absolute;
  top: 50%;
  border-radius: 50%;
  background: var(--pc-line);
  transform: translateY(-50%);
}

.side-callout-left .side-connector::before {
  left: -3px;
  width: 5px;
  height: 5px;
}

.side-callout-left .side-connector::after {
  right: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--card);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc-line) 24%, transparent);
}

.side-callout-right .side-connector::before {
  right: -3px;
  width: 5px;
  height: 5px;
}

.side-callout-right .side-connector::after {
  left: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--card);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc-line) 24%, transparent);
}

/* Compact inline synced narration bar for 2-column Ask & Group cards */
.bar-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 11px 15px;
  min-height: 68px;
  box-shadow: var(--shadow-soft);
}

.bar-callout-body {
  min-width: 0;
}

.bar-callout .callout-step {
  margin-bottom: 3px;
}

.bar-callout .callout-text {
  font-size: 15px;
  line-height: 1.32;
}

.bar-callout .callout-dots {
  margin-top: 0;
  flex: none;
}

/* Realistic smartphone hardware mockup (Remote mode) */

#phone {
  overflow-x: clip;
}

.phone-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: 248px;
  max-width: 560px;
  margin: 0 auto;
}

.phone-mock {
  position: relative;
  width: 300px;
  max-width: calc(100% - 14px);
  margin: 0;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(148deg, #32343a 0%, #16171b 46%, #292b31 100%);
  box-shadow:
    0 28px 60px -18px rgba(24, 20, 15, 0.36),
    0 6px 18px -6px rgba(24, 20, 15, 0.16),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.18),
    inset 0 0 0 3px rgba(0, 0, 0, 0.72);
}

:root[data-theme="dark"] .phone-mock {
  background: linear-gradient(148deg, #3f434c 0%, #1c1e24 48%, #2e3139 100%);
  box-shadow:
    0 32px 72px -18px rgba(0, 0, 0, 0.80),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.24),
    inset 0 0 0 3px rgba(0, 0, 0, 0.78);
}

/* Left side hardware volume & silent buttons */
.phone-mock::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 108px;
  width: 3px;
  height: 26px;
  border-radius: 2px 0 0 2px;
  background: #2b2d33;
  box-shadow:
    0 42px 0 0 #2b2d33,
    0 42px 0 0 #2b2d33,
    0 82px 0 0 #2b2d33;
}

/* Right side power button */
.phone-mock::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 156px;
  width: 3px;
  height: 66px;
  border-radius: 0 2px 2px 0;
  background: #2b2d33;
}

.phone-screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: var(--shot-bg);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  background: var(--shot-bg);
}

.phone-island {
  position: relative;
  display: block;
  width: 84px;
  height: 21px;
  border-radius: 999px;
  background: #0b0c0e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-island::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 35% 35%, #2a3d56 0%, #0e131b 65%, #07080a 100%);
}

.phone-screen video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--shot-bg);
}

.phone-home {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  background: var(--shot-bg);
}

.phone-home span {
  display: block;
  width: 104px;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 28%, transparent);
}

/* Ecosystem band (Obsidian, Git, VS Code) */

.tools-band {
  text-align: center;
  padding-top: 12px !important;
  padding-bottom: 68px !important;
}

.tools-surface {
  background: var(--paper-linen);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 38px;
}

.tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
  text-align: left;
}

.tools > div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.tools h3 {
  margin-bottom: 8px;
}

.tools p {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.58;
}

/* Comparison */

.compare {
  max-width: 1260px !important;
}

.compare h2 {
  text-align: center;
}

.compare-scroll {
  overflow-x: auto;
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.compare table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  font: 400 14px/1.46 var(--sans);
}

.compare th,
.compare td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  padding-top: 19px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line-strong);
}

.compare tbody th {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

.compare td {
  color: var(--muted);
}

.compare .us {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 500;
  border-left: 1px solid var(--accent-border);
  border-right: 1px solid var(--accent-border);
}

.compare thead .us {
  color: var(--accent);
  border-top: 3px solid var(--accent);
}

.compare tbody th,
.compare thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--card);
}

.compare-swipe {
  display: none;
  margin: 10px 0 0;
  text-align: center;
  color: var(--subtle);
  font: 500 12.5px var(--sans);
}

.compare-note {
  margin: 16px 0 0;
  color: var(--muted);
  font: 400 13.5px/1.5 var(--sans);
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Install */

.ways h2,
.faq h2,
.closing h2 {
  text-align: center;
}

.cards.single {
  max-width: 660px;
  margin: 32px auto 0;
}

.ways-note {
  margin: 20px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 17px;
}

.ways-note a {
  color: var(--ink);
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}

.ways-note a:hover {
  text-decoration-color: var(--accent);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.card .tag {
  margin: 0 0 10px;
  color: var(--accent);
  font: 500 14px var(--sans);
}

.card ul {
  margin: 8px 0 18px;
  padding-left: 20px;
  color: var(--muted);
  font: 400 15px/1.55 var(--sans);
}

.card li {
  margin: 6px 0;
}

.card .button {
  align-self: flex-start;
  margin-top: 10px;
}

.install {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 10px 10px 16px;
  background: var(--code-bg);
  color: var(--code-ink);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
}

.install code {
  flex: 1;
  min-width: 0;
  font: 13.5px var(--mono);
  overflow-x: auto;
  white-space: nowrap;
}

.install button {
  font: 500 13px var(--sans);
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}

.install button:hover {
  border-color: var(--muted);
}

.os-tabs {
  display: flex;
  gap: 6px;
  margin: 4px 0 14px;
  border-bottom: 1px solid var(--line);
}

.os-tabs button {
  font: 500 14px var(--sans);
  padding: 8px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.os-tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.os-panel .step {
  margin: 0 0 10px;
  color: var(--muted);
  font: 400 14.5px/1.5 var(--sans);
}

.os-panel kbd {
  font: 12px var(--mono);
  padding: 1px 5px;
}

/* FAQ */

.faq {
  max-width: 740px !important;
}

.faq h2 {
  margin-bottom: 28px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq details:first-of-type {
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font: 400 22px/1 var(--sans);
  color: var(--muted);
}

.faq details[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

/* Closing and footer */

.closing {
  text-align: center;
  padding-top: 64px !important;
  padding-bottom: 84px !important;
}

.closing h2 {
  margin-bottom: 24px;
}

footer {
  text-align: center;
  padding: 40px 24px 52px;
  color: var(--muted);
  font: 400 14px/1.5 var(--sans);
  border-top: 1px solid var(--line);
}

footer .end {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17.5px;
  color: var(--ink);
  margin: 0 0 10px;
}

footer .heart {
  color: var(--accent);
  font-style: normal;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--ink);
}

/* Responsive */

@media (max-width: 1179px) {
  .compare-swipe {
    display: block;
  }

  .hero-stage {
    padding: 0;
  }

  .hero-lines {
    display: none;
  }

  .hero-callouts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
  }

  .hero-callout {
    position: static;
    width: auto;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.3;
    border: 1px solid var(--line);
    transform: none !important;
    filter: none;
  }

  .phone-stage,
  .review-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 12px;
  }

  /* Compact bordered narration bar tucked right ABOVE the video/phone */
  .side-callout {
    position: static;
    order: -1;
    width: 100%;
    max-width: 680px;
    min-height: 58px;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 3px;
    align-items: center;
    border: 1px solid color-mix(in srgb, var(--pc-line) 28%, transparent);
    filter: none;
  }

  .side-callout .callout-step {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    font-size: 10px;
  }

  .side-callout .callout-text {
    grid-column: 1;
    grid-row: 2;
    font-size: 14.5px;
    line-height: 1.3;
  }

  .side-callout .callout-dots {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
    align-self: center;
  }

  .phone-stage .side-callout {
    max-width: 340px;
  }

  .side-connector {
    display: none;
  }
}

@media (max-width: 860px) {
  main > section,
  .linen-band > section {
    padding: 52px 18px;
  }

  .top {
    padding: 12px 18px;
  }

  .top nav {
    gap: 12px;
  }

  .top nav a:not(.top-cta) {
    display: none;
  }

  .hero {
    padding-top: 20px !important;
  }

  .folder-diagram-card {
    padding: 18px 14px;
  }

  .studio-pair,
  .spotlight-notes,
  .ai-trio-grid,
  .ai-card-wide-inner,
  .illus-media,
  .tools,
  .feature,
  .feature.flip {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .feature.flip .copy {
    order: 0;
  }

  .phone-mock {
    width: 264px;
  }

  .tools-surface {
    padding: 34px 20px;
  }

  .card {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .hero-callouts {
    gap: 8px;
  }

  .hero-callout {
    padding: 9px 10px;
    font-size: 13px;
    line-height: 1.28;
  }

  .side-callout {
    padding: 9px 12px;
    min-height: 54px;
  }

  .side-callout .callout-text {
    font-size: 13.5px;
  }

  .phone-mock {
    width: 244px;
    padding: 9px;
    border-radius: 38px;
  }

  .phone-screen {
    border-radius: 30px;
  }
}
