:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-2: #eef3f1;
  --text: #17201d;
  --muted: #5f6f68;
  --line: #dfe7e3;
  --green: #078c68;
  --green-2: #e7f6f0;
  --amber: #b66b00;
  --amber-2: #fff4df;
  --blue: #245fd6;
  --shadow: 0 18px 45px rgba(23, 32, 29, 0.08);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 16% -8%, rgba(7, 140, 104, 0.16), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(36, 95, 214, 0.10), transparent 28%),
    linear-gradient(90deg, rgba(7, 140, 104, 0.044) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 32, 29, 0.038) 1px, transparent 1px),
    var(--bg);
  background-size: 100% 560px, 100% 520px, 48px 48px, 48px 48px, auto;
  background-attachment: scroll, scroll, fixed, fixed, scroll;
  color: var(--text);
  line-height: 1.6;
}

main,
section {
  max-width: 100vw;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.62;
  background:
    repeating-linear-gradient(112deg, transparent 0 18px, rgba(23, 32, 29, 0.068) 18px 20px, transparent 20px 38px),
    repeating-linear-gradient(68deg, transparent 0 24px, rgba(7, 140, 104, 0.06) 24px 26px, transparent 26px 50px),
    radial-gradient(circle at 50% 14%, transparent 0 112px, rgba(23, 32, 29, 0.07) 113px 116px, transparent 117px 170px),
    radial-gradient(circle at 78% 22%, transparent 0 72px, rgba(7, 140, 104, 0.08) 73px 75px, transparent 76px 110px);
  mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.72) 44%, transparent 84%);
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(90deg, rgba(7, 140, 104, 0.06) 0 1px, transparent 1px 18px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  max-width: 100%;
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.015em;
  white-space: nowrap;
  font-size: 18px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: block;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 44%),
    linear-gradient(135deg, #0a9874, #05624f);
  border: 1px solid rgba(5, 94, 77, 0.72);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.14),
    0 2px 0 rgba(5, 94, 77, 0.35);
  border-radius: 14px;
  overflow: hidden;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark svg rect {
  fill: transparent;
}

.brand-word {
  display: grid;
  gap: 3px;
  line-height: 1.02;
  min-width: 0;
}

.brand-word strong {
  font-size: 18px;
  letter-spacing: -0.015em;
  white-space: normal;
  text-rendering: geometricPrecision;
}

.brand-word span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: normal;
}

.brand:hover,
.brand:focus-visible {
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  color: var(--muted);
}

.nav-links a {
  color: var(--muted);
}

.language-select {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 9px 12px;
  color: var(--text);
  font-weight: 650;
}

