:root {
  --ink: #101827;
  --muted: #516070;
  --line: #d7dee8;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --navy: #17233a;
  --teal: #16736b;
  --teal-strong: #0d5d57;
  --gold: #a76316;
  --red: #a63f45;
  --green: #287549;
  --blue-soft: #e8f0f7;
  --gold-soft: #fbf0dc;
  --red-soft: #fae8ea;
  --green-soft: #e5f3eb;
  --teal-soft: #e2f3f0;
  --steel: #334155;
  --shadow: 0 20px 48px rgba(16, 24, 39, 0.10);
  --shadow-soft: 0 8px 22px rgba(16, 24, 39, 0.07);
  font-family: "IBM Plex Sans", "Aptos", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(22, 115, 107, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfcfd 0%, var(--paper) 42%, #eef4f3 100%);
  line-height: 1.58;
  overflow-x: hidden;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(22, 115, 107, 0.35);
  outline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 20, 35, 0.96);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-weight: 760;
  letter-spacing: 0;
  color: #fff;
  line-height: 1.1;
  font-size: 22px;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 560;
  font-size: 12px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 14px;
  min-width: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
  overflow-wrap: anywhere;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.40);
  text-decoration: none;
}

.language-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  overflow: hidden;
  margin-left: 4px;
}

.language-switch a {
  padding: 7px 13px;
  border-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
}

.language-switch a.active {
  background: var(--teal);
  color: #fff;
}

.nav-cta {
  padding: 8px 13px !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.nav-cta:hover {
  border-color: rgba(255, 255, 255, 0.64) !important;
}

main {
  min-height: 70vh;
}

.hero {
  background:
    linear-gradient(135deg, rgba(17, 31, 53, 0.98), rgba(20, 88, 83, 0.94)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.10) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 48px);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 54%, rgba(255,255,255,0.035) 54% 100%),
    radial-gradient(circle at 78% 22%, rgba(22, 115, 107, 0.24), transparent 24%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.hero-inner,
.section,
.footer-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px;
}

.hero-inner {
  padding-top: 66px;
  padding-bottom: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.hero p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 6px;
  font-weight: 760;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 15px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(180deg, #1b6673, #0f5a65);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button.solid {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.button.subtle {
  background: transparent;
  color: var(--teal-strong);
  border-color: rgba(51, 65, 85, 0.08);
}

.notice {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  padding: 16px;
  border-radius: 6px;
  margin: 22px 0;
  overflow-wrap: anywhere;
  box-shadow: var(--shadow-soft);
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 253, 253, 0.98)),
    var(--panel);
  border: 1px solid rgba(215, 222, 232, 0.92);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.92) inset, var(--shadow-soft);
  min-width: 0;
  overflow-wrap: anywhere;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 115, 107, 0.30);
  box-shadow: 0 1px 0 rgba(255,255,255,0.95) inset, var(--shadow);
}

.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.22;
  letter-spacing: 0;
}

.card p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.section h2 {
  font-size: 30px;
  line-height: 1.18;
  margin: 0 0 14px;
  letter-spacing: 0;
  text-wrap: balance;
}

