/* Bench marketing site. Tokens mirror the web app (cardtech-web/src/app/globals.css). */

@font-face { font-family: "GT America"; src: url("fonts/GT-America-Standard-Regular-Trial.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GT America"; src: url("fonts/GT-America-Standard-Medium-Trial.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "GT America"; src: url("fonts/GT-America-Standard-Bold-Trial.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "GT America Mono"; src: url("fonts/GT-America-Mono-Regular-Trial.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GT America Mono"; src: url("fonts/GT-America-Mono-Medium-Trial.otf") format("opentype"); font-weight: 500; font-display: swap; }

:root {
  --ink: #101113;        /* app background */
  --panel: #16181c;      /* app card surface */
  --wash: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #f0f0f0;
  --muted: #8a939b;
  --dim: #5c6269;
  --up: #34d399;         /* price up */
  --down: #fb7185;       /* price down */
  --rookie: #f59e0b;     /* RC badge, "marginal" */
  --blue: #2081e2;       /* PSA 9 series, focus ring */
  --violet: #a78bfa;     /* PSA 10 series */
  --sans: "GT America", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "GT America Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", "Helvetica Neue", Impact, sans-serif;
  --action: #f59e0b;     /* terminal amber: primary buttons and the Pro tag */
  --action-hi: #fbbf24;
  --radius: 12px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.up { color: var(--up); }
.down { color: var(--down); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: #fff; color: #000; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px;
  border-radius: 8px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--action); color: #0b0b0c; }
.btn-primary:hover { background: var(--action-hi); }
.btn-quiet { background: transparent; border-color: rgba(255, 255, 255, 0.24); color: #fff; }
.btn-quiet:hover { border-color: #fff; background: rgba(255, 255, 255, 0.05); }
.btn-small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 5px;
  background: #fff; color: var(--ink);
  font-weight: 700; font-size: 16px; line-height: 1; padding-bottom: 2px;
}
.brand-mark-small { width: 20px; height: 20px; font-size: 13px; border-radius: 4px; }
.brand-name { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 28px; margin-right: auto; }
.nav-links a, .nav-signin { font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover, .nav-signin:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); }
.hero-head { margin-bottom: clamp(32px, 5vw, 64px); }
/* Heavy condensed capitals: the register of a business-magazine cover and a stadium scoreboard. */
.hero-title {
  font-family: var(--display);
  /* Sized so "A BLOOMBERG TERMINAL" (7.63em wide) fills the container on one line. */
  font-size: min(9.3rem, calc((100vw - 80px) / 7.75));
  font-weight: 800; line-height: 0.86; letter-spacing: -0.005em;
  text-transform: uppercase; text-wrap: balance;
}
.hero-line { display: block; }
.hero-side { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-top: clamp(20px, 3vw, 36px); }
.lede { font-size: clamp(1rem, 1.25vw, 1.125rem); color: #c4c7cc; max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-cta .cta-row { margin-top: 0; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* Real app screenshot */
.shot { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--ink); }
.shot img { display: block; width: 100%; height: auto; }

/* Panels (app: rounded-xl border-white/10 bg-white/[0.03]) */
.panel { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash); overflow: hidden; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 45px; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); }
.panel-title { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.025em; color: var(--text); }
.panel-sub { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.025em; color: var(--dim); }
.seg-push { margin-left: auto; }

/* Segmented toggle */
.seg { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 6px; }
.seg button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 8px; border: 0; border-radius: 4px; background: transparent; cursor: pointer;
  font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.025em; color: var(--muted);
  transition: color 0.15s, background-color 0.15s;
}
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.10); color: #fff; }
.seg-fill { display: flex; }
.seg-fill button { flex: 1; justify-content: center; padding: 8px 6px; }
.seg-large button { padding: 9px 14px; font-family: var(--sans); font-size: 14px; text-transform: none; letter-spacing: 0; }

