/* Decay Audit. Direction "The product performs" (taste-skill seed 2069403907, type redrawn).
   League Spartan for headlines, Figtree for everything else. Greys and mint; colour inside the
   product fragments is reserved for the four decisions. */

:root {
  --bg: #ffffff;
  --surface: #f3f3f3;
  --surface-2: #e9e9e9;
  --ink: #232323;
  --muted: #555555;
  --accent: #a1ffcb;
  --accent-ink: #232323;
  --line: #e2e2e2;

  --fix-bg: #ffe2da;   --fix-ink: #9c2a0f;  --fix-dot: #e5532f;
  --inv-bg: #fff0c4;   --inv-ink: #6f4b00;  --inv-dot: #d99a00;
  --leave-bg: #d6f6e4; --leave-ink: #11592f; --leave-dot: #20a361;
  --rec-bg: #ebebeb;   --rec-ink: #444444;  --rec-dot: #9a9a9a;

  --display: "League Spartan", "Figtree", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 1rem + 4.6vw, 5.5rem);

  --margin: clamp(1.25rem, 3vw, 3rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 11vw, 10rem);
  --r: 4px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: var(--step-body); line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
:target { scroll-margin-top: 5rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; text-wrap: balance; }
p { text-wrap: pretty; }
.nums { font-variant-numeric: tabular-nums; }
.small { font-size: var(--step-small); }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--margin); }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  background: var(--accent); color: var(--accent-ink); border-radius: var(--r);
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color 150ms ease, transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--ink); color: #ffffff; }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.arrow-link { display: inline-flex; gap: 0.4em; align-items: center; font-weight: 500; text-decoration: none; }
.arrow-link span { transition: transform 180ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #7ff0b3; }
  .btn--ink:hover { background: #000000; }
  .arrow-link:hover span { transform: translateX(3px); }
  .arrow-link:hover { text-decoration: underline; text-underline-offset: 0.25em; }
}

/* ---------- header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.03em; }
.brand span { padding-top: 3px; }
.mark { width: 28px; height: 28px; }
.links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); font-size: 0.9375rem; }
.links a:not(.btn) { text-decoration: none; color: var(--muted); transition: color 150ms ease; }
.links a:not(.btn):hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; padding-top: clamp(2rem, 6vh, 4.5rem); padding-bottom: var(--section); }
.hero-copy { grid-column: 1 / 6; padding-top: clamp(0.5rem, 4vh, 3rem); }
.hero h1 { font-size: var(--step-display); line-height: 0.92; max-width: 8.4em; }
.hero-sub { margin-top: 1.5rem; font-size: var(--step-lead); line-height: 1.38; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 2rem; }
.hero-note { margin-top: 2.5rem; max-width: 32ch; color: var(--muted); font-size: var(--step-small); }
.report { grid-column: 6 / -1; }
.hero-caption { grid-column: 6 / -1; margin-top: 12px; color: var(--muted); }

/* ---------- the report (product fragment) ---------- */
.report { background: var(--surface); border-radius: 8px; padding: clamp(12px, 1.6vw, 24px); font-size: 14px; line-height: 1.45; }
.report > * { background: #ffffff; }
.r-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; } /* taste-skill-ignore: rule inside a data-ui product fragment */
.r-site { font-weight: 600; font-size: 15px; }
.r-meta { color: var(--muted); font-size: 13px; }
.r-export { font-size: 13px; font-weight: 500; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r); transition: background-color 150ms ease, transform 120ms var(--ease-out); } /* taste-skill-ignore: rule inside a data-ui product fragment */
.r-export:hover { background: var(--surface); }
.r-export:active { transform: scale(0.97); }
.r-filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 12px; border: 1px solid var(--line); border-bottom: 0; } /* taste-skill-ignore: rule inside a data-ui product fragment */
.r-filter { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 6px 10px; border-radius: var(--r); transition: background-color 150ms ease, color 150ms ease; }
.r-filter .nums { color: var(--muted); }
.r-filter:hover { background: var(--surface); color: var(--ink); }
.r-filter[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--fix { background: var(--fix-dot); } .dot--inv { background: var(--inv-dot); }
.dot--leave { background: var(--leave-dot); } .dot--rec { background: var(--rec-dot); }
.r-table { width: 100%; border-collapse: collapse; table-layout: fixed; border: 1px solid var(--line); } /* taste-skill-ignore: rule inside a data-ui product fragment */
.r-table th { text-align: left; font-size: 13px; font-weight: 500; color: var(--muted); padding: 8px 16px; border-bottom: 1px solid var(--line); } /* taste-skill-ignore: rule inside a data-ui product fragment */
.r-table th:nth-child(1) { width: 38%; } .r-table th:nth-child(3) { width: 122px; }
.r-table td { padding: 10px 16px; border-bottom: 1px solid #efefef; vertical-align: middle; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* taste-skill-ignore: rule inside a data-ui product fragment */
.r-table tbody tr { cursor: pointer; transition: background-color 120ms ease, opacity 160ms ease; }
.r-table tbody tr:hover { background: #fafafa; }
.r-table tbody tr[aria-selected="true"] { background: #f2f2f2; }
.r-table tbody tr:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.r-table tr.is-hidden { display: none; }
.r-page { font-weight: 500; }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r); font-size: 13px; font-weight: 500; white-space: nowrap; font-family: var(--text); letter-spacing: 0; }
.chip--fix { background: var(--fix-bg); color: var(--fix-ink); }
.chip--inv { background: var(--inv-bg); color: var(--inv-ink); }
.chip--leave { background: var(--leave-bg); color: var(--leave-ink); }
.chip--rec { background: var(--rec-bg); color: var(--rec-ink); }
.r-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; padding: 16px; border: 1px solid var(--line); border-top: 0; } /* taste-skill-ignore: rule inside a data-ui product fragment */
.r-label { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.r-stale { font-size: 15px; text-decoration: line-through; text-decoration-color: var(--fix-dot); text-decoration-thickness: 2px; }
.r-stale.is-empty { text-decoration: none; color: var(--muted); }
.r-current { font-size: 15px; background: var(--leave-bg); color: #0f3f22; padding: 2px 6px; border-radius: 3px; display: inline; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.r-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.r-foot a { color: var(--ink); font-weight: 500; }
.r-detail.is-swapping .r-pair, .r-detail.is-swapping .r-foot { animation: swap 220ms var(--ease-out); }
.r-count { font-size: 13px; color: var(--muted); padding: 10px 16px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 6px 6px; } /* taste-skill-ignore: rule inside a data-ui product fragment */
@keyframes swap { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- outputs (showcase) ---------- */
.outputs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.out-index { grid-column: 1 / 6; padding: clamp(2rem, 5vw, 5rem) 0 2rem var(--margin); display: flex; flex-direction: column; gap: 2rem; }
.out-head { font-size: var(--step-head); }
.out-names { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.out-name { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: var(--step-lead); line-height: 1.25; color: var(--muted); transition: color 150ms ease, transform 180ms var(--ease-out); text-align: left; }
.out-name:hover { color: var(--ink); transform: translateX(3px); }
.out-name[aria-selected="true"] { color: var(--ink); }
.out-name[aria-selected="true"]::after { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-left: 0.4em; border-radius: 50%; background: var(--accent); vertical-align: 0.15em; outline: 2px solid var(--ink); outline-offset: -2px; }
.out-note { color: var(--muted); max-width: 34ch; }
.stage { grid-column: 6 / -1; background: var(--surface); height: 88svh; min-height: 560px; max-height: 820px; overflow: hidden; position: relative; border-radius: 8px 0 0 8px; }
.sheet { position: absolute; top: 72px; left: 64px; width: 560px; max-width: calc(100% - 64px); background: #ffffff; border-radius: 6px; padding: 32px; font-size: 14px; line-height: 1.55; min-height: 120%; }
.sheet--wide { width: 680px; }
.sheet.is-entering { animation: sheet-in 240ms var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.s-kind { color: var(--muted); font-size: 13px; }
.s-title { font-family: var(--text); font-weight: 600; letter-spacing: -0.01em; font-size: 20px; line-height: 1.3; margin: 6px 0 20px; }
.s-fields { display: grid; gap: 16px; }
.s-fields div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid #efefef; } /* taste-skill-ignore: rule inside a data-ui product fragment */
.s-fields dt { color: var(--muted); font-size: 13px; }
.s-table { width: 100%; border-collapse: collapse; }
.s-table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); } /* taste-skill-ignore: rule inside a data-ui product fragment */
.s-table td { padding: 9px 10px 9px 0; border-bottom: 1px solid #efefef; white-space: nowrap; } /* taste-skill-ignore: rule inside a data-ui product fragment */
.s-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.s-body { max-width: 52ch; }
.s-body + .s-body { margin-top: 14px; }
.s-stats { margin: 20px 0; display: grid; gap: 10px; }
.s-stats li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding-top: 10px; border-top: 1px solid #efefef; } /* taste-skill-ignore: rule inside a data-ui product fragment */
.s-stats .nums { font-size: 22px; font-weight: 600; }
.s-log { display: grid; gap: 14px; }
.s-log li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: start; padding-top: 14px; border-top: 1px solid #efefef; } /* taste-skill-ignore: rule inside a data-ui product fragment */

/* ---------- method (statement) ---------- */
.method { padding-top: calc(var(--section) * 0.6); padding-bottom: calc(var(--section) * 0.6); }
.method-title { font-size: var(--step-head); }
.statement { margin-top: clamp(1.5rem, 3vw, 2.5rem); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; max-width: 46ch; }
.slot { display: inline-block; width: 1.9em; height: 1em; border-radius: 0.18em; overflow: hidden; vertical-align: -0.12em; background: var(--surface); }
.slot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform 600ms var(--ease-out); }
.statement:hover .slot img { transform: scale(1.08); }
.slot--ui { width: auto; height: auto; overflow: visible; background: none; vertical-align: 0.15em; }
.slot--ui .chip { height: 26px; font-size: 15px; }
.method-foot { margin-top: 4.5rem; margin-left: 50%; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 42ch; }

/* ---------- process (slider) ---------- */
.process { padding-bottom: var(--section); }
.p-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 76svh; }
.p-clause { background: var(--accent); color: var(--accent-ink); padding: clamp(2rem, 5vw, 4.5rem) var(--margin); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.p-clause h2 { font-size: var(--step-head); max-width: 9em; transition: opacity 200ms ease; }
.p-text { max-width: 36ch; transition: opacity 200ms ease; }
.p-clause.is-swapping h2, .p-clause.is-swapping .p-text { opacity: 0; }
.p-field { background: var(--surface); display: grid; place-items: center; padding: 2rem var(--margin); }
.p-frag { width: min(440px, 100%); background: #ffffff; border: 1px solid var(--line); border-radius: 6px; padding: 24px; font-size: 14px; display: grid; gap: 12px; } /* taste-skill-ignore: rule inside a data-ui product fragment */
.p-frag.is-entering { animation: sheet-in 220ms var(--ease-out); }
.f-title { font-weight: 600; font-size: 15px; }
.f-label { font-size: 13px; color: var(--muted); margin-bottom: -6px; }
.f-input { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; } /* taste-skill-ignore: rule inside a data-ui product fragment */
.f-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid #efefef; } /* taste-skill-ignore: rule inside a data-ui product fragment */
.f-row span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.f-btn { justify-self: start; background: var(--ink); color: #ffffff; border-radius: var(--r); padding: 8px 14px; font-weight: 500; font-size: 13px; }
.f-claim { font-size: 15px; }
.f-claim s { text-decoration-color: var(--fix-dot); text-decoration-thickness: 2px; }
.f-claim--new { background: var(--leave-bg); color: #0f3f22; padding: 6px 10px; border-radius: 3px; }
.p-control { padding-top: 28px; }
.p-hint { display: block; color: var(--muted); font-size: var(--step-small); margin-bottom: 14px; }
.track { position: relative; height: 32px; }
.track-fill { position: absolute; left: 0; top: 12px; height: 8px; border-radius: 4px; background: var(--ink); width: 0%; pointer-events: none; transition: width 160ms var(--ease-out); }
.track::before { content: ""; position: absolute; inset: 12px 0 auto; height: 8px; border-radius: 4px; background: var(--surface-2); pointer-events: none; }
.p-control input[type="range"] { position: relative; -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; margin: 0; }
.p-control input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: transparent; }
.p-control input[type="range"]::-moz-range-track { height: 8px; background: transparent; }
.p-control input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; border-radius: var(--r); background: var(--accent); border: 2px solid var(--ink); transition: transform 120ms var(--ease-out); }
.p-control input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: var(--r); background: var(--accent); border: 2px solid var(--ink); }
.p-control input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.08); }
.p-names { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; font-size: var(--step-small); color: var(--muted); }
.p-names li { cursor: pointer; }
.p-names li:nth-child(2) { text-align: center; margin-right: 16%; }
.p-names li:nth-child(3) { text-align: center; margin-left: 16%; }
.p-names li:last-child { text-align: right; }
.p-names li.is-on { color: var(--ink); font-weight: 600; }

/* ---------- pricing ---------- */
.pricing { padding-bottom: var(--section); }
.price-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: var(--step-lead); line-height: 1.3; }
.price-table col.c-label { width: 20%; }
.price-table th, .price-table td { text-align: left; vertical-align: top; padding: 18px 20px; font-weight: 400; }
.price-table thead th { vertical-align: bottom; padding-top: 28px; padding-bottom: 28px; }
.price-table thead h2 { font-size: var(--step-head); }
.price-table tbody th { color: var(--muted); }
.price-table tbody tr:nth-child(odd) th, .price-table tbody tr:nth-child(odd) td:not(.rec) { background: var(--surface); }
.price-table .rec { background: var(--accent); }
.price-table tbody tr:nth-child(odd) .rec { background: #93f7bf; }
.plan-name { display: block; font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; font-size: var(--step-head); line-height: 0.95; }
/* In the table a plan name stays on one line: the column is narrow, so the name is one step smaller than the price */
.price-table .plan-name { font-size: clamp(1.5rem, 0.9rem + 1.8vw, 2.5rem); white-space: nowrap; }
.plan-price { display: block; font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; margin-top: 0.3rem; font-weight: 400; }
.plan-period { display: block; font-size: var(--step-small); color: var(--muted); margin-top: 0.6rem; }
.rec .plan-period { color: #2c4a3a; }
.price-table tfoot td { padding-top: 24px; padding-bottom: 24px; }
.plans-phone { display: none; }
.price-note { margin-top: 2rem; margin-left: 20%; padding-left: 20px; max-width: 64ch; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-bottom: var(--section); align-items: start; }
.faq-title { grid-column: 1 / 5; font-size: var(--step-head); position: sticky; top: 96px; }
.faq-list { grid-column: 5 / -1; display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: var(--r); transition: background-color 200ms ease; }
.faq details[open] { background: var(--accent); }
.faq summary { list-style: none; cursor: pointer; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; font-size: var(--step-lead); font-weight: 500; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: var(--ink); border-radius: 1px; transition: transform 220ms var(--ease-out); }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq details p { padding: 0 24px 24px; max-width: 58ch; }
.faq details[open] p { animation: swap 240ms var(--ease-out); }

/* ---------- closing tiles ---------- */
.closing { padding-bottom: var(--section); }
.tiles { display: grid; grid-template-columns: 1fr minmax(0, 5fr) 1fr; gap: 12px; height: 380px; }
.tile { border-radius: var(--r); overflow: hidden; position: relative; }
.tile--side:first-child { border-radius: 0 var(--r) var(--r) 0; }
.tile--side:last-child { border-radius: var(--r) 0 0 var(--r); }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: 0; transition: opacity 1.6s ease; }
.tile--photo img.is-on { opacity: 1; }
.tile--video video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.tile--main { background: var(--accent); color: var(--accent-ink); padding: clamp(1.75rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.tile--main h2 { font-size: var(--step-head); }
.tile--main > p { max-width: 46ch; }
.cta-form { display: flex; width: min(460px, 100%); background: #ffffff; border-radius: var(--r); padding: 5px; margin-top: 8px; }
.cta-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 12px; font-size: 1rem; outline: none; }
.cta-form:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.cta-form .btn { min-height: 44px; }
.cta-small { font-size: var(--step-small); }
.cta-small a { font-weight: 500; }

/* ---------- footer ---------- */
.foot { padding-top: 22svh; padding-bottom: 30px; }
.credits { color: var(--muted); max-width: 60ch; margin-bottom: 28px; }
.credits a { color: var(--ink); }
.foot-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 16px; font-size: 0.9375rem; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.foot-right { text-align: right; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(12px); animation: rise 640ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 80ms + 80ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 560ms var(--ease-out), transform 640ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- tablet ---------- */
@media (max-width: 68em) {
  .hero-copy, .report, .hero-caption { grid-column: 1 / -1; }
  .hero-copy { padding-bottom: 2.5rem; }
  .hero h1 { max-width: 10em; }
  .out-index { grid-column: 1 / -1; padding-right: var(--margin); }
  .out-names { flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
  .stage { grid-column: 1 / -1; border-radius: 0; height: 70svh; }
  .sheet { left: var(--margin); }
  .faq-title { grid-column: 1 / -1; position: static; margin-bottom: 2rem; }
  .faq-list { grid-column: 1 / -1; }
  .method-foot { margin-left: 0; }
  .price-table { font-size: 1.0625rem; }
  .price-note { margin-left: 0; padding-left: 0; }
}

/* ---------- phone ---------- */
@media (max-width: 47.99em) {
  .links a:not(.btn) { display: none; }
  .hero { padding-top: 1.5rem; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .report { padding: 8px; }
  .r-head { padding: 12px; }
  .r-meta { display: none; }
  .r-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .r-filter { flex: none; }
  .r-table th:nth-child(2), .r-table td:nth-child(2) { display: none; }
  .r-table th:nth-child(1) { width: auto; }
  .r-table td, .r-table th { padding-inline: 12px; }
  .r-detail { grid-template-columns: 1fr; padding: 12px; }
  .out-names { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; max-width: 100%; }
  .out-name { flex: none; scroll-snap-align: start; }
  .stage { height: 70svh; min-height: 480px; }
  .sheet { top: 16px; left: 16px; padding: 20px; width: 560px; max-width: none; }
  .s-fields div { grid-template-columns: 1fr; gap: 4px; }
  .p-split { grid-template-columns: 1fr; min-height: 0; }
  .p-field { order: -1; min-height: 46svh; padding: 1.5rem var(--margin); }
  .p-clause { min-height: 36svh; }
  .p-clause h2 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .statement { font-size: 1.25rem; }
  .p-control input[type="range"]::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -16px; }
  .price-table { display: none; }
  .plans-phone { display: grid; gap: 5.5rem; }
  .plans-title { font-size: var(--step-head); margin-bottom: 1rem; }
  .plan { padding: 0; }
  .plan.rec { padding: 28px 20px; border-radius: var(--r); margin-inline: -8px; }
  .plan.rec { background: var(--accent); }
  .plan dl { margin: 20px 0; display: grid; gap: 12px; }
  .plan dt { color: var(--muted); font-size: 0.9375rem; }
  .plan.rec dt { color: #2c4a3a; }
  .tiles { grid-template-columns: 1fr 1fr; height: auto; }
  .tile--main { grid-column: 1 / -1; grid-row: 1; min-height: 300px; border-radius: 0; }
  .tile--side { height: 140px; }
  .tile--side:first-child, .tile--side:last-child { border-radius: 0; }
  .cta-form { flex-direction: column; gap: 6px; }
  .cta-form input { min-height: 44px; }
  .foot { padding-top: 16svh; }
  .foot-line { grid-template-columns: 1fr; gap: 8px; }
  .foot-links { flex-wrap: wrap; gap: 8px 20px; }
  .foot-right { text-align: left; }
}
