/* Quotrr v5: proof of work.
 * Paper white, Home Depot orange (#F96302) as the brand color, ink type.
 * Archivo variable for display, IBM Plex Mono for numbers.
 */

:root {
  --paper: #F7F5F0;
  --surface: #FFFFFF;
  --ink: #161616;
  --muted: #6E6960;
  --line: #E5DFD3;
  --orange: #F96302;
  --orange-deep: #C94F00;
  --green: #1E6B4F;
  --gold: #C9A227;
  --silver: #8C8C8C;
  --bronze: #9C6B4A;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.mono { font-family: var(--font-mono); }
.accent { color: var(--orange); }
a { color: inherit; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0);
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(16px, 2.5vw, 40px);
  padding: 0 clamp(16px, 3vw, 48px);
  height: 70px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-weight: 900; font-variation-settings: "wdth" 118;
  font-size: 22px; letter-spacing: 0.02em; text-decoration: none;
}
.wordmark-dot { color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-links a {
  text-decoration: none; font-weight: 600; font-size: 15px;
  border-bottom: 2px solid transparent; padding: 2px 0;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-links a:hover { border-color: var(--orange); color: var(--orange-deep); }

.nav-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-search input[type="search"] {
  font-family: var(--font-sans); font-size: 14px; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 8px 16px; width: clamp(120px, 12vw, 180px); outline: none;
  transition: border-color 0.25s var(--ease), width 0.3s var(--ease);
}
.nav-search input[type="search"]:focus { border-color: var(--orange); width: clamp(160px, 16vw, 240px); }
.lang {
  font-size: 12px; font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 12px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.lang:hover { border-color: var(--orange); background: var(--orange); color: #fff; }
.nav-cta {
  background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  transition: background 0.25s var(--ease), transform 0.18s var(--ease);
}
.nav-cta:hover { background: var(--orange-deep); }
.nav-cta:active { transform: scale(0.97); }

/* ---------- Buttons & forms ---------- */

.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary { background: var(--orange); color: #fff; border: 2px solid var(--orange); }
.btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn-primary:active { transform: scale(0.97); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.capture { display: flex; gap: 10px; max-width: 470px; }
.capture input {
  flex: 1; min-width: 0;
  font-family: var(--font-sans); font-size: 16px; color: var(--ink);
  background: var(--surface); border: 2px solid var(--ink); border-radius: 999px;
  padding: 14px 20px; outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.capture input::placeholder { color: var(--muted); }
.capture input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 16%, transparent); }
.capture-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.capture-note.ok { color: var(--green); font-weight: 600; }
.capture-note.err { color: var(--orange-deep); font-weight: 600; }

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

.hero {
  display: flex; flex-direction: column; justify-content: center;
  max-width: 1280px; margin: 0 auto;
  padding: clamp(36px, 6vh, 80px) clamp(20px, 4vw, 56px) clamp(48px, 7vh, 96px);
  min-height: calc(92dvh - 70px);
}
.hero-h1 {
  font-weight: 900; font-variation-settings: "wdth" 122;
  font-size: clamp(76px, 13.5vw, 196px);
  line-height: 0.88; letter-spacing: -0.02em; text-transform: uppercase;
  margin-bottom: 34px;
}
.hero-h1 .line { display: block; overflow: hidden; }
.hero-h1 .w { display: inline-block; transform: translateY(110%); animation: rise 0.9s var(--ease) forwards; }
.hero-h1 .line:nth-child(2) .w { animation-delay: 0.12s; }
.hero-h1 .line:nth-child(3) .w { animation-delay: 0.24s; }
@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px); max-width: 48ch; margin-bottom: 30px;
  opacity: 0; animation: fadeup 0.8s var(--ease) 0.45s forwards;
}
.hero .capture, .hero .capture-note { opacity: 0; animation: fadeup 0.8s var(--ease) 0.6s forwards; }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.hero-center { align-items: center; text-align: center; }
.hero-center .hero-sub, .hero-center .capture { margin-left: auto; margin-right: auto; }
.h-e { font-size: clamp(44px, 7.4vw, 118px); line-height: 0.97; }
.rotator-slot { display: inline-block; min-width: 4.6ch; text-align: left; }
.rotator { display: inline-block; will-change: transform, opacity; }
.rotator.out { animation: rotOut 0.32s var(--ease) forwards; }
.rotator.in { animation: rotIn 0.42s var(--ease); }
@keyframes rotOut { to { opacity: 0; transform: translateY(-55%); } }
@keyframes rotIn { from { opacity: 0; transform: translateY(55%); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Trades tape ----------
 * A real measuring tape. The housing holds the live trade counter,
 * the blade gets pumped out of it, every inch mark is another trade,
 * and the blade ends at the ONE APP end cap with the hook. */

.tape-sec {
  position: relative; display: flex; align-items: stretch;
  background: var(--orange); padding: 0; overflow: hidden;
}
.tape-housing {
  flex: none; position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  background: var(--ink); color: #fff;
  padding: 12px clamp(16px, 2vw, 26px) 12px clamp(20px, 4vw, 56px);
  border-right: 4px solid #fff;
  box-shadow: 10px 0 22px -8px rgba(22, 22, 22, 0.5);
}
.tape-count { font-size: clamp(28px, 3vw, 42px); font-weight: 600; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.tape-housing-cap { font-size: 9px; letter-spacing: 0.16em; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
.tape { flex: 1; overflow: hidden; }
.tape-track {
  display: flex; width: max-content; height: 100%;
  will-change: transform;
  animation: tape-pull 155s linear infinite;
}
/* Slides left so the inch marks pass the housing counting up, 1 through 32,
 * then the ONE APP end cap. Rightward made the numbers read backwards. */
@keyframes tape-pull { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tape-inch {
  position: relative; flex: none;
  display: flex; align-items: flex-end;
  padding: 30px 56px 12px 14px;
  /* minor tick graduations along the top edge, they travel with the blade */
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0 2px, transparent 2px 18px) top left / 100% 8px no-repeat;
}
.tape-inch::before {
  /* the major inch tick */
  content: ""; position: absolute; top: 0; left: 0;
  width: 3px; height: 22px; background: #fff;
}
.tape-inch-num {
  position: absolute; top: 4px; left: 10px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: #fff;
}
.tape-inch-name {
  font-weight: 900; font-variation-settings: "wdth" 120;
  font-size: 16px; letter-spacing: 0.14em; color: #fff; white-space: nowrap;
}
.tape-endcap {
  flex: none; display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 12px 22px; margin-right: 34px;
  border-left: 4px solid #fff;
}
.tape-endcap-text {
  font-weight: 900; font-variation-settings: "wdth" 120;
  font-size: 18px; letter-spacing: 0.14em; white-space: nowrap;
}
.tape-endcap-text b { color: var(--orange); font-weight: 900; }
.tape-hook {
  flex: none; width: 12px; height: 36px;
  border: 3px solid #fff; border-left: none; border-radius: 0 5px 5px 0;
}

/* ---------- Shared section bones ---------- */

section { padding: clamp(72px, 11vh, 140px) clamp(20px, 4vw, 56px); }
.sec-h2 {
  font-weight: 900; font-variation-settings: "wdth" 116;
  font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02;
  letter-spacing: -0.01em; text-transform: uppercase;
  max-width: 1280px; margin: 0 auto 18px;
}
.sec-lede { font-size: clamp(17px, 1.5vw, 19px); max-width: 64ch; margin: 0 auto; }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ---------- The shop: the receipt, taped off like a job site ---------- */

.shop { position: relative; text-align: center; overflow: hidden; }
.shop > .sec-lede { display: block; }

.shop-tape {
  position: relative; width: 112%; margin-left: -6%;
  height: 52px; display: flex; align-items: center; overflow: hidden;
  background: var(--orange);
  border-top: 3.5px solid var(--ink); border-bottom: 3.5px solid var(--ink);
  box-shadow: 0 12px 26px -12px rgba(22, 22, 22, 0.45);
}
.shop-tape-top { transform: rotate(-2.2deg); margin: 48px 0 -16px; z-index: 1; }
.shop-tape-bot { transform: rotate(1.8deg); margin: -16px 0 10px; z-index: 1; }
.ctape-track {
  display: flex; align-items: center; gap: 44px; width: max-content;
  animation: ctape-slide 30s linear infinite; padding-left: 44px;
}
.shop-tape-bot .ctape-track { animation-duration: 38s; }
@keyframes ctape-slide { to { transform: translateX(-50%); } }
.ctape-track span {
  font-weight: 900; font-variation-settings: "wdth" 120;
  font-size: 15px; letter-spacing: 0.16em; color: var(--ink); white-space: nowrap;
}
.ctape-track i {
  font-style: normal; font-weight: 900; font-variation-settings: "wdth" 120;
  font-size: 9.5px; letter-spacing: 0.24em; color: rgba(22, 22, 22, 0.5); white-space: nowrap;
}

.receipt {
  background: #fff; font-family: var(--font-mono); color: var(--ink);
  text-align: left;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 95% 100%, 90% calc(100% - 8px), 85% 100%, 80% calc(100% - 8px), 75% 100%, 70% calc(100% - 8px), 65% 100%, 60% calc(100% - 8px), 55% 100%, 50% calc(100% - 8px), 45% 100%, 40% calc(100% - 8px), 35% 100%, 30% calc(100% - 8px), 25% 100%, 20% calc(100% - 8px), 15% 100%, 10% calc(100% - 8px), 5% 100%, 0 calc(100% - 8px));
}
.shop-receipt {
  position: relative; z-index: 2;
  width: min(340px, 88vw); margin: 0 auto; font-size: 12.5px;
  padding: 26px 22px 30px;
  transform: rotate(-1.2deg);
  box-shadow: 0 30px 60px -26px rgba(22, 22, 22, 0.45);
}
.r-head { text-align: center; font-weight: 600; letter-spacing: 0.1em; line-height: 1.5; margin-bottom: 12px; }
.r-head b {
  font-family: var(--font-sans); font-weight: 900; font-variation-settings: "wdth" 118;
  font-size: 16px; letter-spacing: 0.18em; display: block;
}
.r-line { display: flex; justify-content: space-between; gap: 10px; padding: 3.5px 0; opacity: 0; }
.shop.play .r-line { animation: r-print 0.1s steps(1) forwards; animation-delay: calc(var(--i) * 0.18s); }
@keyframes r-print { to { opacity: 1; } }
.r-div { border-top: 1.5px dashed var(--ink); margin: 8px 0; }
.r-total { font-weight: 600; font-size: 14px; }
.r-save { color: var(--orange-deep); font-weight: 600; }
.r-bar {
  height: 34px; margin-top: 14px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 9px, transparent 9px 12px, var(--ink) 12px 13px, transparent 13px 17px);
}

/* ---------- Quinn ---------- */

.quinn { background: var(--ink); color: var(--paper); }
.quinn .sec-h2 { color: var(--paper); text-align: center; }
.quinn .sec-lede { color: color-mix(in srgb, var(--paper) 80%, transparent); display: block; text-align: center; }
.quinn-demo {
  display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  max-width: 1100px; margin: 48px auto 0;
}
.q-voice, .q-out {
  background: color-mix(in srgb, var(--paper) 7%, var(--ink));
  border: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
  border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 30px);
}
.q-tag { display: block; font-size: 11px; letter-spacing: 0.12em; color: color-mix(in srgb, var(--paper) 55%, transparent); margin-bottom: 14px; }
.q-wave { display: flex; align-items: center; gap: 3px; height: 36px; margin-bottom: 14px; }
.q-wave i {
  width: 4px; border-radius: 2px; background: var(--orange); height: 30%;
  animation: wave 1.1s ease-in-out infinite;
}
.q-wave i:nth-child(2n) { animation-delay: 0.15s; height: 65%; }
.q-wave i:nth-child(3n) { animation-delay: 0.3s; height: 90%; }
.q-wave i:nth-child(4n) { animation-delay: 0.45s; height: 50%; }
.q-wave i:nth-child(5n) { animation-delay: 0.6s; height: 75%; }
@keyframes wave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
.q-transcript { font-size: 15px; font-style: italic; color: color-mix(in srgb, var(--paper) 88%, transparent); }
.q-arrow svg { width: 100%; max-width: 56px; display: block; margin: 0 auto; }
.q-typed { font-size: 15px; min-height: 8.5em; color: color-mix(in srgb, var(--paper) 92%, transparent); }
.q-caret {
  display: inline-block; width: 2px; height: 1em; background: var(--orange);
  vertical-align: text-bottom; margin-left: 2px;
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.q-cite {
  display: inline-block; margin-top: 14px; font-size: 11px; color: #7FD3AE;
  border: 1px solid rgba(127, 211, 174, 0.4); border-radius: 999px; padding: 4px 12px;
}

/* ---------- Proposal: the page that closes ---------- */

.proposal {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(32px, 5vw, 80px);
  max-width: 1280px; margin: 0 auto;
}
.proposal .sec-h2, .proposal .sec-lede { margin-left: 0; margin-right: 0; }
.prop-list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.prop-list li {
  padding: 14px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 15.5px;
}
.prop-stat {
  margin-top: 22px; font-size: 14.5px; color: var(--muted);
  border-left: 3px solid var(--orange); padding-left: 16px; max-width: 56ch;
}
.prop-try { display: block; margin-top: 22px; font-size: 12px; letter-spacing: 0.14em; color: var(--orange-deep); }

.prop-demo {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 80px -36px rgba(22, 22, 22, 0.4);
}
.prop-chrome {
  display: flex; align-items: center; gap: 7px;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 11px 16px;
}
.prop-chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.prop-chrome i:first-child { background: var(--orange); }
.prop-chrome .mono {
  flex: 1; text-align: center; font-size: 11.5px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px; margin-left: 6px;
}
.prop-page { padding: clamp(20px, 2.6vw, 32px); }
.prop-for { display: block; font-size: 10px; letter-spacing: 0.16em; color: var(--muted); }
.prop-name {
  font-weight: 900; font-variation-settings: "wdth" 114;
  font-size: clamp(24px, 2.4vw, 32px); text-transform: uppercase; line-height: 1.05;
}
.prop-job { font-size: 14px; color: var(--muted); margin-top: 2px; }
.prop-total-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 18px 0 14px; padding: 14px 18px;
  background: var(--ink); color: var(--paper); border-radius: 12px;
}
.prop-total { font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.prop-total.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.07); } }
.prop-total-cap { font-size: 9.5px; letter-spacing: 0.16em; color: color-mix(in srgb, var(--paper) 55%, transparent); text-align: right; }
/* Good, better, best */
.prop-tiers { display: flex; gap: 8px; margin-bottom: 14px; }
.prop-tier {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  font-family: var(--font-sans); text-align: left;
  background: var(--paper); border: 2px solid var(--line); border-radius: 12px;
  padding: 10px 12px; cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.18s var(--ease);
}
.prop-tier:hover { border-color: var(--orange); }
.prop-tier:active { transform: scale(0.97); }
.prop-tier.on { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 7%, var(--surface)); }
.prop-tier-k { font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); }
.prop-tier.on .prop-tier-k { color: var(--orange-deep); }
.prop-tier-p { font-size: 15px; font-weight: 600; }
.prop-tier-s { font-size: 10.5px; color: var(--muted); }