/* Rows */
.rows > li { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line-soft); }
.rows > li:first-child { border-top: 0; }
.thumb {
  position: relative; flex: none; width: 28px; height: 40px; border-radius: 3px; overflow: hidden;
  background: linear-gradient(140deg, var(--c1, #cfd6dd), var(--c2, #5d6670));
}
.thumb::before { content: ""; position: absolute; inset: 3px 3px 10px; border-radius: 1px; background: rgba(16, 17, 19, 0.55); }
.thumb::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 3px; height: 4px; border-radius: 1px; background: rgba(255, 255, 255, 0.55); }
.row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.row-name { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 14px; color: var(--text); }
.row-name > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-meta-dim { font-size: 10px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc { flex: none; padding: 1px 4px; border-radius: 4px; background: var(--rookie); color: #000; font-family: var(--mono); font-size: 9px; font-weight: 500; line-height: 1.2; letter-spacing: 0.025em; }
.grade { flex: none; padding: 1px 4px; border: 1px solid var(--line); border-radius: 4px; font-family: var(--mono); font-size: 9px; line-height: 1.2; color: #c8cdd2; white-space: nowrap; }
.row-nums { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.row-price { font-family: var(--mono); font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.row-was { font-family: var(--mono); font-size: 10px; color: var(--dim); white-space: nowrap; }
.row-delta { flex: none; width: 60px; text-align: right; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }


/* Sections */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-ruled { border-top: 1px solid var(--line); }
.section-title { max-width: 22ch; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.section-lede { margin-top: 14px; max-width: 58ch; color: var(--muted); text-wrap: pretty; }

/* Feature rows */
.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 80px); align-items: start;
  padding-top: clamp(40px, 6vw, 80px);
}
.feature + .feature { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line-soft); }
.feature-title { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 12px; text-wrap: balance; }
.feature-copy > p { color: #c4c7cc; max-width: 48ch; }
.facts { margin-top: 20px; border-top: 1px solid var(--line-soft); }
.facts li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }

/* Chart */
.chart-box { padding: 12px 8px 4px; }
#chart { display: block; width: 100%; height: auto; }
#chart text { font-family: var(--mono); font-size: 10px; fill: var(--dim); }
#chart .grid { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
#chart .line { fill: none; stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; transition: opacity 0.2s; }
#chart .is-off { opacity: 0; }
.key { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.key-raw { background: #c8cdd2; }
.key-psa9 { background: var(--blue); }
.key-psa10 { background: var(--violet); }
.seg button[aria-pressed="false"] .key { opacity: 0.35; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); }
.stats > div { padding: 12px 16px; border-left: 1px solid var(--line-soft); }
.stats > div:first-child { border-left: 0; }
.stats dt, .scan-read dt, .calc-out dt { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.025em; color: var(--dim); }
.stats dd { margin-top: 4px; font-family: var(--mono); font-size: 15px; color: #fff; }
.stats dd span { font-size: 11px; }

/* Calculator */
.calc-body { padding: 16px; }
.calc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span:first-child, .field legend { font-size: 12px; color: var(--muted); }
.field legend { margin-bottom: 6px; }
.field b { font-family: var(--mono); font-weight: 400; color: #fff; }
.field-wide { grid-column: 1 / -1; }
.input { display: flex; align-items: center; height: 38px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 6px; background: rgba(255, 255, 255, 0.03); }
.input:focus-within { border-color: var(--blue); }
.input i { font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--dim); margin-right: 4px; }
.input input { width: 100%; min-width: 0; border: 0; background: transparent; outline: 0; font-family: var(--mono); font-size: 14px; color: #fff; -moz-appearance: textfield; appearance: textfield; }
.input input::-webkit-outer-spin-button, .input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="range"] { width: 100%; height: 24px; accent-color: #fff; cursor: pointer; }
.calc-out { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.calc-out dd { margin-top: 4px; font-family: var(--mono); font-size: 15px; color: #fff; font-variant-numeric: tabular-nums; }
.calc-key dd { font-size: 20px; font-weight: 500; }
.calc-note { margin-top: 14px; font-size: 12px; color: var(--dim); max-width: 62ch; }
.verdict { padding: 3px 10px; border: 1px solid; border-radius: 999px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.025em; }
.verdict[data-v="grade"] { color: var(--up); border-color: rgba(52, 211, 153, 0.2); background: rgba(52, 211, 153, 0.1); }
.verdict[data-v="marginal"] { color: #fbbf24; border-color: rgba(251, 191, 36, 0.2); background: rgba(251, 191, 36, 0.1); }
.verdict[data-v="raw"] { color: var(--down); border-color: rgba(251, 113, 133, 0.2); background: rgba(251, 113, 133, 0.1); }

/* Deal rows */
.deal-under { flex: none; width: 54px; text-align: right; font-size: 14px; font-weight: 700; color: var(--up); font-variant-numeric: tabular-nums; }
.conf { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; vertical-align: middle; }
.conf i { width: 3px; height: 8px; border-radius: 1px; background: rgba(255, 255, 255, 0.15); }
.conf i.on { background: var(--up); }

/* Scan */
.scan { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.scan-view { position: relative; display: flex; align-items: center; justify-content: center; min-height: 300px; padding: 32px; background: #0c0d0f; border-right: 1px solid var(--line-soft); }
.scan-card { position: relative; width: 132px; aspect-ratio: 5 / 7; border-radius: 7px; background: linear-gradient(140deg, #f1cf6b, #a9781a 55%, #6e4c0e); transform: rotate(-4deg); }
.scan-photo { position: absolute; inset: 9px 9px 38px; border-radius: 3px; background: rgba(16, 17, 19, 0.6); }
.scan-plate { position: absolute; left: 9px; right: 9px; bottom: 11px; height: 16px; border-radius: 2px; background: rgba(255, 255, 255, 0.6); }
.scan-corner { position: absolute; width: 22px; height: 22px; border: 2px solid #fff; }
.scan-tl { top: 22px; left: 22px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.scan-tr { top: 22px; right: 22px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.scan-bl { bottom: 22px; left: 22px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.scan-br { bottom: 22px; right: 22px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.scan-read { display: flex; flex-direction: column; justify-content: center; }
.scan-read > div { padding: 12px 16px; border-top: 1px solid var(--line-soft); }
.scan-read > div:first-child { border-top: 0; }
.scan-read dd { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 14px; color: var(--text); }

/* Release tabs: one real screenshot at a time */
.tabs { margin-top: clamp(28px, 4vw, 48px); }
.tablist { display: flex; gap: clamp(18px, 3vw, 36px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tablist button {
  flex: none; padding: 12px 0 13px; margin-bottom: -1px;
  border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
  font-size: 16px; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color 0.15s;
}
.tablist button:hover { color: #fff; }
.tablist button[aria-selected="true"] { color: #fff; border-bottom-color: #fff; }
.tabpanel { padding-top: 24px; }
.tabpanel + .tabpanel { margin-top: 32px; }
.tabpanel[hidden] { display: none; }
.tab-text { margin-bottom: 20px; max-width: 68ch; color: #c4c7cc; min-height: 3.1em; }
.tour-more { margin-top: clamp(32px, 5vw, 56px); padding-top: 20px; border-top: 1px solid var(--line-soft); color: var(--muted); max-width: 70ch; }

/* Directory */
.dir { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.dir-row { display: grid; grid-template-columns: minmax(150px, 2.2fr) minmax(0, 7fr) 64px; gap: 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--muted); }
.dir-head { padding: 10px 0; border-bottom-color: var(--line); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.025em; color: var(--dim); }
.dir-name { color: #fff; font-weight: 500; }
.plan { justify-self: start; padding: 1px 7px; border: 1px solid var(--line); border-radius: 4px; font-family: var(--mono); font-size: 11px; color: #c8cdd2; }
.plan-pro { background: var(--action); border-color: var(--action); color: #0b0b0c; }

/* Coverage */
.coverage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.cover { border-top: 1px solid var(--line); }
.cover > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.cover dt { font-size: 14px; color: var(--muted); }
.cover dd { font-size: 15px; color: var(--text); max-width: 56ch; }

/* Pricing */
.pricing-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.plan-card { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 16px; background: var(--wash); }
.plan-card-pro { border-color: rgba(245, 158, 11, 0.5); background: var(--panel); }
.plan-name { font-size: 20px; font-weight: 500; }
.plan-for { margin-top: 6px; min-height: 3.1em; color: var(--muted); max-width: 40ch; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.price-num { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.price-per { font-size: 14px; color: var(--muted); }
.plan-list { margin-top: 24px; border-top: 1px solid var(--line-soft); }
.plan-list li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: #c4c7cc; }
.pricing-more { margin-top: 20px; font-size: 14px; color: var(--muted); }
.pricing-more a { color: #fff; text-underline-offset: 3px; }

/* Close + footer */
.close-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.close-title { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; }
.close .cta-row { margin-top: 0; }
.footer { border-top: 1px solid var(--line); padding: 32px 0 48px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px; }
.legal { max-width: 62ch; font-size: 12px; color: var(--dim); }

/* Invite-only page */
.invite-page { min-height: 100vh; display: flex; flex-direction: column; }
.invite { flex: 1; display: flex; align-items: center; padding: clamp(56px, 10vw, 128px) 0; }
.invite-title { font-size: min(9.3rem, 17vw); }
.invite-lede { margin-top: clamp(20px, 3vw, 32px); }
.invite-form { display: grid; gap: 16px; max-width: 520px; margin-top: 28px; }
.invite-form[hidden], .invite-done[hidden] { display: none; }
.invite-field { display: grid; gap: 6px; }
.invite-field > span { font-size: 14px; color: #c4c7cc; }
.invite-field input {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px; background: rgba(255, 255, 255, 0.03);
  font-size: 16px; line-height: 1.4; color: #fff;
}
.invite-field input::placeholder { color: var(--dim); }
.invite-field input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(32, 129, 226, 0.25); }
.invite-field input[aria-invalid="true"] { border-color: var(--down); }
.invite-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.invite-error { font-size: 14px; color: var(--down); }
.invite-form .cta-row { margin-top: 4px; }
.invite-form button[disabled] { opacity: 0.6; cursor: progress; }
.invite-done { margin-top: 28px; }
.invite-done:focus { outline: 0; }
.invite-done-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.invite-done b { font-weight: 500; color: #fff; }

/* Phone */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
  .feature, .coverage { grid-template-columns: minmax(0, 1fr); }
  .hero-line { display: inline; }
  .hero-title { font-size: 15.2vw; }
  .shot img { width: 220%; max-width: none; }
  .rows > li { padding-inline: 12px; }
  .row-name { flex-wrap: wrap; row-gap: 3px; }
  .row-name > span:first-child { white-space: normal; }
  .panel-head { padding-inline: 12px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(odd) { border-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .calc-out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg-fill { flex-wrap: wrap; }
  .scan { grid-template-columns: minmax(0, 1fr); }
  .scan-view { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .dir-head { display: none; }
  .dir-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .dir-row > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .cover > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan-for { min-height: 0; }
}
@media (max-width: 420px) {
  .nav-signin { display: none; }
  .calc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-delta { width: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
