:root {
  --bg: #f4efe4;
  --bg-grad: #ece4d2;
  --surface: #fffdf8;
  --surface-2: #f8f3e8;
  --ink: #1f1d17;
  --muted: #6d685b;
  --line: #e6dfcf;
  --line-strong: #d4cab4;

  --acre: #2f6b3f;
  --acre-soft: #dcebd9;
  --acre-ink: #ffffff;
  --bigha: #d08a1f;
  --bigha-soft: #f6e4c3;
  --bigha-2: #e7b45e;
  --soil: #a9784a;
  --field: #eaf1e2;
  --field-line: #c9d9bf;

  --shadow: 0 1px 2px rgba(60, 45, 20, .05), 0 8px 28px -12px rgba(60, 45, 20, .18);
  --radius: 20px;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12110e;
    --bg-grad: #191812;
    --surface: #1c1b16;
    --surface-2: #23221b;
    --ink: #f2ede1;
    --muted: #a39e90;
    --line: #2f2d25;
    --line-strong: #403d32;
    --acre: #84c293;
    --acre-soft: #23362a;
    --acre-ink: #0f1a12;
    --bigha: #eab055;
    --bigha-soft: #3b2f1a;
    --bigha-2: #c48b34;
    --soil: #8e6a45;
    --field: #1a2219;
    --field-line: #2c3a2a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12110e;
  --bg-grad: #191812;
  --surface: #1c1b16;
  --surface-2: #23221b;
  --ink: #f2ede1;
  --muted: #a39e90;
  --line: #2f2d25;
  --line-strong: #403d32;
  --acre: #84c293;
  --acre-soft: #23362a;
  --acre-ink: #0f1a12;
  --bigha: #eab055;
  --bigha-soft: #3b2f1a;
  --bigha-2: #c48b34;
  --soil: #8e6a45;
  --field: #1a2219;
  --field-line: #2c3a2a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, var(--bigha-soft), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, var(--acre-soft), transparent 55%),
    linear-gradient(var(--bg), var(--bg-grad));
  background-attachment: fixed;
  background-color: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
svg { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--bigha); outline-offset: 2px; border-radius: 8px; }

/* ---------- layout ---------- */
main, .site-header, .site-footer {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
main { display: grid; gap: 20px; padding-bottom: 48px; }

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em;
}
.brand-mark { width: 30px; height: 30px; }
.brand-mark rect { fill: var(--acre); }
.brand-mark path { stroke: var(--bigha-2); stroke-width: 2.5; stroke-linecap: round; fill: none; }
.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav a {
  color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: 8px 12px; border-radius: 999px;
}
.header-nav a:hover { color: var(--ink); background: var(--surface-2); }
.theme-toggle {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
}
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- hero ---------- */
.hero { padding: 28px 0 8px; max-width: 760px; }
h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.025em;
  margin: 0 0 14px; text-wrap: balance;
}

/* ---------- panels ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  min-width: 0;
}
.panel-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap;
  margin-bottom: 18px;
}
h2, .h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em;
  margin: 0; line-height: 1.3; color: var(--ink);
}
.h3 { font-weight: 600; font-size: 1.02rem; margin: 0; color: var(--ink); }
.sub { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }

.tool { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- converter ---------- */
.converter { display: flex; flex-direction: column; gap: 20px; }
.label {
  display: block; font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.select-wrap { position: relative; }
.select-wrap select {
  width: 100%; appearance: none; -webkit-appearance: none;
  font: 500 1rem var(--font-body); color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px;
  padding-block: 13px; padding-inline: 16px 44px;
}
.select-wrap select:hover { border-color: var(--line-strong); }
.select-wrap svg {
  position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; pointer-events: none;
}
.region-note { margin: 8px 2px 0; font-size: .84rem; color: var(--muted); }
.region-note b { color: var(--ink); font-weight: 600; font-family: var(--font-mono); font-size: .8rem; }

.io { display: grid; gap: 10px; position: relative; }
.io-box {
  position: relative;
  border-radius: 16px; padding: 14px 18px 16px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: border-color .2s, box-shadow .2s;
}
.io-box:focus-within { border-color: var(--acre); box-shadow: 0 0 0 4px var(--acre-soft); }
.io-box input, .io-box output {
  display: block; width: 100%; border: 0; background: transparent; outline: none; padding: 0;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(2rem, 4.4vw, 2.7rem); line-height: 1.1; color: var(--ink);
  font-variant-numeric: tabular-nums;
  padding-inline-end: 70px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.io-unit {
  position: absolute; inset-inline-end: 18px; bottom: 20px;
  font-size: .95rem; font-weight: 600;
}
#fromBox .io-unit { color: var(--from-c, var(--acre)); }
.io-box.result {
  background: var(--to-soft, var(--bigha-soft));
  border-color: transparent;
}
.io-box.result .io-unit, .io-box.result .label { color: var(--to-c, var(--bigha)); }
.io-box.result .label { opacity: .9; }
.io-box.result output.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: translateY(-2px); opacity: .7; } }

