/*
  RychléVýpočty.cz — Inflační kalkulačka
  Kompletní vizuální systém 2026-07-30
  Záměr: prémiový produktový/SaaS vzhled, profesionální barevnost,
  vysoký kontrast, kompaktní mobil a jasně oddělené režimy.
*/

:root {
  --navy-950: #06182b;
  --navy-900: #071d34;
  --navy-850: #0a2743;
  --navy-800: #0d2f4e;
  --navy-700: #174663;
  --ink: #0c223d;
  --ink-soft: #263f5d;
  --muted: #536981;
  --muted-2: #6b7f95;
  --line: #d7e2eb;
  --line-strong: #c5d3df;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --surface-3: #eef4f7;
  --mint: #35d2a6;
  --mint-strong: #0f8f70;
  --mint-dark: #08745c;
  --mint-soft: #e7f8f2;
  --mint-pale: #f3fbf8;
  --sand: #f7f3eb;
  --sand-strong: #eee4d3;
  --danger: #b42318;
  --danger-soft: #fff1f0;
  --shadow-sm: 0 10px 28px rgba(9, 32, 54, .08);
  --shadow-md: 0 24px 65px rgba(8, 31, 55, .12);
  --shadow-lg: 0 36px 90px rgba(2, 20, 38, .22);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shell: 1240px;
  --content: 1040px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface-2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { border: 0; }
[hidden] { display: none !important; }

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: 12px;
  padding: 12px 16px;
  color: #fff;
  background: var(--navy-950);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: relative;
  z-index: 40;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(197,211,223,.75);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 190px; height: auto; }
.main-nav {
  justify-self: center;
  display: flex;
  gap: 8px;
  align-items: center;
}
.main-nav a {
  padding: 10px 13px;
  border-radius: 11px;
  text-decoration: none;
  color: #314a66;
  font-weight: 750;
  font-size: .91rem;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--mint-dark); background: var(--mint-soft); }
.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 14px;
  color: #fff;
  background: var(--navy-900);
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 9px 24px rgba(7,29,52,.18);
}
.header-action:hover { transform: translateY(-1px); background: var(--navy-800); }

/* Shared typography */
.eyebrow,
.hero-kicker {
  margin: 0 0 12px;
  color: var(--mint-dark);
  font-size: .74rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; color: var(--ink); letter-spacing: -.035em; }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 4.1vw, 3.55rem); line-height: 1.03; }
