:root {
  --ink: #112924;
  --muted: #60716c;
  --paper: #f5f7f3;
  --card: #ffffff;
  --line: #dce5df;
  --green: #087f68;
  --green-dark: #075f50;
  --mint: #c9f5df;
  --night: #0c2520;
  --shadow: 0 24px 80px rgba(20, 50, 42, 0.13);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,247,243,.86); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(20,50,42,.05); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 760; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--green); font-family: Georgia, serif; font-style: italic; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; color: #435852; }
.site-nav a:hover { color: var(--green); }
.site-nav .nav-github { padding: 9px 16px; border: 1px solid #bccac4; border-radius: 999px; color: var(--ink); }
.site-nav .lang-switch { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; background: var(--ink); margin: 5px; }

.hero { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 64px; padding-top: 92px; padding-bottom: 110px; }
.eyebrow, .kicker { color: var(--green); font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 24px; height: 2px; background: var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 24px 0; font-size: clamp(48px, 5vw, 64px); line-height: 1.08; letter-spacing: -.055em; font-weight: 760; }
h1 em { color: var(--green); font-family: Georgia, "Noto Serif SC", serif; font-weight: 500; }
.hero-lead { max-width: 580px; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }
.button { min-height: 48px; padding: 11px 21px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--green); color: white; box-shadow: 0 12px 25px rgba(8,127,104,.22); }
.button.primary:hover { background: var(--green-dark); }
.button.secondary { background: white; border: 1px solid var(--line); }
.availability { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #f0a526; box-shadow: 0 0 0 4px rgba(240,165,38,.13); }
.hero-visual { position: relative; padding: 10px; border-radius: 28px; background: white; box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-visual img { border-radius: 0 0 19px 19px; }
.window-chrome { height: 38px; padding: 0 12px; display: flex; align-items: center; gap: 7px; color: #7c8c87; font-size: 11px; }
.window-chrome i { width: 8px; height: 8px; border-radius: 50%; background: #d4ddd9; }
.window-chrome i:first-child { background: #85d7b7; }
.window-chrome span { margin-left: 5px; }
.floating-note { position: absolute; right: -28px; bottom: -28px; display: grid; gap: 2px; padding: 15px 18px; border-radius: 15px; background: var(--night); color: white; box-shadow: 0 16px 30px rgba(12,37,32,.22); }
.floating-note strong { color: #83e0bd; font-size: 13px; }
.floating-note span { font-size: 12px; color: #d9e8e2; }

.proof-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.5); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { padding: 24px 28px; border-right: 1px solid var(--line); }
.proof-grid div:first-child { border-left: 1px solid var(--line); }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-size: 14px; }
.proof-grid span { color: var(--muted); font-size: 12px; }

.section { padding-block: 120px; }
.section-heading { max-width: 700px; margin-bottom: 56px; }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 80px; }
.section-heading h2, .privacy-copy h2, .pricing-card h2, .final-cta h2 { margin: 10px 0 18px; font-size: clamp(36px, 4vw, 54px); line-height: 1.12; letter-spacing: -.045em; }
.section-heading > p:last-child, .section-heading.split > p { color: var(--muted); font-size: 18px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { min-height: 250px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.64); }
.steps li > span { font: italic 30px Georgia, serif; color: var(--green); }
.steps h3, .feature-card h3 { margin-bottom: 10px; font-size: 21px; letter-spacing: -.02em; }
.steps p, .feature-card p { margin-bottom: 0; color: var(--muted); }

.feature-section { background: #eaf0eb; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card { padding: 30px; min-height: 270px; border: 1px solid #d5dfd9; border-radius: var(--radius); background: rgba(255,255,255,.72); overflow: hidden; }
.feature-main { grid-column: span 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: center; padding: 42px; }
.feature-main img { border-radius: 16px; box-shadow: 0 18px 45px rgba(19,45,39,.12); }
.chip { display: inline-block; padding: 5px 10px; margin-bottom: 20px; border-radius: 999px; color: var(--green-dark); background: var(--mint); font-size: 11px; font-weight: 750; }
.icon-box { width: 42px; height: 42px; margin-bottom: 50px; display: grid; place-items: center; border-radius: 12px; background: #dcf3e8; color: var(--green-dark); font-size: 20px; font-weight: 700; }
.product-shot { position: relative; margin: 78px 0 0; padding: 12px; border-radius: 28px; background: white; box-shadow: var(--shadow); }
.product-shot img { border-radius: 18px; }
.product-shot figcaption { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); padding: 12px 18px; white-space: nowrap; color: white; border-radius: 12px; background: var(--night); font-size: 13px; box-shadow: 0 12px 25px rgba(12,37,32,.2); }
.product-shot figcaption span { color: #83e0bd; font-weight: 750; margin-right: 7px; }

.privacy-section { background: var(--night); color: white; }
.privacy-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 110px; align-items: start; }
.privacy-copy { position: sticky; top: 130px; }
.privacy-copy p:not(.kicker) { color: #bcd0c9; font-size: 18px; }
.text-link { display: inline-flex; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid #5c776e; color: #dff8ed; font-weight: 650; }
.privacy-list { border-top: 1px solid #385049; }
.privacy-list > div { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 28px 0; border-bottom: 1px solid #385049; }
.privacy-list span { color: #77d3b0; font: italic 18px Georgia, serif; }
.privacy-list p { margin: 0; color: #acc1ba; }
.privacy-list strong { display: block; margin-bottom: 4px; color: white; font-size: 17px; }

.pricing-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: center; padding: 62px; border: 1px solid var(--line); border-radius: 32px; background: white; box-shadow: 0 20px 70px rgba(20,50,42,.07); }
.pricing-card > div:first-child > p:last-child { max-width: 650px; color: var(--muted); font-size: 17px; }
.price-box { padding: 30px; border-radius: 22px; color: white; background: var(--green); }
.price-box > span { font-size: 12px; opacity: .8; }
.price-box strong { display: block; margin: 8px 0 12px; font-size: 38px; line-height: 1.1; }
.price-box small { font-size: 14px; font-weight: 500; }
.price-box p { font-size: 13px; opacity: .85; }
.button.dark { width: 100%; background: var(--night); color: white; }

.faq-section { padding-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 48px 25px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 680; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 10px; top: 21px; color: var(--green); font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; padding: 0 40px 25px 0; color: var(--muted); }

.final-cta { padding: 110px 0; color: white; text-align: center; background: var(--green); }
.final-cta h2 { margin-bottom: 30px; }
.final-cta .kicker { color: #bff0dc; }
.final-cta .button { margin: 5px; }
.button.light { background: white; color: var(--green-dark); }
.button.ghost { border: 1px solid rgba(255,255,255,.45); color: white; }
.site-footer { padding: 70px 0 26px; color: #ccdad5; background: #081c18; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 60px; }
.footer-grid .brand { color: white; }
.footer-grid p { margin-top: 16px; color: #718b82; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 11px; font-size: 13px; }
.footer-grid strong { color: white; margin-bottom: 5px; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 58px; padding-top: 24px; border-top: 1px solid #1d3630; color: #718b82; font-size: 12px; }

.legal-main { min-height: 65vh; padding: 90px 0 120px; }
.legal-hero { max-width: 760px; margin-bottom: 54px; }
.legal-hero h1 { font-size: clamp(42px, 6vw, 68px); }
.legal-hero > p { color: var(--muted); font-size: 17px; }
.legal-content { max-width: 820px; padding: 45px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.legal-content h2 { margin: 38px 0 12px; font-size: 23px; letter-spacing: -.025em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 25px 0 8px; font-size: 17px; }
.legal-content p, .legal-content li { color: #536761; }
.legal-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.legal-content code { padding: 2px 6px; border-radius: 5px; background: #eef3ef; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.support-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fafcf9; }
.support-card h2 { margin-top: 0; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 65px; gap: 42px; }
  .hero-copy { max-width: 680px; }
  .floating-note { right: 18px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid div:nth-child(3) { border-left: 1px solid var(--line); }
  .proof-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 200px; }
  .section-heading.split, .privacy-grid, .pricing-card { grid-template-columns: 1fr; gap: 42px; }
  .privacy-copy { position: static; }
  .pricing-card { padding: 42px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 30px, 1180px); }
  .nav-wrap { min-height: 66px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 66px; left: 15px; right: 15px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 10px; }
  .site-nav .nav-github { margin-top: 5px; text-align: center; }
  .hero { padding: 54px 0 80px; }
  h1 { font-size: 48px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .floating-note { right: 10px; bottom: -38px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { padding: 18px 14px; }
  .section { padding-block: 84px; }
  .section-heading { margin-bottom: 38px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-main { grid-column: auto; grid-template-columns: 1fr; padding: 28px; }
  .product-shot { margin-top: 48px; }
  .product-shot figcaption { bottom: -38px; white-space: normal; width: calc(100% - 30px); text-align: center; }
  .privacy-grid { gap: 40px; }
  .pricing-card { padding: 26px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
  .legal-main { padding-top: 60px; }
  .legal-content { padding: 25px; }
  .support-grid { grid-template-columns: 1fr; }
}
