/* Mensuro marketing site.
   Layout: dark ink hero and Sigmi band bracket light working sections; one 1200px column with a 16px+ gutter.
   Single-theme by design (brand guide colors), so every color is set explicitly. */
:root {
  --ink: #14263D;
  --ink-2: #1E3352;
  --ink-3: #22385A;
  --ink-line: #2E4A70;
  --teal: #36C2AE;
  --teal-deep: #237E71;
  --teal-tint: #E6F3F1;
  --paper: #F5F8FC;
  --white: #FFFFFF;
  --text: #14263D;
  --muted: #4A5A70;
  --line: #DDE3EA;
  --on-dark: #F5F8FC;
  --on-dark-2: #C9D3E0;
  --on-dark-3: #A9B6C8;
  --pass: #1E7A46;
  --cond: #8A5A00;
  --cond-tint: #FBF1DC;
  --display: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, label:focus-within { outline: 3px solid var(--teal); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }

.band { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band-ink { background: var(--ink); color: var(--on-dark); }
.band-paper { background: var(--paper); }
.band-white { background: var(--white); }
.wrap { max-width: 1200px; margin: 0 auto; }
.section { padding-block: 88px; display: flex; flex-direction: column; gap: 40px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }
.band-ink .eyebrow { color: var(--teal); }
.h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; line-height: 1.12; }
.lede { font-size: 18px; color: var(--muted); max-width: 640px; }
.band-ink .lede { color: var(--on-dark-2); }
.head { display: flex; flex-direction: column; gap: 14px; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; flex-wrap: wrap; }
.nav img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nav-links a { color: var(--on-dark-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--on-dark); }
.nav-links .nav-cta { color: var(--teal); border: 1px solid var(--teal); border-radius: 8px; padding: 9px 16px; font-weight: 600; }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 48px; align-items: center; padding-block: 40px 96px; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero h1 { font-size: clamp(38px, 5.2vw, 58px); line-height: 1.05; color: var(--on-dark); }
.hero .sub { font-size: 19px; color: var(--on-dark-2); max-width: 560px; }

.join { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; max-width: 580px; }
.join-label { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--on-dark); }
.when { font-family: var(--body); font-size: 12.5px; font-weight: 600; color: var(--teal); background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 20px; padding: 3px 10px; }
.join-row { display: flex; gap: 10px; flex-wrap: wrap; }
.join-row input { flex: 1 1 240px; min-width: 0; height: 56px; border-radius: 10px; border: 1px solid transparent; background: var(--paper); color: var(--text); font: inherit; font-size: 16px; padding: 0 18px; }
.join-row input::placeholder { color: #6B7A8F; }
.btn { height: 56px; padding: 0 24px; border-radius: 10px; border: 0; background: var(--teal); color: var(--ink); font: inherit; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; }
.btn:hover { background: #4FD0BD; }
.btn svg { flex: none; }
.micro { font-size: 13.5px; color: var(--on-dark-3); }
.micro b { color: var(--on-dark); font-weight: 600; }
.micro .price { color: var(--teal); }
.form-error { font-size: 14px; color: #FFB4A8; }
.founder { font-size: 15px; font-style: italic; color: var(--on-dark-2); padding-top: 14px; border-top: 1px solid var(--ink-3); max-width: 580px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--on-dark-3); list-style: none; padding: 0; margin: 0; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--teal); }

.hero-visual { position: relative; min-height: 600px; min-width: 0; }
.sheet { position: absolute; right: 0; top: 0; width: 72%; max-width: 384px; transform: rotate(5deg); border-radius: 6px; overflow: hidden; box-shadow: 0 20px 44px rgba(4, 12, 24, 0.35); filter: brightness(0.82) saturate(0.85); }
.sheet-tag { position: absolute; right: 2%; top: -26px; transform: rotate(5deg); white-space: nowrap; background: var(--ink-3); border: 1px solid var(--ink-line); color: var(--on-dark); font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 20px; display: flex; align-items: center; gap: 8px; z-index: 1; }
.card { position: absolute; left: 0; top: 150px; width: min(452px, 92%); background: var(--white); color: var(--text); border-radius: 18px; padding: 26px 28px 22px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 34px 70px rgba(4, 12, 24, 0.5); z-index: 2; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.card-title { font-family: var(--display); font-weight: 700; font-size: 21px; margin-top: 4px; }
.pill-cond { flex: none; padding: 6px 10px; border-radius: 6px; background: var(--cond); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kv { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.kl { font-size: 12px; color: var(--muted); }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar { display: grid; grid-template-columns: 96px minmax(0, 1fr) 44px; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.bar .track { height: 10px; background: #EEF2F6; border-radius: 5px; }
.bar .fill { height: 10px; background: var(--teal-deep); border-radius: 5px; }
.bar .v { text-align: right; font-variant-numeric: tabular-nums; }
.card-foot { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid #E3E8EE; font-size: 11px; color: var(--muted); }
.card-foot img { height: 14px; width: auto; }
.bubble { position: absolute; left: -40px; top: 450px; width: min(420px, 96%); display: flex; gap: 12px; align-items: flex-start; background: var(--ink-3); border: 1px solid var(--ink-line); border-radius: 16px 16px 16px 4px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(4, 12, 24, 0.4); z-index: 3; }
.bubble img { width: 34px; height: 34px; flex: none; }
.who { font-size: 13px; font-weight: 600; color: var(--teal); }
.said { font-size: 14.5px; line-height: 1.45; color: var(--on-dark); }
.receipt { font-size: 12px; color: var(--on-dark-3); margin-top: 4px; }
.example-note { position: absolute; right: 0; top: 580px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: #7F8EA3; }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 24px 64px; }
  .hero-visual { min-height: 0; display: flex; flex-direction: column; gap: 16px; }
  .sheet, .sheet-tag { display: none; }
  .card, .bubble, .example-note { position: static; width: 100%; max-width: 520px; }
  .bubble { margin-top: -28px; margin-left: 16px; width: auto; max-width: 480px; }
}

/* problem */
.problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.problem { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.problem h3 { font-size: 19px; }
.problem p { color: var(--muted); font-size: 15.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.step-visual { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; height: 220px; padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; }
.step-num { width: 30px; height: 30px; border-radius: 15px; background: var(--teal-deep); color: var(--white); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.step-head { display: flex; align-items: center; gap: 12px; }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); font-size: 15.5px; }
.file-chip { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.file-chip small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); }
.check::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 8px; background: var(--pass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.mini-msg { align-self: flex-end; background: var(--ink); color: var(--on-dark); font-size: 13.5px; padding: 9px 13px; border-radius: 12px 12px 3px 12px; max-width: 90%; }
.mini-reply { display: flex; gap: 8px; align-items: flex-start; }
.mini-reply img { width: 26px; height: 26px; flex: none; }
.mini-reply div { background: var(--white); border: 1px solid var(--line); font-size: 13px; padding: 9px 12px; border-radius: 12px 12px 12px 3px; line-height: 1.45; }
.step-visual.report { padding: 0; justify-content: flex-start; align-items: center; background: linear-gradient(var(--ink-2), var(--ink)); }
.step-visual.report img { width: 72%; margin-top: 22px; border-radius: 4px; box-shadow: 0 12px 30px rgba(4, 12, 24, 0.45); transform: rotate(-2deg); }

/* analyses */
.analyses { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.panel h3 { font-size: 15px; font-family: var(--body); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; }
.row strong { font-family: var(--display); font-size: 17px; }
.row span { color: var(--muted); font-size: 14.5px; }
.tag { flex: none; font-size: 12px; font-weight: 600; color: var(--teal-deep); background: var(--teal-tint); border-radius: 4px; padding: 3px 8px; }
.row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.soon { display: flex; flex-wrap: wrap; gap: 8px; }
.soon li { list-style: none; border: 1px solid var(--line); border-radius: 20px; padding: 7px 13px; font-size: 14px; color: var(--text); background: var(--paper); }
.soon { padding: 0; margin: 0; }

/* sigmi */
.sigmi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.rules { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.rules li { display: flex; gap: 12px; color: var(--on-dark-2); font-size: 16px; }
.rules li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 4px; background: var(--teal); flex: none; }
.rules b { color: var(--on-dark); font-weight: 600; }
.chat { display: flex; flex-direction: column; gap: 16px; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 18px; padding: 24px; }
.chat .you { align-self: flex-end; background: var(--teal); color: var(--ink); font-weight: 500; padding: 12px 16px; border-radius: 14px 14px 4px 14px; max-width: 88%; font-size: 15px; }
.chat .her { display: flex; gap: 12px; align-items: flex-start; }
.chat .her img { width: 34px; height: 34px; flex: none; }
.chat .her > div { background: var(--ink-3); border: 1px solid var(--ink-line); padding: 12px 16px; border-radius: 14px 14px 14px 4px; font-size: 15px; color: var(--on-dark); }

/* validation */
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vcard { border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 8px; background: var(--white); }
.vcard h3 { font-size: 19px; }
.vcard p { color: var(--muted); font-size: 15.5px; }

/* pricing */
.founding { background: var(--ink); color: var(--on-dark); border-radius: 18px; padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.founding h3 { font-size: 24px; }
.founding p { color: var(--on-dark-2); margin-top: 6px; }
.founding .amount { font-family: var(--display); font-weight: 700; font-size: 44px; color: var(--teal); line-height: 1; font-variant-numeric: tabular-nums; }
.founding .amount small { font-family: var(--body); font-size: 15px; color: var(--on-dark-3); font-weight: 500; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.plan h3 { font-size: 20px; }
.plan .price { font-family: var(--display); font-weight: 700; font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; width: 14px; height: 14px; flex: none; margin-top: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23237E71' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan.featured { border: 2px solid var(--teal-deep); }
.compare { font-size: 14.5px; color: var(--muted); }

/* faq */
.faq { display: flex; flex-direction: column; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--display); font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-weight: 400; font-size: 24px; color: var(--teal-deep); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 680px; }

/* final cta */
.final { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 88px; }
.final .h2 { color: var(--on-dark); max-width: 720px; }

/* footer */
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 32px; border-top: 1px solid var(--ink-3); font-size: 14px; color: var(--on-dark-3); }
.footer img { height: 30px; width: auto; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--on-dark-2); text-decoration: none; }
.footer a:hover { color: var(--on-dark); }

@media (max-width: 900px) {
  .problems, .steps, .plans, .analyses, .sigmi, .checks { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 64px; }
}

/* thank-you page */
.thanks { padding-block: 24px 80px; display: flex; justify-content: center; }
.tcard { width: 100%; max-width: 720px; background: var(--white); color: var(--text); border-radius: 20px; padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 44px) 34px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 34px 70px rgba(4, 12, 24, 0.5); }
.tok { display: flex; align-items: center; gap: 14px; }
.tick { width: 44px; height: 44px; border-radius: 22px; background: #E4F2EA; display: flex; align-items: center; justify-content: center; flex: none; }
.tcard h1 { font-size: clamp(26px, 3.4vw, 32px); }
.tsub { color: var(--muted); }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 10px; }
legend .hint { font-weight: 400; color: var(--muted); font-size: 13.5px; margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid #C3CDD9; font-size: 14px; font-weight: 500; color: var(--text); background: var(--white); }
.chip input:checked + span { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.offer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 18px 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.offer h2 { font-size: 17px; letter-spacing: -0.01em; }
.offer p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.btn-deep { height: 48px; padding: 0 20px; border-radius: 10px; background: var(--teal-deep); color: var(--white); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-deep:hover { background: #1B6A5F; }
.btn-ghost { height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid #C3CDD9; background: var(--white); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.tfoot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.saved { font-size: 14px; color: var(--pass); font-weight: 600; }

/* privacy page */
.legal { max-width: 720px; padding-block: 48px 88px; display: flex; flex-direction: column; gap: 18px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 20px; margin-top: 14px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* free Cp/Cpk calculator */
:root { --fail: #B42318; }
.calc-hero { display: flex; flex-direction: column; gap: 18px; padding-block: 40px 136px; max-width: 780px; }
.calc-hero h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; color: var(--on-dark); }
.calc-hero .sub { font-size: 18px; color: var(--on-dark-2); }
.calc { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 20px; align-items: start; margin-top: -88px; padding-bottom: 80px; position: relative; }
.calc-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 20px; min-width: 0; box-shadow: 0 24px 48px rgba(4, 12, 24, 0.14); }
.calc-card h2 { font-size: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 14.5px; }
.field .hint, .calc .hint { font-weight: 400; color: var(--muted); font-size: 13px; line-height: 1.45; }
.field legend { margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.calc input[type="text"], .calc input[type="number"], .calc textarea { font: inherit; font-size: 15px; color: var(--text); background: var(--white); border: 1px solid #C3CDD9; border-radius: 10px; padding: 10px 12px; width: 100%; min-width: 0; }
.calc textarea { display: block; font-family: var(--body); font-variant-numeric: tabular-nums; resize: vertical; min-height: 200px; line-height: 1.5; padding: 12px 14px; background: var(--paper); }
.calc textarea:hover { border-color: #9AA7B8; }
.calc input:focus-visible, .calc textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal-deep); }
.count { font-size: 13px; color: var(--muted); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; font-weight: 500; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid #C3CDD9; font-size: 14px; }
.seg input:checked + span { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.calc-error { font-size: 14.5px; color: var(--fail); background: #FDECEA; border-radius: 10px; padding: 10px 12px; }
.calc-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn-link { background: none; border: 0; color: var(--teal-deep); font: inherit; font-weight: 600; cursor: pointer; padding: 10px 6px; text-decoration: underline; text-underline-offset: 3px; }
.example-label { font-size: 13px; color: var(--muted); }
.empty { border: 1px dashed #C3CDD9; border-radius: 12px; padding: 40px 20px; text-align: center; color: var(--muted); }
#output { display: flex; flex-direction: column; gap: 18px; }
#output[hidden] { display: none; }
.verdict { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.verdict p { font-size: 15px; color: var(--text); }
.vpill { padding: 6px 12px; border-radius: 6px; color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.vpill-pass { background: var(--pass); }
.vpill-cond { background: var(--cond); }
.vpill-fail { background: var(--fail); }
.idx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.idx > div { background: var(--paper); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.idx > div:first-child { background: var(--teal-tint); }
.iv { font-family: var(--body); font-weight: 700; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; }
.il { font-size: 13px; color: var(--muted); font-weight: 600; }
.hist { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.hist svg { width: 100%; height: 260px; display: block; }
.h-bar { fill: var(--teal-deep); opacity: 0.7; }
.h-area { fill: var(--ink); opacity: 0.06; }
.h-curve { fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-opacity: 0.7; stroke-linejoin: round; }
.h-label-mean { fill: var(--muted); font-weight: 500; }
.h-axis { stroke: #9AA7B8; stroke-width: 1; }
.h-tick { font: 12px var(--body); fill: var(--muted); font-variant-numeric: tabular-nums; }
.h-label { font: 600 12px var(--body); fill: var(--text); font-variant-numeric: tabular-nums; }
.h-spec { stroke: var(--fail); stroke-width: 2; }
.h-mean { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 4 4; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend span::before { content: ""; width: 14px; height: 10px; border-radius: 2px; }
.k-bar::before { background: var(--teal-deep); opacity: 0.7; }
.k-mean::before { width: 14px !important; height: 0 !important; border-top: 2px dashed var(--muted); border-radius: 0 !important; }
.k-curve::before { height: 8px !important; background: rgba(20, 38, 61, 0.08); border-top: 2px solid rgba(20, 38, 61, 0.7); border-radius: 0 !important; }
.k-spec::before { width: 2px !important; height: 14px !important; background: var(--fail); }
.stats { width: 100%; border-collapse: collapse; font-size: 14px; }
.stats th { text-align: left; font-weight: 500; color: var(--muted); padding: 8px 12px 8px 0; vertical-align: top; width: 42%; }
.stats td { padding: 8px 0; overflow-wrap: anywhere; }
.stats tr + tr th, .stats tr + tr td { border-top: 1px solid var(--line); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.notes { margin: 0; padding: 12px 14px 12px 32px; background: var(--cond-tint); border-radius: 10px; font-size: 14px; color: #5C3D00; display: flex; flex-direction: column; gap: 6px; }
.notes[hidden] { display: none; }
.copied { font-size: 14px; color: var(--pass); font-weight: 600; }
/* measurement choice */
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice label { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 12px 14px; border: 1px solid #C3CDD9; border-radius: 12px; font-size: 14.5px; }
.choice small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.choice input:checked + span { border: 2px solid var(--teal-deep); padding: 11px 13px; background: var(--teal-tint); }
.choice input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.group-size { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; background: var(--paper); border-radius: 10px; }
.group-size[hidden] { display: none; }
.group-size label { font-weight: 600; font-size: 14px; }
.calc .group-size input { width: 80px; padding: 8px 10px; }

/* verdict scale */
.scale { position: relative; width: 100%; padding-top: 30px; margin-top: 4px; }
.zones { display: grid; grid-template-columns: 41.5% 17% 41.5%; height: 12px; border-radius: 6px; overflow: hidden; }
.zones span { opacity: 0.22; }
.z-fail { background: var(--fail); } .z-cond { background: var(--cond); } .z-pass { background: var(--pass); }
.scale-fail .z-fail, .scale-cond .z-cond, .scale-pass .z-pass { opacity: 1; }
.marker { position: absolute; top: 0; bottom: 34px; width: 0; }
.marker::after { content: ""; position: absolute; left: -2px; top: 24px; width: 4px; height: 24px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px var(--white); }
.marker span { position: absolute; top: 0; left: 0; transform: translateX(-50%); white-space: nowrap; font-size: 12.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.marker.at-start span { transform: none; left: -4px; }
.marker.at-end span { transform: translateX(-100%); left: 4px; }
.scale-ticks { position: relative; height: 18px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.scale-ticks span { position: absolute; top: 3px; transform: translateX(-50%); }
.scale-names { display: grid; grid-template-columns: 41.5% 17% 41.5%; font-size: 11.5px; color: var(--muted); }
.scale-names span:nth-child(2) { text-align: center; }
.scale-names span:nth-child(3) { text-align: right; }
.scale-fail .scale-names span:nth-child(1), .scale-cond .scale-names span:nth-child(2), .scale-pass .scale-names span:nth-child(3) { color: var(--text); font-weight: 600; }

/* how it's calculated: intro beside the topic drop-downs */
.method { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.method-intro { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }
.checked { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.checked h3 { font-size: 16px; }
.checked p, .checked li { color: var(--muted); font-size: 14.5px; }
.checked ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.method-faq { max-width: none; }
.method-faq summary { font-size: 17px; padding: 16px 0; }
.ans { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; color: var(--muted); }
.faq .ans p { padding-bottom: 0; }
.ans b { color: var(--text); }
.f { font-variant-numeric: tabular-nums; color: var(--text) !important; font-weight: 500; }
p.f { background: var(--paper); border-left: 3px solid var(--teal-deep); border-radius: 6px; padding: 10px 14px; line-height: 1.8; overflow-wrap: anywhere; }
.bands { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bands li { display: flex; align-items: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 5px; flex: none; }
.dot-pass { background: var(--pass); } .dot-cond { background: var(--cond); } .dot-fail { background: var(--fail); }
@media (max-width: 900px) {
  .calc, .method { grid-template-columns: minmax(0, 1fr); }
  .method-intro { position: static; }
  .calc-hero { padding-bottom: 120px; }
}
@media (max-width: 520px) {
  .idx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row, .choice { grid-template-columns: minmax(0, 1fr); }
  .stats th { width: 46%; }
}

/* calculator: report and Sigmi call to action */
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.cta-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.cta-copy .lede { max-width: 600px; }
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-dark-2); font-size: 15.5px; line-height: 1.5; }
.perks b { color: var(--on-dark); font-weight: 600; }
.perks img { width: 28px; height: 28px; flex: none; margin-top: 1px; }
.perks .pk { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--ink-line); background: var(--ink-2); color: var(--teal); font-size: 9.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; letter-spacing: 0.02em; margin-top: 1px; }
.cta-chat { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cta-chat figcaption { font-size: 12.5px; color: var(--on-dark-3); }
@media (max-width: 900px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }
.perks .pk-plus { font-size: 17px; font-weight: 600; }
.calc-actions .btn-deep { gap: 8px; }
#report-title:focus { outline: none; }
#report-title:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.calc-actions .btn-ghost { height: 48px; }

/* under the hood: data -> engine -> report, Sigmi alongside */
.flow { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.flow-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.25fr) 96px minmax(0, 1fr); align-items: center; }
.node { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.node h3 { font-size: 19px; }
.node p { color: var(--muted); font-size: 15px; }
.node-k { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-deep); }
.node-engine { background: var(--ink); border-color: var(--ink); color: var(--on-dark); box-shadow: 0 18px 40px rgba(20, 38, 61, 0.22); }
.node-engine .node-k { color: var(--teal); }
.node-engine h3 { color: var(--on-dark); }
.stds { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.stds li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; background: var(--ink-2); border: 1px solid var(--ink-line); font-size: 13.5px; color: var(--on-dark-2); }
.stds b { color: var(--on-dark); font-weight: 600; }
.node-engine .node-note { color: var(--on-dark-3); font-size: 13.5px; }
.link { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--teal-deep); padding: 0 6px; }
.link span { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.3; }
.arr { width: 48px; height: 16px; }
.flow-sigmi { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.25fr) 96px minmax(0, 1fr); align-items: start; }
.flow-sigmi .wall { grid-column: 1; }
.flow-sigmi .link-v { grid-column: 3; }
.flow-sigmi .node-sigmi { grid-column: 3; grid-row: 2; }
.arr-v { width: 16px; height: 40px; }
.node-sigmi { flex-direction: row; gap: 14px; align-items: flex-start; border: 1.5px dashed var(--teal-deep); background: var(--teal-tint); }
.node-sigmi img { width: 34px; height: 34px; flex: none; }
.node-sigmi .node-k { color: #1B6A5F; }
.flow-sigmi .link-diag { grid-column: 4; grid-row: 2; align-self: start; padding-top: 6px; }
.arr-d { width: 48px; height: 40px; }
.node-sigmi > div { display: flex; flex-direction: column; gap: 6px; }
.wall { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.wall svg { width: 20px; height: 20px; flex: none; color: var(--teal-deep); margin-top: 1px; }
.wall b { color: var(--text); }
@media (max-width: 900px) {
  .flow-row, .flow-sigmi { grid-template-columns: minmax(0, 1fr); }
  .flow-row .link { padding: 6px 0; }
  .flow-row .arr { transform: rotate(90deg); margin: 14px 0; }
  .flow-sigmi .wall, .flow-sigmi .link-v, .flow-sigmi .node-sigmi, .flow-sigmi .link-diag { grid-column: 1; grid-row: auto; }
  .flow-sigmi .link-v { order: 1; }
  .flow-sigmi .node-sigmi { order: 2; }
  .flow-sigmi .link-diag { order: 3; flex-direction: row; justify-content: center; padding-top: 10px; }
  .flow-sigmi .wall { order: 4; margin-top: 12px; }
  .flow-sigmi .arr-d { width: 24px; height: 20px; }
}

/* ---------------------------------------------------------------- free tools (shared) */
/* The tool card rises into the ink hero: flow-root stops its negative margin collapsing into the band. */
.band-overlap { display: flow-root; }
.tool-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--ink-line); align-self: flex-start; }
.tool-switch a { color: var(--on-dark-2); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.tool-switch a:hover { color: var(--on-dark); }
.tool-switch a[aria-current="page"] { background: var(--teal); color: var(--ink); }
.src { display: inline-block; flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; color: var(--white); white-space: nowrap; line-height: 1.3; }
.src.aiag { background: var(--ink); } .src.iatf { background: #2E4A70; } .src.iso { background: #3B6FB6; }
.src.bosch { background: #6A5A8C; } .src.gen { background: #5B6B80; }
.cta-report { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.cta-report img { width: min(380px, 100%); border-radius: 8px; box-shadow: 0 30px 60px rgba(4, 12, 24, 0.5); transform: rotate(-1.5deg); }
.cta-report figcaption { font-size: 12.5px; color: var(--on-dark-3); }

/* ---------------------------------------------------------------- study planner */
.planner { display: flex; flex-direction: column; gap: 22px; margin-top: -88px; padding-bottom: 80px; position: relative; }
.step-title { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.step-title .n { width: 26px; height: 26px; border-radius: 13px; background: var(--teal-deep); color: var(--white); font: 700 14px/26px var(--body); text-align: center; flex: none; }
.pick { gap: 18px; }
.studies { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.studies button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: border-color .15s, background .15s, box-shadow .15s; min-width: 0; }
.studies button:hover { border-color: #9AA7B8; }
.studies button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.studies svg { width: 28px; height: 28px; fill: none; stroke: var(--teal-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.studies b { font-family: var(--display); font-size: 16px; color: var(--text); }
.studies span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.studies button[aria-selected="true"] { border: 2px solid var(--teal-deep); padding: 15px; background: var(--teal-tint); box-shadow: 0 10px 24px rgba(35, 126, 113, 0.14); }
.study { display: flex; flex-direction: column; gap: 18px; }
.study[hidden], .planner [data-design][hidden] { display: none; }
.work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.planner input[type="text"] { font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--text); background: var(--white); border: 1px solid #C3CDD9; border-radius: 10px; padding: 11px 12px; width: 100%; min-width: 0; }
.planner input[type="text"]:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal-deep); }
.planner .hint { font-size: 14px; color: var(--muted); line-height: 1.5; }
.field-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field.narrow { max-width: 240px; }
.opt { font-weight: 500; font-size: 12px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1px 7px; margin-left: 4px; }

.plan-card { background: var(--ink); color: var(--on-dark); border-radius: 16px; padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 48px rgba(4, 12, 24, 0.22); position: sticky; top: 20px; min-width: 0; }
.pc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pc-k { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.pc-study { font-size: 13px; color: var(--on-dark-3); }
.pc-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pc-big .v { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 6vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.pc-big .u { font-size: 18px; color: var(--on-dark-2); font-weight: 500; }
.pc-big.pc-reuse .v { color: var(--teal); } .pc-big.pc-new .v { color: #FF9C8F; }
.pc-sub { font-size: 15px; color: var(--on-dark-2); padding-bottom: 14px; border-bottom: 1px solid var(--ink-3); }
.pc-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.pc-checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--on-dark); }
.pc-checks .ic { width: 22px; height: 22px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; margin-top: 0; }
.pc-checks .ic svg { width: 14px; height: 14px; fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pc-checks .ok .ic { background: var(--pass); }
.pc-checks .warn .ic { background: #B07400; }
.pc-checks .info .ic { background: var(--ink-3); border: 1px solid var(--ink-line); }
.pc-checks .info .ic svg { stroke: var(--teal); }
.pc-checks .info { color: var(--on-dark-2); }
.pc-invalid { color: #FFC9C1; font-size: 15px; }
.pc-mix { width: 100%; border-collapse: collapse; font-size: 13.5px; color: var(--on-dark-2); }
.pc-mix caption { text-align: left; font-size: 12.5px; color: var(--on-dark-3); padding-bottom: 6px; }
.pc-mix td { padding: 6px 0; border-top: 1px solid var(--ink-3); }
.pc-mix td:nth-child(2) { color: var(--on-dark-3); text-align: right; padding-right: 14px; }
.pc-mix td:last-child { text-align: right; width: 3em; }
.pc-mix b { color: var(--on-dark); }
.pc-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-top: 4px; }
.pc-btn { height: 38px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--ink-line); background: var(--ink-2); color: var(--on-dark); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.pc-btn:hover { border-color: var(--teal); }
.pc-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.pc-done { font-size: 13.5px; color: var(--teal); font-weight: 600; }

.reqs-title { font-size: 22px; margin-top: 10px; }
.reqs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.reqs li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rq-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rq-h b { font-family: var(--display); font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; }
.reqs p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.reqs cite { font-style: normal; font-size: 12.5px; color: #6B7A8F; margin-top: auto; padding-top: 4px; }
.reqs cite::before { content: "Source: "; font-weight: 600; }
.cust { background: var(--white); border: 1px dashed #B9C4D2; border-radius: 14px; padding: 4px 20px; }
.cust summary { cursor: pointer; padding: 14px 0; font-family: var(--display); font-weight: 700; font-size: 16px; }
.cust summary span { font-family: var(--body); font-weight: 400; font-size: 13.5px; color: var(--muted); margin-left: 6px; }
.cust ul { margin: 0; padding: 0 0 16px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--muted); }
.cust .hint { padding-bottom: 10px; }
.cust cite { font-style: normal; font-size: 12.5px; color: #6B7A8F; white-space: nowrap; }
.tool-link { font-size: 15px; color: var(--muted); }
.tool-link a { font-weight: 600; }
.next-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal-deep); border-radius: 14px; padding: 18px 22px; }
.next-strip p { color: var(--muted); font-size: 15.5px; max-width: 640px; }
.next-strip b { color: var(--text); }

.yn { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.yn li { counter-increment: q; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.yn li:first-child { border-top: 0; }
.yn .q { font-size: 15px; display: flex; gap: 10px; }
.yn .q::before { content: counter(q); font-weight: 700; color: var(--teal-deep); font-variant-numeric: tabular-nums; }
.yn-btns { display: inline-flex; gap: 6px; flex: none; }
.yn-btns label { position: relative; }
.yn-btns input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.yn-btns span { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 36px; border-radius: 18px; border: 1px solid #C3CDD9; font-size: 14px; font-weight: 600; }
.yn-btns input[value="yes"]:checked + span { background: var(--pass); border-color: var(--pass); color: var(--white); }
.yn-btns input[value="no"]:checked + span { background: var(--fail); border-color: var(--fail); color: var(--white); }
.yn-btns input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

.sources { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15px; }
.srckey { list-style: none !important; padding: 0 !important; }
.srckey li { display: flex; gap: 10px; align-items: baseline; }

@media (max-width: 980px) {
  .studies { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .work, .reqs { grid-template-columns: minmax(0, 1fr); }
  .plan-card { position: static; }
}
@media (max-width: 560px) {
  .studies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studies button:last-child { grid-column: 1 / -1; }
  .studies span { display: none; }
  .studies button { padding: 12px 14px; }
  .studies button[aria-selected="true"] { padding: 11px 13px; }
  .field-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .yn li { flex-direction: column; align-items: flex-start; }
  .tool-switch a { padding: 8px 12px; font-size: 13.5px; }
}

@media print {
  .band-ink, .pick, .next-strip, #sources, .pc-actions, .reqs-title + .reqs ~ .tool-link { display: none !important; }
  body, .band-paper { background: #fff; }
  .planner { margin: 0; padding: 0; }
  .work { grid-template-columns: 1fr; }
  .plan-card { background: #fff; color: #000; box-shadow: none; border: 1px solid #999; position: static; }
  .pc-k, .pc-study, .pc-sub, .pc-checks li, .pc-mix, .pc-mix b, .pc-big .u { color: #000 !important; }
  .calc-card { box-shadow: none; }
  .reqs { grid-template-columns: 1fr 1fr; }
  .reqs li, .cust { break-inside: avoid; }
  .cust { display: block; }
}

/* calculator: what your numbers mean */
.meaning { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, var(--teal-tint), var(--white) 70px); }
.meaning h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.meaning h3::before { content: ""; width: 20px; height: 20px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23237E71' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3Cpath d='M9 10h6M9 14h4'/%3E%3C/svg%3E") center / contain no-repeat; }
#meaning { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
#meaning li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 12px 0; border-top: 1px solid var(--line); }
#meaning li:first-child { border-top: 0; padding-top: 2px; }
#meaning b { font-family: var(--display); font-size: 15.5px; letter-spacing: -0.01em; }
#meaning p { grid-column: 1 / -1; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
#meaning .m-src { grid-column: 2; grid-row: 1; align-self: start; font-size: 11.5px; color: #6B7A8F; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 2px 8px; white-space: nowrap; }
@media (max-width: 520px) { #meaning li { grid-template-columns: minmax(0, 1fr); } #meaning .m-src { grid-column: 1; grid-row: auto; justify-self: start; } }
.zones { transition: grid-template-columns .2s; }

/* privacy page: free tools callout */
.legal .callout { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal-deep); border-radius: 12px; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.legal .callout ul { gap: 10px; }
.legal .callout b { color: var(--text); }
