:root {
  --bg: #f7faf3;
  --surface: #ffffff;
  --surface-2: #eef6e9;
  --text: #102118;
  --muted: #55705d;
  --primary: #0f5b2b;
  --primary-2: #1f7a3f;
  --accent: #d7eec3;
  --border: rgba(16, 33, 24, 0.12);
  --shadow: 0 18px 46px rgba(15, 91, 43, 0.16);
  --radius: 26px;
  --wrap: 1280px;
}

[data-theme="dark"] {
  --bg: #07140d;
  --surface: #0d2115;
  --surface-2: #12341e;
  --text: #f2f8ed;
  --muted: #b8cab9;
  --primary: #7fd48f;
  --primary-2: #9ee6a8;
  --accent: #173f24;
  --border: rgba(240, 249, 235, 0.14);
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 190, 118, 0.22), transparent 34rem),
    radial-gradient(circle at 90% 20%, rgba(215, 238, 195, 0.36), transparent 30rem),
    var(--bg);
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  z-index: 20;
}
.skip:focus { left: 10px; }
.wrap { width: min(calc(100% - 32px), var(--wrap)); margin-inline: auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.topbarInner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  min-width: 230px;
}
.brandIcon { width: 46px; height: 46px; border-radius: 14px; box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.brandName { font-weight: 850; letter-spacing: -.02em; }
.brandTag { color: var(--muted); font-size: .86rem; line-height: 1.25; }
.nav { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; justify-content: center; }
.navLink {
  text-decoration: none;
  color: var(--muted);
  padding: .55rem .72rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
}
.navLink:hover, .navLink:focus-visible { background: var(--surface-2); color: var(--text); outline: none; }
.actions { display: flex; align-items: center; gap: .55rem; }

.pill, .iconBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 42px;
  padding: .62rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.pill:hover, .iconBtn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.pill.primary { background: linear-gradient(135deg, #0f5b2b, #1f7a3f); color: #f7fff3; border-color: transparent; }
[data-theme="dark"] .pill.primary { background: linear-gradient(135deg, #7fd48f, #b5efb5); color: #07140d; }
.pill.ghost { background: transparent; }
.iconBtn { width: 42px; padding: 0; }

.hero { padding: 72px 0 46px; position: relative; overflow: hidden; }
.heroGrid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem, 4vw, 4.5rem); }
.badgeRow { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.25rem; }
.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  border-radius: 999px;
  padding: .42rem .72rem;
  font-size: .9rem;
  font-weight: 800;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 5.2rem); line-height: .98; letter-spacing: -.06em; margin: 0; max-width: 850px; }
.accent { color: var(--primary); }
.lead { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--muted); max-width: 690px; margin: 1.25rem 0 0; }
.heroCtas { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.note { color: var(--muted); font-size: .95rem; }
.note strong { color: var(--text); }
.heroNote { margin-top: 1rem; max-width: 760px; }
.heroMedia { position: relative; }
.heroShowcase {
  width: min(100%, 720px);
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: 38px;
  padding: clamp(1.1rem, 2.2vw, 1.65rem);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--surface-2) 78%, transparent)),
    radial-gradient(circle at 12% 12%, rgba(127, 212, 143, .28), transparent 15rem);
  box-shadow: var(--shadow);
}
.showcaseHeader { display: grid; grid-template-columns: 88px 1fr; gap: 1rem; align-items: center; }
.showcaseIcon { width: 88px; height: 88px; border-radius: 24px; box-shadow: 0 16px 34px rgba(0,0,0,.18); }
.showcaseEyebrow { margin: 0 0 .2rem; color: var(--primary); font-weight: 950; font-size: .82rem; letter-spacing: .01em; text-transform: uppercase; }
.showcaseHeader h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1; letter-spacing: -.045em; }
.showcaseHeader p:not(.showcaseEyebrow) { margin: .45rem 0 0; color: var(--muted); font-weight: 650; max-width: 520px; }
.showcaseBadges { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.25rem 0; }
.showcaseBadges span {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
  color: var(--text);
  border-radius: 999px;
  padding: .45rem .72rem;
  font-size: .86rem;
  font-weight: 900;
}
.previewGrid {
  display: grid;
  grid-template-columns: 1.18fr .88fr .88fr;
  gap: .85rem;
  align-items: end;
  padding: .25rem;
}
.phoneShot {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #08140d;
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
}
.phoneShot img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.mainShot { transform: translateY(-.35rem); }
.showcaseFooter {
  margin-top: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1rem;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}
.showcaseFooter strong { display: block; font-size: 1.05rem; }
.showcaseFooter span { display: block; color: var(--muted); font-size: .94rem; }
.showcaseLink {
  flex: 0 0 auto;
  text-decoration: none;
  border-radius: 999px;
  padding: .65rem .9rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 900;
}

.trust { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.trustItem { padding: 1rem; border: 1px solid var(--border); border-radius: 20px; background: color-mix(in srgb, var(--surface) 82%, transparent); }
.trustTitle { font-weight: 900; }
.trustSub { color: var(--muted); font-size: .92rem; }

.section { padding: 52px 0; }
.sectionHead { margin-bottom: 1.6rem; max-width: 760px; }
.sectionHead.row { display: flex; align-items: end; justify-content: space-between; gap: 1rem; max-width: none; }
.sectionHead h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 3rem); line-height: 1.05; letter-spacing: -.04em; }
.sectionHead p { color: var(--muted); margin: .55rem 0 0; font-size: 1.05rem; }