.hero {
  padding: 30px 0 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: stretch;
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
    repeating-linear-gradient(135deg, rgba(7, 140, 104, 0.045) 0 1px, transparent 1px 18px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  min-width: 0;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.page-title {
  font-size: clamp(38px, 4.5vw, 62px);
}

.lede {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-weight: 750;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  min-height: 44px;
}

.button.primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.button.secondary {
  background: var(--surface-2);
}

.panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)),
    linear-gradient(135deg, rgba(7, 140, 104, 0.035), transparent 42%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.calculator {
  display: grid;
  gap: 16px;
}

.calc-shell {
  position: relative;
  border: 1px solid #aebfba;
  border-radius: 16px;
  padding: 14px;
  background:
    radial-gradient(circle at 15px 15px, #d8e5e0 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 15px) 15px, #d8e5e0 0 2px, transparent 3px),
    radial-gradient(circle at 15px calc(100% - 15px), #d8e5e0 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 15px) calc(100% - 15px), #d8e5e0 0 2px, transparent 3px),
    linear-gradient(145deg, #f9fcfb, #dfeae6 62%, #cfded8);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(23, 32, 29, 0.12),
    0 22px 46px rgba(23, 32, 29, 0.16);
  isolation: isolate;
}

.calc-shell::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(23, 32, 29, 0.08);
  border-radius: 13px;
  pointer-events: none;
}

.calc-shell::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 86px;
  height: 86px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.34;
  border-radius: 50%;
  background:
    conic-gradient(from 220deg, rgba(7, 140, 104, 0.0) 0 17%, rgba(7, 140, 104, 0.26) 18% 48%, rgba(182, 107, 0, 0.24) 49% 66%, transparent 67% 100%),
    radial-gradient(circle, transparent 0 48%, rgba(23, 32, 29, 0.18) 49% 51%, transparent 52%);
}

.calc-device-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  padding: 0 2px;
}

.calc-device-title {
  display: grid;
  gap: 1px;
}

.calc-device-title strong {
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calc-device-title span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.calc-status-led {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #406157;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calc-status-led::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #18c58f;
  box-shadow: 0 0 0 3px rgba(24, 197, 143, 0.14), 0 0 12px rgba(24, 197, 143, 0.7);
}

.calc-screen {
  border: 1px solid #0d3128;
  border-radius: 12px;
  padding: 13px;
  margin-bottom: 10px;
  color: #dffaf0;
  background:
    linear-gradient(180deg, rgba(4, 24, 20, 0.98), rgba(8, 56, 45, 0.98)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 4px);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.045),
    inset 0 16px 30px rgba(255, 255, 255, 0.035),
    0 2px 0 rgba(255, 255, 255, 0.7);
}

.calc-screen-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(223, 250, 240, 0.72);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calc-screen-main {
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 21px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.calc-screen-main[data-state="release"] {
  color: #ffe6b8;
}

.calc-screen-main[data-state="warm"] {
  color: #d9e8ff;
}

.calc-screen-main[data-state="ok"] {
  color: #c7ffd9;
}

.calc-screen-sub {
  margin-top: 4px;
  color: rgba(223, 250, 240, 0.72);
  font-size: 12px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(23, 32, 29, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.48);
}

.field {
  display: grid;
  gap: 5px;
}

.field label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
  background: #fff;
}

.result {
  border-radius: var(--radius);
  padding: 18px;
  background: var(--green-2);
  color: var(--green);
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.result-list {
  display: grid;
  gap: 10px;
}

.result-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 10px;
  background: #fbfdfc;
  border-left-width: 4px;
}

.result-row[data-state="add"] {
  border-left-color: var(--green);
}

.result-row[data-state="release"] {
  border-left-color: var(--amber);
  background: #fffaf0;
}

.result-row[data-state="warm"] {
  border-left-color: var(--blue);
  background: #f4f8ff;
}

.result-row[data-state="ok"] {
  border-left-color: #2aa866;
  background: #f4fff8;
}

.result-row[data-state="warn"] {
  border-left-color: var(--amber);
  background: var(--amber-2);
}

.result-row[data-state="danger"] {
  border-left-color: #b42318;
  background: #fff1ef;
}

.result-row strong {
  color: var(--text);
}

.result-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.decision-matrix {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.matrix-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fbfdfc;
}

.matrix-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.matrix-row span {
  color: var(--muted);
  font-size: 14px;
}

.source-rule-grid,
.scenario-grid,
.logic-grid {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

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

.source-rule,
.scenario-row,
.logic-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  padding: 16px;
}

.source-rule span,
.logic-card span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--green-2);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-rule strong,
.logic-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.2;
}

.source-rule p,
.logic-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.scenario-grid {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.scenario-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  align-items: center;
  gap: 16px;
  box-shadow: none;
}

.scenario-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.scenario-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.scenario-row a {
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--text);
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 800;
}

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

.formula-box {
  margin: 22px 0;
  border: 1px solid #aebfba;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(7, 140, 104, 0.085), transparent 48%),
    #fbfdfc;
  padding: 18px;
}

.formula-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.formula-box code {
  display: inline-block;
  margin: 6px 0;
  padding: 6px 8px;
  border-radius: 6px;
  background: #0b3d33;
  color: #dffaf0;
  font-size: 15px;
}

.converter-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.converter-card {
  border: 1px solid rgba(23, 32, 29, 0.09);
  border-radius: var(--radius);
  padding: 14px;
  background: #fbfdfc;
}

.converter-card strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.converter-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checklist-tool {
  display: grid;
  gap: 10px;
}

.check-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
}

.check-item input {
  margin-top: 4px;
  accent-color: var(--green);
}

.check-item strong {
  display: block;
}

.check-item span {
  color: var(--muted);
  font-size: 14px;
}

.check-summary {
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--green-2);
  color: #075c47;
  padding: 12px 14px;
  font-weight: 750;
}

.calc-note {
  display: none;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.calc-risk-grid {
  display: grid;
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(23, 32, 29, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.48);
}

.calc-risk-grid label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: center;
  color: #33463f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.calc-risk-grid input {
  accent-color: var(--green);
}

.calc-keypad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 0;
  padding: 7px;
  border-radius: 12px;
  background: rgba(23, 32, 29, 0.055);
}

