/* ============ base ============ */
:root {
  --bg: #080b09;
  --bg-2: #0b110d;
  --panel: #101711;
  --panel-2: #141d15;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #e9f2ea;
  --muted: #93a497;
  --green: #4ade80;
  --green-2: #22c55e;
  --green-dim: rgba(74, 222, 128, 0.12);
  --gold: #f0b429;
  --gold-dim: rgba(240, 180, 41, 0.12);
  --red: #f87171;
  --radius: 14px;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  --font: "Segoe UI", "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, "SF Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 600px at 12% -10%, rgba(74, 222, 128, 0.13), transparent 60%),
    radial-gradient(700px 500px at 100% 0%, rgba(240, 180, 41, 0.09), transparent 60%),
    linear-gradient(180deg, #080b09 0%, #080b09 40%, #0a0f0b 100%);
  background-attachment: fixed;
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 78%);
}

img { max-width: 100%; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: rgba(74, 222, 128, 0.3); color: #fff; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ============ header ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 11, 9, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.topbar.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(8, 11, 9, 0.92);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 15px;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; color: #fff; }

.brand__logo {
  width: 30px;
  height: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  transform: rotate(45deg);
  flex: none;
}
.brand__logo i {
  display: block;
  border-radius: 2px;
  background: var(--green);
}
.brand__logo i:nth-child(2) { background: var(--green-2); }
.brand__logo i:nth-child(3) { background: #2ea75a; }
.brand__logo i:nth-child(4) { background: var(--gold); }

.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  padding: 9px 13px;
  border-radius: 9px;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.nav a.is-active { color: var(--green); background: var(--green-dim); }

.topbar__cta { margin-left: 8px; }

.burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.28); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, #52e08b, #26b45f);
  color: #05230f;
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 10px 26px -12px rgba(74, 222, 128, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--primary:hover { background: linear-gradient(180deg, #62ef9b, #2cc568); }

.btn--gold {
  background: linear-gradient(180deg, #ffd067, #e0a010);
  color: #241600;
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 10px 26px -14px rgba(240, 180, 41, 0.9);
}
.btn--gold:hover { background: linear-gradient(180deg, #ffdc86, #eaa91c); }

.btn--sm { padding: 9px 15px; font-size: 13.5px; border-radius: 8px; }

/* ============ shared bits ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 1px;
  box-shadow: 0 0 12px var(--green);
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--gold::before { background: var(--gold); box-shadow: 0 0 12px var(--gold); }

.section { padding: 84px 0; position: relative; }
.section--tight { padding: 54px 0; }
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 17px; max-width: 640px; }
.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lead { font-size: 19px; color: #cfdcd2; }

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.note {
  border-left: 3px solid var(--gold);
  background: var(--gold-dim);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  font-size: 14.5px;
  color: #e6d9b6;
}
.note strong { color: var(--gold); }

/* ============ hero ============ */
.hero {
  position: relative;
  min-height: clamp(560px, 84vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(1.05);
  transform: scale(1.02);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 9, 0.55) 0%, rgba(8, 11, 9, 0.25) 35%, rgba(8, 11, 9, 0.92) 88%, #080b09 100%),
    linear-gradient(90deg, rgba(8, 11, 9, 0.92) 0%, rgba(8, 11, 9, 0.35) 55%, rgba(8, 11, 9, 0.15) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 120px 0 64px;
}
.hero__inner { max-width: 760px; }
.hero h1 {
  font-size: clamp(44px, 7.4vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0 0 20px;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.hero h1 em {
  font-style: normal;
  display: inline-block;
  color: var(--green);
  text-shadow: 0 0 34px rgba(74, 222, 128, 0.45);
}
.hero__sub {
  font-size: clamp(17px, 1.7vw, 21px);
  color: #d3dfd6;
  max-width: 590px;
  margin-bottom: 28px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 34px; }

.ip-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 18px;
  border-radius: 12px;
  border: 1px dashed rgba(74, 222, 128, 0.45);
  background: rgba(8, 15, 10, 0.72);
  backdrop-filter: blur(8px);
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.ip-pill__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}
.ip-pill__value {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 7px;
  border: 1px solid var(--line-2);
  background: rgba(8, 15, 10, 0.6);
  color: #c6d4c9;
  backdrop-filter: blur(6px);
}
.chip b { color: var(--green); font-weight: 700; }

/* ============ quick links ============ */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -46px;
  position: relative;
  z-index: 2;
}
.quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  min-height: 178px;
  background: linear-gradient(170deg, #131c15, #0d140f);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 24px 50px -30px #000;
}
.quick-card:hover {
  text-decoration: none;
  transform: translateY(-5px);
  border-color: rgba(74, 222, 128, 0.5);
  box-shadow: 0 26px 50px -28px rgba(0, 0, 0, 1), 0 0 0 1px rgba(74, 222, 128, 0.15);
}
.quick-card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.quick-card h3 { font-size: 21px; margin-top: auto; }
.quick-card p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.quick-card__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--green);
  font-size: 18px;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.2s;
}
.quick-card:hover .quick-card__arrow { opacity: 1; transform: translate(0, 0); }
.quick-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s;
}
.quick-card:hover::after { opacity: 1; }

/* ============ grids / cards ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.mode-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.mode-card:hover { border-color: rgba(74, 222, 128, 0.35); transform: translateY(-3px); }
.mode-card__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.mode-card h3 { font-size: 23px; margin-bottom: 10px; }
.mode-card p { color: var(--muted); font-size: 14.5px; }
.mode-card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.mode-card li { font-size: 13.5px; color: #c8d6cb; padding-left: 18px; position: relative; }
.mode-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 1px;
}

/* steps timeline */
.steps { display: grid; gap: 0; counter-reset: st; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  color: rgba(74, 222, 128, 0.45);
  line-height: 1;
  letter-spacing: -0.04em;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; max-width: 720px; }
.step__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 10px;
  display: block;
}

/* callout */
.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px clamp(24px, 4vw, 48px);
  border-radius: 18px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  background:
    radial-gradient(600px 200px at 0% 0%, rgba(74, 222, 128, 0.16), transparent 65%),
    linear-gradient(120deg, #101a12, #0b120d);
  flex-wrap: wrap;
}
.callout h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.callout p { color: var(--muted); max-width: 560px; }

/* ============ page hero ============ */
.page-hero {
  position: relative;
  padding: 74px 0 46px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(74, 222, 128, 0.12), transparent 65%),
    radial-gradient(600px 300px at 90% 10%, rgba(240, 180, 41, 0.08), transparent 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(34px, 5vw, 62px); text-transform: uppercase; margin-bottom: 18px; }
.page-hero p { color: #c9d7cc; max-width: 620px; font-size: 17.5px; }
.page-hero__media img {
  border-radius: 16px;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px #000;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.breadcrumbs {
  display: flex;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { color: rgba(255, 255, 255, 0.25); }

/* ============ calculator ============ */
.calc {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #121b14, #0c120e);
}
.calc__form { padding: 30px; display: grid; gap: 18px; }
.calc__out {
  padding: 30px;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(400px 240px at 90% 0%, rgba(74, 222, 128, 0.16), transparent 70%),
    #0a100c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #c9d7cc;
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.field small { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; line-height: 1.4; }
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  font-family: var(--mono);
  font-size: 16px;
}
.field input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc__row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); font-size: 14.5px; color: var(--muted); }
.calc__row:last-of-type { border-bottom: none; }
.calc__row b { color: var(--text); font-family: var(--mono); font-weight: 700; }
.calc__total {
  font-family: var(--mono);
  font-size: clamp(32px, 4.4vw, 46px);
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 6px 0 2px;
}
.calc__total-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab {
  padding: 10px 15px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.tab:hover { color: var(--text); border-color: var(--line-2); }
.tab[aria-selected="true"] {
  background: var(--green-dim);
  border-color: rgba(74, 222, 128, 0.5);
  color: var(--green);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade 0.3s ease; }

@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.method {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}
.method h3 { font-size: 26px; margin-bottom: 10px; }
.method__desc { color: var(--muted); font-size: 15px; }
.method ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: m; display: grid; gap: 12px; }
.method ol li { position: relative; padding-left: 34px; font-size: 14.5px; color: #d3dfd6; counter-increment: m; }
.method ol li::before {
  content: counter(m);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(74, 222, 128, 0.16);
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}
.method__side {
  border-left: 1px solid var(--line);
  padding-left: 26px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.stat-line { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.09); }
.stat-line:last-child { border-bottom: 0; }
.stat-line b { color: var(--text); text-align: right; }

/* ============ farms ============ */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; align-items: center; }
.filters__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.farm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.farm-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #121a14, #0c110d);
  transition: border-color 0.2s, transform 0.2s;
}
.farm-card:hover { border-color: rgba(74, 222, 128, 0.35); transform: translateY(-3px); }
.farm-card.is-hidden { display: none; }
.farm-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.farm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.farm-card:hover .farm-card__media img { transform: scale(1.04); }
.farm-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(8, 11, 9, 0.8);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
}
.badge--easy { color: var(--green); }
.badge--mid { color: var(--gold); }
.badge--hard { color: #ff8a8a; }
.farm-card__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.farm-card h3 { font-size: 22px; }
.farm-card__desc { color: var(--muted); font-size: 14.5px; }
.farm-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.farm-meta span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: #b9c9be;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
details.acc { border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
details.acc summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--muted);
  transition: transform 0.2s;
}
details.acc[open] summary::after { content: "−"; }
details.acc ol { margin: 12px 0 0; padding-left: 20px; color: #c6d4c9; font-size: 13.5px; display: grid; gap: 6px; }
details.acc strong { color: var(--text); }

/* ============ gear ============ */
.set-builder { display: grid; grid-template-columns: 1fr 0.85fr; gap: 26px; }
.pieces { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.piece label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: #0c120e;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}
select:focus { border-color: var(--green); outline: none; }
.meter { margin-top: 16px; }
.meter__bar { height: 10px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.meter__fill { height: 100%; width: 0; background: linear-gradient(90deg, #2f9e5c, var(--green)); transition: width 0.3s; border-radius: 4px; }
.meter__labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 7px; }
.gear-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.gear-stat { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: rgba(255, 255, 255, 0.03); }
.gear-stat span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.gear-stat b { font-family: var(--mono); font-size: 22px; color: var(--green); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 14.5px; }
thead th {
  text-align: left;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  white-space: nowrap;
}
tbody td { padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.055); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(74, 222, 128, 0.035); }
td strong { color: var(--text); }
td .muted { color: var(--muted); }
.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  color: var(--muted);
  white-space: nowrap;
}
.tag--green { color: var(--green); border-color: rgba(74, 222, 128, 0.35); background: var(--green-dim); }
.tag--gold { color: var(--gold); border-color: rgba(240, 180, 41, 0.35); background: var(--gold-dim); }

.hotbar { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; max-width: 640px; }
.slot {
  aspect-ratio: 1;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4px;
  font-size: 10.5px;
  line-height: 1.15;
  color: #c8d6cb;
  position: relative;
  transition: all 0.18s;
}
.slot:hover { border-color: var(--green); background: var(--green-dim); transform: translateY(-2px); }
.slot b { display: block; font-family: var(--mono); font-size: 9px; color: var(--muted); position: absolute; top: 3px; left: 4px; font-weight: 600; }

/* ============ events ============ */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.event-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s, transform 0.2s;
}
.event-card:hover { transform: translateY(-3px); border-color: rgba(240, 180, 41, 0.35); }
.event-card__ico {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--gold-dim);
  border: 1px solid rgba(240, 180, 41, 0.3);
  margin-bottom: 16px;
  font-size: 18px;
}
.event-card h3 { font-size: 19px; margin-bottom: 8px; }
.event-card p { color: var(--muted); font-size: 14px; }
.event-card__risk {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.checklist { display: grid; gap: 2px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 14px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  font-size: 15px;
}
.check:hover { background: rgba(255, 255, 255, 0.035); border-color: var(--line); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  width: 21px;
  height: 21px;
  flex: none;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  margin-top: 2px;
  transition: all 0.18s;
}
.check__box::after {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2px solid #05230f;
  border-bottom: 2px solid #05230f;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity 0.15s;
}
.check input:checked + .check__box { background: var(--green); border-color: var(--green); }
.check input:checked + .check__box::after { opacity: 1; }
.check input:checked ~ .check__text { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(74, 222, 128, 0.5); }
.check__text small { display: block; color: var(--muted); font-size: 12.5px; text-decoration: none; margin-top: 2px; }
.check:focus-within { border-color: var(--green); }

.progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.progress__bar { flex: 1; min-width: 160px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.progress__fill { height: 100%; width: 0; background: linear-gradient(90deg, #2f9e5c, var(--green)); transition: width 0.3s; }
.progress__label { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; white-space: nowrap; }

/* ============ footer ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 40px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.footer__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 30px; }
.footer__brand { max-width: 360px; }
.footer__brand p { color: var(--muted); font-size: 13.5px; margin-top: 14px; }
.footer__nav { display: flex; gap: 46px; flex-wrap: wrap; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 700;
}
.footer__col a { display: block; color: #c3d2c8; font-size: 14px; padding: 3px 0; }
.footer__col a:hover { color: var(--green); text-decoration: none; }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.footer__bottom p { max-width: 760px; margin: 0; }

/* ============ toast ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: #e9f2ea;
  color: #08120b;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  z-index: 200;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ============ reveal ============ */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ responsive ============ */
@media (max-width: 1080px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .topbar__cta { display: none; }
  .burger { display: grid; }
  .topbar.is-open .nav {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 24px 20px;
    background: #0a0f0b;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -20px #000;
  }
  .topbar.is-open .nav a { padding: 13px; font-size: 16px; }
  .topbar.is-open .topbar__cta { display: flex; margin: 8px 0 0; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 26px; }
  .page-hero__media { order: -1; max-width: 460px; }
  .calc, .method, .set-builder { grid-template-columns: 1fr; }
  .calc__out { border-left: 0; border-top: 1px solid var(--line); }
  .method__side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 20px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .section { padding: 60px 0; }
  .hero { min-height: auto; }
  .hero .wrap { padding: 84px 0 52px; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: -34px; }
  .quick-card { min-height: 150px; padding: 16px; }
  .quick-card h3 { font-size: 17px; }
  .quick-card p { font-size: 12px; }
  .grid-3, .grid-2, .farm-grid { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .step__num { font-size: 24px; }
  .ip-pill { width: 100%; justify-content: space-between; }
  .hotbar { grid-template-columns: repeat(5, 1fr); }
  .gear-stats { grid-template-columns: 1fr 1fr; }
  .callout { padding: 26px; }
  .footer__nav { gap: 30px; }
  .calc__form, .calc__out, .method, .card { padding: 22px; }
  .pieces { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .quick-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .field-row { grid-template-columns: 1fr; }
}