.grid, .cards3, .cards4, .pricing { display: grid; gap: 1rem; }
.cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pricing { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; }
.card, .priceCard, .infoPanel, .faqItem {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 10px 28px rgba(15, 91, 43, 0.06);
}
.cardIcon { font-size: 1.7rem; }
.card h3, .priceCard h3 { margin: .35rem 0 .45rem; line-height: 1.15; }
.card p, .priceCard p, .faqItem p, .infoPanel p { margin: 0; color: var(--muted); }
.soft { background: var(--surface-2); }

.infoGrid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1rem; align-items: stretch; }
ul.clean { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--muted); }
ul.clean li { margin: .25rem 0; }

.shotsRail { display: grid; grid-template-columns: repeat(8, minmax(150px, 1fr)); gap: .9rem; overflow-x: auto; padding: .2rem .1rem 1rem; scroll-snap-type: x mandatory; }
.shot { border: 0; background: transparent; padding: 0; cursor: pointer; scroll-snap-align: start; }
.shot img { width: 100%; border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(0,0,0,.15); transition: transform .15s ease; }
.shot:hover img, .shot:focus-visible img { transform: translateY(-3px); outline: 2px solid var(--primary); outline-offset: 3px; }

.priceCard { display: flex; flex-direction: column; gap: .65rem; }
.priceName { font-weight: 950; font-size: 1.05rem; }
.priceCap { font-size: 2rem; line-height: 1; font-weight: 950; color: var(--primary); letter-spacing: -.04em; }
.priceMeta { color: var(--muted); font-size: .95rem; }
.priceCard.featured { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); box-shadow: var(--shadow); }

.faqGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.faqItem h3 { margin: 0 0 .45rem; line-height: 1.2; }

.footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); }
.footerGrid { display: flex; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.footerLinks { display: flex; gap: .8rem; flex-wrap: wrap; }
.footerLinks a { color: var(--muted); font-weight: 800; text-decoration: none; }
.footerLinks a:hover { color: var(--text); }

.pageHero { padding: 58px 0 22px; }
.pageHero h1 { font-size: clamp(2rem, 4vw, 4.2rem); }
.pageGrid { display: grid; grid-template-columns: 280px 1fr; gap: 1.4rem; align-items: start; }
.sideNav { position: sticky; top: 96px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); padding: .8rem; }
.sideNav a { display: block; text-decoration: none; color: var(--muted); font-weight: 800; padding: .55rem .7rem; border-radius: 14px; }
.sideNav a:hover { color: var(--text); background: var(--surface-2); }
.contentStack { display: grid; gap: 1rem; }
.policyBlock h2, .policyBlock h3 { margin-top: 0; line-height: 1.15; }
.policyBlock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.policyBlock p, .policyBlock li { color: var(--muted); }
.tableWrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { text-align: left; padding: .8rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text); background: var(--surface-2); }

.contactGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mailBox { word-break: break-word; }
.formGrid { display: grid; gap: .8rem; }
.formGrid label { display: grid; gap: .35rem; font-weight: 800; }
.formGrid input, .formGrid textarea { width: 100%; border: 1px solid var(--border); border-radius: 16px; padding: .8rem .9rem; background: var(--surface); color: var(--text); }
.formGrid textarea { min-height: 120px; resize: vertical; }
.errorText { color: #c0392b; font-weight: 800; }
.okText { color: var(--primary); font-weight: 800; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: .75rem 1rem; border-radius: 999px; box-shadow: var(--shadow); z-index: 30; }
.toast[aria-hidden="true"] { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.78); display: grid; place-items: center; padding: 28px; }
.lightbox[aria-hidden="true"] { display: none; }
.lightbox img { max-height: min(88vh, 920px); max-width: min(92vw, 560px); border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.lbClose, .lbPrev, .lbNext { position: fixed; border: 1px solid rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.12); border-radius: 999px; width: 46px; height: 46px; cursor: pointer; }
.lbClose { right: 22px; top: 18px; }
.lbPrev { left: 22px; top: 50%; }
.lbNext { right: 22px; top: 50%; }

@media (max-width: 980px) {
  .topbarInner { align-items: flex-start; padding: .8rem 0; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .2rem; }
  .heroGrid, .infoGrid, .pageGrid { grid-template-columns: 1fr; }
  .heroShowcase { width: min(100%, 760px); }
  .sideNav { position: static; }
  .cards3, .cards4, .pricing, .faqGrid, .contactGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: 1fr; }
  .shotsRail { grid-template-columns: repeat(8, 190px); }
}
@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 22px), var(--wrap)); }
  .actions { width: 100%; justify-content: space-between; }
  .brandTag { display: none; }
  .hero { padding-top: 44px; }
  .cards3, .cards4, .pricing, .faqGrid, .contactGrid { grid-template-columns: 1fr; }
  .sectionHead.row { display: block; }
  .heroCtas .pill { width: 100%; }
  .showcaseHeader { grid-template-columns: 64px 1fr; }
  .showcaseIcon { width: 64px; height: 64px; border-radius: 18px; }
  .previewGrid { grid-template-columns: 1fr 1fr; }
  .mainShot { grid-column: span 2; transform: none; }
  .showcaseFooter { align-items: stretch; flex-direction: column; }
  .showcaseLink { text-align: center; }
  .shotsRail { grid-template-columns: repeat(8, 170px); }
  .lightbox { padding: 16px; }
  .lbPrev, .lbNext { top: auto; bottom: 20px; }
}
