/* evidentgym.com generated pages: strength standards, tools, comparisons (site-src/build.mjs).
   Same palette, type and components as the home page (home.css); the shared rules are copied
   here so these pages load one small stylesheet. Change both when a shared component changes. */

@font-face { font-family: "Anton"; src: url("/fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Anton Fallback"; src: local("Impact"), local("Arial Narrow Bold"), local("Arial"); size-adjust: 96%; ascent-override: 118%; descent-override: 33%; }
@font-face { font-family: "Manrope Fallback"; src: local("Helvetica Neue"), local("Arial"); size-adjust: 103%; ascent-override: 95%; descent-override: 25%; }

:root {
  color-scheme: dark;
  --espresso: #0d0b0a;
  --surface: #1f1a16;
  --surface-hi: #2b2118;
  --bone: #f5f0e3;
  --bronze: #d1ab75;
  --gold: #f5d694;
  --subtle: rgba(245, 240, 227, 0.64);
  --faint: rgba(245, 240, 227, 0.53);
  --hair: rgba(245, 240, 227, 0.09);
  --foil: linear-gradient(180deg, #fff3cb 0%, #f5d694 36%, #dcaa5c 72%, #b98543 100%);
  --poster: "Anton", "Anton Fallback", Impact, "Arial Narrow", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4.6vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--espresso); color: var(--bone);
  font-family: var(--body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--bone); color: var(--espresso); padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: lining-nums tabular-nums; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ground { position: fixed; inset: 0; z-index: -2; background: var(--espresso); overflow: hidden; pointer-events: none; }
.ground::before, .ground::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); }
.ground::before { width: 70vmax; height: 70vmax; left: -22vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(209, 171, 117, 0.13), transparent); animation: drift 40s ease-in-out infinite alternate; }
.ground::after { width: 60vmax; height: 60vmax; right: -25vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(205, 154, 78, 0.1), transparent); animation: drift 48s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(16vmax, 12vmax, 0); } }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px; }

/* ---------- type ---------- */
.poster { font-family: var(--poster); font-weight: 400; text-transform: uppercase; line-height: 0.9; letter-spacing: 0.004em; margin: 0; text-wrap: balance; }
.poster > span { display: block; }
.gold { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.eyebrow { margin: 0 0 16px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze); }
.sec-lede { margin: 18px 0 0; max-width: 34em; font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.2rem); line-height: 1.55; color: var(--subtle); text-wrap: pretty; }
.fine { margin: 14px 0 0; font-size: 0.8rem; line-height: 1.5; color: var(--faint); max-width: 44em; }
.h2 { font-family: var(--poster); font-weight: 400; text-transform: uppercase; font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.3rem); line-height: 0.95; letter-spacing: 0.004em; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); margin: 34px 0 12px; }
.prose { margin: 16px 0 0; color: var(--subtle); max-width: 36em; text-wrap: pretty; }
.prose a, .calc-note a, .std-lede a { color: var(--bronze); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.nav.is-solid { background: rgba(13, 11, 10, 0.72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--hair); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav-mark img { width: 118px; height: auto; }
.nav-links { display: none; margin-left: auto; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--subtle); transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--bone); }
.nav-cta { margin-left: auto; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 12px; background: var(--bone); color: var(--espresso); font-weight: 800; font-size: 0.92rem; text-decoration: none; transition: transform 0.2s var(--ease), background 0.2s; }
.nav-cta:hover { background: #fff; transform: translateY(-1px); }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-cta { margin-left: 8px; } }

/* ---------- breadcrumbs + page hero ---------- */
.crumbs { padding-top: 92px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.82rem; font-weight: 600; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(245, 240, 227, 0.3); }
.crumbs a { color: var(--subtle); text-decoration: none; }
.crumbs a:hover { color: var(--bone); }
.phero { padding: clamp(28px, 4vw, 48px) 0 0; }
.phero h1 { font-size: clamp(3.3rem, 1.9rem + 6.2vw, 7.6rem); line-height: 0.88; }
.phero h1 > span { display: block; }
.rank-copy h1, .tool-copy h1 { font-size: clamp(3.1rem, 1.7rem + 4.6vw, 6.6rem); line-height: 0.88; }
.rank-copy .calc, .tool-copy .calc { margin-top: 32px; }
.rank-copy .calc-lift { margin-top: 32px; margin-bottom: 0; }
.rank-copy .calc-lift + .calc { margin-top: 18px; }

/* ---------- badge ---------- */
.badge { display: inline-block; border-radius: 12px; transition: transform 0.2s var(--ease), filter 0.2s; }
.badge img { height: 56px; width: auto; }
.badge:hover { transform: translateY(-2px); filter: brightness(1.12); }
.hero-note { margin: 0; font-size: 0.9rem; color: var(--subtle); }
.hero-note b { color: var(--bone); font-weight: 700; }

/* ---------- buttons ---------- */
.btn-bone, .btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 800; font-size: 0.98rem; text-decoration: none; transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s; }
.btn-bone { background: var(--bone); color: var(--espresso); }
.btn-bone:hover { background: #fff; transform: translateY(-1px); }
.btn-line { color: var(--bone); box-shadow: inset 0 0 0 1.5px rgba(245, 240, 227, 0.22); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--gold); transform: translateY(-1px); }
.btn-line svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- segmented control, calculator ---------- */
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(245, 240, 227, 0.06); box-shadow: inset 0 0 0 1px var(--hair); }
.seg-btn { position: relative; height: 40px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 0.94rem; color: var(--subtle); transition: background 0.25s var(--ease), color 0.25s; }
.seg-btn[aria-pressed="true"] { background: var(--bone); color: var(--espresso); }
.seg-btn:not([aria-pressed="true"]):hover { color: var(--bone); }
.seg-sm .seg-btn { height: 38px; padding: 0 16px; font-size: 0.9rem; }

