/* main.css */

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); overflow-x: clip; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: var(--focus-outline); outline-offset: 2px; border-radius: var(--r-tile); }
.wrap { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }   
.num { font-variant-numeric: tabular-nums lining-nums; }
.hidden { display: none !important; }

/* type */
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--text); }

h1 { font-weight: 600; font-size: 1.75rem; line-height: 2.5rem; }
@media (min-width: 48rem) { h1 { font-size: 2.5rem; line-height: 3.5rem; } }
@media (min-width: 80rem) { h1 { font-weight: 700; font-size: 3rem; line-height: 4rem; } }

h2 { font-weight: 600; font-size: 1.75rem; line-height: 2.5rem; }
@media (min-width: 48rem) { h2 { font-size: 2.5rem; line-height: 3.5rem; } }
@media (min-width: 80rem) { h2 { font-weight: 700; font-size: 3rem; line-height: 4rem; } }

h3 { font-weight: 700; font-size: var(--fs-h3); line-height: var(--lh-h3); }

.lede { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text); max-width: 54ch; margin: var(--s-2) 0 0; }
@media (min-width: 48rem) { .lede { font-size: var(--fs-lg); line-height: var(--lh-lg); } }
.lede.soft { color: var(--text-2); }
.crumb { font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--text); margin: 0 0 var(--s-5); }
@media (min-width: 48rem) { .crumb { font-size: var(--fs-body); line-height: var(--lh-body); } }
.crumb a { color: var(--text); }
.crumb a:hover { color: var(--brand-hover); }
.crumb .sep { margin: 0 .35em; }
.hint { font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--text-2); margin-top: var(--s-2); }
.muted { color: var(--text-2); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.mt-5 { margin-top: var(--s-5); }
.arrow-link { font-weight: 500; display: inline-flex; align-items: center; gap: var(--s-2); }
.arrow-link svg { width: 1.5rem; height: 1.5rem; }

/* header */
.site { background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site .wrap { display: flex; align-items: center; gap: var(--s-5); padding-top: var(--s-6); padding-bottom: var(--s-4); }

.brand { display: inline-flex; color: var(--brand); line-height: 0; }
.brand svg { height: 1.5rem; width: auto; }
@media (min-width: 48rem) { .site .brand svg { height: 2.25rem; } }
.nav { display: none; align-items: center; }
.nav a { display: inline-block; color: var(--text); font-weight: 500; line-height: var(--lh-body); padding: var(--s-3) var(--s-4); border-radius: var(--r-ctl); }
.nav a:hover { color: var(--gs660); }
.nav a:active { color: var(--text); }
.site-actions { display: none; margin-left: auto; align-items: center; gap: var(--s-4); }
.site-actions .signin { color: var(--brand); font-weight: 500; }
.site-actions .signin:hover { color: var(--brand-hover); }
.site-actions .btn { font-weight: 500; }
.burger { appearance: none; border: 0; background: none; padding: 0; margin-left: auto; display: inline-flex; color: var(--text); cursor: pointer; }
.burger svg { width: 1.5rem; height: 1.5rem; }

.menu-panel { display: none; position: fixed; top: 0; left: 0; width: 100%; background: var(--bg); z-index: 20; padding: var(--s-6) var(--s-5); border-radius: 0 0 var(--r-card) var(--r-card); flex-direction: column; align-items: center; text-align: center; gap: var(--s-5); }
.menu-panel.open { display: flex; }
.menu-panel .item { color: var(--text); font-weight: 500; padding: var(--s-3) var(--s-5); border-radius: var(--r-ctl); }
.menu-panel .item:hover { color: var(--gs660); }
.menu-panel .signin { color: var(--brand); font-weight: 500; width: 100%; text-align: center; }
.menu-panel .btn, .menu-panel .btn:hover { color: var(--white); width: 100%; }
.menu-panel .head { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 2.8125rem; }
.menu-panel .head .brand svg { height: 1.5rem; }
.menu-panel .close { margin: 0; }
@media (min-width: 48rem) { .menu-panel { padding: 2.375rem var(--s-7) var(--s-7); } }
@media (min-width: 64rem) {
  .site { position: static; }
  .site .wrap { padding-top: var(--s-8); padding-bottom: 0; }
  .nav { display: flex; }
  .site-actions { display: flex; }
  .burger, .menu-panel { display: none !important; }
}

/* buttons, chip */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); font-family: var(--font-body); font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body);
  padding: var(--s-3) var(--s-5); border-radius: var(--r-ctl); border: 0; cursor: pointer; white-space: nowrap; text-decoration: none; user-select: none; }
