:root {
  --bg: #f7f6f1;
  --band: #eef0ea;
  --surface: #ffffff;
  --ink: #13231f;
  --muted: #55655f;
  --line: #dfe2d9;
  --brand: #0b6b58;
  --brand-deep: #08503f;
  --brand-soft: #dcefe8;
  --amber: #f4b24a;
  --amber-soft: #fdf0d8;
  --amber-ink: #7a4b05;
  --plan-soft: #ecebf5;
  --plan-ink: #48447a;
  --shadow: 0 1px 2px rgba(19, 35, 31, .06), 0 8px 24px rgba(19, 35, 31, .06);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1715; --band: #142019; --surface: #18251f; --ink: #e8efeb; --muted: #a2b3ac;
    --line: #2a3a33; --brand: #3fb594; --brand-deep: #7fd8bd; --brand-soft: #173a30;
    --amber-soft: #3a2c12; --amber-ink: #f6c877; --plan-soft: #24233b; --plan-ink: #c3bff0;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brand-deep); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 99; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand b { font-size: 1.2rem; font-weight: 800; }
.brand small { font-size: .72rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 12px; flex: 1; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-btn, .nav-link {
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); background: none; border: 0;
  padding: 8px 9px; border-radius: 8px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.nav-btn::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.nav-btn:hover, .nav-link:hover, .nav-btn[aria-expanded="true"] { background: var(--brand-soft); }
.has-mega { position: relative; }
.mega {
  display: none; position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px; gap: 18px; min-width: max-content;
}
.mega-right { left: auto; right: 0; }
.has-mega.open .mega { display: flex; }
.has-mega.open::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; } /* keeps hover across the gap */
.mega-col { display: flex; flex-direction: column; gap: 2px; width: 250px; }
.mega-h { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 6px 10px; }
.mega a { display: block; text-decoration: none; color: var(--ink); padding: 8px 10px; border-radius: 10px; }
.mega a:hover { background: var(--band); }
.mega a b { display: block; font-size: .92rem; }
.mega a span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.nav-side { display: flex; align-items: center; gap: 10px; flex: none; }
.lang { display: flex; align-items: center; gap: 6px; font-size: .78rem; }
.lang-on { font-weight: 700; padding: 3px 7px; border: 1px solid var(--line); border-radius: 6px; }
.lang-off { color: var(--muted); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ""; transition: transform .2s; }
.bars::before { position: absolute; top: -6px; } .bars::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1140px) {
  .top { backdrop-filter: none; background: var(--bg); } /* a backdrop filter would trap the fixed menu inside the header */
  .menu-toggle { display: block; }
  .nav { display: none; position: fixed; inset: 64px 0 0 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 8px 16px 32px; overflow-y: auto; gap: 16px; }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; flex: none; }
  .nav-btn, .nav-link { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 12px 10px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mega { position: static; box-shadow: none; border: 0; padding: 6px 0 12px; flex-direction: column; gap: 10px; min-width: 0; background: transparent; }
  .mega-col { width: auto; }
  .mega-h-blank { display: none; }
  .nav-side { justify-content: space-between; }
  body.nav-lock { overflow: hidden; }
}

/* buttons and tags */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  background: var(--brand); color: #fff; border: 1px solid var(--brand); border-radius: 999px; font-weight: 700;
  text-decoration: none; font-size: .95rem; cursor: pointer;
}
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
@media (prefers-color-scheme: dark) { .btn { color: #07231c; } .btn:hover { color: #07231c; } }
.btn-ghost { background: transparent; color: var(--brand-deep); border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand-deep); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; vertical-align: 1px; }
.tag-ok { background: var(--brand-soft); color: var(--brand-deep); }
.tag-plan { background: var(--plan-soft); color: var(--plan-ink); }
.tag-pay { background: var(--amber-soft); color: var(--amber-ink); }
.tag-free { background: var(--band); color: var(--muted); border: 1px solid var(--line); }

/* sections */
section { padding: 72px 0; }
.band { background: var(--band); }
.sub { color: var(--muted); max-width: 760px; font-size: 1.05rem; margin-bottom: 28px; }
.eyebrow { font-weight: 700; color: var(--brand-deep); font-size: .9rem; margin-bottom: 12px; }
.h3-gap { margin-top: 48px; font-size: 1.35rem; }
.gap-top { margin-top: 28px; }
.gap-sm { margin-top: 16px; }

.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 620px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 620px; }
.facts li { border-left: 3px solid var(--amber); padding-left: 12px; }
.facts b { display: block; font-size: 1.35rem; font-weight: 800; }
.facts span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; }