h3 { margin-bottom: 10px; font-size: 1.17rem; line-height: 1.25; }
p { margin-top: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 880;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: var(--navy-950);
  background: var(--mint);
  box-shadow: 0 13px 30px rgba(53,210,166,.24);
}
.button.primary:hover { background: #52dfb8; box-shadow: 0 16px 38px rgba(53,210,166,.3); }
.button.ghost {
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
}
.button.ghost:hover { background: rgba(255,255,255,.14); }
.button.secondary {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.button:focus-visible,
.main-nav a:focus-visible,
.header-action:focus-visible,
.task-card:focus-visible,
.mode-switch button:focus-visible,
.preset-row button:focus-visible,
.related-card:focus-visible,
.content-nav a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(53,210,166,.45);
  outline-offset: 3px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(52,210,166,.17), transparent 31%),
    radial-gradient(circle at 16% 92%, rgba(36,122,100,.18), transparent 34%),
    linear-gradient(118deg, var(--navy-950) 0%, #08233f 54%, #0a4b55 120%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 660px;
  height: 660px;
  right: -290px;
  bottom: -390px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(255,255,255,.025), 0 0 0 144px rgba(255,255,255,.02);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 94%);
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: 72px;
  align-items: center;
  min-height: 590px;
  padding-block: 54px 82px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: #c9d7e5;
  font-size: .84rem;
}
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs strong { color: #fff; }
.hero-kicker {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #8cf0d0;
}
.hero-kicker span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(53,210,166,.12);
}
.hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(3.05rem, 5.65vw, 5.15rem);
  line-height: .96;
  letter-spacing: -.064em;
}
.hero h1 em { color: #79e7c6; font-style: normal; }
.hero-lead {
  max-width: 690px;
  margin-bottom: 28px;
  color: #d2dfeb;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 31px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  max-width: 700px;
}
.hero-proof div { position: relative; padding-left: 15px; }
.hero-proof div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(53,210,166,.1);
}
.hero-proof b, .hero-proof span { display: block; }
.hero-proof b { color: #fff; font-size: .87rem; }
.hero-proof span { color: #b9cada; font-size: .78rem; }

.hero-cockpit {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.07));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter: blur(18px);
}
.hero-cockpit::before {
  content: "";
  position: absolute;
  inset: 16px -18px -18px 22px;
  z-index: -1;
  border-radius: 30px;
  background: rgba(53,210,166,.07);
  border: 1px solid rgba(53,210,166,.12);
  transform: rotate(1.5deg);
}
.cockpit-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: #d8e5ef;
  font-size: .83rem;
}
.cockpit-toolbar div { display: flex; align-items: center; gap: 9px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(53,210,166,.12); }
.cockpit-toolbar > span { color: #fff; font-weight: 800; }
.cockpit-main { padding: 24px 0 18px; }
.cockpit-main span, .cockpit-main small { display: block; color: #c8d8e7; }
.cockpit-main span { font-size: .84rem; }
.cockpit-main strong { display: block; margin: 5px 0 4px; color: #fff; font-size: clamp(2.75rem, 4.6vw, 4.15rem); line-height: 1; letter-spacing: -.055em; }
.cockpit-main small { font-size: .9rem; }
.cockpit-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.cockpit-stats article {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(4,26,47,.38);
}
.cockpit-stats span, .cockpit-stats b { display: block; }
.cockpit-stats span { color: #c9d8e5; font-size: .75rem; }
.cockpit-stats b { margin-top: 4px; color: #fff; font-size: 1.12rem; }
.cockpit-chart {
  margin-top: 13px;
  padding: 15px 14px 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(4,26,47,.42);
}
.chart-label { display: flex; justify-content: space-between; align-items: center; color: #c9d8e5; font-size: .75rem; }
.chart-label b { color: #7ce9c9; }
.cockpit-chart svg { width: 100%; height: 116px; margin-top: 6px; overflow: visible; }
.chart-grid-line { fill: none; stroke: rgba(255,255,255,.09); stroke-width: 1; }
.hero-area { fill: url(#heroAreaGradient); }
.hero-line { fill: none; stroke: #72e8c7; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
#heroDots circle { fill: #d9fff3; stroke: #159c78; stroke-width: 2.5; }
.chart-axis { display: flex; justify-content: space-between; color: #aebfd0; font-size: .68rem; }
.cockpit-meter { margin-top: 16px; }
.cockpit-meter > div { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; color: #c9d8e5; font-size: .72rem; }
.cockpit-meter b { color: #fff; }
.cockpit-meter > span { display: block; height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.13); }
.cockpit-meter i { display: block; width: 74.4%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), #87efd1); transition: width .3s var(--ease); }

/* Assurance shelf */
.assurance-strip { position: relative; z-index: 4; margin-top: -34px; }
.assurance-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.assurance-grid article {
  min-width: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px 25px;
}
.assurance-grid article + article { border-left: 1px solid var(--line); }
.assurance-grid > article > span {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 12px;
  font-weight: 900;
  font-size: .75rem;
}
.assurance-grid b, .assurance-grid small { display: block; }
.assurance-grid b { font-size: .94rem; }
.assurance-grid small { color: var(--muted); line-height: 1.35; }

/* Product / calculator */
.tool-section { padding: 76px 0 92px; }
.product-shell {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.product-heading {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 34px;
  align-items: end;
  margin-bottom: 24px;
}
.product-heading > div:first-child { max-width: 780px; }
.product-heading h2 { max-width: 800px; margin-bottom: 15px; font-size: clamp(2.1rem, 4vw, 3.65rem); }
.product-heading p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.03rem; }
.mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(146px,1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-3);
}
.mode-switch button {
  min-height: 60px;
  padding: 8px 15px;
  color: var(--muted);
  background: transparent;
  border-radius: 13px;
  cursor: pointer;
  text-align: left;
}
.mode-switch strong, .mode-switch small { display: block; }
.mode-switch strong { font-size: .96rem; }
.mode-switch small { margin-top: 1px; font-size: .72rem; }
.mode-switch button.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 7px 18px rgba(14,43,69,.1);
}
.journey {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}
.journey span { display: flex; gap: 9px; align-items: center; min-width: 0; }
.journey b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; color: var(--navy-950); background: var(--mint-soft); font-size: .75rem; }
.journey em { color: var(--ink-soft); font-style: normal; font-size: .83rem; font-weight: 800; white-space: nowrap; }
.journey i { height: 1px; background: var(--line-strong); }
.task-panel {
  padding: 22px;
  border: 1px solid #cfe4dc;
  border-radius: 21px;
  background: var(--mint-pale);
}
.task-head { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 17px; }
.task-head > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #fff;
  background: var(--mint-dark);
  border-radius: 9px;
  font-size: .73rem;
  font-weight: 900;
  text-transform: uppercase;
}
.task-head h3 { margin-bottom: 3px; font-size: 1.28rem; }
.task-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.task-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.task-card {
  position: relative;
  min-width: 0;
  min-height: 104px;
  display: grid;
  grid-template-columns: 45px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 17px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  cursor: pointer;
  text-align: left;
  transition: transform .2s var(--ease), border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.task-card:hover { transform: translateY(-2px); border-color: #9acdbb; box-shadow: var(--shadow-sm); }
.task-card.is-active { border-color: var(--mint-strong); background: #fafffd; box-shadow: 0 0 0 3px rgba(53,210,166,.13), var(--shadow-sm); }
.task-symbol {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 14px;
  font-size: 1.35rem;
  font-weight: 900;
}
.task-card strong, .task-card small { display: block; }
.task-card strong { font-size: 1.02rem; }
.task-card small { margin-top: 3px; color: var(--muted); line-height: 1.4; }
.task-card > i { color: var(--muted-2); font-size: .72rem; font-style: normal; font-weight: 800; }
.task-card.is-active > i { color: var(--mint-dark); }

.workspace {
  display: grid;
  grid-template-columns: minmax(0,.91fr) minmax(440px,1.09fr);
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}
.input-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-2);
}
.step-card { padding: 0; }
.step-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.step-heading > span {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy-900);
  border-radius: 12px;
  font-weight: 900;
}
.step-heading h3 { margin-bottom: 4px; font-size: 1.32rem; }
.step-heading p { margin: 0; color: var(--muted); font-size: .9rem; }
.field-grid { display: grid; gap: 14px; }
.field-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.field {
  display: block;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field:focus-within { border-color: #78bea8; box-shadow: 0 0 0 3px rgba(53,210,166,.11); }
.field > span:first-child { display: block; color: var(--ink); font-size: .9rem; font-weight: 850; }
.field > small { display: block; margin: 3px 0 10px; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.control {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
}
.control input {
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 0 13px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1rem;
  font-weight: 780;
}
.control b { padding: 0 13px; color: var(--muted); font-size: .78rem; border-left: 1px solid var(--line); }
.field-error { display: none; margin-top: 7px; color: var(--danger); font-size: .76rem; font-style: normal; font-weight: 750; }
.field.has-error { border-color: #e7a09a; background: var(--danger-soft); }
.field.has-error .field-error { display: block; }
.field.has-error .control { border-color: var(--danger); background: #fff; }
.preset-row { display: flex; gap: 7px; margin-top: 10px; }
.preset-row button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--muted);
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
}
.preset-row button.is-active { color: #fff; background: var(--mint-dark); border-color: var(--mint-dark); }
.advanced-panel {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #9ccfbe;
  border-radius: 18px;
  background: linear-gradient(145deg, #edfaf5, #f9fffc);
}
.advanced-heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.advanced-heading > span { padding: 6px 9px; color: var(--mint-dark); background: #d8f2e8; border-radius: 8px; font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.advanced-heading h3 { margin-bottom: 3px; font-size: 1.13rem; }
.advanced-heading p { margin: 0; color: var(--muted); font-size: .82rem; }
.toggle-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid #cce5dc;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.toggle-row strong, .toggle-row small { display: block; }
.toggle-row strong { font-size: .88rem; }
.toggle-row small { color: var(--muted); font-size: .73rem; }
.toggle-row input {
  appearance: none;
  flex: 0 0 46px;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #bdcbd5;
  position: relative;
  cursor: pointer;
  transition: background .2s ease;
}
.toggle-row input::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  transition: transform .2s var(--ease);
}
.toggle-row input:checked { background: var(--mint-dark); }
.toggle-row input:checked::after { transform: translateX(20px); }
.phase-panel { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.advanced-fields { margin-top: 12px; }
.form-error { margin-top: 14px; padding: 11px 13px; color: var(--danger); background: var(--danger-soft); border: 1px solid #f2b6b1; border-radius: 12px; font-weight: 750; }
.form-actions { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; margin-top: 17px; }
.form-actions .button { min-height: 50px; }
.form-actions .primary { color: #fff; background: var(--mint-dark); box-shadow: none; }
.form-actions .primary:hover { background: #096d57; }
.privacy-note { margin: 12px 0 0; color: var(--muted); font-size: .75rem; text-align: center; }

/* Results */
.product-result {
  min-width: 0;
  position: sticky;
  top: 18px;
  overflow: hidden;
  padding: 22px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 4%, rgba(53,210,166,.18), transparent 28%),
    linear-gradient(145deg, var(--navy-950), #0b3551 72%, #0c5157 130%);
  box-shadow: 0 24px 58px rgba(7,29,52,.25);
}
.product-result::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -150px;
  bottom: -165px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.018);
  pointer-events: none;
}
.result-heading { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 15px; }
.product-result .eyebrow { color: #7ce9c9; margin-bottom: 4px; }
.product-result h2 { margin: 0; color: #fff; font-size: 1.45rem; }
#resultStatus { padding: 6px 9px; color: #baf6e4; background: rgba(53,210,166,.12); border: 1px solid rgba(124,233,201,.18); border-radius: 999px; font-size: .68rem; font-weight: 850; }
.main-answer { position: relative; z-index: 1; padding: 16px 0 19px; border-top: 1px solid rgba(255,255,255,.12); }
.main-answer span { color: #c8d8e7; font-size: .82rem; }
.main-answer strong { display: block; margin: 4px 0 3px; color: #fff; font-size: clamp(2.7rem, 4.6vw, 4.3rem); line-height: 1; letter-spacing: -.06em; }
.main-answer p { margin: 0; color: #cbd9e6; font-size: .82rem; }
.result-chart {
  position: relative;
  z-index: 1;
  padding: 14px 14px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 17px;
  background: rgba(4,25,45,.4);
}
.result-chart-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.result-chart-head span, .result-chart-head small { display: block; }
.result-chart-head span { color: #fff; font-size: .78rem; font-weight: 800; }
.result-chart-head small { color: #bdcedd; font-size: .68rem; }
.result-chart-head b { color: #75e7c7; font-size: .9rem; }
.result-chart svg { width: 100%; height: 160px; margin-top: 3px; }
.result-chart-grid { fill: none; stroke: rgba(255,255,255,.08); }
.result-area { fill: url(#resultAreaGradient); }
.result-line { fill: none; stroke: #69e2c0; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
#resultDots circle { fill: #eafff9; stroke: #0e9b77; stroke-width: 2.7; }
.result-chart-axis { display: flex; justify-content: space-between; color: #aebfd0; font-size: .66rem; }
.result-compare {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 15px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
}
.result-compare div:last-child { text-align: right; }
.result-compare span, .result-compare b { display: block; }
.result-compare span { color: #bfcfdd; font-size: .68rem; }
.result-compare b { color: #fff; font-size: .92rem; }
.result-compare i { color: #7ce9c9; font-style: normal; font-weight: 900; }
.metric-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 10px; }
.metric-grid article {
  min-width: 0;
  min-height: 94px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background: rgba(3,24,43,.35);
}
.metric-grid span, .metric-grid strong, .metric-grid small { display: block; }
.metric-grid span { color: #bdcedd; font-size: .66rem; }
.metric-grid strong { margin: 4px 0 2px; color: #fff; font-size: 1rem; }
.metric-grid small { color: #aebfd0; font-size: .65rem; line-height: 1.35; }
.result-meter { position: relative; z-index: 1; margin-top: 10px; padding: 13px 14px; border-radius: 15px; background: rgba(255,255,255,.07); }
.result-meter > div { display: flex; justify-content: space-between; gap: 15px; color: #d1dee9; font-size: .7rem; }
.result-meter b { color: #fff; }
.meter-track { display: block; height: 7px; margin: 8px 0; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.12); }
.meter-track i { display: block; width: 74.4%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), #8df1d3); transition: width .3s var(--ease); }
.result-meter p { margin: 0; color: #c2d2df; font-size: .68rem; }
.interpretation-card { position: relative; z-index: 1; margin-top: 10px; padding: 15px; color: var(--ink); border-radius: 16px; background: #f1fbf7; }
.interpretation-card > span { display: inline-flex; margin-bottom: 7px; padding: 4px 7px; color: var(--mint-dark); background: #d9f3e9; border-radius: 8px; font-size: .64rem; font-weight: 900; text-transform: uppercase; }
.interpretation-card h3 { margin-bottom: 7px; color: var(--ink); font-size: 1.03rem; }
.interpretation-card p { margin-bottom: 8px; color: #425b73; font-size: .75rem; line-height: 1.5; }
.interpretation-card strong { display: block; color: var(--mint-dark); font-size: .74rem; }
.timeline-detail { position: relative; z-index: 1; margin-top: 10px; border-top: 1px solid rgba(255,255,255,.12); }
.timeline-detail summary { padding: 12px 0 2px; color: #d6e2ec; cursor: pointer; font-size: .75rem; font-weight: 800; }
.timeline { display: grid; gap: 8px; padding: 10px 0 2px; }
.timeline-row { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 9px; align-items: center; color: #cbd9e5; font-size: .66rem; }
.timeline-row i { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.timeline-row i b { display: block; height: 100%; border-radius: inherit; background: #5bddba; }
.timeline-row strong { color: #fff; font-size: .7rem; }

/* Scenarios */
.scenario-band {
  margin-top: 22px;
  padding: 28px;
  border: 1px solid #cfe4dc;
  border-radius: 22px;
  background: linear-gradient(145deg, #f3fbf8, #edf8f4);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr);
  gap: 44px;
  align-items: end;
}
.section-heading.compact { margin-bottom: 20px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0; color: var(--muted); }
.scenario-band h2 { max-width: 720px; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.scenario-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.scenario-grid article {
  min-width: 0;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
.scenario-grid article.baseline { border-color: var(--mint-strong); box-shadow: 0 0 0 3px rgba(53,210,166,.1); }
.scenario-rate { align-self: flex-start; padding: 4px 7px; color: var(--mint-dark); background: var(--mint-soft); border-radius: 7px; font-size: .64rem; font-weight: 900; }
.scenario-grid h3 { margin: 11px 0 5px; font-size: .86rem; }
.scenario-grid strong { color: var(--ink); font-size: 1.22rem; line-height: 1.15; }
.scenario-grid p { margin: 5px 0 10px; color: var(--muted); font-size: .68rem; line-height: 1.4; }
.scenario-delta { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: .65rem; }

/* In-page navigation */
.content-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.content-nav a { padding: 8px 13px; color: var(--ink-soft); border-radius: 10px; text-decoration: none; font-size: .82rem; font-weight: 800; }
.content-nav a:hover { color: var(--mint-dark); background: var(--mint-soft); }

/* Editorial foundation */
.story-section,
.content-section,
.decision-section,
.faq-section,
.related-section {
  padding-top: 82px;
  padding-bottom: 82px;
}
.story-section > p:not(.eyebrow),
.content-section > p:not(.eyebrow),
.feature-band > p:not(.eyebrow),
.method-copy > p,
.faq-section > p:not(.eyebrow) {
  max-width: 880px;
  color: var(--muted);
  font-size: 1.01rem;
}
.story-section > h2,
.content-section > h2,
.feature-band > h2,
.faq-section > h2,
.related-section > h2 { max-width: 880px; }

.intro-section .section-heading { margin-bottom: 26px; }
.concept-grid,
.decision-grid,
.cost-grid,
.checklist,
.mistake-grid,
.decision-guide,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  width: 100%;
}
.concept-grid article,
.decision-grid article,
.cost-grid article,
.checklist > div,
.mistake-grid article,
.decision-guide article {
  min-width: 0;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(9,32,54,.045);
}
.concept-grid article { position: relative; overflow: hidden; padding-top: 72px; }
.concept-grid article::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 22px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--mint-soft);
  box-shadow: inset 0 0 0 1px #ccecdf;
}
.concept-grid article::after {
  content: "";
  position: absolute;
  left: 36px;
  top: 36px;
  width: 14px;
  height: 8px;
  border-right: 2px solid var(--mint-dark);
  border-bottom: 2px solid var(--mint-dark);
  transform: rotate(-45deg);
}
.concept-grid article > span { position: absolute; top: 28px; right: 24px; color: #8aa0b5; font-size: .72rem; font-weight: 900; }
.concept-grid p,
.decision-grid p,
.cost-grid p,
.checklist p,
.mistake-grid p,
.decision-guide p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.58; }

.feature-band {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
  padding: 64px;
  border-radius: 30px;
}
.dark-band,
.difference-section,
.business-section {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(53,210,166,.15), transparent 32%),
    linear-gradient(135deg, var(--navy-950), #0b3652 75%, #0d555b 130%);
  box-shadow: var(--shadow-md);
}
.dark-band .eyebrow,
.difference-section .eyebrow,
.business-section .eyebrow { color: #79e7c6; }
.dark-band h2, .dark-band h3,
.difference-section h2, .difference-section h3,
.business-section h2, .business-section h3 { color: #fff; }
.dark-band > p:not(.eyebrow),
.difference-section > p:not(.eyebrow),
.business-section > p:not(.eyebrow) { color: #c8d8e7; }
.dark-band .decision-grid article,
.business-section .cost-grid article {
  border-color: rgba(255,255,255,.13);
  background: rgba(4,25,45,.36);
  box-shadow: none;
}
.dark-band .decision-grid span,
.business-section .cost-grid span { color: #80e8c9; }
.dark-band .decision-grid p,
.business-section .cost-grid p { color: #c8d8e7; }
.dark-band .decision-grid h3,
.business-section .cost-grid h3 { color: #fff; }

.example-section { position: relative; padding-right: min(36vw, 480px); }
.example-section::before {
  content: "100 000 Kč\A→\A134 392 Kč";
  white-space: pre;
  position: absolute;
  right: 0;
  top: 92px;
  width: min(31vw, 385px);
  min-height: 270px;
  display: grid;
  place-items: center;
  padding: 30px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  font-size: clamp(1.45rem, 2.7vw, 2.5rem);
  line-height: 1.2;
  text-align: center;
  font-weight: 900;
  letter-spacing: -.04em;
}
.example-section::after {
  content: "+34,39 % za 10 let";
  position: absolute;
  right: 35px;
  top: 318px;
  padding: 8px 12px;
  color: var(--navy-950);
  background: var(--mint);
  border-radius: 10px;
  font-size: .75rem;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.muted-section,
.forecast-section,
.personal-section {
  margin-top: 0;
  margin-bottom: 0;
  padding-inline: 40px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #f0f4f7;
}
.personal-section { background: linear-gradient(140deg, #f4f7f9, #f8f5ef); }
.sage-band,
.returns-section {
  color: var(--ink);
  background: linear-gradient(140deg, #e8f8f2, #f5fbf8);
  border: 1px solid #cce7dd;
  box-shadow: none;
}
.sage-band h2, .sage-band h3 { color: var(--ink); }
.sage-band > p:not(.eyebrow) { color: #425b73; }

.checklist { margin-top: 26px; }
.checklist > div { position: relative; padding-left: 62px; }
.checklist > div::before {
  content: "✓";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--mint-dark);
  border-radius: 9px;
  font-weight: 900;
}
.checklist strong { display: block; margin-bottom: 6px; }

.scenario-guide-section .decision-grid { margin: 26px 0; }
.scenario-guide-section .decision-grid article { border-top: 4px solid var(--mint-strong); }
.scenario-guide-section .decision-grid span,
.decision-guide span {
  display: inline-flex;
  margin-bottom: 11px;
  padding: 5px 8px;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 8px;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}
.scenario-guide-section > h3 { margin-top: 34px; font-size: 1.42rem; }

.business-section .cost-grid { margin: 25px 0 32px; }
.business-section > h3 { margin-top: 30px; }

.contracts-section .cost-grid { margin: 26px 0 22px; }
.contracts-section .cost-grid article { position: relative; padding-top: 62px; }
.contracts-section .cost-grid article::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 24px;
  width: 26px;
  height: 26px;
  border: 2px solid var(--mint-dark);
  border-radius: 8px;
  transform: rotate(8deg);
}
.contracts-section .cost-grid article::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 32px;
  width: 14px;
  height: 2px;
  background: var(--mint-dark);
  box-shadow: 0 6px 0 var(--mint-dark);
}

.mistake-grid { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 24px; }
.mistake-grid article { position: relative; padding-left: 64px; }
.mistake-grid article::before {
  content: "!";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #805510;
  background: #fff2cc;
  border-radius: 9px;
  font-weight: 950;
}

.decision-section .section-heading { margin-bottom: 28px; }
.decision-guide article { border-top: 4px solid var(--navy-800); }
.decision-guide article:nth-child(2) { border-top-color: var(--mint-strong); }
.decision-guide article:nth-child(3) { border-top-color: #9b7b42; }

/* Methodology */
.method-section {
  margin-top: 30px;
  padding: 90px 0;
  color: #fff;
  background:
    radial-gradient(circle at 83% 15%, rgba(53,210,166,.16), transparent 30%),
    linear-gradient(135deg, var(--navy-950), #08314c 70%, #0b4d55 120%);
}
.method-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); gap: 54px; align-items: start; }
.method-section .eyebrow { color: #7ce9c9; }
.method-section h2, .method-section h3 { color: #fff; }
.method-copy > p { color: #c8d8e7; }
.method-steps { display: grid; gap: 11px; margin-top: 25px; }
.method-steps article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: rgba(3,24,43,.32);
}
.method-steps article > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--navy-950); background: var(--mint); border-radius: 10px; font-size: .7rem; font-weight: 900; }
.method-steps h3 { margin-bottom: 4px; font-size: 1rem; }
.method-steps p { margin: 0; color: #c8d8e7; font-size: .82rem; }
.method-limit { margin-top: 14px; padding: 18px; color: var(--ink); background: #effaf6; border-radius: 16px; }
.method-limit strong { display: block; margin-bottom: 6px; color: var(--mint-dark); }
.method-limit p { margin: 0; color: #405a71; font-size: .82rem; }
.formula-card {
  position: sticky;
  top: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  background: rgba(3,24,43,.48);
  box-shadow: 0 25px 60px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
}
.formula-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 13px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.12); color: #c8d8e7; font-size: .73rem; }
.formula-head b { color: #fff; }
.formula { padding: 12px 13px; border-radius: 13px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.formula + .formula { margin-top: 8px; }
.formula small { display: block; color: #bdd0df; font-size: .67rem; }
.formula code { display: block; margin-top: 4px; color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92rem; font-weight: 750; overflow-wrap: anywhere; }
.source-list { display: grid; gap: 7px; margin-top: 15px; }
.source-list a { padding: 9px 11px; color: #d9fff4; background: rgba(53,210,166,.08); border: 1px solid rgba(124,233,201,.18); border-radius: 10px; text-decoration: none; font-size: .73rem; font-weight: 750; }
.source-list a:hover { background: rgba(53,210,166,.14); }

/* FAQ, related, footer */
.faq-section { max-width: var(--content); }
.faq-list { display: grid; gap: 10px; margin-top: 24px; }
.faq-list details { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.faq-list summary { position: relative; padding: 17px 52px 17px 18px; color: var(--ink); cursor: pointer; list-style: none; font-weight: 850; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 14px; width: 30px; height: 30px; display: grid; place-items: center; color: var(--mint-dark); background: var(--mint-soft); border-radius: 9px; font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
.related-section { padding-top: 50px; }
.related-grid { margin-top: 24px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.related-card {
  min-width: 0;
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(9,32,54,.04);
  transition: transform .2s var(--ease), border-color .2s ease, box-shadow .2s ease;
}
.related-card::after { content: "→"; align-self: flex-end; color: var(--mint-dark); font-size: 1.2rem; font-weight: 900; }
.related-card:hover { transform: translateY(-3px); border-color: #96cdb9; box-shadow: var(--shadow-sm); }
.related-card strong, .related-card small { display: block; }
.related-card small { color: var(--muted); }

.site-footer { margin-top: 30px; padding: 58px 0 24px; color: #d4e0ea; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 44px; }
.footer-grid img { width: 205px; max-width: 100%; margin-bottom: 15px; }
.footer-grid p { max-width: 380px; color: #afc1d1; font-size: .88rem; }
.footer-grid h3 { margin: 0 0 12px; color: #fff; font-size: .92rem; }
.footer-grid a { display: block; margin: 8px 0; color: #bfd0de; text-decoration: none; font-size: .82rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; color: #9fb3c4; font-size: .76rem; }

/* Responsive */
@media (max-width: 1160px) {
  .hero-layout { grid-template-columns: 1fr minmax(390px,.85fr); gap: 42px; }
  .hero h1 { font-size: clamp(3rem, 6.2vw, 4.4rem); }
  .workspace { grid-template-columns: minmax(0,.95fr) minmax(390px,1.05fr); }
  .scenario-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .scenario-grid article:nth-child(n+4) { min-height: 150px; }
  .method-grid { grid-template-columns: minmax(0,1fr) minmax(350px,.85fr); gap: 35px; }
}

@media (max-width: 960px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .main-nav a { padding-inline: 9px; }
  .hero-layout { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding-block: 44px 72px; }
  .hero-copy { max-width: 760px; }
  .hero-cockpit { max-width: 720px; width: 100%; }
  .product-heading { grid-template-columns: 1fr; align-items: start; }
  .mode-switch { width: min(100%, 430px); }
  .workspace { grid-template-columns: 1fr; }
  .product-result { position: relative; top: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .feature-band { padding: 48px; }
  .example-section { padding-right: 24px; padding-bottom: 400px; }
  .example-section::before { top: auto; right: 24px; bottom: 70px; width: calc(100% - 48px); min-height: 250px; }
  .example-section::after { top: auto; right: 50px; bottom: 82px; }
  .method-grid { grid-template-columns: 1fr; }
  .formula-card { position: relative; top: auto; }
  .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3,1fr); gap: 28px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .site-header { background: #fff; }
  .header-inner { min-height: 66px; grid-template-columns: 1fr auto; }
  .brand img { width: 168px; }
  .main-nav { display: none; }
  .header-action { min-height: 42px; padding-inline: 14px; font-size: .82rem; }
  .hero-layout { padding-block: 30px 58px; gap: 28px; }
  .breadcrumbs { margin-bottom: 18px; font-size: .76rem; }
  .hero h1 { font-size: clamp(2.6rem, 12.7vw, 4rem); line-height: .98; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { margin-bottom: 24px; }
  .hero-actions .button { flex: 1 1 170px; }
  .hero-proof { grid-template-columns: 1fr; gap: 10px; }
  .hero-proof div { padding: 8px 10px 8px 30px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.05); }
  .hero-proof div::before { left: 13px; top: 18px; }
  .hero-cockpit { padding: 18px; border-radius: 23px; }
  .cockpit-main strong { font-size: clamp(2.55rem, 12vw, 3.6rem); }
  .assurance-strip { margin-top: -26px; }
  .assurance-grid { grid-template-columns: 1fr; border-radius: 18px; }
  .assurance-grid article { padding: 16px 18px; }
  .assurance-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .tool-section { padding: 52px 0 66px; }
  .product-shell { padding: 18px; border-radius: 25px; }
  .product-heading h2 { font-size: clamp(2rem, 9.5vw, 3rem); }
  .mode-switch { grid-template-columns: 1fr 1fr; width: 100%; }
  .mode-switch button { min-height: 58px; padding-inline: 10px; }
  .mode-switch small { display: none; }
  .journey { grid-template-columns: 1fr; gap: 7px; }
  .journey i { display: none; }
  .journey span { padding: 7px 8px; border-radius: 10px; background: #fff; }
  .task-panel { padding: 16px; }
  .task-grid { grid-template-columns: 1fr; }
  .task-card { min-height: 92px; grid-template-columns: 42px 1fr; }
  .task-card > i { display: none; }
  .input-panel { padding: 16px; }
  .field-grid.two, .phase-panel { grid-template-columns: 1fr; }
  .form-actions { grid-template-columns: 1fr; }
  .product-result { padding: 17px; border-radius: 20px; }
  .result-heading { flex-direction: column; gap: 7px; }
  .main-answer strong { font-size: clamp(2.45rem, 13vw, 3.55rem); }
  .result-chart svg { height: 145px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid article { min-height: 90px; }
  .scenario-band { padding: 18px; }
  .scenario-grid { grid-template-columns: 1fr 1fr; }
  .scenario-grid article { min-height: 166px; }
  .scenario-grid article.baseline { grid-column: 1 / -1; }
  .content-nav { position: relative; overflow-x: auto; justify-content: flex-start; flex-wrap: nowrap; scrollbar-width: none; }
  .content-nav::-webkit-scrollbar { display: none; }
  .content-nav a { white-space: nowrap; }
  .story-section, .content-section, .decision-section, .faq-section, .related-section { padding-top: 60px; padding-bottom: 60px; }
  h2 { font-size: clamp(2rem, 9.6vw, 3rem); }
  .concept-grid, .decision-grid, .cost-grid, .checklist, .mistake-grid, .decision-guide { grid-template-columns: 1fr; }
  .feature-band { width: calc(100% - 28px); padding: 34px 20px; border-radius: 24px; }
  .muted-section, .forecast-section, .personal-section { width: calc(100% - 28px); padding-inline: 22px; }
  .example-section { padding-right: 14px; padding-bottom: 360px; }
  .example-section::before { right: 14px; bottom: 55px; width: calc(100% - 28px); min-height: 230px; }
  .example-section::after { right: 30px; bottom: 68px; }
  .method-section { padding: 65px 0; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 460px) {
  body { font-size: 15px; }
  .shell { width: min(100% - 20px, var(--shell)); }
  .header-action { display: none; }
  .header-inner { grid-template-columns: 1fr; }
  .hero-layout { padding-top: 24px; }
  .hero h1 { font-size: clamp(2.45rem, 13.5vw, 3.35rem); }
  .hero h1 br { display: none; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .cockpit-toolbar { align-items: flex-start; flex-direction: column; gap: 6px; }
  .cockpit-stats { grid-template-columns: 1fr; }
  .cockpit-chart svg { height: 100px; }
  .product-shell { padding: 14px; }
  .mode-switch strong { font-size: .85rem; }
  .task-head { flex-direction: column; gap: 8px; }
  .field { padding: 13px; }
  .result-compare { grid-template-columns: 1fr; }
  .result-compare i { transform: rotate(90deg); justify-self: center; }
  .result-compare div:last-child { text-align: left; }
  .metric-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-grid article.baseline { grid-column: auto; }
  .feature-band { width: calc(100% - 20px); }
  .muted-section, .forecast-section, .personal-section { width: calc(100% - 20px); padding-inline: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

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

@media print {
  .site-header, .hero-actions, .assurance-strip, .content-nav, .site-footer, .form-actions { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .method-section, .product-result, .feature-band { color: #000; background: #fff !important; box-shadow: none; border: 1px solid #bbb; }
  .product-result *, .method-section *, .feature-band * { color: #000 !important; }
  .product-result { position: static; }
}

/* Final mobile product-density pass */
.skip-link:not(:focus-visible) { transform: translateY(-220%); }
.skip-link:focus-visible { transform: translateY(0); }

@media (max-width: 760px) {
  .hero-layout { padding-block: 26px 46px; gap: 22px; }
  .hero-copy { max-width: none; }
  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .hero-proof div {
    min-width: 0;
    padding: 11px 7px 10px;
    text-align: center;
    border-radius: 13px;
  }
  .hero-proof div::before {
    position: static;
    display: block;
    margin: 0 auto 7px;
  }
  .hero-proof b {
    display: block;
    font-size: .7rem;
    line-height: 1.25;
  }
  .hero-proof span { display: none; }
  .hero-cockpit { padding: 16px; }
  .cockpit-main { padding: 17px 0 15px; }
  .cockpit-chart,
  .cockpit-meter { display: none; }
  .cockpit-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cockpit-stats article { min-height: 82px; }
  .assurance-strip { margin-top: -20px; }
  .assurance-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .assurance-grid article {
    min-width: 0;
    padding: 14px 12px;
  }
  .assurance-grid article + article {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .assurance-grid p { display: none; }
  .assurance-grid h2 { font-size: .78rem; line-height: 1.3; }
}

@media (max-width: 460px) {
  .hero h1 br { display: block; }
  .hero-layout { padding-top: 20px; padding-bottom: 42px; }
  .hero-actions { margin-bottom: 19px; }
  .hero-proof { gap: 5px; }
  .hero-proof div { padding-inline: 5px; }
  .hero-cockpit { border-radius: 20px; }
  .cockpit-main strong { font-size: clamp(2.35rem, 11.5vw, 3.15rem); }
  .cockpit-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assurance-grid article { padding: 12px 7px; text-align: center; }
}