.section > p {
  color: var(--muted);
  max-width: 820px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin-bottom: 8px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.band {
  background: linear-gradient(180deg, #eaf3f1, #f4f7f8);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stage-list,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stage-list li,
.check-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.stage-list li:last-child,
.check-list li:last-child {
  border-bottom: 0;
}

.tag {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
  background: var(--blue-soft);
  color: var(--navy);
  letter-spacing: 0.01em;
}

.tag.warn {
  background: var(--red-soft);
  color: var(--red);
}

.tag.warn-lite {
  background: var(--gold-soft);
  color: var(--gold);
}

.tag.ok {
  background: var(--green-soft);
  color: var(--green);
}

.tag.info {
  background: var(--blue-soft);
  color: #1f6691;
}

.source-list {
  padding-left: 18px;
  color: var(--muted);
}

.page-title {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px 26px;
}

.page-title h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.page-title p {
  color: var(--muted);
  max-width: 820px;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.field {
  margin-bottom: 16px;
}

label {
  display: block;
  font-weight: 720;
  margin-bottom: 7px;
}

input[type="number"],
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input[type="number"]:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(22, 115, 107, 0.10);
}

.result {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(180deg, #fff, #fbfcfd);
  box-shadow: var(--shadow);
  position: sticky;
  top: 92px;
}

.result .number {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  margin: 12px 0;
}

.result.good {
  border-color: rgba(47, 122, 71, 0.36);
}

.result.bad {
  border-color: rgba(166, 63, 69, 0.38);
}

.result.neutral {
  border-color: var(--line);
}

.gate-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.gate {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: #fff;
  color: var(--muted);
  font-weight: 650;
}

.gate.ok {
  border-color: rgba(47, 122, 71, 0.36);
  background: var(--green-soft);
  color: var(--green);
}

.gate.bad {
  border-color: rgba(166, 63, 69, 0.38);
  background: var(--red-soft);
  color: var(--red);
}

.gate.unknown {
  border-color: rgba(154, 106, 24, 0.34);
  background: var(--gold-soft);
  color: var(--gold);
}

.mini-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.hero-console {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: none;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.hero-console div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.hero-console span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-console strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.timeline-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--teal), var(--teal-strong));
  color: #fff;
  font-weight: 800;
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 820;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 12px 20px rgba(16,24,39,0.10);
  position: relative;
}

.card-icon::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  pointer-events: none;
}

.card-icon.risk {
  background: linear-gradient(180deg, #c9353f, var(--red));
}

.card-icon.warning {
  background: linear-gradient(180deg, #d79b28, var(--gold));
}

.card-icon.teal {
  background: linear-gradient(180deg, #16827a, var(--teal-strong));
}

.card-icon.ok {
  background: linear-gradient(180deg, #159866, var(--green));
}

.topic-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  align-items: start;
  min-height: 260px;
  position: relative;
  isolation: isolate;
}

.topic-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), rgba(22, 115, 107, 0));
  opacity: 0.75;
  z-index: -1;
}

.topic-card:has(.card-icon.risk)::before {
  background: linear-gradient(90deg, var(--red), rgba(166, 63, 69, 0));
}

.topic-card:has(.card-icon.warning)::before {
  background: linear-gradient(90deg, var(--gold), rgba(167, 99, 22, 0));
}

.topic-card:has(.card-icon.ok)::before {
  background: linear-gradient(90deg, var(--green), rgba(40, 117, 73, 0));
}

.topic-card h3 {
  font-size: 20px;
}

.topic-card p {
  font-size: 15px;
  line-height: 1.55;
}

.topic-card .tag {
  width: fit-content;
  margin-bottom: 12px;
}

.topic-card .button {
  justify-content: flex-start;
  padding-left: 0;
  min-height: auto;
  border: 0;
  background: transparent;
  width: fit-content;
}

.topic-card .button::after {
  content: "›";
  margin-left: 8px;
  font-size: 20px;
  line-height: 1;
}

.decision-grid {
  margin-top: 6px;
}

.decision-summary {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 20px 22px;
  border: 1px solid rgba(22, 115, 107, 0.24);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(22, 115, 107, 0.10), rgba(255, 255, 255, 0.92));
  box-shadow: var(--shadow-soft);
}

.decision-summary p {
  margin: 0;
  max-width: 920px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
}

.decision-compare .card {
  min-height: 260px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding: 20px 24px 24px;
}

.link-grid .button {
  justify-content: flex-start;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--blue-soft);
  border-color: rgba(22, 115, 107, 0.16);
}

.action-section {
  padding-top: 30px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.action-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(215, 222, 232, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.90), rgba(248, 251, 252, 0.96)),
    #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.88) inset, 0 8px 22px rgba(16, 24, 39, 0.055);
  min-width: 0;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 115, 107, 0.24);
  box-shadow: 0 1px 0 rgba(255,255,255,0.92) inset, 0 14px 28px rgba(16, 24, 39, 0.09);
}

.action-card h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.22;
}

.action-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.action-card .card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0;
}

.action-card .button {
  min-height: 38px;
  padding: 8px 10px;
  width: fit-content;
}

.affiliate-card {
  background:
    linear-gradient(135deg, rgba(22, 115, 107, 0.16), rgba(255, 255, 255, 0.94)),
    #fff;
  border-color: rgba(22, 115, 107, 0.34);
  box-shadow: 0 1px 0 rgba(255,255,255,0.92) inset, 0 16px 34px rgba(13, 93, 87, 0.10);
}

.cta-gate .card {
  display: grid;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
  border-color: rgba(167, 99, 22, 0.30);
  background:
    linear-gradient(135deg, rgba(251, 240, 220, 0.86), rgba(255, 255, 255, 0.96) 58%),
    #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.92) inset, 0 18px 42px rgba(167, 99, 22, 0.10);
  position: relative;
  overflow: hidden;
}

.cta-gate .card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--gold), var(--red));
}

.cta-gate h2 {
  margin-bottom: 0;
}

.cta-gate p {
  margin: 0;
  max-width: 760px;
}

.cta-gate .button {
  justify-self: start;
}

.footer-cta {
  padding-top: 20px;
}

.footer-cta-panel {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 35, 58, 0.96), rgba(18, 63, 76, 0.98)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 48px);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.footer-cta-panel::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.footer-cta-panel h2 {
  color: #fff;
  margin: 0 0 6px;
}

.footer-cta-panel p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 700px;
}

