/* Fadepic — public pages. Direction: the product performs. */

.site main { display: block; }
.site section { scroll-margin-top: 24px; }
:root { --gap: clamp(120px, 15vw, 220px); --col-gap: 24px; }

/* product fragments keep the interface's own type and corners */
[data-ui] { font-size: 0.9375rem; line-height: 1.4; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.is-in, .reveal-all .reveal { opacity: 1; transform: none; }

/* ---------- hero: controls on the sentence ---------- */
.hero {
  min-height: calc(100svh - 86px); padding: 8px var(--margin) clamp(56px, 9vh, 104px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.hero-stage { width: min(100%, 1120px); display: grid; justify-items: center; row-gap: clamp(14px, 2.4vh, 28px); }
.hero-title {
  font-size: clamp(3rem, 9vw, 9.375rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.035em;
  transition: filter 320ms var(--ease);
  will-change: opacity, filter;
}
.hero-title.is-away { filter: blur(26px); }
.hero-title.is-gone { visibility: hidden; }
.mask { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.mask > span { display: block; transform: translateY(108%); animation: rise 900ms var(--ease) 80ms forwards; }
.mask + .mask > span { animation-delay: 190ms; }
@keyframes rise { to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.chip {
  width: 264px; min-height: 78px; padding: 12px 16px; background: var(--surface); color: var(--ink);
  border: 0; border-radius: var(--r-card); text-align: left;
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; row-gap: 8px;
  opacity: 0; animation: fadeup 700ms var(--ease) 620ms forwards;
}
.chip-label { font-size: 0.9375rem; color: var(--muted); }
.chip-read { font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.chip-a { justify-self: start; margin-left: 9%; rotate: -3deg; }
.chip-row { width: min(100%, 860px); display: flex; justify-content: space-between; gap: 16px; }
.chip-b { rotate: 2deg; grid-template-columns: 1fr auto; }
.chip-b .chip-label { grid-column: 1; }
.chip-b .chip-read { grid-column: 1; }
.chip-b .switch { grid-column: 2; grid-row: 1 / span 2; }
.chip-c { rotate: -2deg; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; transition: background-color 160ms linear; }
.chip-c:hover { background: var(--raised); }
.chip-c.is-held { background: var(--raised); }
.chip-range { grid-column: 1 / -1; }

.switch { width: 46px; height: 26px; padding: 3px; border: 0; border-radius: 13px; background: var(--control); transition: background-color 160ms linear; }
.switch span { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: transform 220ms var(--ease); }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"] span { transform: translateX(20px); background: var(--accent-ink); }

.hold-bar { grid-column: 1 / -1; height: 6px; background: var(--control); border-radius: 3px; overflow: hidden; }
.hold-bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left center; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: var(--control); border-radius: 3px; }
input[type="range"]::-moz-range-track { height: 6px; background: var(--control); border-radius: 3px; }
input[type="range"]::-moz-range-progress { height: 6px; background: var(--ink); border-radius: 3px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; background: var(--accent); border: 0; border-radius: 3px; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; background: var(--accent); border: 0; border-radius: 3px; }

.hero-sub { margin-top: clamp(28px, 5vh, 56px); max-width: 44ch; font-size: var(--step-body); opacity: 0; animation: fadeup 700ms var(--ease) 520ms forwards; }
.hero-actions { margin-top: 28px; opacity: 0; animation: fadeup 700ms var(--ease) 600ms forwards; }

/* ---------- showcase: one row, three states ---------- */
.show { margin-top: clamp(48px, 8vw, 120px); padding: 0 var(--margin); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); }
.show-title { grid-column: 4 / 13; font-size: var(--step-head); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 64px; }
.show-rows { grid-column: 1 / 11; display: grid; grid-template-columns: subgrid; row-gap: 56px; }
.show-item { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; }
.show-state { grid-column: 1 / 4; text-align: right; font-size: var(--step-lead); color: var(--muted); }
.linkrow {
  grid-column: 4 / 11; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; align-items: center; gap: 16px;
  padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: background-color 200ms linear;
}
.linkrow img, .linkrow-void { width: 56px; height: 56px; object-fit: cover; object-position: 50% 22%; border-radius: var(--r-control); }
.linkrow-void { background: var(--bg); border: 1px dashed var(--control); }
.linkrow-title { font-weight: 500; }
.linkrow-url { font-size: 0.8125rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.linkrow-status { font-size: 0.9375rem; min-width: 148px; }
.linkrow-meta { font-size: 0.8125rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.life { width: 148px; height: 4px; margin: 6px 0 5px; background: var(--line); border-radius: 2px; overflow: hidden; }
.life-fill { display: block; height: 100%; background: var(--accent); }
.life-96 { width: 96%; } .life-62 { width: 62%; }
.linkrow.is-hover { background: var(--raised); }
.linkrow-actions { display: flex; gap: 8px; }
.linkrow.is-gone .linkrow-title { color: var(--faint); }
.linkrow.is-dead { background: var(--surface); }
.linkrow.is-dead img { filter: grayscale(1) brightness(0.5); }

.ui-btn { height: 32px; padding: 0 12px; background: transparent; border: 1px solid var(--control); border-radius: var(--r-control); font-size: 0.9375rem; font-weight: 500; color: var(--ink); white-space: nowrap; transition: background-color 140ms linear, transform 140ms var(--ease); }
.ui-btn:hover { background: var(--line); }
.ui-btn:active { transform: scale(0.97); }
.ui-btn-danger { color: var(--negative); }

/* ---------- how it works: drag through the stages ---------- */
.how { margin-top: var(--gap); position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: min(88svh, 860px); }
.how-text { padding: clamp(40px, 6vw, 88px) var(--margin) 190px; }
.how-clause { font-size: var(--step-head); font-weight: 700; line-height: 1; letter-spacing: -0.03em; max-width: 9.5em; transition: opacity 200ms linear; }
.how-desc { margin-top: 28px; max-width: 34ch; font-size: var(--step-lead); line-height: 1.35; transition: opacity 200ms linear; }
.how.is-swapping .how-clause, .how.is-swapping .how-desc, .how.is-swapping .how-frag { opacity: 0; }
.how-stage { background: var(--surface); display: grid; place-items: center; padding: clamp(40px, 6vw, 88px) var(--margin) 190px; }
.how-frag { width: min(520px, 100%); padding: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); transition: opacity 200ms linear; }
.frag-head { display: flex; justify-content: space-between; font-weight: 600; font-size: 0.9375rem; margin-bottom: 16px; }
.frag-head span { font-weight: 400; color: var(--faint); font-variant-numeric: tabular-nums; }
.frag-album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.frag-album img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-control); }
.frag-album img.is-picked { outline: 3px solid var(--accent); outline-offset: 2px; }
.frag-label { font-size: 0.9375rem; color: var(--muted); margin: 14px 0 8px; }
.frag-label:first-of-type { margin-top: 0; }
.seg { display: inline-flex; border: 1px solid var(--control); border-radius: var(--r-control); overflow: hidden; }
.seg span { padding: 7px 16px; font-size: 0.9375rem; font-variant-numeric: tabular-nums; border-left: 1px solid var(--control); } /* taste-skill-ignore: segmented control inside a data-ui fragment */
.seg span:first-child { border-left: 0; }
.seg .is-on { background: var(--ink); color: var(--bg); font-weight: 600; }
.pin { display: flex; gap: 8px; }
.pin span { width: 40px; height: 44px; display: grid; place-items: center; border: 1px solid var(--control); border-radius: var(--r-control); font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pin .is-empty { border-color: var(--accent); }
.frag-check { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 0.9375rem; }
.box { width: 18px; height: 18px; border: 1px solid var(--control); border-radius: 4px; flex: none; }
.box.is-on { background: var(--ink); border-color: var(--ink); }
.joined { display: flex; }
.joined-field { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--control); border-right: 0; border-radius: var(--r-control) 0 0 var(--r-control); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.joined-btn { padding: 10px 16px; background: var(--ink); color: var(--bg); font-weight: 600; border-radius: 0 var(--r-control) var(--r-control) 0; }
.frag-note { margin-top: 12px; font-size: 0.9375rem; color: var(--faint); }
.how-gone { text-align: center; padding: 56px 20px; }
.gone-big { font-size: var(--step-lead); font-weight: 600; }

.how-track { position: absolute; left: var(--margin); right: var(--margin); bottom: 36px; }
.how-track input[type="range"] { height: 40px; }
.how-track input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 0; background: var(--control); }
.how-track input[type="range"]::-moz-range-track { height: 8px; border-radius: 0; background: var(--control); }
.how-track input[type="range"]::-moz-range-progress { height: 8px; border-radius: 0; background: var(--ink); }
.how-track input[type="range"]::-webkit-slider-thumb { width: 32px; height: 32px; margin-top: -12px; border-radius: 0; }
.how-track input[type="range"]::-moz-range-thumb { width: 32px; height: 32px; border-radius: 0; }
.how-stops { display: flex; justify-content: space-between; margin-top: 6px; }
.how-stops button { background: none; border: 0; padding: 6px 0; font-size: var(--step-body); color: var(--muted); }
.how-stops .is-on button { color: var(--ink); font-weight: 600; }

/* ---------- protection: small proof beside text ---------- */
.feat { margin-top: var(--gap); padding: 0 var(--margin); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: clamp(72px, 8vw, 112px); }
.feat-title { grid-column: 2 / 12; font-size: var(--step-head); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; }
.feat-mod { grid-column: 2 / 12; display: grid; grid-template-columns: 5fr 4fr; column-gap: clamp(24px, 4vw, 72px); align-items: start; }
.feat-panel { background: var(--surface); border-radius: var(--r-card); padding: 24px; min-height: 150px; display: flex; flex-direction: column; justify-content: center; gap: 12px; overflow: hidden; position: relative; }
.feat-text h3 { font-size: var(--step-lead); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
.feat-text p { margin-top: 14px; max-width: 40ch; }
.feat-tiles { padding: 0; height: 320px; display: block; cursor: pointer; }
.feat-tiles img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.tiles-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, 1fr); }
.tiles-grid i { display: block; background-repeat: no-repeat; transition: opacity 420ms linear; }
.feat-tiles.is-solved .tiles-grid i { opacity: 0; }
.feat-photo { padding: 0; height: 320px; }
.feat-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.feat-away img { filter: blur(20px) brightness(0.72); transform: scale(1.18); }
.feat-over { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 10px; }
.wm { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-around; padding: 20px 0; pointer-events: none; }
.wm span { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.7); white-space: nowrap; }
.wm span:nth-child(1) { margin-left: 6%; } .wm span:nth-child(2) { margin-left: 34%; } .wm span:nth-child(3) { margin-left: 12%; }
.ui-strip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-control); font-weight: 500; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.ui-note { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; background: var(--negative-bg); color: var(--negative); border-radius: var(--r-control); font-size: 0.9375rem; font-weight: 500; }
.ui-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.ui-table th, .ui-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.ui-table tr:last-child th, .ui-table tr:last-child td { border-bottom: 0; }
.ui-table th { color: var(--muted); }
.ui-table s { color: var(--faint); }
.ui-table td:last-child { color: var(--positive); font-weight: 500; text-align: right; }
.ui-file { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-control); font-size: 0.9375rem; }
.ui-file span:last-child { color: var(--faint); }
.ui-file.is-dead { border-style: dashed; color: var(--negative); font-weight: 500; }
.ui-meta { font-size: 0.8125rem; color: var(--faint); }
.pin-lg span { width: 52px; height: 58px; font-size: var(--step-lead); }
.feat-honest { grid-column: 2 / 12; font-size: var(--step-lead); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; max-width: 34em; }