.calc-next-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.calc-next-actions a {
  border: 1px solid rgba(23, 32, 29, 0.1);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.calc-key {
  border: 1px solid #b9c8c2;
  border-radius: 10px;
  padding: 7px 5px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #e8f0ed);
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 0 #aebfba,
    0 5px 10px rgba(23, 32, 29, 0.08);
}

.calc-key.action {
  color: #fff;
  background: linear-gradient(180deg, #10a77d, #07795c);
  border-color: var(--green);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 0 #065e4d,
    0 5px 10px rgba(7, 140, 104, 0.22);
}

.hero .panel {
  padding: 18px;
}

.hero .panel h2 {
  margin-bottom: 10px;
}

.hero .panel > p {
  margin-top: 0;
  margin-bottom: 16px;
}

.hero .calc-shell {
  gap: 12px;
  padding: 12px;
}

.hero .calc-grid {
  padding: 7px;
}

.hero .result-list {
  gap: 8px;
}

.hero .result-row {
  padding: 8px 10px;
}

.hero .calc-next-actions,
.hero .calc-keypad {
  gap: 6px;
}

.hero .calc-shell .caution {
  display: none;
}

.hero-tool-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-calc-mini {
  flex: 0 0 auto;
  gap: 10px;
}

.hero-calc-mini .calc-screen {
  margin-bottom: 0;
}

.hero-calc-mini .calc-screen-main {
  font-size: 24px;
}

.hero-calc-mini .calc-keypad {
  margin-top: 0;
}

.hero-side-notes {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.hero-side-notes div {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid rgba(207, 220, 215, 0.86);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(239, 247, 244, 0.62));
}

.hero-side-notes strong {
  color: var(--text);
  font-size: 13px;
}

.hero-side-notes span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.operation-visual {
  margin: 24px 0;
  border: 1px solid #cddbd6;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 248, 0.96)),
    repeating-linear-gradient(90deg, rgba(7, 140, 104, 0.055) 0 1px, transparent 1px 20px);
  box-shadow: 0 12px 28px rgba(23, 32, 29, 0.06);
}

.operation-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7, 140, 104, 0.08), transparent 46%),
    #fbfdfc;
}

.operation-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.operation-head p {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
}

.operation-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  padding: 18px;
}

.operation-step {
  position: relative;
  min-height: 132px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 18px 14px;
  border: 1px solid #d6e2de;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 100%, rgba(7, 140, 104, 0.11), transparent 44%),
    #fff;
  text-align: center;
}

.operation-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 34px;
  height: 3px;
  transform: translate(50%, -50%);
  border-radius: 999px;
  background: #9eb5ad;
  z-index: 1;
}

.operation-step span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.operation-step strong {
  display: block;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.operation-step em {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

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

.trust-grid div {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  align-items: center;
}

.trust-icon {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--green);
  background: var(--green-2);
  font-size: 10px;
  font-weight: 900;
}

.trust-grid strong {
  line-height: 1.2;
}

.trust-grid small {
  color: var(--muted);
  line-height: 1.3;
}

.intent-panel-section {
  padding: 28px 0 10px;
}

.intent-panel {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(7, 140, 104, 0.075), transparent 38%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(23, 32, 29, 0.06);
}

.intent-panel strong {
  display: block;
  margin-bottom: 12px;
}

.intent-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intent-pills a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #fff;
  font-size: 14px;
  font-weight: 650;
}

.intent-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}

.caution {
  border-left: 4px solid var(--amber);
  background: var(--amber-2);
  padding: 14px 16px;
  color: #63420c;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pressure-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 243, 0.9)),
    repeating-linear-gradient(135deg, rgba(7, 140, 104, 0.04) 0 1px, transparent 1px 18px);
}

.flow-step {
  position: relative;
  min-height: 176px;
  padding: 16px;
  border: 1px solid #d4dfdb;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  min-width: 0;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;
  width: 19px;
  height: 2px;
  background: #9fb2aa;
}

.flow-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-step strong {
  display: block;
  margin-top: 7px;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.flow-step p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.flow-icon {
  width: 42px;
  height: 42px;
  margin-top: 16px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--green);
  background: var(--green-2);
}

.flow-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-step.warning .flow-icon {
  color: var(--amber);
  background: var(--amber-2);
}