.btn svg { width: 1.5rem; height: 1.5rem; flex: none; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-hover); color: var(--white); }
.btn-primary:active { background: var(--brand-active); }
.btn-secondary { background: transparent; color: var(--gs1000); box-shadow: inset 0 0 0 .5px var(--gs160); }
.btn-secondary:hover { background: var(--gs100); box-shadow: inset 0 0 0 .5px var(--gs100); color: var(--gs1000); }
.btn-secondary:active { background: var(--gs140); }
.btn-block { width: 100%; }

.chip { display: inline-flex; align-items: center; padding: var(--s-2) var(--s-3); border-radius: var(--r-chip); background: var(--b100); color: var(--ba); font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 400; white-space: nowrap; box-shadow: inset 0 0 0 .5px var(--b300); }
.chip[hidden] { display: none; }

/* calculator */
.top { position: relative; padding: var(--s-4) 0 var(--s-6); }
@media (min-width: 48rem) { .top { padding: 4.25rem 0 var(--s-7); } }
.top::before { content: ""; position: absolute; inset: 0; background: var(--haze); pointer-events: none; }
.top .wrap { position: relative; }
.hero-copy { max-width: 44rem; margin-inline: auto; padding: 0 0 var(--s-6); }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: stretch; }
.result { display: flex; flex-direction: column; }
#filled { display: flex; flex-direction: column; flex: 1; }
@media (min-width: 64rem) {
  .top { padding: var(--hero-top) 0 var(--hero-bottom); }
  .hero-copy { padding: 0 0 var(--s-8); }
  .calc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6); }
}

/* cards */
.card { position: relative; min-width: 0; background: var(--surface); border-radius: var(--r-card); padding: var(--s-5); box-shadow: var(--card-hairline); }
@media (min-width: 80rem) { .card { padding: var(--s-6); } }
.card h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-5); }

/* form controls */
.field { margin-bottom: var(--s-4); }
.field:last-child { margin-bottom: 0; }
.field > label, .field > .label, .slider-head label { display: block; font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 400; margin-bottom: var(--s-1); color: var(--text); }
.req { color: var(--text-error); }
.control { width: 100%; font-family: var(--font-body); font-weight: 500; font-size: var(--fs-ctl); line-height: var(--lh-ctl); color: var(--text); background: var(--surface); min-height: var(--control-h);
  padding: .875rem var(--s-4); border: 0; border-radius: var(--r-ctl); box-shadow: var(--ctl-ring); background-clip: padding-box; }
.control::placeholder { color: var(--gs500); }
.control:hover:not(:disabled) { box-shadow: var(--ctl-ring-hover); }
.control:focus:not(:disabled) { outline: none; box-shadow: var(--ctl-ring-focus); }
.control:disabled { background: var(--gs80); }
.control-wrap { position: relative; }
.control-wrap .control { padding-right: var(--suffix-w); }
.suffix { position: absolute; right: var(--s-4); top: 50%; transform: translateY(-50%); font-size: var(--fs-ctl); line-height: var(--lh-ctl); color: var(--gs500); pointer-events: none; }
select.control { appearance: none; -webkit-appearance: none; padding-right: var(--s-7); box-shadow: var(--ctl-ring-select); cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23141c4d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right var(--s-3) center; }
select.control:hover:not(:disabled) { box-shadow: var(--ctl-ring-hover); }
select.control:focus:not(:disabled) { box-shadow: var(--ctl-ring-focus); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-3); }

.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; background: var(--gs80); box-shadow: inset 0 0 0 1px var(--gs120); border-radius: var(--r-card); padding: var(--s-1); margin-bottom: var(--s-3); }
.seg button { font-family: var(--font-body); font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 500; color: var(--text); background: transparent; border: 0; border-radius: 1.25rem; padding: var(--s-2) var(--s-3); min-height: 2.25rem; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg button[aria-pressed="true"] { background: var(--surface); box-shadow: inset 0 0 0 1px var(--gs120); }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-1); }
.slider-head label { margin-bottom: 0; }
.slider-val { font-weight: 600; color: var(--text); font-size: var(--fs-sm); line-height: var(--lh-sm); }