.rank { padding: clamp(24px, 3vw, 44px) 0 clamp(56px, 7vw, 100px); }
.rank-grid { display: grid; gap: 44px; }
.calc { display: grid; gap: 18px; max-width: 520px; }
.calc-row { display: grid; gap: 8px; }
.calc-label { margin: 0; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); }
.calc .seg { justify-self: start; }
.calc-bw { grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; }
.calc-bw .calc-label { grid-column: 1 / -1; }
.calc-out { min-width: 4.4em; text-align: right; font-weight: 800; font-size: 1.05rem; }
input[type="range"]#c-bw { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; cursor: pointer; }
#c-bw::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--fill, 39%), rgba(245, 240, 227, 0.14) var(--fill, 39%)); }
#c-bw::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(245, 240, 227, 0.14); }
#c-bw::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold); }
#c-bw::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--bone); box-shadow: 0 0 0 5px rgba(245, 214, 148, 0.25), 0 4px 12px rgba(0, 0, 0, 0.5); }
#c-bw::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--bone); box-shadow: 0 0 0 5px rgba(245, 214, 148, 0.25); }
.calc-set { grid-template-columns: 1.4fr 1fr; gap: 14px; }
.calc-more { grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: start; }
.calc-more .seg { display: flex; width: 100%; height: 56px; align-items: center; }
.calc-more .seg-btn { flex: 1; height: 48px; }
.calc-set.is-reps > .stepper:first-child { order: 2; }
.stepper { display: grid; gap: 8px; min-width: 0; }
.step { display: flex; align-items: center; height: 56px; border-radius: 14px; background: rgba(245, 240, 227, 0.05); box-shadow: inset 0 0 0 1px var(--hair); }
.step button { flex: none; width: 48px; height: 100%; font-size: 1.4rem; font-weight: 500; color: var(--bone); border-radius: 14px; transition: background 0.2s; }
.step button:hover { background: rgba(245, 240, 227, 0.07); }
.step input { flex: 1; min-width: 0; width: 100%; height: 100%; border: 0; background: transparent; color: var(--bone); text-align: center; font: 400 1.9rem/1 var(--poster); letter-spacing: 0.02em; -moz-appearance: textfield; appearance: textfield; }
.step input::-webkit-outer-spin-button, .step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step input:focus { outline: none; }
.step:focus-within { box-shadow: inset 0 0 0 1.5px var(--gold); }
.step .unit { font-size: 0.85rem; font-weight: 700; color: var(--subtle); margin-right: 2px; }
.calc-note { margin: 18px 0 0; max-width: 34em; font-size: 0.9rem; color: var(--faint); }
.calc-more-link { margin: 12px 0 0; font-weight: 700; }
.calc-more-link a { color: var(--bronze); text-decoration: none; }
.calc-more-link a:hover { color: var(--gold); }
.calc-lift { margin-bottom: 18px; max-width: 520px; }

