:root {
  --green: #1f8a14;
  --green-dark: #14640d;
  --green-deep: #0f4d0b;
  --green-soft: #e8f6e4;
  --ink: #161616;
  --muted: #4d4d4d;
  --line: #e6e6e6;
  --paper: #f5f6f4;
  --white: #fff;
  --shadow: 0 18px 50px rgba(18, 24, 16, 0.12);
  --header: 76px;
  --max: 1180px;
  --font: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.45;
  overflow-x: clip;
}

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

a { color: var(--green-dark); }

button, input, select { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 80;
}

.skip:focus { top: 8px; }

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.announce {
  background: var(--green-deep);
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.92rem;
}

.announce a {
  color: var(--white);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04); }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand img { height: 58px; width: auto; }

.desktop-nav { display: flex; align-items: center; gap: 4px; }

.nav-btn,
.nav-link {
  appearance: none;
  background: transparent;
  border: 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-btn[aria-expanded="true"],
.nav-btn:hover,
.nav-link:hover { background: var(--green-soft); }

.chev { width: 14px; height: 14px; transition: transform 0.15s ease; }

.nav-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search { position: relative; }

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d7d7d7;
  background: var(--white);
  border-radius: 999px;
  padding: 0 12px;
  min-height: 44px;
}

.search-field input {
  border: 0;
  outline: none;
  width: 168px;
  background: transparent;
  padding: 8px 0;
}

.search-field svg,
.icon-btn svg,
.phone-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(320px, 80vw);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 6px;
  z-index: 50;
}

.search-results a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.search-results a:hover,
.search-results a.is-active { background: var(--green-soft); }

.icon-btn,
.menu-toggle,
.phone-btn,
.login-btn,
.lang-btn {
  min-height: 44px;
  min-width: 44px;
  border-radius: 999px;
  border: 1px solid #d7d7d7;
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.phone-btn { border-color: var(--green); color: var(--green-dark); }

.login-btn { background: var(--ink); color: var(--white); border-color: var(--ink); }

.lang { display: inline-flex; border: 1px solid #d7d7d7; border-radius: 999px; overflow: hidden; }

.lang-btn { border: 0; border-radius: 0; min-width: 42px; padding: 0 10px; color: var(--muted); }

.lang-btn.is-on { background: var(--green-soft); color: var(--green-deep); }

.menu-toggle,
.search-toggle { display: none; }

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.08);
  padding: 28px 24px 32px;
}

.mega-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.mega h2 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.mega a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 7px 0;
}

.mega a:hover { color: var(--green-dark); }

.login { position: relative; }