.footer-cta-panel .button {
  flex: 0 0 auto;
  background: #fff;
  color: var(--teal-strong);
}

.has-exit-intent {
  overflow: hidden;
}

.exit-intent {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.exit-intent.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.exit-intent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 35, 0.64);
  backdrop-filter: blur(10px);
}

.exit-intent-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 248, 251, 0.98)),
    #fff;
  box-shadow: 0 28px 80px rgba(8, 20, 35, 0.34);
  transform: translateY(8px) scale(0.98);
  transition: transform 180ms ease;
}

.exit-intent.is-visible .exit-intent-dialog {
  transform: translateY(0) scale(1);
}

.exit-intent-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--steel);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.exit-intent-dialog h2 {
  margin: 14px 42px 10px 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.06;
  letter-spacing: 0;
}

.exit-intent-dialog p {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 17px;
}

.exit-intent-dialog .check-list {
  margin: 12px 0 22px;
  border-top: 1px solid var(--line);
}

.exit-intent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.decision-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.decision-panel,
.safety-panel,
.source-table-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.decision-panel,
.safety-panel {
  padding: 0;
}

.panel-heading,
.source-table-head {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
}

.panel-heading h2,
.source-table-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.panel-heading p,
.source-table-head p {
  margin: 0;
  color: var(--muted);
}

.decision-steps {
  list-style: none;
  padding: 0 24px;
  margin: 0;
}

.decision-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.decision-steps li > span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.decision-steps strong,
.safety-note strong {
  display: block;
  line-height: 1.25;
}

.decision-steps small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
  font-size: 13px;
}

.decision-steps a {
  min-width: 82px;
  padding: 6px 12px;
  border: 1px solid rgba(22, 115, 107, 0.24);
  border-radius: 999px;
  color: var(--teal-strong);
  font-size: 13px;
  font-weight: 760;
  text-align: center;
}

.calm-callout {
  display: grid;
  gap: 3px;
  margin: 18px 24px 24px;
  padding: 16px 18px;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(22, 115, 107, 0.12), rgba(22, 115, 107, 0.04));
  color: var(--teal-strong);
}

.calm-callout span {
  color: var(--muted);
}

.safety-note {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.safety-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.note-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 820;
}

.note-icon.teal {
  color: var(--teal-strong);
  background: var(--teal-soft);
}

.note-icon.ok {
  color: var(--green);
  background: var(--green-soft);
}

.note-icon.warning {
  color: var(--gold);
  background: var(--gold-soft);
}

.risk-reminder {
  margin: 18px 24px 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--red);
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(166, 63, 69, 0.10), rgba(166, 63, 69, 0.035));
}

.risk-reminder strong {
  color: var(--red);
}

.risk-reminder p {
  margin: 7px 0 0;
  color: var(--ink);
}

.source-table-card {
  padding: 0;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 14px;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fbfcfd;
}

td {
  color: var(--steel);
}

td:first-child {
  color: var(--ink);
  font-weight: 720;
}

.flow-step {
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  padding: 14px;
  min-height: 92px;
  backdrop-filter: blur(10px);
}

.flow-step b {
  display: block;
  margin-bottom: 6px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #eef2f6;
  color: var(--muted);
}

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

.footer a {
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 840px) {
  * {
    max-width: 100%;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px 16px;
  }

  .result {
    position: static;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
    width: 100%;
    gap: 8px 13px;
    font-size: 13px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .nav-cta {
    white-space: normal !important;
  }

  .language-switch {
    margin-left: 0;
  }

  .language-switch a {
    padding: 6px 11px;
  }

  .hero h1,
  .page-title h1 {
    font-size: 28px;
    word-break: normal;
    overflow-wrap: normal;
  }

  .hero p,
  .page-title p,
  .card p,
  .notice,
  .result p,
  .check-list li,
  .stage-list li {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .grid.three,
  .grid.two,
  .grid.four,
  .action-grid,
  .calculator,
  .decision-section,
  .mini-flow,
  .hero-inner,
  .hero-console,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-console div {
    padding: 14px 16px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .decision-steps li {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .decision-steps a {
    grid-column: 2;
    width: fit-content;
  }

  .safety-note {
    grid-template-columns: 1fr;
  }

  .action-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .footer-cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  table {
    min-width: 0;
    font-size: 14px;
  }

  thead {
    display: none;
  }

  tr {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  td {
    display: block;
    padding: 0;
    border-bottom: 0;
  }

  td:nth-child(2) {
    color: var(--muted);
  }

  td:nth-child(3),
  td:nth-child(4) {
    font-size: 12px;
    color: var(--muted);
  }

  .hero-inner,
  .section,
  .footer-inner {
    padding: 38px 18px;
  }

  .page-title {
    padding: 34px 18px 12px;
  }
}