.swap {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong);
  display: grid; place-items: center; z-index: 2;
  box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.3,1.5,.5,1);
}
.swap:hover { transform: translate(-50%, -50%) rotate(180deg); }
.swap svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.slider-row { display: grid; gap: 12px; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px;
  background: linear-gradient(to right, var(--acre) var(--p, 20%), var(--line) var(--p, 20%));
  outline: none;
}
[dir="rtl"] input[type=range] {
  background: linear-gradient(to left, var(--acre) var(--p, 20%), var(--line) var(--p, 20%));
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--acre); box-shadow: var(--shadow); cursor: grab;
}
input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--acre); cursor: grab;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 5px 12px; font-size: .84rem; font-weight: 500; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.chip:hover { color: var(--ink); border-color: var(--line-strong); }
.chip.active { background: var(--ink); color: var(--surface); border-color: var(--ink); }

.formula {
  font-family: var(--font-mono); font-size: .82rem; color: var(--muted);
  background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: 12px;
  padding: 10px 14px; overflow-x: auto; white-space: nowrap;
}
.formula b { color: var(--ink); font-weight: 500; }

.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: .9rem;
  background: var(--ink); color: var(--surface); border: 1px solid var(--ink);
}
.btn:hover { opacity: .9; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- plot ---------- */
.plot-panel { display: flex; flex-direction: column; }
.legend { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend b { font-weight: 500; }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sw-bigha { background: var(--bigha); }
.sw-acre { background: transparent; border: 2px solid var(--acre); }
.plot-stage {
  flex: 1; min-height: 320px;
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--field-line) 35%, transparent) 10px 11px),
    var(--field);
  border-radius: 16px; border: 1px solid var(--line);
  padding: 18px; display: grid; place-items: center;
}
#plot { width: 100%; height: 100%; max-height: 440px; overflow: visible; }
.tile { transition: x .45s cubic-bezier(.2,.8,.2,1), y .45s cubic-bezier(.2,.8,.2,1), width .45s cubic-bezier(.2,.8,.2,1), height .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.tile-new { animation: grow .45s cubic-bezier(.2,.9,.3,1.3) both; transform-box: fill-box; transform-origin: center; }
@keyframes grow { from { transform: scale(.2); opacity: 0; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.stat { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.stat span { display: block; font-size: .75rem; color: var(--muted); font-weight: 500; }
.stat b {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- size compare ---------- */
.size-compare { width: 100%; height: auto; }
.size-compare text { font-family: var(--font-body); }

/* ---------- equivalents ---------- */
.equiv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.equiv li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 10px 12px; border-radius: 12px; background: var(--surface-2); min-width: 0;
}
.equiv span { color: var(--muted); font-size: .84rem; white-space: nowrap; }
.equiv b { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feels { margin-top: 16px; display: grid; gap: 10px; }
.feel { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.feel b { color: var(--ink); font-weight: 600; }
.feel svg { width: 34px; height: 34px; }
.feel-bar { height: 6px; border-radius: 99px; background: var(--line); margin-top: 6px; overflow: hidden; }
.feel-bar i { display: block; height: 100%; background: var(--acre); border-radius: inherit; transition: width .5s cubic-bezier(.2,.8,.2,1); }

/* ---------- bars ---------- */
.bars { display: grid; gap: 4px; }
.bar-row {
  display: grid; grid-template-columns: 170px 1fr 96px; align-items: center; gap: 14px;
  padding: 7px 10px; border-radius: 12px; border: 0; background: transparent; text-align: start; width: 100%;
}
.bar-row:hover { background: var(--surface-2); }
.bar-row.active { background: var(--bigha-soft); }
.bar-name { font-size: .9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-name small { color: var(--muted); font-weight: 400; margin-inline-start: 4px; }
.bar-track { height: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar-row.active .bar-track { background: var(--surface); }
.bar-track, .bar-fill { display: block; }
.bar-fill {
  height: 100%; width: 0; border-radius: inherit; background: var(--line-strong);
  transition: width .55s cubic-bezier(.2,.8,.2,1), background .3s;
}
.bar-row.active .bar-fill { background: var(--bigha); }
.bar-val { text-align: end; font-variant-numeric: tabular-nums; font-weight: 600; font-size: .92rem; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
.ref-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .92rem; }
.ref-table th, .ref-table td { padding: 11px 16px; text-align: end; white-space: nowrap; }
.ref-table th:first-child, .ref-table td:first-child { text-align: start; }
.ref-table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.ref-table tbody tr { border-top: 1px solid var(--line); cursor: pointer; }
.ref-table tbody tr:hover { background: var(--surface-2); }
.ref-table td:nth-child(2) { color: var(--bigha); font-weight: 600; }
.ref-table tr.match { background: var(--acre-soft); }

.site-footer { padding: 24px 0 40px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }

/* ---------- content pages ---------- */
.prose { max-width: 100%; }
.prose h2 { margin: 26px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin: 0 0 12px; max-width: 760px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 12px; padding-inline-start: 20px; max-width: 760px; }
.prose li { margin-bottom: 6px; }
.prose strong, .prose code { color: var(--ink); }
.prose code { font-family: var(--font-mono); font-size: .85em; }
.prose a, .site-footer a { color: var(--acre); text-underline-offset: 2px; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: step; }
.steps li { background: var(--surface-2); border-radius: 14px; padding: 16px; margin: 0; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px;
  border-radius: 999px; background: var(--acre); color: var(--acre-ink); font-weight: 600; font-size: .85rem;
}
.steps .h3 { margin-bottom: 4px; }
.steps p:last-child { font-size: .92rem; }
.crumbs ol { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-inline-end: 6px; }
.crumbs a { color: var(--muted); }
.sitemap-list { columns: 1; }
.sitemap-list.cols { columns: 3 180px; }

/* ---------- contact form ---------- */
.contact-form { display: grid; gap: 16px; margin: 20px 0; max-width: 620px; }
.form-field input, .form-field textarea {
  width: 100%; font: 400 1rem var(--font-body); color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--acre); box-shadow: 0 0 0 4px var(--acre-soft); }
.form-field textarea { resize: vertical; min-height: 140px; }
.contact-form .btn:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-status { margin: 0; font-weight: 500; min-height: 1.5em; }
.form-status.sending { color: var(--muted); }
.form-status.success { color: var(--acre); }
.form-status.error { color: #b3261e; }
:root[data-theme="dark"] .form-status.error { color: #f2b8b5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-status.error { color: #f2b8b5; } }

/* ---------- footer ---------- */
.site-footer { display: grid; gap: 14px; }
.site-footer p { margin: 0; }
.footer-links, .lang-list { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.footer-links a:hover, .lang-list a:hover { text-decoration: underline; }
.lang-list a { color: var(--muted); text-decoration: none; }
.lang-list a[aria-current] { color: var(--ink); font-weight: 600; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--surface); padding: 10px 18px; border-radius: 12px;
  font-size: .9rem; font-weight: 500; opacity: 0; pointer-events: none; transition: .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .tool, .grid-2, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-nav a { display: none; }
  .panel { padding: 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { grid-column: span 2; }
  .equiv { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 110px 1fr 70px; gap: 10px; padding: 7px 6px; }
  .bar-name small { display: none; }
  .plot-stage { min-height: 260px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- sub-calculators ---------- */
.viz { width: 100%; height: auto; max-height: 440px; overflow: visible; }
.region-fixed { margin: 0; font-weight: 600; font-size: 1.05rem; }
.breakdown { margin: -8px 2px 0; font-weight: 600; color: var(--bigha); font-variant-numeric: tabular-nums; }
.region-chip.active { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.prose ul.calc-cards, ul.calc-cards {
  list-style: none; margin: 14px 0 0; padding: 0; max-width: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px;
}
ul.calc-cards li { margin: 0; color: inherit; }
.calc-card {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 12px 14px; border-radius: 16px; text-decoration: none;
  background: var(--surface-2); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s, box-shadow .2s, background .2s;
}
.calc-card:hover, .calc-card:focus-visible {
  border-color: var(--acre); background: var(--surface); transform: translateY(-2px); box-shadow: var(--shadow);
}
.calc-ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s;
}
.calc-card:hover .calc-ico { border-color: var(--acre-soft); }
.calc-ico svg { width: 34px; height: 34px; }
.calc-text { display: grid; gap: 2px; min-width: 0; }
.calc-name { color: var(--ink); font-weight: 600; font-size: .92rem; line-height: 1.3; }
.calc-meta { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.calc-card:hover .calc-name { color: var(--acre); }
@media (max-width: 600px) { .prose ul.calc-cards, ul.calc-cards { grid-template-columns: 1fr; } }

/* ---------- homepage guide ---------- */
.guide .lead-answer { color: var(--ink); font-size: 1.02rem; max-width: 820px; }
.guide .lead-answer strong { color: var(--ink); font-weight: 700; background: linear-gradient(transparent 62%, var(--bigha-soft) 62%); }
.guide .h3 { margin: 18px 0 10px; }
.guide-fig { margin: 16px 0; padding: 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.guide-fig figcaption { margin-top: 8px; font-size: .8rem; color: var(--muted); text-align: center; }
.guide-svg { width: 100%; height: auto; display: block; font-family: var(--font-body); }
.guide-svg text { font-family: var(--font-body); }
.formula-card {
  margin: 16px 0; padding: 18px; border-radius: 16px; background: var(--surface-2); border: 1px dashed var(--line-strong);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 1.05rem;
}
.formula-card .op { color: var(--muted); font-size: 1.3rem; }
.tok { padding: 6px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.tok-b { color: var(--bigha); border-color: var(--bigha); }
.tok-a { color: var(--acre); border-color: var(--acre); }
.tok-n { font-family: var(--font-mono); }
.tok-s { color: var(--soil); border-color: var(--soil); }
.num-steps { margin: 12px 0; padding-inline-start: 22px; max-width: 760px; }
.num-steps li { margin-bottom: 6px; color: var(--muted); }
.guide-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; align-items: start; }
.guide-split .guide-fig { margin: 0; }
.compare-table th[scope="row"] { text-align: start; font-weight: 600; color: var(--ink); }
.compare-table td { white-space: normal; }
.vs-card { margin-top: 16px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.vs-row { display: grid; grid-template-columns: 1.1fr 2fr 2fr; }
.vs-row > span { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); }
.vs-row > span:first-child { color: var(--ink); font-weight: 600; background: var(--surface-2); }
.vs-head > span { border-top: 0; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.vs-head .vs-acre { color: var(--acre); background: var(--acre-soft); }
.vs-head .vs-bigha { color: var(--bigha); background: var(--bigha-soft); }
.vs-row strong { color: var(--ink); }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; }

@media (max-width: 760px) {
  .guide-split { grid-template-columns: 1fr; }
  .vs-row { grid-template-columns: 1fr 1fr; }
  .vs-row > span:first-child { grid-column: 1 / -1; padding-bottom: 6px; }
  .vs-head > span:first-child { display: none; }
}
.guide .steps li::before { display: none; }
.guide .ref-table tbody tr { cursor: default; }
.guide-fig .guide-svg { max-width: 780px; margin-inline: auto; }
.guide-svg { direction: ltr; } .guide-svg text { unicode-bidi: plaintext; }
.chart-table td:nth-child(2) { min-width: 150px; }
.cell-num { display: block; }
.cell-bar { display: block; height: 5px; margin-top: 4px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.cell-bar i { display: block; height: 100%; border-radius: inherit; background: var(--bigha); margin-inline-start: auto; }
.guide .ref-table.chart-table tbody tr { cursor: pointer; }