.call { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.call-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22a06b; box-shadow: 0 0 0 4px rgba(34,160,107,.18); }
.call-lines { list-style: none; margin: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.call-lines li { max-width: 88%; padding: 9px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.45; }
.call-lines .a { background: var(--brand-soft); border-bottom-left-radius: 4px; }
.call-lines .c { align-self: flex-end; background: var(--band); border: 1px solid var(--line); border-bottom-right-radius: 4px; }
.call-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 18px 16px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

.samples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sample { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.sample p { margin: 0; font-size: .95rem; }
.s-tone { font-size: .78rem !important; font-weight: 700; color: var(--brand-deep); margin-bottom: 4px !important; }
.play { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand); cursor: pointer; display: grid; place-items: center; }
.play span { width: 0; height: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.play.playing span { width: 12px; height: 14px; border: 0; margin: 0; background: linear-gradient(90deg, #fff 35%, transparent 35% 65%, #fff 65%); }
@media (prefers-color-scheme: dark) { .play span { border-left-color: #07231c; } .play.playing span { background: linear-gradient(90deg, #07231c 35%, transparent 35% 65%, #07231c 65%); } }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { color: var(--muted); margin-bottom: .6em; }
.more { font-weight: 700; text-decoration: none; }
.list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; color: var(--muted); font-size: .94rem; }
.list b { color: var(--ink); }
.list-tight { gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mini p { margin: 0; color: var(--muted); font-size: .9rem; }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl caption { text-align: left; padding: 14px 16px 4px; font-weight: 700; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 600; }
.tbl-num td:not(:first-child) { font-variant-numeric: tabular-nums; }
.fine { font-size: .82rem; color: var(--muted); margin-top: 12px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); font-weight: 800; margin-bottom: 10px; }
.steps b { display: block; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }
.steps-num { grid-template-columns: repeat(5, 1fr); }

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.price { background: var(--surface); border: 2px solid var(--brand); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.price-name { font-weight: 700; color: var(--brand-deep); margin-bottom: 4px; }
.price-amt { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; line-height: 1.1; margin-bottom: 10px; }
.price-amt span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-note { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.checks li { padding-left: 28px; position: relative; font-size: .95rem; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 7px; border: solid var(--brand); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.calc label { font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.calc input[type=range] { width: 100%; accent-color: var(--brand); height: 32px; }
.calc-n { font-size: 1.05rem; margin: 10px 0 4px; }
.calc-n output { font-weight: 800; }
.calc-total { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; color: var(--brand-deep); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.calc-total span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.calc-note { font-size: .85rem; color: var(--muted); margin-top: auto; margin-bottom: 0; }

.coba { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.news { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.news article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.news time { font-size: .8rem; font-weight: 700; color: var(--brand-deep); }
.news h3 { margin: 6px 0; font-size: 1rem; }
.news p { margin: 0; font-size: .9rem; color: var(--muted); }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; position: relative; padding-right: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--brand); }
details[open] summary::after { content: "−"; }
details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }

.foot { border-top: 1px solid var(--line); padding: 44px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
.foot-grid > div > a:not(.brand) { display: block; color: var(--muted); text-decoration: none; font-size: .92rem; padding: 3px 0; }
.foot-grid > div > a:not(.brand):hover { color: var(--ink); }
.foot-h { font-weight: 700; font-size: .85rem; margin-bottom: 8px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.foot-base a { color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid, .price-grid, .coba, .contact { grid-template-columns: 1fr; }
  .grid3, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid4, .news, .steps-num { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  section { padding: 52px 0; }
  .hero { padding: 32px 0 52px; }
  .samples, .grid3, .grid4, .news, .steps, .steps-num { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .facts b { font-size: 1.1rem; }
  .facts span { font-size: .76rem; }
  .cta .btn { flex: 1 1 100%; }
  .price, .calc { padding: 22px; }
  .tbl { font-size: .88rem; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .call-lines li { max-width: 94%; }
}
.tbl-num td, .tbl-num th { white-space: nowrap; }