.prop-scope, .prop-pay { display: grid; gap: 0; margin-bottom: 14px; }
.prop-line {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; padding: 8px 2px; border-bottom: 1px dashed var(--line);
}
.prop-line .mono { font-size: 13px; color: var(--ink); }
.prop-sec-k { display: block; font-size: 10px; letter-spacing: 0.16em; color: var(--orange-deep); margin: 6px 0; }
.prop-addons { margin-bottom: 14px; display: grid; gap: 8px; }
.prop-addon {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: 14.5px; text-align: left;
  background: var(--paper); border: 2px solid var(--line); border-radius: 12px;
  padding: 12px 14px; cursor: pointer; width: 100%;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.18s var(--ease);
}
.prop-addon:hover { border-color: var(--orange); }
.prop-addon:active { transform: scale(0.985); }
.prop-check {
  flex: none; width: 20px; height: 20px; border-radius: 6px;
  border: 2px solid var(--muted); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.prop-check::after {
  content: ""; width: 10px; height: 6px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translateY(-1px) scale(0);
  transition: transform 0.2s var(--ease);
}
.prop-addon.on { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 7%, var(--surface)); }
.prop-addon.on .prop-check { background: var(--orange); border-color: var(--orange); }
.prop-addon.on .prop-check::after { transform: rotate(-45deg) translateY(-1px) scale(1); }
.prop-addon-name { flex: 1; }
.prop-addon-price { font-size: 13px; font-weight: 600; color: var(--orange-deep); }
.prop-methods { display: flex; gap: 8px; margin-top: 10px; }
.prop-methods span {
  font-size: 9.5px; letter-spacing: 0.1em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}