.select { position: relative; }
.select select { -webkit-appearance: none; appearance: none; width: 100%; height: 52px; padding: 0 44px 0 16px; border: 0; border-radius: 14px; background: rgba(245, 240, 227, 0.05); box-shadow: inset 0 0 0 1px var(--hair); color: var(--bone); font: 700 1rem/1 var(--body); cursor: pointer; }
.select select:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--gold); }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze); transform: rotate(45deg); pointer-events: none; }
.select option { background: var(--surface); color: var(--bone); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips > span { display: contents; }
.chips > .u-kg, :root[data-units="kg"] .chips > .u-lb { display: none; }
:root[data-units="kg"] .chips > .u-kg { display: contents; }
.chip { min-width: 52px; height: 40px; padding: 0 12px; border-radius: 12px; font-weight: 800; font-size: 0.92rem; color: var(--faint); box-shadow: inset 0 0 0 1px var(--hair); transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.chip[aria-pressed="true"] { color: var(--bone); background: rgba(245, 240, 227, 0.08); box-shadow: inset 0 0 0 1.5px rgba(245, 214, 148, 0.45); }

/* Phones: the live rank rides along above the form. */
.rank-mini { display: none; }
@media (max-width: 959px) {
  .rank-mini { --tc: #f2c761; position: sticky; top: 76px; z-index: 5; display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 6px 16px 6px 6px; border-radius: 16px;
    background: rgba(22, 18, 15, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--hair), 0 12px 30px rgba(0, 0, 0, 0.45); }
  .rank-mini img { width: 40px; height: 40px; }
  .rank-mini b { font: 400 1.4rem/1 var(--poster); letter-spacing: 0.02em; text-transform: uppercase; color: var(--tc); white-space: nowrap; }
  .rank-mini span { margin-left: auto; font-size: 0.8rem; font-weight: 700; color: var(--subtle); text-align: right; white-space: nowrap; }
  .rank-copy .rank-mini + .calc, .rank-copy .rank-mini + .calc-row + .calc { margin-top: 20px; }
}

/* ---------- rank output (same as home) ---------- */
.rank-out { --tc: #f2c761; --tcd: #a37829; position: relative; display: grid; justify-items: center; text-align: center; align-content: center; }
.medal { position: relative; width: min(280px, 64vw); aspect-ratio: 1; display: grid; place-items: center; perspective: 800px; }
.medal-glow { position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--tc) 38%, transparent), transparent 72%); transition: background 0.6s; }
.medal::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--tc) 30%, transparent); transition: border-color 0.6s; }
.medal-tilt { position: relative; width: 86%; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s var(--ease); animation: hover 5.5s ease-in-out infinite; }
@keyframes hover { 50% { translate: 0 -8px; } }
.medal img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
.medal.is-swap img { animation: medal 0.7s var(--spring); }
@keyframes medal { 0% { transform: scale(0.55) rotate(-12deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.medal.is-bump img { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.05); } }
.rank-name { margin-top: 4px; font-size: clamp(3.2rem, 2.2rem + 3.4vw, 5.4rem); color: var(--tc); transition: color 0.5s; }
.rank-pct { margin: 10px 0 0; font-size: 1.15rem; font-weight: 700; }
.rank-bar { width: min(320px, 80%); height: 6px; margin-top: 18px; border-radius: 6px; background: rgba(245, 240, 227, 0.1); overflow: hidden; }
.rank-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--tcd), var(--tc)); transition: width 0.6s var(--ease), background 0.5s; }
.rank-next { margin: 10px 0 0; font-size: 0.92rem; color: var(--subtle); }
.rank-max { margin: 4px 0 0; font-size: 0.85rem; color: var(--faint); }
.how-steps a { color: var(--bronze); }
.ladder { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ladder li { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding: 6px 9px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--hair); transition: color 0.3s, background 0.3s, box-shadow 0.3s; }
.ladder li.is-done { color: var(--subtle); }
.ladder li.is-on { color: var(--espresso); background: var(--tc); box-shadow: none; }
.share-btn { margin-top: 24px; }
.rank-out .fine { max-width: 27em; margin-top: 18px; }
@media (min-width: 960px) {
  .rank-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
}