.flow-caption {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.social-share {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-share a {
  min-width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 3px solid currentColor;
  border-radius: 50%;
  color: var(--text);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.social-share svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

.social-share .share-pinterest { color: #e60023; }
.social-share .share-facebook { color: #1877f2; }
.social-share .share-x { color: #111; }
.social-share .share-reddit { color: #ff4500; }
.social-share .share-whatsapp { color: #25d366; }
.social-share .share-linkedin { color: #0a66c2; }
.social-share .share-email { color: #078c68; }

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

.share-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.share-band h2 {
  margin: 0 0 4px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.share-band p {
  margin: 0;
  color: var(--muted);
}

.route-grid,
.tool-grid,
.language-grid,
.vehicle-grid {
  display: grid;
  gap: 14px;
}

.route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.hero-copy .route-grid {
  align-items: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tile,
.link-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px;
  color: var(--text);
  text-decoration: none;
}

.tile {
  min-height: 118px;
  text-decoration: none;
}

.hero-copy .tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 124px;
  position: relative;
  overflow: hidden;
  padding: 14px;
}

.tile em {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-2);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(7, 140, 104, 0.12);
}

.tile-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 8px;
  color: var(--green);
  background: var(--green-2);
  box-shadow: inset 0 0 0 1px rgba(7, 140, 104, 0.1);
}

.tile-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile strong,
.link-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.tile span,
.link-card span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 54px 0;
}

.home-answer-section {
  padding-top: 28px;
}

.section + .section {
  margin-top: 12px;
}

.section:nth-of-type(even) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(239, 246, 243, 0.48));
  border-top: 1px solid rgba(223, 231, 227, 0.72);
  border-bottom: 1px solid rgba(223, 231, 227, 0.72);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-header h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.035em;
}

.section-header p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
}

.article-intro {
  max-width: 980px;
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.article-intro p {
  margin: 0;
}

.home-answer-section .section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.home-answer-section .section-header p {
  max-width: 520px;
}

.home-answer-section .article-intro {
  max-width: 920px;
  padding: 24px;
}

.home-step-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.home-step-list li {
  align-items: flex-start;
  min-height: 86px;
  padding: 17px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 250, 0.92));
}

.home-step-list li:last-child {
  grid-column: 1 / -1;
}

.driver-path-panel,
.workflow-panel,
.guardrail-panel {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 250, 0.92));
  box-shadow: 0 18px 48px rgba(23, 32, 29, 0.06);
}

.driver-path-panel {
  overflow: hidden;
}

.path-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: start;
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7, 140, 104, 0.09), transparent 56%),
    #fbfdfc;
}

.path-panel-head h2,
.workflow-copy h2,
.guardrail-panel h2 {
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.path-panel-head p,
.workflow-copy p,
.guardrail-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.path-panel-head span {
  padding: 8px 11px;
  border: 1px solid rgba(7, 140, 104, 0.2);
  border-radius: 999px;
  color: var(--green);
  background: rgba(7, 140, 104, 0.08);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.situation-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.situation-card {
  display: grid;
  gap: 9px;
  min-height: 172px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  text-decoration: none;
  align-content: start;
}

.situation-card small {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.situation-card strong {
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.situation-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.situation-card.primary-path {
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(45, 226, 169, 0.22), transparent 30%),
    linear-gradient(145deg, #073c32, #0a8f6e);
}

.situation-card.primary-path small,
.situation-card.primary-path span {
  color: rgba(255, 255, 255, 0.78);
}

.workflow-panel {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  align-items: start;
}

.workflow-panel .home-step-list {
  margin: 0;
}

.guardrail-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  padding: 24px;
}

.guardrail-panel aside {
  padding: 18px;
  border: 1px solid rgba(209, 225, 219, 0.9);
  border-radius: 10px;
  background: #fff;
}

.reference-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.reference-photo {
  margin: 0;
  border: 1px solid rgba(209, 225, 219, 0.95);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.reference-photo img {
  width: 100%;
  height: 142px;
  display: block;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.03);
}

.reference-photo figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.flow-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  margin-top: 34px;
  align-items: stretch;
}

.flow-main,
.flow-side,
.next-step-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 40px rgba(23, 32, 29, 0.055);
}

.flow-main {
  padding: 26px;
}

.flow-side {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(242, 249, 246, 0.92), rgba(255, 255, 255, 0.92));
}

.flow-panel h2,
.next-step-panel h2 {
  margin: 0 0 14px;
  font-size: 25px;
}

.flow-panel p {
  font-size: 16px;
  line-height: 1.62;
}

.mistake-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.mistake-list p {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(209, 225, 219, 0.86);
  border-radius: 8px;
  background: #fbfdfc;
}

.mistake-list strong {
  display: block;
  margin-bottom: 6px;
}

.next-step-panel {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
  padding: 24px;
}

.next-step-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.next-step-panel .tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

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

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
  padding: 34px 0;
}

.article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(255, 255, 255, 0.955)),
    repeating-linear-gradient(90deg, rgba(23, 32, 29, 0.024) 0 1px, transparent 1px 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 48px;
}