.range { --fill: 20%; appearance: none; -webkit-appearance: none; width: 100%; height: 2.5rem; background: transparent; margin: 0; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--brand) 0 var(--fill), var(--gs120) var(--fill) 100%); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--gs120); }
.range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--brand); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 1.25rem; height: 1.25rem; margin-top: -0.5rem; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); }
.range::-moz-range-thumb { width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); }
.range:hover::-webkit-slider-thumb { border-color: var(--brand-hover); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--b300); }

/* ring */
.gauge { position: relative; width: min(var(--gauge), 72vw); aspect-ratio: 1; margin-inline: auto; }
@media (min-width: 64rem) { .result .gauge { width: var(--gauge-lg); } }

.gauge .tube, .gauge .ring-glass, .gauge .arcs { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gauge .tube { overflow: visible; }
.gauge .tube-shadow path { fill: color-mix(in srgb, var(--bt) 22%, transparent); fill-rule: evenodd; }
.gauge .ring-glass { background: color-mix(in srgb, var(--white) 50%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); clip-path: url(#tubeClip); }
.gauge .tube-rim path { fill: none; stroke: color-mix(in srgb, var(--white) 85%, transparent); stroke-width: 1; }
.gauge circle { fill: none; stroke-linecap: round; transition: stroke-dasharray var(--d-3) var(--ease), stroke-dashoffset var(--d-3) var(--ease), opacity var(--d-2) var(--ease); }
.gauge .body, .gauge .capsule { stroke-width: var(--ring-stroke); }
.gauge .capsule { stroke: var(--white); }
.gauge .tgt { stroke: url(#arcTgt); }
.gauge .cur { stroke: url(#arcCur); }
.gauge .spec-out { stroke: url(#specTop); stroke-width: 3.5; }
.gauge .spec-in { stroke: url(#specBottom); stroke-width: 2.5; }
.gauge #arcCur stop:nth-child(1) { stop-color: var(--b1000); }
.gauge #arcCur stop:nth-child(2) { stop-color: var(--b1000); }
.gauge #arcCur stop:nth-child(3) { stop-color: color-mix(in srgb, var(--b1000) 55%, var(--ba)); }
.gauge #arcTgt stop:nth-child(1) { stop-color: var(--b400); }
.gauge #arcTgt stop:nth-child(2) { stop-color: var(--b500); }
.gauge #specTop stop, .gauge #specBottom stop, .gauge #tube .light { stop-color: var(--white); flood-color: var(--white); }
.gauge #tube .ink { flood-color: var(--ba); }
.gauge #arcShadow feDropShadow { flood-color: var(--ba); }
.gauge-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-num { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-metric); line-height: 1; color: var(--text); }
.gauge-sub { font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--text-2); margin-top: var(--s-2); }
.gauge.ghost { opacity: .6; }
.gauge.ghost .gauge-num { color: var(--text-2); }
.empty { color: var(--text-2); }
.empty p { margin: 0; font-size: var(--fs-sm); line-height: var(--lh-sm); }

.breakdown p, .breakdown h3 { margin: 0; }
/* result block, three directions behind ?result=a|b|c: ring box with status pills, text below (a, c) or beside (b) */
.ring-box { position: relative; width: 100%; max-width: 100%; display: grid; place-items: center; }
.ring-box .gauge { margin: 0; }
.status { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-2) .875rem; border-radius: var(--r-tag); background: var(--white); box-shadow: 0 12px 32px color-mix(in srgb, var(--bt) 12%, transparent); font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 500; color: var(--text); white-space: nowrap; transition: left var(--d-3) var(--ease), top var(--d-3) var(--ease); }
.status[hidden] { display: none; }
.status b { font-weight: inherit; }
.status .num { font-variant-numeric: tabular-nums; }
.status .dot { width: .5rem; height: .5rem; border-radius: 50%; flex: none; }
.status-now .dot { background: var(--b1000); }
.status-pp .dot { background: var(--b400); }
@media (max-width: 79.99rem) { .status { gap: .375rem; padding: .375rem .625rem; font-size: var(--fs-xs); line-height: var(--lh-xs); } }
.breakdown .title { font-family: var(--font-display); color: var(--text); }
.breakdown .bm2-r { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text); margin-top: var(--s-2); }
.breakdown .num { font-variant-numeric: tabular-nums; }
.breakdown .facts { margin-top: var(--s-2); padding-left: 2rem; display: none; }
@media (min-width: 48rem) { .breakdown .bm2-r { font-size: var(--fs-lg); line-height: var(--lh-lg); } }
/* a and c: the ring field on top, text under it (product card without the white card) */
.result[data-result="a"] .cover, .result[data-result="c"] .cover { min-height: 0; height: 18.375rem; padding: 0; }
.result[data-result="a"] .ring-box, .result[data-result="c"] .ring-box { width: 18.375rem; height: 18.375rem; --pill-inset: -12px; --fs-metric: 2.25rem; }
.result[data-result="a"] .gauge, .result[data-result="c"] .gauge { width: 12rem; }
.result[data-result="a"] .title, .result[data-result="c"] .title { font-weight: 700; font-size: 1.5rem; line-height: 2.25rem; }
.result[data-result="a"] .breakdown, .result[data-result="c"] .breakdown { padding-top: var(--s-4); }
.result[data-result="a"] .actions, .result[data-result="c"] .actions { margin-top: var(--s-5); }
.result[data-result="c"] .assume { display: none; }
.result[data-result="c"] .facts { display: flex; }
@media (min-width: 80rem) {
  .result[data-result="a"] .cover, .result[data-result="c"] .cover { height: 22.4375rem; }
  .result[data-result="a"] .ring-box, .result[data-result="c"] .ring-box { width: 35.625rem; height: 22.375rem; --pill-inset: 0px; --fs-metric: 2.75rem; }
  .result[data-result="a"] .gauge, .result[data-result="c"] .gauge { width: 18rem; }
  .result[data-result="a"] .title, .result[data-result="c"] .title { font-size: 1.75rem; line-height: 2.5rem; }
}
/* b: the ring left, one sentence right (panel-and-text section) */
.result[data-result="b"] .cover { min-height: 0; height: 19rem; padding: 0; }
.result[data-result="b"] .ring-box { width: 21.375rem; height: 19rem; --pill-inset: 0px; --fs-metric: 2.25rem; }
.result[data-result="b"] .gauge { width: 13rem; }
.result[data-result="b"] .title { font-weight: 600; font-size: 1.75rem; line-height: 2.5rem; }
.result[data-result="b"] .breakdown { padding-top: var(--s-2); }
.result[data-result="b"] .actions { margin-top: var(--s-5); }
@media (min-width: 80rem) {
  .result[data-result="b"] { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s-6); align-items: center; }
  .result[data-result="b"] .cover { width: 20rem; }
  .result[data-result="b"] .ring-box { width: 20rem; --fs-metric: 2.5rem; --pill-inset: -24px; }
  .result[data-result="b"] .gauge { width: 14rem; }
  .result[data-result="b"] .breakdown, .result[data-result="b"] .empty { padding-top: 0; }
  .result[data-result="b"] .actions { margin-top: var(--s-6); }
}
.warn { font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--text); background: var(--brand-subtle); padding: var(--s-2) var(--s-4); border-radius: var(--r-ctl); margin: var(--s-4) 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; margin-top: var(--s-6); }
@media (max-width: 47.99rem) { .actions .btn { width: 100%; } .actions .print { width: 100%; text-align: center; } }
.actions .print { font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 500; }

/* sections */
.section { padding: var(--section-pad) 0; }
.section .lede { margin-bottom: var(--s-6); }
@media (min-width: 48rem) { .section .lede { margin-bottom: var(--s-7); } }
.cards-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
@media (min-width: 48rem) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cards-3 .card { padding: var(--s-5); background: color-mix(in srgb, var(--b200) 45%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--b300), inset 0 1px 0 color-mix(in srgb, var(--white) 90%, transparent), 0 12px 28px -14px color-mix(in srgb, var(--bt) 26%, transparent); }
.cards-3 .card h3 { margin-bottom: var(--s-2); }

.bullets { list-style: none; margin: 0; padding: 0 0 0 var(--s-3); display: flex; flex-direction: column; gap: var(--s-2); }
.bullets li { position: relative; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text); }
.bullets li::before { content: "•"; position: absolute; left: -1.375rem; top: .125rem; font-size: 1.5rem; line-height: 1.5rem; color: var(--brand); }
@media (min-width: 48rem) { .bullets li { font-size: var(--fs-lg); line-height: var(--lh-lg); } }

/* lead form: the /demo layout */
.lead { position: relative; padding: var(--section-pad) 0; }
.lead::before { content: ""; position: absolute; inset: 0; background: var(--haze); pointer-events: none; }
.lead .wrap { position: relative; }
.demo { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 48rem) { .demo { gap: var(--s-6); max-width: 25rem; margin-inline: auto; } }
.benefits h2 { font-weight: 700; font-size: var(--fs-h3); line-height: var(--lh-h3); margin: 0 0 var(--s-4); }
@media (min-width: 48rem) { .benefits h2 { font-size: 2rem; line-height: 2.75rem; } }
.benefits .lede { margin: 0 0 var(--s-4); max-width: none; }
.card.form { border-radius: var(--r-panel); padding: var(--s-6); width: 100%; }
.card.form form { display: flex; flex-direction: column; gap: var(--s-6); margin-top: var(--s-6); }
.card.form .bm1 { font-weight: 600; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text); margin-bottom: calc(var(--s-4) - var(--s-6)); }
.card.form .fields .field:last-child { margin-bottom: 0; }
.btn-form { font-size: var(--fs-sm); line-height: var(--lh-sm); padding: .875rem var(--s-5); }
.consent { font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--text-2); margin: 0; }
.sent { display: none; margin-top: var(--s-4); font-size: var(--fs-sm); line-height: var(--lh-sm); background: var(--gs40); padding: var(--s-3) var(--s-4); border-radius: var(--r-ctl); }
.tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
.tile { background: var(--tile-fill); border: 1px solid var(--tile-rim); border-radius: var(--r-ctl); padding: 0 var(--s-2); min-height: 3.5rem; display: flex; flex-direction: row; align-items: center; gap: var(--s-1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); }
.tile .ic3d { width: 2.5rem; height: 2.5rem; display: block; flex: none; }
.tile p { margin: 0; font-weight: 600; font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--text); }
@media (min-width: 48rem) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  .tile { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: var(--s-4); padding: var(--s-4); min-height: 0; }
  .tile .ic3d { width: 3rem; height: 3rem; }
  .tile p { font-size: var(--fs-body); line-height: var(--lh-body); }
}
@media (min-width: 80rem) { .tile { border-radius: var(--r-card); } }
@media (min-width: 64rem) {
  .demo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "form benefits"; gap: var(--s-6); align-items: center; max-width: none; }
  .card.form { grid-area: form; align-self: center; max-width: 27.5rem; }
  .benefits { grid-area: benefits; }
  .benefits h2 { font-size: 2.5rem; line-height: 3.5rem; }
}
.after { text-align: center; margin-top: var(--s-7); font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--text-2); }