.popover {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(340px, calc(100vw - 32px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  z-index: 60;
}

.popover h2 { margin: 0 0 6px; font-size: 1.2rem; }

.popover p { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; }

.popover label { display: grid; gap: 6px; font-weight: 700; font-size: 0.92rem; }

.popover select {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid #ccc;
  padding: 0 12px;
  background: var(--white);
}

.popover .btn { width: 100%; margin-top: 12px; }

.popover .text-link { display: none; margin-top: 10px; font-weight: 700; }

.popover.is-ready .text-link { display: inline-block; }

.hero-wrap { background: linear-gradient(180deg, #f3f7f1 0%, #fff 78%); }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 24px 108px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--green-dark);
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.35rem, 4.6vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero-photo {
  height: 440px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(18, 24, 16, 0.12);
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }

.selector {
  margin-top: -78px;
  position: relative;
  z-index: 3;
  padding: 0 24px 12px;
}

.selector-card {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #ededed;
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  overflow: hidden;
}

.bundle {
  background: linear-gradient(180deg, #f4fbf2 0%, #fff 70%);
  padding: 28px 18px 18px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 6px;
  align-items: end;
}

.bundle .btn { white-space: nowrap; padding-inline: 16px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 5px 10px;
}

.badge svg { width: 16px; height: 16px; }

.bundle h2,
.quote-side h2,
.section h2,
.feature h2 { letter-spacing: -0.03em; margin: 10px 0; }

.bundle h2 { font-size: 1.7rem; line-height: 1.1; }

.bundle p { margin: 0 0 16px; color: var(--muted); }

.bundle-mascot {
  width: 128px;
  height: 190px;
  object-fit: contain;
  object-position: center bottom;
  align-self: end;
}

.quote-side { padding: 26px 26px 22px; min-width: 0; }

.quote-side h2 { margin-top: 0; font-size: 1.55rem; }

.tablist {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  scrollbar-width: none;
}

.tablist::-webkit-scrollbar { display: none; }

.tablist button {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 12px 14px;
  font-weight: 700;
  color: #555;
  white-space: nowrap;
  cursor: pointer;
}

.tablist button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--green);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid #ececec;
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  font-weight: 700;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.product svg { width: 36px; height: 36px; color: var(--green-dark); }

.product:hover {
  border-color: var(--green);
  box-shadow: 0 8px 22px rgba(31, 138, 20, 0.12);
  transform: translateY(-1px);
}

.product.is-hit { outline: 3px solid var(--green); }

.product-grid:not(.is-open) .is-extra { display: none; }

.see-more {
  margin-top: 8px;
  background: none;
  border: 0;
  color: var(--ink);
  font-weight: 700;
  padding: 10px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover { background: var(--green-dark); }

.btn.dark { background: var(--ink); }

.btn.dark:hover { background: #000; }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid #ccc;
}

.section { padding: 72px 24px; }

.section-inner,
.feature,
.footer-inner { max-width: var(--max); margin: 0 auto; }

.section h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }

.lede { color: var(--muted); font-size: 1.12rem; max-width: 42rem; }

.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.feature + .feature { margin-top: 72px; }

.feature img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 28px;
}

.feature.reverse { grid-template-columns: 0.95fr 1.05fr; }

.feature.reverse img { order: 2; }

.kicker {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--green-dark);
  margin: 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.tool {
  background: var(--paper);
  border-radius: 20px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

button.tool { width: 100%; text-align: left; border: 0; cursor: pointer; }

.tool strong { font-size: 1.25rem; letter-spacing: -0.02em; }

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

.tool:hover { background: var(--green-soft); }

.paper { background: var(--paper); }

.review {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  max-width: 720px;
}

.review p { font-size: 1.15rem; margin: 8px 0 0; }

.stars { color: var(--green-dark); letter-spacing: 2px; font-weight: 800; }

.protect {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.protect ul { margin: 0; padding-left: 18px; }

.protect li { margin: 8px 0; }

.site-footer { background: #121512; color: #ececec; padding: 56px 24px 28px; }

.site-footer a { color: #fff; text-decoration: none; }

.site-footer a:hover { text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h2 { margin: 0 0 12px; font-size: 0.95rem; }

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin: 8px 0; }

.footer-brand p { color: #c8c8c8; max-width: 28rem; }

.footer-bottom {
  max-width: var(--max);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid #2c2c2c;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #bdbdbd;
  font-size: 0.92rem;
}

.legal { display: flex; gap: 16px; }

.drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 70;
}

.drawer-panel {
  background: var(--white);
  width: min(420px, 100%);
  height: 100%;
  margin-left: auto;
  padding: 18px 18px 32px;
  overflow: auto;
}

.drawer-head { display: flex; justify-content: space-between; align-items: center; }

.drawer details { border-bottom: 1px solid var(--line); padding: 8px 0; }

.drawer summary { font-weight: 800; cursor: pointer; min-height: 44px; display: flex; align-items: center; }

.drawer a { display: block; text-decoration: none; color: var(--ink); font-weight: 650; padding: 10px 0; }

dialog {
  border: 0;
  border-radius: 22px;
  padding: 0;
  width: min(520px, calc(100% - 24px));
  box-shadow: var(--shadow);
}

dialog::backdrop { background: rgba(0, 0, 0, 0.48); }

.dialog-body { padding: 22px; }

.dialog-body h2 { margin: 0 0 8px; font-size: 1.7rem; letter-spacing: -0.03em; }

.checks { display: grid; gap: 8px; margin: 16px 0; }

.checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  font-weight: 700;
}

.checks input { width: 18px; height: 18px; }

.dialog-actions { display: flex; gap: 8px; justify-content: flex-end; }

.form-error { color: #9d1c1c; font-weight: 700; }

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

@media (max-width: 980px) {
  .desktop-nav,
  .search-field { display: none; }
  .menu-toggle,
  .search-toggle { display: inline-flex; padding: 0; width: 44px; }
  .brand img { height: 46px; }
  .header-inner { min-width: 0; }
  .hero > * { min-width: 0; }
  .search.is-open .search-field {
    display: flex;
    position: fixed;
    left: 16px;
    right: 16px;
    top: 64px;
    width: auto;
    z-index: 45;
    background: var(--white);
  }
  .search.is-open .search-field input { width: 100%; }
  .search.is-open .search-results {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 116px;
    width: auto;
  }
  .hero,
  .selector-card,
  .feature,
  .feature.reverse,
  .protect,
  .footer-grid,
  .tool-grid { grid-template-columns: 1fr; }
  .feature.reverse img { order: 0; }
  .hero { padding: 20px 16px 88px; }
  .hero-photo { height: 240px; }
  .selector { margin-top: -56px; padding-inline: 16px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { padding-inline: 16px; gap: 8px; }
  .phone-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .phone-btn { padding: 0; width: 44px; }
  .section { padding: 48px 16px; }
  .feature img { height: 240px; }
  .mega { display: none; }
}

@media (max-width: 640px) {
  .header-tools .lang { display: none; }
  .bundle { grid-template-columns: minmax(0, 1fr) 96px; padding: 22px 10px 16px 16px; }
  .quote-side { padding: 18px 16px 16px; }
  .bundle-mascot { width: 92px; height: 128px; }
  .login-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .login-btn { padding: 0; width: 44px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product,
  .chev { transition: none; }
}