/* ---------- units ---------- */
.u-kg { display: none; }
:root[data-units="kg"] .u-kg { display: inline; }
:root[data-units="kg"] .u-lb { display: none; }

/* ---------- standards tables ---------- */
.std { padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); border-top: 1px solid var(--hair); }
.std-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; }
.std-lede { margin: 14px 0 0; max-width: 40em; color: var(--subtle); }
.table-wrap { position: relative; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--hair); background: #15110e; overscroll-behavior-x: contain; }
.std-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-variant-numeric: lining-nums tabular-nums; }
.std-table.is-reps { min-width: 600px; }
.std-table.is-narrow { min-width: 0; }
.std-table th, .std-table td { padding: 12px 14px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--hair); }
.std-table tbody tr:last-child th, .std-table tbody tr:last-child td { border-bottom: 0; }
.std-table thead th { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); background: #15110e; vertical-align: bottom; }
.std-table thead th img { width: 28px; height: 28px; margin: 0 0 6px auto; }
.std-table thead th[data-t] span { display: block; }
.std-table th:first-child { position: sticky; left: 0; z-index: 1; text-align: left; background: #15110e; box-shadow: 1px 0 0 var(--hair); }
.std-table thead th:first-child { z-index: 2; }
.std-table tbody th { font-weight: 700; color: var(--bone); }
.std-table tbody th small { color: var(--faint); font-weight: 600; }
.std-table tbody th a { color: var(--bone); text-decoration: none; }
.std-table tbody th a:hover { color: var(--gold); }
.std-table td { color: var(--subtle); font-weight: 600; }
.std-table td:nth-child(4) { color: var(--bone); }
.std-table tbody tr:hover td, .std-table tbody tr:hover th { background-color: #1d1916; }
.std-table tr.is-you th, .std-table tr.is-you td { background-color: #29231a; color: var(--bone); }
.std-table tr.is-you th::after { content: "You"; margin-left: 8px; padding: 2px 7px; border-radius: 99px; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--espresso); background: var(--gold); vertical-align: 2px; }
.std-table [data-t="iron"] span { color: #949ca8; }
.std-table [data-t="bronze"] span { color: #bd7a47; }
.std-table [data-t="silver"] span { color: #c9d4e0; }
.std-table [data-t="gold"] span { color: #f2c761; }
.std-table [data-t="platinum"] span { color: #54c7cc; }
.std-table [data-t="diamond"] span { color: #b082ed; }
.std-table [data-t="radiant"] span { color: #fcde85; }
.std-table.is-left td { text-align: left; }
.std .h3:first-of-type { margin-top: 28px; }
.twin { display: grid; gap: 8px 28px; }
@media (min-width: 760px) { .twin { grid-template-columns: 1fr 1fr; } }

/* ---------- good / Q&A ---------- */
.good { padding: clamp(56px, 7vw, 96px) 0; }
.good-grid { display: grid; gap: 36px; }
.qa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.qa-list li { padding: 18px 20px; border-radius: 18px; background: rgba(245, 240, 227, 0.035); box-shadow: inset 0 0 0 1px var(--hair); }
.qa-q { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.08rem; }
.qa-a { margin: 6px 0 0; color: var(--subtle); font-size: 0.95rem; }
@media (min-width: 960px) { .good-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; } }

/* ---------- how it works ---------- */
.how { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--hair); }
.how-grid { display: grid; gap: 30px; }
.how-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.how-steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 64px; border-radius: 18px; background: rgba(245, 240, 227, 0.035); box-shadow: inset 0 0 0 1px var(--hair); color: var(--subtle); }
.how-steps li::before { content: counter(s); position: absolute; left: 20px; top: 16px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font: 400 1rem/1 var(--poster); color: var(--espresso); background: var(--foil); }
.how-steps b { color: var(--bone); }
@media (min-width: 960px) { .how-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }

/* ---------- app CTA band ---------- */
.cta-band { padding: clamp(40px, 5vw, 72px) 0; }
.cta-in { position: relative; display: grid; gap: 18px 36px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 120% at 0% 0%, rgba(209, 171, 117, 0.16), transparent 60%), linear-gradient(180deg, rgba(245, 240, 227, 0.05), rgba(245, 240, 227, 0.02)); box-shadow: inset 0 0 0 1px rgba(245, 240, 227, 0.1); }
.cta-medal { width: 128px; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.5)); }
.cta-title { font-size: clamp(2.3rem, 1.6rem + 2.8vw, 3.9rem); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
@media (min-width: 760px) { .cta-in { grid-template-columns: auto 1fr; } .cta-medal { width: 180px; } }

/* ---------- lift cards ---------- */
.more-lifts { padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hub { padding: clamp(48px, 6vw, 80px) 0 0; }
.hub-group .h3 { margin-top: 28px; }
.lift-cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.hub .lift-cards { margin-top: 0; }
.lift-card { display: grid; gap: 4px; height: 100%; padding: 18px 20px; border-radius: 18px; text-decoration: none; background: rgba(245, 240, 227, 0.035); box-shadow: inset 0 0 0 1px var(--hair); transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s; }
.lift-card b { font-family: var(--serif); font-size: 1.1rem; }
.lift-card span { font-size: 0.88rem; color: var(--subtle); }
.lift-card:hover { transform: translateY(-2px); background: rgba(245, 240, 227, 0.06); box-shadow: inset 0 0 0 1px rgba(245, 214, 148, 0.4); }
.lift-card.all b { color: var(--gold); }
.lift-cards.is-big { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.lift-cards.is-big .lift-card { padding: 28px 26px; }
.lift-cards.is-big .lift-card b { font-size: 1.4rem; }

/* ---------- the seven ranks ---------- */
.tier-cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.tier-card { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 18px 12px 20px; border-radius: 20px; text-align: center; background: rgba(245, 240, 227, 0.035); box-shadow: inset 0 0 0 1px var(--hair); font-size: 0.84rem; color: var(--subtle); }
.tier-card img { width: 84px; height: 84px; margin-bottom: 4px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5)); }
.tier-card b { font: 400 1.7rem/1 var(--poster); letter-spacing: 0.02em; text-transform: uppercase; }
.tier-card .tier-std { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); margin-bottom: 4px; }
.tier-card[data-t="iron"] b { color: #949ca8; } .tier-card[data-t="bronze"] b { color: #bd7a47; } .tier-card[data-t="silver"] b { color: #c9d4e0; }
.tier-card[data-t="gold"] b { color: #f2c761; } .tier-card[data-t="platinum"] b { color: #54c7cc; } .tier-card[data-t="diamond"] b { color: #b082ed; } .tier-card[data-t="radiant"] b { color: #fcde85; }
@media (min-width: 1100px) { .tier-cards { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

/* ---------- tools ---------- */
.tool { padding: clamp(24px, 3vw, 44px) 0 clamp(48px, 6vw, 88px); }
.tool-grid { display: grid; gap: 32px; }
.panel { border-radius: 26px; padding: clamp(24px, 3vw, 36px); background: radial-gradient(90% 90% at 100% 0%, rgba(209, 171, 117, 0.14), transparent 60%), rgba(245, 240, 227, 0.035); box-shadow: inset 0 0 0 1px rgba(245, 240, 227, 0.1); }
.tool-out { display: grid; align-content: center; justify-items: start; gap: 6px; }
.big-num { font-size: clamp(3.6rem, 2.6rem + 4vw, 6.4rem); line-height: 0.95; }
.big-num > span { display: inline; }
.big-num small { font-size: 0.34em; color: var(--subtle); letter-spacing: 0.06em; }
.tool-formula { margin: 8px 0 0; color: var(--subtle); font-size: 0.95rem; }
.rank-link { margin-top: 18px; }
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; margin-top: 14px; }
.ledger div { padding: 14px 14px 12px; border-radius: 16px; background: rgba(245, 240, 227, 0.05); box-shadow: inset 0 0 0 1px var(--hair); }
.ledger b { display: block; font: 400 clamp(1.6rem, 1.3rem + 1vw, 2.2rem)/1 var(--poster); letter-spacing: 0.02em; }
.ledger small { display: block; margin-top: 6px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--subtle); }
.plate-out { justify-items: stretch; }
.bar-art { margin-bottom: 10px; }
.bar-art svg { width: 100%; height: auto; max-height: 190px; }
.bar-art .bar-shaft, .bar-art .bar-sleeve { fill: #bfb6a6; }
.bar-art .bar-sleeve { fill: #d9d1c1; }
.bar-art .bar-collar { fill: #8f877a; }
.bar-art .pl { fill: url(#plg); stroke: rgba(245, 240, 227, 0.42); stroke-width: 1.2; }
.bar-art .pl-lip { fill: none; stroke: rgba(245, 240, 227, 0.12); stroke-width: 1; }
#plate-list { font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.8rem); }
.tool-tables .h3:first-of-type { margin-top: 20px; }
@media (min-width: 960px) { .tool-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); } }
/* Phones: the answer sits between the headline and the inputs, so it stays in view while you type. */
@media (max-width: 959px) {
  .tool-grid { gap: 0; }
  .tool-copy { display: contents; }
  .tool-copy > * { order: 1; }
  .tool-out { order: 2; margin-top: 26px; }
  .tool-copy > .calc { order: 3; margin-top: 24px; }
}

/* ---------- comparisons ---------- */
.checked { margin: 14px 0 0; font-size: 0.85rem; font-weight: 700; color: var(--bronze); }
.vs-sec { border-top: 0; padding-top: clamp(40px, 5vw, 64px); }
.vs-glance { min-width: 820px; }
.vs-glance td, .vs-glance thead th { text-align: center; }
.vs-glance thead th a { color: var(--bone); text-decoration: none; }
.vs-glance thead th a:hover { color: var(--gold); }
.vs-glance td.is-us { color: var(--gold); font-weight: 800; }
.vs-table { min-width: 560px; }
.vs-table td, .vs-table th { text-align: left; white-space: normal; vertical-align: top; }
.vs-table thead th { font-size: 0.78rem; }
.vs-table tbody th { width: 28%; font-weight: 700; }
.vs-table td { width: 36%; }
.vs-table td.is-us { color: var(--bone); }
.vs-table td:nth-child(4) { color: var(--subtle); }
.verdict { display: grid; gap: 12px; margin-top: 24px; }
.verdict > div { padding: 22px 24px; border-radius: 20px; background: rgba(245, 240, 227, 0.035); box-shadow: inset 0 0 0 1px var(--hair); }
.verdict h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.2rem; }
.verdict ul { margin: 0; padding-left: 1.1em; color: var(--subtle); }
.verdict li + li { margin-top: 6px; }
.verdict .is-us { box-shadow: inset 0 0 0 1.5px rgba(245, 214, 148, 0.4); }
.sources { margin: 18px 0 0; padding-left: 1.1em; font-size: 0.8rem; color: var(--faint); }
.sources a { color: var(--subtle); }
@media (min-width: 860px) { .verdict { grid-template-columns: 1fr 1fr; } }

/* ---------- share ---------- */
.share-dlg { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 26px; color: var(--bone); background: #16120f; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(245, 240, 227, 0.1); overflow: auto; }
.share-dlg::backdrop { background: rgba(8, 7, 6, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.share-in { position: relative; display: grid; justify-items: center; padding: 26px 22px 22px; }
.share-in:focus { outline: none; }
.share-in .eyebrow { margin-bottom: 14px; }
.share-x { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--subtle); }
.share-x:hover { color: var(--bone); background: rgba(245, 240, 227, 0.07); }
.share-x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.share-prev { width: min(230px, 56vw); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--espresso); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), inset 0 0 0 1px var(--hair); }
.share-prev img { width: 100%; height: 100%; object-fit: cover; }
.share-prev img:not([src]) { visibility: hidden; }
.share-prev:has(img:not([src])) { background: linear-gradient(100deg, rgba(245, 240, 227, 0.03) 30%, rgba(245, 240, 227, 0.08) 50%, rgba(245, 240, 227, 0.03) 70%) 0 0 / 200% 100%, var(--espresso); animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0, 0 0; } }
.share-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 20px; }
.share-btns .btn-bone { grid-column: 1 / -1; }
.share-note { min-height: 1.2em; text-align: center; }

/* ---------- faq (same as home) ---------- */
.faq { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--hair); }
.faq-grid { display: grid; gap: 34px; }
.faq .poster { font-size: clamp(2.8rem, 1.8rem + 3.6vw, 5rem); }
.faq-list { border-top: 1px solid var(--hair); }
.faq-list details { border-bottom: 1px solid var(--hair); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px; transition: transform 0.35s var(--ease); }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: var(--bronze); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list .a { padding: 0 40px 24px 0; color: var(--subtle); }
.faq-list .a p { margin: 0; }
.faq-list .a a { color: var(--bronze); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--hair); padding: 44px 0 calc(116px + env(safe-area-inset-bottom)); color: var(--subtle); font-size: 0.9rem; }
.foot-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 26px 32px; padding-bottom: 34px; margin-bottom: 30px; border-bottom: 1px solid var(--hair); }
.foot-h { margin: 0 0 10px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid { display: grid; gap: 22px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--bone); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot-col a { color: var(--subtle); }
.foot .legal { margin: 0; font-size: 0.76rem; color: var(--faint); max-width: 60em; }
@media (min-width: 900px) { .foot { padding-bottom: 44px; } }
@media (min-width: 860px) { .foot-grid { grid-template-columns: auto 1fr; align-items: center; } .foot nav { justify-content: flex-end; } .foot .legal { grid-column: 1 / -1; } }

/* ---------- mobile dock ---------- */
.dock { position: fixed; z-index: 45; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateY(calc(100% + 40px)); opacity: 0; visibility: hidden;
  transition: transform 0.45s var(--ease), opacity 0.3s, visibility 0s 0.45s; }
.dock.is-on { transform: none; opacity: 1; visibility: visible; transition: transform 0.45s var(--ease), opacity 0.2s, visibility 0s; }
.dock-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 16px; background: var(--bone); color: var(--espresso); text-decoration: none; font-weight: 800; font-size: 1.04rem; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.dock-btn .apple { width: 17px; height: 20px; fill: currentColor; margin-top: -3px; }
@media (min-width: 900px) { .dock { display: none; } }

@media (max-width: 520px) {
  .calc-set { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step button { width: 40px; }
  .step input { font-size: 1.6rem; }
  .calc-more { grid-template-columns: 1fr 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