/* footer */
.foot { background: var(--bg); }
.footer { display: flex; flex-direction: column; gap: var(--s-7); padding: var(--s-8) 0; }
@media (min-width: 48rem) { .footer { gap: var(--s-8); } }
@media (min-width: 64rem) { .footer { flex-direction: row-reverse; gap: var(--s-7); padding-top: var(--section-pad); } }
.links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); flex: 1 1 auto; }
@media (min-width: 48rem) { .links { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.list { display: flex; flex-direction: column; gap: var(--s-2); align-items: start; }
.list h4 { font-family: var(--font-body); font-size: var(--fs-sm); line-height: var(--lh-body); font-weight: 500; text-transform: uppercase; color: var(--text); margin: 0 0 var(--s-2); }
.links a { display: block; color: var(--text-3); font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 500; }
.links a:hover { color: var(--brand-hover); }
.info { display: flex; flex-direction: column; align-items: start; }
@media (min-width: 64rem) { .info { flex: 0 1 277px; } }
.info .brand { display: flex; }
.info .brand svg { height: 1.75rem; width: auto; }
.info .bm2 { margin-top: var(--s-4); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text); }
.info .bl2 { display: flex; margin-top: var(--s-2); font-size: var(--fs-lg); line-height: var(--lh-lg); font-weight: 400; color: var(--brand); }
.info .bl2:hover { color: var(--brand-hover); }
.copyright { margin-top: var(--s-5); color: var(--text-3); font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 500; }
@media (min-width: 48rem) { .copyright { margin-top: 3.25rem; } }
@media (min-width: 64rem) { .copyright { margin-top: 3.75rem; } }

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

/* result card, cover artwork */
.result { padding: var(--s-5); }
@media (min-width: 80rem) { .result { padding: var(--s-6); } }
.cover { position: relative; flex: 1; min-height: var(--cover-h); border-radius: var(--r-tile); background: var(--cover-grad); overflow: hidden; display: grid; place-items: center; padding: var(--s-6) var(--s-5); }
@media (min-width: 48rem) { .cover { border-radius: var(--r-ctl); } }
.cover .gauge { position: relative; z-index: 1; width: min(var(--gauge-lg), 72vw); margin: 0; }

.art { position: absolute; inset: 0; pointer-events: none; container-type: inline-size; }
.art .cluster { position: absolute; display: block; height: auto; }
.art .tl { left: 0; top: 0; width: 100%; }
.art .br { right: 0; bottom: 0; width: 100%; }
@container (max-width: 26rem) { .art .br { right: -4cqw; bottom: -4cqw; } }   /* phones: the ring takes 72vw, the cluster slides into the corner */
/* wrapper variants for the result block: ?card=none | ring | blog (default: product card) */
.result[data-card="none"], .result[data-card="ring"] { background: none; box-shadow: none; padding: 0; }
.result[data-card="none"] .cover, .result[data-card="ring"] .cover { border-radius: var(--r-panel); }
@media (min-width: 48rem) { .result[data-card="none"] .cover, .result[data-card="ring"] .cover { border-radius: var(--r-card); } }
.result[data-card="ring"] .cover { border-radius: var(--r-ctl); box-shadow: 0 0 0 4px var(--white); }
.result[data-card="none"] .breakdown, .result[data-card="ring"] .breakdown { padding-top: var(--s-5); }
.result[data-card="blog"] { padding: var(--s-1); border-radius: var(--r-panel); }
@media (min-width: 80rem) { .result[data-card="blog"] { padding: var(--s-2); } }
.result[data-card="blog"] .cover { border-radius: var(--r-ctl); }
.result[data-card="blog"] .breakdown, .result[data-card="blog"] .empty { padding: var(--s-4) var(--s-4) 0; }
.result[data-card="blog"] .actions, .result[data-card="blog"] .warn { padding-left: var(--s-4); padding-right: var(--s-4); }
.result[data-card="blog"] .actions { padding-bottom: var(--s-4); }
@media (min-width: 80rem) { .result[data-card="blog"] .breakdown, .result[data-card="blog"] .empty { padding: var(--s-5) var(--s-5) 0; } .result[data-card="blog"] .actions, .result[data-card="blog"] .warn { padding-left: var(--s-5); padding-right: var(--s-5); } .result[data-card="blog"] .actions { padding-bottom: var(--s-5); } }
/* ?card=open — no panel: the site's radial haze instead of the rectangle; the figures keep the cover geometry, cut where the panel edge was */
.result[data-card="open"] { background: none; box-shadow: none; padding: 0; }
.result[data-card="open"] .cover { background: none; border-radius: 0; }
.result[data-card="open"] .breakdown { padding-top: var(--s-5); }
.result[data-card="open"] .cover { overflow: visible; }
.result[data-art="off"] .art { display: none; }
/* variants: ?variant=panel | plain */
.result .track { display: none; stroke: var(--b100); stroke-width: var(--ring-stroke); }
.result[data-variant] .art, .result[data-variant] .tube, .result[data-variant] .ring-glass, .result[data-variant] .profile { display: none; }
.result[data-variant] .track { display: block; }
.result[data-variant] .arcs g[filter] { filter: none; }
.result[data-variant] .cur { stroke: var(--b1000); }
.result[data-variant] .tgt { stroke: var(--b600); }
.result[data-variant="panel"] .track { stroke: var(--white); opacity: .85; }
.result[data-variant="plain"] .cover { background: none; min-height: 0; padding: var(--s-5) 0 var(--s-4); }
.result .empty { padding: var(--s-4) 0 0; }
.result .breakdown { padding: var(--s-4) 0 0; }
.result .actions { padding-top: var(--s-5); margin-top: auto; }

/* print */
@media print {
  .site, .menu-panel, .hero-copy, .lead, .faq, .foot, .inputs, .actions { display: none !important; }
  body { background: #fff; }
  .top::before { display: none; }
  .card { box-shadow: none; border: 1px solid var(--line); }
  .calc-grid { display: block; }
}