/* ---------- pricing: plans as a large table ---------- */
.price { margin-top: var(--gap); padding: 0 var(--margin); }
.price-title { margin-bottom: clamp(20px, 3vw, 40px); font-size: var(--step-head); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; }
.price-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: var(--step-lead); }
.price-table th, .price-table td { padding: 20px 24px; text-align: left; vertical-align: top; font-weight: 400; }
.price-table col, .price-table th:first-child, .price-table td:first-child { width: 34%; }
.price-table thead th { padding-top: 32px; padding-bottom: 32px; vertical-align: bottom; }
.plan-name { display: block; overflow-wrap: anywhere; font-size: clamp(1.5rem, 3.2vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.plan-price { display: block; font-size: clamp(1.5rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: var(--step-body); letter-spacing: 0; }
.plan-alt { display: block; margin-top: 0.6em; font-size: var(--step-body); font-weight: 400; line-height: 1.2; letter-spacing: 0; opacity: 0.8; }
.price-table tbody tr:nth-child(odd) > * { background: var(--surface); }
.price-table tbody th { color: var(--ink); }
.price-table .is-rec, .price-table tbody tr:nth-child(odd) > .is-rec { background: var(--accent); color: var(--accent-ink); }
.price-table tbody .is-rec { font-weight: 500; }
.price-table tfoot td { padding-top: 28px; padding-bottom: 32px; }
.price-note { margin-top: 24px; max-width: 62ch; }

/* ---------- questions: accordion of filled tiles ---------- */
.faq { margin-top: var(--gap); padding: 0 var(--margin); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: start; }
.faq-title { grid-column: 1 / 5; position: sticky; top: 96px; font-size: var(--step-head); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; }
.faq-list { grid-column: 5 / 13; display: grid; gap: 8px; }
.faq-item { background: var(--surface); transition: background-color 200ms linear, color 200ms linear; }
.faq-item summary { list-style: none; cursor: pointer; min-height: 72px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: var(--step-lead); font-weight: 500; line-height: 1.2; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 16px; height: 16px; flex: none; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform 260ms var(--ease); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-item:hover { background: var(--raised); }
.faq-item[open] { background: var(--accent); color: var(--accent-ink); }
.faq-item > p { padding: 0 24px 26px; max-width: 58ch; font-size: var(--step-body); font-weight: 500; }
.faq-item[open] summary:focus-visible { outline-color: var(--accent-ink); outline-offset: -6px; }

/* ---------- close: a sentence with a blank ---------- */
.cta { margin-top: var(--gap); padding: clamp(72px, 10vw, 152px) var(--margin); background: var(--field); color: var(--field-ink); }
.cta-line { font-size: clamp(3rem, 9vw, 9.375rem); font-weight: 700; line-height: 1.14; letter-spacing: -0.035em; }
.cta-line label { cursor: text; }
.cta-line input { display: inline-block; vertical-align: baseline; width: 5.2em; max-width: 100%; height: 1.1em; padding: 0 0.16em; margin: 0 0.12em; border: 0; border-radius: 0; background: #d5d7da; color: var(--field-ink); font: inherit; letter-spacing: inherit; }
.cta-line input::placeholder { color: #5b5e63; opacity: 1; }
.cta-line input:focus-visible { outline: 4px solid var(--field-ink); outline-offset: 0; }
.cta-line button { display: inline-block; vertical-align: baseline; height: 1.1em; padding: 0 0.22em; border: 0; border-radius: 0; background: var(--accent); color: var(--accent-ink); font: inherit; letter-spacing: inherit; line-height: 1; transition: transform 160ms var(--ease), background-color 160ms linear; }
.cta-line button:hover { background: #ff6a45; }
.cta-line button:active { transform: scale(0.97); }
.cta-line button:focus-visible { outline: 4px solid var(--field-ink); outline-offset: 2px; }
.cta-note { margin-top: 28px; font-size: var(--step-body); max-width: 52ch; }

/* ---------- foot: a single quiet line ---------- */
.foot { padding: clamp(72px, 12svh, 140px) var(--margin) 28px; display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 24px; row-gap: 20px; align-items: baseline; font-size: 0.9375rem; color: var(--muted); }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
.foot-end { text-align: right; }
.foot-credits { grid-column: 1 / -1; font-size: 0.8125rem; line-height: 1.5; max-width: 110ch; }
.foot-credits a { color: var(--muted); text-decoration: underline; }

/* ---------- legal and message pages ---------- */
.site main.doc { padding: clamp(32px, 6vw, 88px) var(--margin) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); }
.doc h1 { grid-column: 1 / 6; font-size: var(--step-head); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; position: sticky; top: 32px; align-self: start; }
.doc-body { grid-column: 6 / 13; max-width: 68ch; }
.doc-body h2 { font-size: var(--step-lead); font-weight: 600; line-height: 1.2; margin: 48px 0 12px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body li { margin-bottom: 12px; }
.doc-body ul { list-style: square; padding-left: 1.2em; }
.doc-note { padding: 16px 20px; background: var(--surface); margin-bottom: 32px; }
.msg { min-height: 62svh; padding: clamp(48px, 10vw, 140px) var(--margin) 0; }
.msg h1 { font-size: var(--step-head); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; max-width: 14em; }
.msg p { margin-top: 24px; max-width: 48ch; font-size: var(--step-lead); }
.msg .btn { margin-top: 36px; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .show-title { grid-column: 3 / 13; }
  .show-rows { grid-column: 1 / 13; }
  .show-state { grid-column: 1 / 3; }
  .linkrow { grid-column: 3 / 13; }
  .feat-title, .feat-mod, .feat-honest { grid-column: 1 / 13; }
  .faq { display: block; }
  .faq-title { position: static; margin-bottom: 32px; }
  .price-table th, .price-table td { padding: 16px 14px; }
}

/* ---------- phone ---------- */
@media (max-width: 700px) {
  :root { --gap: 104px; }
  .hero { min-height: calc(100svh - 80px); padding-bottom: 48px; }
  .hero-title { font-size: 13.5vw; }
  .chip { width: 100%; max-width: 220px; min-height: 66px; padding: 10px 12px; rotate: none; }
  .chip-a { justify-self: center; margin-left: 0; max-width: 264px; }
  .chip-row { gap: 10px; justify-content: center; }
  .chip-row .chip { flex: 1 1 0; min-width: 0; }
  .chip-label { font-size: 0.8125rem; }

  .show { display: block; }
  .show-title { margin-bottom: 40px; }
  .show-rows { display: block; }
  .show-item { display: flex; flex-direction: column-reverse; align-items: stretch; margin-bottom: 48px; }
  .show-state { text-align: left; font-size: var(--step-body); margin-top: 10px; }
  .linkrow { grid-template-columns: 56px minmax(0, 1fr); }
  .linkrow-status { grid-column: 1 / -1; }
  .linkrow-actions { grid-column: 1 / -1; }

  .how { grid-template-columns: 1fr; min-height: 0; }
  .how-stage { order: 1; min-height: 46svh; padding: 28px var(--margin); }
  .how-track { order: 2; position: static; padding: 4px var(--margin) 0; background: var(--bg); }
  .how-text { order: 3; padding: 28px var(--margin) 0; }

  .feat { display: block; }
  .feat-title { margin-bottom: 48px; }
  .feat-mod { display: block; margin-bottom: 64px; }
  .feat-text { margin-top: 16px; }
  .feat-tiles, .feat-photo { height: 260px; }
  .feat-honest { font-size: var(--step-body); }

  .price-table th, .price-table td { padding: 12px 10px; }
  .price-table { font-size: 0.9375rem; }
  .price-table col, .price-table th:first-child, .price-table td:first-child { width: 32%; }
  .plan-name, .plan-price { font-size: var(--step-lead); }
  .plan-price small { display: block; font-size: 0.8125rem; }
  .price-table .btn { padding: 0 12px; min-height: 48px; font-size: 0.9375rem; white-space: normal; text-align: center; width: 100%; }

  .faq-list { gap: 6px; }
  .faq-item summary { min-height: 64px; padding: 16px 20px; }
  .faq-item > p { padding: 0 20px 22px; }

  .cta-line { font-size: 13.5vw; }
  .cta-line input { display: block; width: 100%; margin: 0.12em 0; }

  .foot { grid-template-columns: 1fr; padding-top: 20svh; row-gap: 8px; }
  .foot-links { justify-content: flex-start; }
  .foot-end { text-align: left; }

  .site main.doc { display: block; }
  .doc h1 { position: static; margin-bottom: 32px; }
}

.foot-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.06em; cursor: pointer; }
.foot-imprint { overflow-wrap: anywhere; }

/* ---------- guides: the list and one article ---------- */
.guide-head { grid-column: 1 / 6; position: sticky; top: 32px; align-self: start; }
.doc.guide h1 { position: static; margin: 0; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.375rem); line-height: 1; letter-spacing: -0.028em; text-wrap: balance; overflow-wrap: break-word; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 22px; font-size: 0.9375rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.guide-meta { margin-top: 22px; max-width: 36ch; font-size: 0.9375rem; color: var(--muted); }
.guide-lead { margin-bottom: 44px; font-size: var(--step-lead); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.guide-body h3 { margin: 28px 0 8px; font-size: var(--step-body); font-weight: 600; }
.guide-body ol { list-style: decimal; padding-left: 1.5em; }
.guide-body ol > li::marker { font-weight: 600; color: var(--accent); }
.guide-body li > ul, .guide-body li > ol { margin-top: 8px; }
.tw { margin: 20px 0 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tw table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.35; }
.tw th, .tw td { padding: 12px 14px; text-align: left; vertical-align: top; background: var(--surface); border-bottom: 2px solid var(--bg); }
.tw thead th { background: var(--raised); font-weight: 600; }
.tw tbody th { font-weight: 600; }
.guide-faq { display: grid; gap: 8px; margin-top: 16px; }
.guide-faq .faq-item summary { min-height: 60px; padding: 16px 20px; font-size: var(--step-body); font-weight: 600; }
.guide-faq .faq-item > p { margin: 0; padding: 0 20px 20px; }
.guide-cta { margin-top: 56px; padding: 28px 28px 30px; background: var(--field); color: var(--field-ink); }
.guide-cta p { margin-bottom: 16px; max-width: 46ch; }
.guide-cta p:last-child { margin-bottom: 0; }
.guide-cta .guide-cta-title { font-size: var(--step-lead); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 10px; }
.guide-cta .btn:focus-visible { outline-color: var(--field-ink); }
.guide-more { margin-top: 56px; }
.guide-more h2 { margin-bottom: 16px; }
.gl, .doc-body ul.gl { list-style: none; padding: 0; display: grid; gap: 8px; }
.gl li, .doc-body ul.gl li { margin: 0; }
.gl-item { display: grid; gap: 8px; padding: 20px 24px; background: var(--surface); text-decoration: none; transition: background-color 200ms linear; }
.gl-item:hover { background: var(--raised); }
.gl-title { font-size: var(--step-lead); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.gl-desc { color: var(--muted); }
.guide-more .gl-item, .faq-list .gl-item { padding: 18px 24px; }
.guide-more .gl-title { font-size: var(--step-body); font-weight: 600; letter-spacing: 0; }
.gl-all { margin-top: 20px; }
@media (max-width: 1100px) {
  .guide-head { position: static; margin-bottom: 36px; }
  .gl-item { padding: 16px 20px; }
  .guide-cta { padding: 22px 20px 24px; }
}
