:root {
  --ink: #10231d;
  --ink-soft: #455b53;
  --paper: #f4f8f6;
  --white: #ffffff;
  --green: #1fbf72;
  --green-dark: #08784b;
  --green-deep: #063f31;
  --mint: #dff8eb;
  --lime: #c9ff6a;
  --line: #d9e5df;
  --warning: #fff3c7;
  --warning-ink: #684d00;
  --danger: #ffe8e4;
  --shadow: 0 20px 60px rgba(8, 61, 45, .10);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 12%, rgba(31, 191, 114, .10), transparent 28rem),
    radial-gradient(circle at 90% 35%, rgba(201, 255, 106, .12), transparent 24rem);
}
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #79dfad; outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--white); padding: .8rem 1rem; border-radius: 12px; }
.skip-link:focus { top: 1rem; }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(780px, 100%); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 248, 246, .91);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 229, 223, .88);
}
.nav-shell { min-height: 78px; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; font-weight: 850; letter-spacing: -.03em; white-space: nowrap; }
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 7px 12px rgba(12, 125, 72, .18)); }
.brand small { display: block; margin-top: -.25rem; color: var(--ink-soft); font-size: .69rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.nav a { padding: .6rem .75rem; border-radius: 11px; text-decoration: none; color: #29443b; font-size: .92rem; font-weight: 700; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--mint); color: var(--green-dark); }
.nav-cta { background: var(--ink) !important; color: #fff !important; margin-left: .4rem; }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: .55rem .75rem; color: var(--ink); }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; color: var(--green-dark); font-size: .79rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--green); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 7vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { margin: 0; }
.lead { margin-top: 1.25rem; color: #dcebe5; font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.65; max-width: 690px; }
.muted { color: var(--ink-soft); }
.kicker { color: var(--green-dark); font-weight: 800; }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section-tight { padding: 3.2rem 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.section-heading p { max-width: 560px; color: var(--ink-soft); }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--green-deep); padding: clamp(4.5rem, 9vw, 8rem) 0 5rem; }
.hero::after { content: ""; position: absolute; width: 440px; height: 440px; right: -150px; top: -180px; border: 100px solid rgba(201, 255, 106, .10); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero .eyebrow { color: var(--lime); }
.search-panel { margin-top: 2.1rem; padding: .55rem; display: flex; gap: .55rem; background: #fff; border-radius: 18px; max-width: 700px; box-shadow: var(--shadow); }
.search-panel input { min-width: 0; flex: 1; border: 0; padding: .85rem 1rem; color: var(--ink); background: transparent; }
.search-panel button { border: 0; border-radius: 13px; padding: .8rem 1.2rem; color: var(--green-deep); background: var(--lime); font-weight: 850; cursor: pointer; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1rem; color: #c8ddd5; font-size: .85rem; }
.popular a { padding: .3rem .6rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; text-decoration: none; }
.browser-card { position: relative; padding: 1rem; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: rgba(255,255,255,.08); box-shadow: 0 30px 70px rgba(0,0,0,.20); transform: rotate(1.5deg); }
.browser-bar { display: flex; align-items: center; gap: .35rem; padding: .2rem .15rem .85rem; }
.browser-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); }
.browser-url { height: 10px; width: 45%; margin-left: .4rem; border-radius: 9px; background: rgba(255,255,255,.16); }
.browser-body { display: grid; grid-template-columns: .38fr .62fr; min-height: 340px; overflow: hidden; border-radius: 18px; background: #f8fbfa; color: var(--ink); }
.chat-list { padding: 1rem; background: #fff; border-right: 1px solid var(--line); }
.mock-row { display: flex; align-items: center; gap: .6rem; padding: .65rem .2rem; border-bottom: 1px solid #edf2ef; }
.avatar { flex: 0 0 auto; width: 31px; height: 31px; border-radius: 50%; background: var(--mint); }
.mock-lines { flex: 1; }
.mock-lines span { display: block; height: 7px; margin: 3px 0; border-radius: 5px; background: #dfe9e4; }
.mock-lines span:last-child { width: 60%; background: #edf2ef; }
.chat-window { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; padding: 1.5rem; background: linear-gradient(145deg, #eaf5f0, #f8fbfa); }
.qr { width: 126px; aspect-ratio: 1; display: grid; place-items: center; border: 14px solid #fff; background: repeating-conic-gradient(#173b30 0 25%, transparent 0 50%) 0/18px 18px; box-shadow: 0 12px 30px rgba(5,70,49,.12); }
.qr span { display: grid; place-items: center; width: 36px; height: 36px; background: var(--green); color: #fff; font-weight: 900; border-radius: 10px; }
.browser-note { max-width: 200px; text-align: center; color: var(--ink-soft); font-size: .82rem; }
.hero-stamp { position: absolute; right: -18px; bottom: 28px; padding: .8rem 1rem; border-radius: 14px; background: var(--lime); color: var(--green-deep); font-size: .78rem; font-weight: 900; transform: rotate(-5deg); box-shadow: var(--shadow); }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.25rem 1rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--green-dark); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.trust-item span { color: var(--ink-soft); font-size: .9rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.card { position: relative; padding: 1.55rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.86); box-shadow: 0 12px 35px rgba(8,61,45,.05); }
.card:hover { border-color: #a9d9bf; transform: translateY(-2px); transition: .2s ease; }
.card-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 1.2rem; border-radius: 14px; background: var(--mint); color: var(--green-dark); font-size: 1.15rem; font-weight: 900; }
.card p { margin-top: .75rem; color: var(--ink-soft); }
.card-link { display: inline-flex; margin-top: 1.2rem; color: var(--green-dark); font-weight: 850; text-decoration: none; }
.card-link::after { content: "→"; margin-left: .4rem; }
.meta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .8rem; color: var(--ink-soft); font-size: .78rem; font-weight: 750; }
.tag { padding: .22rem .55rem; border-radius: 999px; color: var(--green-dark); background: var(--mint); }
.featured-card { grid-column: span 2; display: grid; grid-template-columns: 1fr .72fr; align-items: stretch; padding: 0; overflow: hidden; }
.featured-card .card-copy { padding: 2rem; }
.feature-visual { min-height: 280px; display: grid; place-items: center; padding: 2rem; background: var(--green-deep); color: #fff; }
.call-orbit { position: relative; width: 155px; height: 155px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.call-orbit::before, .call-orbit::after { content: ""; position: absolute; border: 1px solid rgba(201,255,106,.35); border-radius: 50%; }
.call-orbit::before { inset: -22px; }
.call-orbit::after { inset: 24px; }
.call-symbol { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green-deep); font-size: 1.6rem; font-weight: 900; }

.problem-list { display: grid; gap: .75rem; }
.problem-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 17px; background: var(--white); text-decoration: none; }
.problem-row:hover { border-color: var(--green); }
.problem-num { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: var(--mint); color: var(--green-dark); font-weight: 900; }
.problem-row p { color: var(--ink-soft); font-size: .9rem; }
.problem-row b:last-child { color: var(--green-dark); }

.page-hero { padding: 4.8rem 0 3.5rem; background: var(--green-deep); color: #fff; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 900px; }
.page-hero .lead { max-width: 780px; }
.breadcrumbs { margin-bottom: 1.4rem; color: #c6d9d2; font-size: .85rem; }
.breadcrumbs a { color: #fff; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 3.5rem; }
.article { min-width: 0; }
.article h2 { margin: 3.5rem 0 1.2rem; font-size: clamp(1.75rem, 4vw, 2.55rem); scroll-margin-top: 105px; }
.article h3 { margin: 2.2rem 0 .8rem; scroll-margin-top: 105px; }
.article p + p { margin-top: 1rem; }
.article ul, .article ol { margin: 1rem 0 0; padding-left: 1.35rem; }
.article li + li { margin-top: .55rem; }
.article a { color: var(--green-dark); }
.toc { position: sticky; top: 105px; padding: 1.3rem; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.toc strong { display: block; margin-bottom: .8rem; }
.toc a { display: block; padding: .42rem 0; color: var(--ink-soft); text-decoration: none; font-size: .9rem; }
.toc a:hover { color: var(--green-dark); }
.steps { list-style: none; padding: 0 !important; counter-reset: step; }
.steps li { position: relative; padding: 1.2rem 1.2rem 1.2rem 4.2rem; border: 1px solid var(--line); border-radius: 17px; background: var(--white); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 1.15rem; top: 1.1rem; width: 2.15rem; height: 2.15rem; display: grid; place-items: center; border-radius: 10px; background: var(--green); color: #fff; font-weight: 900; }
.callout { margin: 1.5rem 0; padding: 1.15rem 1.3rem; border-left: 4px solid var(--green); border-radius: 0 15px 15px 0; background: var(--mint); }
.callout.warning { border-left-color: #d9a900; background: var(--warning); color: var(--warning-ink); }
.callout.danger { border-left-color: #db5d49; background: var(--danger); }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 1.8rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green-dark); font-weight: 950; }

.filter-bar { margin-bottom: 1.5rem; display: flex; gap: .7rem; }
.filter-bar input { width: 100%; padding: .95rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); }
.empty-state { display: none; padding: 2rem; border: 1px dashed #9db8ac; border-radius: 18px; text-align: center; color: var(--ink-soft); }

.faq-list details { border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.faq-list details + details { margin-top: .75rem; }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.2rem 3.5rem 1.2rem 1.3rem; font-weight: 850; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; translate: 0 -50%; color: var(--green-dark); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 1.3rem 1.25rem; color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.2rem; }
.contact-panel { padding: 2rem; border-radius: 24px; background: var(--green-deep); color: #fff; }
.contact-panel .muted { color: #c7ddd5; }
.contact-list { margin-top: 2rem; display: grid; gap: 1.2rem; }
.contact-item span { display: block; color: var(--lime); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.contact-item strong { display: block; margin-top: .18rem; font-size: 1.05rem; }
.placeholder { border-bottom: 1px dashed rgba(255,255,255,.5); color: #fff6b5; }
.contact-note { padding: 2rem; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }

.source-list { display: grid; gap: .75rem; }
.source-row { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.source-row a { color: var(--green-dark); font-weight: 800; }
.source-row small { display: block; margin-top: .3rem; color: var(--ink-soft); }

.cta-band { padding: 2.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; border-radius: 28px; color: #fff; background: var(--green-deep); }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .75rem 1.15rem; border-radius: 13px; background: var(--lime); color: var(--green-deep); font-weight: 900; text-decoration: none; white-space: nowrap; }
.button.secondary { border: 1px solid var(--line); background: var(--white); color: var(--green-dark); }

.site-footer { padding: 4rem 0 2rem; color: #c7ddd5; background: #062f25; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .7fr); gap: 2.5rem; }
.footer-brand { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 420px; color: #a9c4ba; }
.footer-col strong { display: block; margin-bottom: .8rem; color: #fff; }
.footer-col a { display: block; width: fit-content; margin: .45rem 0; color: #c7ddd5; text-decoration: none; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { margin-top: 3rem; padding-top: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.11); color: #94b3a8; font-size: .82rem; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 1rem; right: 1rem; top: 68px; padding: .7rem; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav-cta { margin-left: 0; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .browser-card { width: min(660px, 100%); transform: none; }
  .hero-stamp { right: 12px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .contact-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 1.2rem, var(--max)); }
  .nav-shell { min-height: 68px; }
  .brand img { width: 39px; height: 39px; }
  .hero { padding-top: 3.5rem; }
  h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .search-panel { flex-direction: column; }
  .search-panel button { width: 100%; }
  .browser-body { min-height: 285px; grid-template-columns: .32fr .68fr; }
  .chat-list { padding: .55rem; }
  .mock-lines { display: none; }
  .section-heading { align-items: start; flex-direction: column; }
  .grid-3, .grid-2, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .featured-card { display: block; }
  .feature-visual { min-height: 230px; }
  .problem-row { grid-template-columns: auto 1fr; }
  .problem-row b:last-child { display: none; }
  .page-hero { padding-top: 3.3rem; }
  .cta-band { align-items: stretch; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  main { animation: page-in .45s ease both; }
  @keyframes page-in { from { opacity: 0; translate: 0 8px; } }
}