.prop-proof { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.prop-proof-imgs { display: flex; gap: 6px; flex: none; }
.prop-proof-imgs i { width: 44px; height: 44px; border-radius: 8px; display: block; }
.prop-proof-imgs .pa { background: linear-gradient(135deg, #6B4F2E, #B08658 55%, #E0CDA9); }
.prop-proof-imgs .pb { background: linear-gradient(135deg, #3E4A52, #7B8C96 55%, #C6D2D9); }
.prop-proof-line { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.prop-proof-line .mono { color: var(--orange-deep); font-weight: 600; font-size: 11.5px; }
.prop-sign { width: 100%; }
.prop-fine { display: block; text-align: center; font-size: 9.5px; letter-spacing: 0.14em; color: var(--muted); margin-top: 10px; }

/* ---------- Cadence ---------- */

.cadence { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cadence { text-align: center; }
.cadence > .sec-h2, .cadence > .sec-lede, .cadence > .touch-note {
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
.cadence > .sec-lede { display: block; }

/* The follow-up stack: seven notifications in your voice, then the win */
.notif-stack { max-width: 480px; margin: 44px auto 24px; display: grid; gap: 10px; }
.notif {
  display: flex; gap: 12px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 16px; box-shadow: 0 10px 24px -16px rgba(22, 22, 22, 0.3);
  opacity: 0; transform: translateY(-18px) scale(0.97);
}
.notif-stack.play .notif { animation: notif-in 0.45s var(--ease) forwards; }
.notif-stack.play .notif:nth-child(2) { animation-delay: 0.45s; }
.notif-stack.play .notif:nth-child(3) { animation-delay: 0.9s; }
.notif-stack.play .notif:nth-child(4) { animation-delay: 1.35s; }
.notif-stack.play .notif:nth-child(5) { animation-delay: 1.8s; }
.notif-stack.play .notif:nth-child(6) { animation-delay: 2.25s; }
.notif-stack.play .notif:nth-child(7) { animation-delay: 2.7s; }
.notif-stack.play .notif:nth-child(8) { animation-delay: 3.4s; }
@keyframes notif-in { to { opacity: 1; transform: translateY(0) scale(1); } }
.notif-icon {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 17px;
}
.notif-body { flex: 1; text-align: left; min-width: 0; }
.notif-body b { display: block; font-size: 13.5px; }
.notif-body span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-day { flex: none; font-size: 10px; color: var(--muted); }
.notif.win { border: 2px solid var(--green); }
.notif.win .notif-icon { background: var(--green); }

.touch-note { display: block; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }

/* ---------- Seal + badges ---------- */

.seal {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  grid-template-areas: "stage copy" "case case";
  align-items: center;
  gap: clamp(32px, 5vw, 90px);
  max-width: 1280px; margin: 0 auto;
}
.seal-stage { grid-area: stage; display: flex; justify-content: center; }
.seal-copy { grid-area: copy; }
.seal .sec-h2, .seal .sec-lede { margin-left: 0; margin-right: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* The score gauge. A piece of shop equipment: steel bezel, screws,
 * 270-degree dial, needle with an overshoot, odometer readout. */
.gauge-mark { position: relative; width: min(380px, 80vw); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.gauge-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 26px 36px rgba(22, 22, 22, 0.32)); }
.gauge-brand { font-family: var(--font-sans); font-weight: 900; font-size: 15px; letter-spacing: 0.06em; fill: var(--ink); }
.gauge-brand-sub { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.2em; fill: var(--muted); }
#gauge-ticks line { stroke: var(--ink); }
#gauge-nums text { font-family: var(--font-mono); font-size: 12px; font-weight: 600; fill: var(--ink); }
.gauge-needle {
  transform-origin: 140px 140px; transform: rotate(-135deg);
}
.gauge-mark.play .gauge-needle {
  transition: transform 1.7s cubic-bezier(0.34, 1.45, 0.5, 1);
  transform: rotate(99.9deg);
}
.gauge-fill { stroke-dasharray: 0 100; }
.gauge-mark.play .gauge-fill { transition: stroke-dasharray 1.7s var(--ease); stroke-dasharray: 87 13; }
.gauge-readout { font-size: 23px; font-weight: 600; fill: var(--orange); font-variant-numeric: tabular-nums; }
.gauge-glass { pointer-events: none; }
.gauge-caption {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.18em; color: var(--muted);
}
.seal-live {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; font-size: 9.5px; letter-spacing: 0.16em; color: var(--orange-deep);
  border: 1.5px solid color-mix(in srgb, var(--orange) 45%, transparent);
  border-radius: 999px; padding: 4px 11px;
}
.seal-live i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse { 50% { opacity: 0.25; } }
.seal-list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.seal-list li {
  padding: 14px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 15.5px;
}

/* The badge case */

.badge-case {
  grid-area: case; margin-top: clamp(28px, 4vh, 48px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
}
.badge-case-k { display: block; font-size: 11px; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 24px; }

/* The badges: one consistent system. Stitched patches, typography first. */
.hpatch-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.hpatch {
  position: relative; border-radius: 14px;
  padding: 22px 16px 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  text-align: center;
  box-shadow: 0 12px 24px -12px rgba(22, 22, 22, 0.4);
  opacity: 0; transform: scale(1.16);
}
.badge-case.play .hpatch { animation: iron-on 0.45s var(--ease) forwards; }
.badge-case.play .hpatch:nth-child(2) { animation-delay: 0.14s; }
.badge-case.play .hpatch:nth-child(3) { animation-delay: 0.28s; }
.badge-case.play .hpatch:nth-child(4) { animation-delay: 0.42s; }
@keyframes iron-on { 70% { transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }
.hpatch::before {
  content: ""; position: absolute; inset: 5px; border-radius: 10px;
  border: 2px dashed currentColor; opacity: 0.4; pointer-events: none;
}
.hp-gold { background: linear-gradient(160deg, #E0C055, var(--gold) 58%, #A28220); color: var(--ink); }
.hp-ink { background: var(--ink); color: #fff; }
.hp-orange { background: var(--orange); color: #fff; }
.hp-paper { background: #EFE9DC; color: var(--ink); }
.hpatch-brand {
  font-weight: 900; font-variation-settings: "wdth" 118;
  font-size: 9.5px; letter-spacing: 0.3em; opacity: 0.8;
}
.hpatch-big {
  font-weight: 900; font-variation-settings: "wdth" 118;
  font-size: clamp(19px, 1.9vw, 25px); line-height: 1.05; text-transform: uppercase;
}
.hpatch-big i { font-style: normal; color: var(--orange); }
.hp-orange .hpatch-big i { color: var(--ink); }
.hpatch-small { font-size: 8px; letter-spacing: 0.12em; opacity: 0.7; }

/* ---------- Community + the phone ---------- */

.community {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  gap: clamp(32px, 5vw, 90px);
  max-width: 1280px; margin: 0 auto;
}
.community .sec-h2, .community .sec-lede { margin-left: 0; margin-right: 0; }
.comm-list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.comm-list li {
  padding: 14px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 15.5px;
}
.comm-phone-wrap { display: flex; justify-content: center; }

/* The iPhone. Titanium frame, island, real buttons, deep shadow.
 * The DOM feed is a stand-in until real app screenshots ship. */
.iphone {
  position: relative;
  width: min(330px, 84vw); aspect-ratio: 9 / 19.4;
  border-radius: 56px;
  background: linear-gradient(145deg, #48484c, #232325 45%, #39393d);
  padding: 11px;
  box-shadow:
    inset 0 0 0 2.5px #5c5c61,
    inset 0 0 0 6px #0a0a0b,
    0 50px 100px -34px rgba(22, 22, 22, 0.55),
    0 16px 36px -16px rgba(22, 22, 22, 0.45);
}
.iphone-btn { position: absolute; background: linear-gradient(90deg, #2a2a2d, #4d4d52); border-radius: 3px; }
.ib-action { left: -2.5px; top: 17%; width: 3.5px; height: 24px; }
.ib-vol-up { left: -2.5px; top: 24%; width: 3.5px; height: 44px; }
.ib-vol-dn { left: -2.5px; top: 32%; width: 3.5px; height: 44px; }
.ib-power { right: -2.5px; top: 26%; width: 3.5px; height: 68px; background: linear-gradient(270deg, #2a2a2d, #4d4d52); }
.iphone-screen {
  position: relative; height: 100%; overflow: hidden;
  background: #FFFFFF; border-radius: 45px;
}
.iphone-screen::after {
  /* glass catch-light */
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, transparent 26%);
  border-radius: inherit;
}
.iphone-status {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 24px 6px;
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
}
.ist-time { font-size: 13px; font-weight: 600; }
.iphone-island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 24px; background: #0a0a0b; border-radius: 999px;
}
.ist-right { display: flex; align-items: center; gap: 5px; }
.ist-sig { width: 17px; height: 11px; fill: var(--ink); }
.ist-batt { width: 23px; height: 11px; fill: var(--ink); color: var(--ink); }
.iphone-appbar {
  position: absolute; top: 42px; left: 0; right: 0; z-index: 4;
  display: flex; flex-direction: column; gap: 6px;
  padding: 8px 16px 10px;
  background: linear-gradient(rgba(255, 255, 255, 0.97) 75%, rgba(255, 255, 255, 0));
}
.iphone-app-title { font-weight: 900; font-variation-settings: "wdth" 114; font-size: 21px; }
.iphone-app-tabs { display: flex; gap: 14px; font-size: 9.5px; letter-spacing: 0.1em; color: var(--muted); }
.iphone-app-tabs b { color: var(--orange-deep); border-bottom: 2px solid var(--orange); padding-bottom: 2px; font-weight: 600; }
.iphone-feed {
  padding: 104px 12px 26px; display: grid; gap: 10px;
  will-change: transform;
  animation: feed-drift 22s ease-in-out 2s infinite alternate;
}
@keyframes feed-drift { from { transform: translateY(0); } to { transform: translateY(-42%); } }
.iphone-home {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); z-index: 5;
  width: 38%; height: 5px; border-radius: 999px; background: var(--ink); opacity: 0.85;
}

.post {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px; font-size: 12.5px; line-height: 1.4;
  box-shadow: 0 4px 14px -8px rgba(22, 22, 22, 0.16);
}
.post-img { position: relative; height: 110px; border-radius: 10px; margin-bottom: 8px; }
.post-img.g1 { background: linear-gradient(135deg, #1B7F8E, #62C2CE 55%, #BBE7EC); }
.post-img.g2 { background: linear-gradient(135deg, #6B4F2E, #B08658 55%, #E0CDA9); }
.post-img.g3 { background: linear-gradient(135deg, #2E6B3F, #6FAE5C 55%, #C9E4B4); }
.post-img.g4 { background: linear-gradient(135deg, #3E4A52, #7B8C96 55%, #C6D2D9); }
.post-tag {
  position: absolute; left: 8px; bottom: 8px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: 0.08em;
  background: rgba(22, 22, 22, 0.82); color: #fff;
  padding: 3px 8px; border-radius: 999px;
}
.post-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.post-meta strong { font-size: 12.5px; }
.post-meta .mono { font-size: 10px; color: var(--orange-deep); }
.post-row { display: flex; gap: 12px; margin-top: 6px; font-size: 10px; color: var(--muted); }
.post.thread { border-left: 3px solid var(--orange); }
.thread-k { font-size: 9px; letter-spacing: 0.12em; color: var(--orange-deep); }
.thread-sub { color: var(--muted); margin-top: 4px; }

/* ---------- Compare ---------- */

.compare .sec-h2 { margin-bottom: 40px; }

.cmp-big {
  display: flex; align-items: stretch; justify-content: center; gap: clamp(14px, 2.5vw, 36px);
  max-width: 1080px; margin: 0 auto 36px;
}
.cmp-big-cell {
  flex: 1; display: flex; flex-direction: column; gap: 6px;
  border-radius: var(--radius); padding: clamp(20px, 3vw, 34px);
}
.cmp-big-cell.us { background: var(--ink); color: var(--paper); }
.cmp-big-cell.them { background: var(--surface); border: 1px solid var(--line); }
.cmp-big-num { font-size: clamp(48px, 6.5vw, 92px); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.cmp-big-cell.us .cmp-big-num { color: var(--orange); }
.cmp-big-cell.them .cmp-big-num { color: var(--ink); }
.cmp-big-lab { font-size: 14.5px; max-width: 26ch; }
.cmp-big-cell.us .cmp-big-lab { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.cmp-big-cell.them .cmp-big-lab { color: var(--muted); }
.cmp-big-vs { align-self: center; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.1em; }

.ledger {
  max-width: 1080px; margin: 0 auto 44px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(18px, 2.5vw, 28px);
}
.ledger-k { display: block; font-size: 11px; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 14px; }
.ledger-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(10px, 2vw, 24px);
  padding: 11px 2px; border-bottom: 1px dashed var(--line);
  opacity: 0; transform: translateX(-14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.ledger.play .ledger-row { opacity: 1; transform: translateX(0); }
.ledger.play .ledger-row:nth-child(3) { transition-delay: 0.1s; }
.ledger.play .ledger-row:nth-child(4) { transition-delay: 0.2s; }
.ledger.play .ledger-row:nth-child(5) { transition-delay: 0.3s; }
.ledger.play .ledger-row:nth-child(6) { transition-delay: 0.4s; }
.ledger.play .ledger-row:nth-child(7) { transition-delay: 0.55s; }
.ledger-what { font-size: 15.5px; font-weight: 600; }
.ledger-tag { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; text-align: right; }
.ledger-here {
  font-size: 11px; font-weight: 600; color: var(--green); letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--green) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
  border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.ledger-total { border-bottom: none; margin-top: 4px; padding-top: 16px; border-top: 2px solid var(--ink); }
.ledger-total .ledger-what { font-weight: 800; }
.ledger-total .ledger-tag { color: var(--orange-deep); font-weight: 600; font-size: 13px; }

.cmp-wrap { max-width: 1180px; margin: 0 auto; overflow-x: auto; border-radius: var(--radius); }
.cmp {
  width: 100%; border-collapse: collapse; min-width: 960px;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 28px 56px -32px rgba(22, 22, 22, 0.3);
}
.cmp th, .cmp td { padding: 17px 14px; text-align: center; font-size: 14.5px; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.cmp thead th {
  font-weight: 800; font-variation-settings: "wdth" 110; text-transform: uppercase;
  font-size: 12px; letter-spacing: 0.06em; background: var(--ink); color: var(--paper);
  padding-top: 19px; padding-bottom: 19px;
}
.cmp thead th.cmp-us { background: var(--orange); color: #fff; font-size: 15px; }
.cmp tbody tr:nth-child(even) { background: color-mix(in srgb, var(--paper) 55%, var(--surface)); }
.cmp tbody th { text-align: left; font-weight: 700; font-size: 14.5px; }
.cmp .cmp-row-label { text-align: left; }
.cmp td.yes { color: var(--green); font-weight: 800; }
.cmp tbody td:nth-child(2) {
  background: color-mix(in srgb, var(--orange) 7%, var(--surface));
  border-left: 2.5px solid var(--orange); border-right: 2.5px solid var(--orange);
}
.cmp tbody tr:last-child td:nth-child(2) { border-bottom: 2.5px solid var(--orange); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: none; }
.cmp td.no { color: var(--muted); }
.cmp tr.cmp-price td { font-family: var(--font-mono); font-size: 13px; }
.cmp tr.cmp-price th { font-weight: 800; }
.cmp-tag {
  display: block; font-style: normal; font-size: 9px; letter-spacing: 0.1em;
  color: var(--muted); margin-top: 5px;
}
.cmp td.yes .cmp-tag { color: var(--orange-deep); }
.cmp tbody tr { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.cmp.play tbody tr { opacity: 1; transform: translateY(0); }
.cmp.play tbody tr:nth-child(2) { transition-delay: 0.1s; }
.cmp.play tbody tr:nth-child(3) { transition-delay: 0.2s; }
.cmp.play tbody tr:nth-child(4) { transition-delay: 0.3s; }
.cmp.play tbody tr:nth-child(5) { transition-delay: 0.4s; }
.cmp-foot { max-width: 1080px; margin: 22px auto 0; font-size: 13.5px; color: var(--muted); }

/* ---------- Pricing ---------- */

.pricing { background: var(--surface); border-top: 1px solid var(--line); }
.price-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 980px; margin: 52px auto 0;
}
.price-row-v5 { grid-template-columns: 0.85fr 1.15fr; align-items: stretch; }
.price-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 18px;
}
.price-card.pro { border: none; outline: 4px solid var(--orange); outline-offset: -4px; background: var(--surface); }
.price-name { font-size: 13px; letter-spacing: 0.16em; color: var(--muted); }
.price-card.pro .price-name { color: var(--orange-deep); }
.price-num { display: flex; align-items: baseline; gap: 10px; }
.price-num .mono { font-size: clamp(44px, 4.5vw, 60px); font-weight: 600; line-height: 1; }
.price-row-v5 .pro .price-num .mono { font-size: clamp(56px, 6vw, 84px); color: var(--orange); }
.price-per { font-size: 16px; color: var(--muted); }
.price-alt { font-size: 13px; color: var(--muted); }
.price-math {
  font-size: 14px; color: var(--ink);
  background: color-mix(in srgb, var(--orange) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--orange) 30%, transparent);
  border-radius: 10px; padding: 12px 16px;
}
.price-card ul { list-style: none; display: grid; gap: 10px; flex: 1; }
.price-card li { font-size: 15px; padding-left: 22px; position: relative; }
.price-card li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 10px; height: 10px; border-radius: 2px; background: var(--orange);
}
.price-alt-strip {
  display: block; text-align: center; margin: 26px auto 0; max-width: 980px;
  font-size: 11px; letter-spacing: 0.12em; color: var(--muted);
}
.price-foot { text-align: center; margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- Switch strip ---------- */

.switch { background: var(--ink); color: var(--paper); text-align: center; }
.switch-h2 {
  font-weight: 900; font-variation-settings: "wdth" 116;
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.05;
  text-transform: uppercase; margin-bottom: 14px;
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
.switch-p { max-width: 62ch; margin: 0 auto; color: color-mix(in srgb, var(--paper) 78%, transparent); }

/* ---------- Close ---------- */

.close { text-align: center; padding-bottom: clamp(90px, 14vh, 180px); }
.close-h2 {
  font-weight: 900; font-variation-settings: "wdth" 116;
  font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02;
  text-transform: uppercase; margin-bottom: 36px;
}
.capture-wide { margin: 0 auto; }

/* ---------- Footer ---------- */

.footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--orange-deep); }

/* ---------- Inner pages ---------- */

.page { max-width: 880px; margin: 0 auto; padding: clamp(56px, 9vh, 110px) clamp(20px, 4vw, 56px); }
.page-h1 {
  font-weight: 900; font-variation-settings: "wdth" 116;
  font-size: clamp(40px, 5.5vw, 72px); line-height: 1.0;
  text-transform: uppercase; margin-bottom: 24px;
}
.page-lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; margin-bottom: 40px; }
.page h2 {
  font-weight: 800; font-variation-settings: "wdth" 112;
  font-size: clamp(24px, 2.6vw, 32px); text-transform: uppercase; margin: 48px 0 14px;
}
.page p { max-width: 65ch; margin-bottom: 16px; }
.page ul { margin: 0 0 16px 20px; }
.page li { margin-bottom: 8px; }
.page .price-row { margin-top: 40px; }
.page .price-card { background: var(--surface); }

/* ---------- Mobile ---------- */

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-search { display: none; }
  .hero { min-height: auto; padding-top: 36px; }
  .community { grid-template-columns: 1fr; }
  .proposal { grid-template-columns: 1fr; }
  .quinn-demo { grid-template-columns: 1fr; }
  .q-arrow svg { transform: rotate(90deg); margin: 4px auto; }
  .price-row { grid-template-columns: 1fr; }
  .price-row-v5 { grid-template-columns: 1fr; }
  .seal { grid-template-columns: 1fr; grid-template-areas: "stage" "copy" "case"; }
  .rotator-slot { min-width: 0; }
  .hero-center .hero-h1 .line { display: block; }
  .hpatch-row { grid-template-columns: 1fr 1fr; }
  .cmp-big { flex-direction: column; }
  .cmp-big-vs { padding: 2px 0; }
  .cmp-big-lab { max-width: none; }
}

@media (max-width: 560px) {
  .capture { flex-direction: column; }
  .capture .btn-primary { width: 100%; }

  /* tape */
  .tape-housing { padding: 10px 14px 10px 20px; }
  .tape-count { font-size: 24px; }
  .tape-housing-cap { font-size: 8px; }
  .tape-inch { padding: 26px 40px 10px 12px; }
  .tape-inch-name { font-size: 13.5px; }

  /* the shop */
  .shop-tape { height: 46px; }
  .ctape-track span { font-size: 13px; }
  .hpatch-row { grid-template-columns: 1fr; }

  /* proposal demo */
  .prop-total-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .prop-total-cap { text-align: left; }

  /* ledger */
  .ledger-row { grid-template-columns: 1fr auto; row-gap: 2px; }
  .ledger-tag { grid-column: 1; text-align: left; margin-top: 2px; }
  .ledger-here { grid-row: 1; grid-column: 2; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none; transition: none; }
  .hero-h1 .w { transform: none; }
  .hero-sub, .hero .capture, .hero .capture-note { opacity: 1; }
  [data-reveal] { opacity: 1; transform: none; }
  .tape-track { animation: none; }
  .iphone-feed { animation: none; }
  .ctape-track { animation: none; }
  .cmp tbody tr, .ledger-row, .hpatch, .r-line, .notif { opacity: 1; transform: none; }
  .q-caret { display: none; }
}