.article h2 {
  margin-top: 34px;
  font-size: 28px;
  letter-spacing: -0.025em;
}

.article p,
.article li {
  font-size: 18px;
}

.short-answer {
  border: 1px solid var(--line);
  background: #fbfdfc;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 22px 0;
}

.step-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-list b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 16px;
}

.next-links {
  display: grid;
  gap: 10px;
}

.next-links a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.share-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.source-list li {
  margin-bottom: 10px;
}

.source-card-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.source-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.source-card a {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 850;
}

.source-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid #cfdcd7;
  padding: 38px 0 28px;
  margin-top: 34px;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(232, 243, 239, 0.92)),
    repeating-linear-gradient(135deg, rgba(7, 140, 104, 0.045) 0 1px, transparent 1px 18px);
}

.footer-shell {
  display: grid;
  gap: 24px;
}

.footer-brand {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.footer-logo {
  align-self: start;
}

.footer-brand p {
  margin: 0;
  max-width: 680px;
  font-size: 16px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding-top: 8px;
}

.footer-links {
  display: grid;
  gap: 9px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.footer-links h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 16px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 650;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(207, 220, 215, 0.9);
}

.footer-bottom a {
  color: var(--muted);
  font-weight: 650;
}

@media (max-width: 980px) {
  .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .nav {
    height: auto;
    padding: 16px 0;
    align-items: flex-start;
    gap: 16px;
  }

  .nav,
  .hero-grid,
  .article-layout,
  .footer-grid,
  .footer-brand,
  .footer-nav {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    white-space: normal;
  }

  .language-select,
  .hero-grid,
  .hero-copy,
  .panel,
  .route-grid,
  .trust-grid,
  .intent-panel,
  .pressure-flow,
  .article,
  .share-band {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-grid,
  .hero-copy,
  .hero-tool-panel,
  .intent-panel,
  .pressure-flow,
  .share-band {
    width: 100%;
  }

  .hero-copy > *,
  .panel > *,
  .article > *,
  .flow-step > * {
    max-width: 100%;
  }

  .lede,
  .hero .panel > p,
  .article p,
  .tile > span:not(.tile-icon),
  .link-card > span {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero .lede,
  .hero .panel > p {
    max-width: calc(100vw - 112px);
  }

  .hero-copy,
  .article {
    padding: 24px;
  }

  .hero {
    padding: 18px 0 18px;
  }

  .hero-grid {
    gap: 14px;
  }

  .hero-copy {
    padding: 20px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero .route-grid {
    display: none;
  }

  .section {
    padding: 38px 0;
  }

  .section-header {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
  }

  .article-intro {
    padding: 20px;
  }

  .footer-brand,
  .footer-nav {
    gap: 14px;
  }

  .footer-bottom,
  .footer-bottom > div {
    display: grid;
    justify-items: start;
  }

  .hero-tool-panel {
    padding: 15px;
  }

  .hero-tool-panel h2 {
    font-size: 21px;
    line-height: 1.1;
  }

  .hero-tool-panel > p {
    font-size: 14px;
    line-height: 1.45;
  }

  h1,
  .page-title {
    font-size: clamp(34px, 11vw, 44px);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .route-grid,
  .language-grid,
  .vehicle-grid,
  .tool-grid,
  .home-step-list,
  .situation-grid,
  .workflow-panel,
  .guardrail-panel,
  .trust-grid,
  .flow-panel,
  .mistake-list,
  .next-step-panel,
  .next-step-panel .tool-grid,
  .pressure-flow,
  .operation-track,
  .source-rule-grid,
  .logic-grid,
  .converter-display,
  .matrix-row,
  .calc-grid,
  .calc-next-actions {
    grid-template-columns: 1fr;
  }

  .scenario-row {
    grid-template-columns: 1fr;
  }

  .scenario-row a {
    justify-self: start;
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .operation-step:not(:last-child)::after {
    display: none;
  }

  .operation-head {
    display: grid;
  }

  .share-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-grid div {
    grid-template-columns: 40px 1fr;
  }

  .calc-device-head,
  .calc-screen-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .calc-device-head {
    gap: 7px;
  }

  .hero-calc-mini .calc-screen-main {
    font-size: 22px;
  }

  .calc-screen {
    padding: 11px;
  }

  .calc-keypad {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-next-actions {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    display: none;
  }

  .sidebar {
    position: static;
  }

  .container,
  .container.hero-grid,
  .container.trust-grid,
  .container.footer-grid {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }
}
