:root {
  color: #173a33;
  background: #f8faf6;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: #c4e5a1; color: #173a33; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(790px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #dce6db; background: rgba(248, 250, 246, .93); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.site-nav a { color: #45615a; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; transition: color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #116c52; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-button { display: none; border: 0; background: transparent; padding: 9px; color: #173a33; }
.menu-button span { display: block; width: 19px; height: 2px; margin: 4px 0; border-radius: 4px; background: currentColor; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 19px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-size: 13px; line-height: 1.3; font-weight: 700; white-space: nowrap; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .site-nav a:focus-visible, .menu-button:focus-visible, .download-asset:focus-visible { outline: 3px solid #89c789; outline-offset: 3px; }
.button--primary { color: #fff; background: #13583f; box-shadow: 0 7px 17px rgba(19, 88, 63, .16); }
.button--primary:hover { background: #0b4633; }
.button--secondary { color: #174536; border-color: #b9d0be; background: #fff; }
.button--secondary:hover { background: #eaf3e8; }
.button--light { color: #173a33; background: #d0ef84; }
.button--light:hover { background: #e1f7a5; }
.button--small { min-height: 38px; padding: 9px 14px; }
.text-link { color: #12664d; text-decoration-thickness: 1.5px; text-underline-offset: 4px; font-weight: 700; }
.text-link:hover { color: #0a3f31; }

h1, h2, h3 { font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif; letter-spacing: -.055em; }
h1 { margin: 0; font-size: clamp(42px, 5.8vw, 78px); line-height: 1.08; font-weight: 800; }
h2 { margin: 0; font-size: clamp(30px, 3.3vw, 45px); line-height: 1.17; font-weight: 800; }
h3 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 800; }
p { line-height: 1.65; }
.eyebrow { display: block; margin: 0 0 22px; color: #377658; font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.muted { color: #61746b; }
.lead { color: #5b7065; font-size: 18px; line-height: 1.72; }
.section { padding: 100px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-heading--spaced { margin-top: 90px; }
.section-heading > div { max-width: 620px; }
.section-heading p:not(.eyebrow) { margin: 16px 0 0; color: #5f7469; }

.hero { overflow: hidden; position: relative; padding: 96px 0 100px; background: radial-gradient(circle at 86% 9%, #e1f2d5 0, transparent 42%), #f8faf6; }
.hero::after { content: ""; position: absolute; width: 210px; height: 210px; right: -90px; bottom: -80px; border: 1px solid #c7dccc; border-radius: 50%; box-shadow: 0 0 0 55px rgba(199, 220, 204, .22), 0 0 0 110px rgba(199, 220, 204, .12); pointer-events: none; }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 54px; }
.hero-copy h1 span { color: #258363; }
.hero-copy .lead { max-width: 530px; margin: 25px 0 30px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { display: flex; gap: 8px; align-items: center; margin-top: 24px; color: #668074; font-size: 12px; font-weight: 600; }
.hero-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #75a773; }
.hero-visual { position: relative; padding: 26px 0 16px; }
.hero-visual::before { content: ""; position: absolute; inset: -18px -34px -16px 48px; border-radius: 50%; background: #d8ebd1; filter: blur(26px); opacity: .8; }
.sheet-window { position: relative; overflow: hidden; border: 1px solid #d5e3d3; border-radius: 18px; background: #fff; box-shadow: 0 27px 70px rgba(28, 74, 50, .16), 0 3px 10px rgba(28, 74, 50, .07); transform: rotate(-1.5deg); }
.window-top { display: flex; align-items: center; gap: 6px; height: 39px; padding: 0 17px; border-bottom: 1px solid #e6eee4; background: #f8fbf7; }
.window-top i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #bfd4c1; }
.window-top strong { margin-left: 12px; color: #35594b; font-size: 11px; font-weight: 700; }
.sheet-toolbar { display: flex; align-items: center; gap: 18px; height: 43px; padding: 0 19px; color: #729185; border-bottom: 1px solid #eaf0e9; font-size: 11px; font-weight: 700; }
.sheet-toolbar span:first-child { color: #225640; }
.formula-line { display: flex; align-items: center; height: 37px; border-bottom: 1px solid #dce8dc; color: #658276; font-size: 11px; }
.formula-line strong { width: 55px; text-align: center; border-right: 1px solid #dce8dc; }
.formula-line span { padding-left: 12px; color: #245a46; }
.demo-grid { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 10px; }
.demo-grid th, .demo-grid td { height: 34px; padding: 7px 11px; border: 1px solid #e6ede7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-grid thead th { height: 29px; color: #7b9588; background: #f8fbf9; font-weight: 700; text-align: center; }
.demo-grid tbody th { width: 36px; color: #8ba396; background: #f8fbf9; font-weight: 600; text-align: center; }
.demo-grid td { color: #405d51; }
.demo-grid .strong { font-weight: 700; color: #204e3b; }
.demo-grid .selected { position: relative; background: #eef8dc; outline: 2px solid #3b9c6b; outline-offset: -2px; color: #194c34; font-weight: 800; }
.demo-grid .selected::after { content: ""; position: absolute; width: 6px; height: 6px; right: -1px; bottom: -1px; background: #3b9c6b; }
.demo-grid .sum-row td { background: #f5faef; font-weight: 800; }
.sheet-tabs { height: 38px; display: flex; align-items: end; gap: 16px; padding-left: 19px; color: #658175; background: #fbfcfa; font-size: 10px; }
.sheet-tabs b { padding: 0 11px 10px; border-bottom: 3px solid #3b9c6b; color: #225b43; }
.visual-chip { position: absolute; right: -22px; bottom: 0; padding: 15px 18px; border: 1px solid #d5e8cb; border-radius: 13px; background: #fff; box-shadow: 0 12px 30px rgba(26, 71, 45, .12); transform: rotate(4deg); }
.visual-chip strong { display: block; color: #1d5a42; font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif; font-size: 16px; }
.visual-chip span { color: #789080; font-size: 10px; }

.proof-bar { border-top: 1px solid #e3ece0; border-bottom: 1px solid #e3ece0; background: #fff; }
.proof-items { min-height: 92px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; color: #496357; font-size: 12px; font-weight: 700; }
.proof-items span { display: flex; align-items: center; gap: 11px; }
.proof-items b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; background: #eaf4e8; color: #267151; font-size: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 260px; padding: 33px; border: 1px solid #e0e9df; border-radius: 18px; background: #fff; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 35px; border-radius: 12px; background: #edf7e6; color: #277152; font-size: 23px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { margin: 0; color: #6a7e71; font-size: 13px; }
.split-section { background: #eaf3e8; }
.split-layout { display: grid; grid-template-columns: .85fr 1fr; gap: 80px; align-items: center; }
.split-layout > div > p:not(.eyebrow) { max-width: 490px; color: #617568; }
.runtime-card { padding: 34px; border: 1px solid #d6e7d4; border-radius: 22px; background: #f9fcf7; box-shadow: 0 15px 30px rgba(33, 70, 38, .06); }
.runtime-option { display: flex; gap: 18px; align-items: center; padding: 17px 0; }
.runtime-option + .runtime-option { border-top: 1px solid #dce9d9; }
.runtime-option span { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: #e2f1db; color: #176746; font-size: 20px; }
.runtime-option p { margin: 4px 0 0; color: #6b806f; font-size: 12px; }
.runtime-line { height: 1px; margin: 11px 0 20px; background: #dce9d9; }
.runtime-foot { color: #37604a; font-size: 12px; font-weight: 700; }
.cta-band { padding: 68px 0; background: #174a3e; color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-inner h2 { max-width: 700px; font-size: clamp(28px, 3vw, 42px); }
.cta-inner p { color: #bbd4c8; }
.cta-band .eyebrow { color: #d0ef84; }

.page-hero { padding: 80px 0 64px; background: radial-gradient(circle at 85% 0, #e1f1d8 0, transparent 34%), #f8faf6; }
.page-hero h1 { max-width: 900px; font-size: clamp(40px, 5vw, 64px); }
.page-hero .lead { max-width: 690px; margin: 22px 0 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; color: #718478; font-size: 12px; font-weight: 700; }
.breadcrumb a { color: #397454; text-decoration: none; }
.content-surface { padding: 70px 0 110px; background: #fff; }
.docs-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 78px; align-items: start; }
.docs-nav { position: sticky; top: 100px; display: grid; gap: 7px; padding-top: 5px; }
.docs-nav strong { margin-bottom: 13px; color: #2b5b46; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.docs-nav a { padding: 8px 10px; border-radius: 8px; color: #6c7f72; text-decoration: none; font-size: 13px; font-weight: 600; }
.docs-nav a:hover, .docs-nav a:focus-visible { background: #eaf4e8; color: #215d43; }
.prose { max-width: 760px; }
.prose section + section { margin-top: 72px; padding-top: 55px; border-top: 1px solid #e5ebe3; }
.prose h2 { margin-bottom: 20px; font-size: clamp(27px, 3vw, 36px); }
.prose h3 { margin-top: 34px; margin-bottom: 8px; }
.prose p, .prose li { color: #53685b; font-size: 15px; line-height: 1.8; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li + li { margin-top: 10px; }
.prose code { padding: 2px 5px; border-radius: 4px; background: #edf4eb; color: #31563e; font-size: .92em; }
.prose pre { overflow-x: auto; margin: 23px 0; padding: 18px 20px; border-radius: 12px; background: #153e35; color: #e3f3df; font-size: 14px; line-height: 1.6; }
.prose pre code { padding: 0; background: transparent; color: inherit; }
.notice { margin: 27px 0; padding: 18px 22px; border-left: 3px solid #78b362; border-radius: 0 10px 10px 0; background: #f0f7ed; color: #3c6548; font-size: 14px; line-height: 1.7; }
.notice strong { display: block; color: #2b5a3d; }
.doc-table { width: 100%; margin: 25px 0; border-collapse: collapse; font-size: 13px; }
.doc-table th, .doc-table td { padding: 13px 11px; border-bottom: 1px solid #e5ebe3; text-align: left; vertical-align: top; }
.doc-table th { color: #35614c; background: #f4f8f2; }
.doc-table td { color: #5c7061; }

.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 45px; }
.download-card { min-height: 295px; padding: 30px; border: 1px solid #dfe9dd; border-radius: 18px; background: #fff; }
.platform-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 28px; border-radius: 13px; background: #edf6e8; color: #277052; font-size: 23px; font-weight: 800; }
.download-card p { margin: 8px 0 23px; color: #728576; font-size: 13px; }
.asset-list { display: grid; gap: 9px; }
.download-asset { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 10px 13px; border-radius: 8px; background: #e9f4e7; color: #1b6346; text-decoration: none; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.download-asset::after { content: "↓"; font-size: 15px; }
.download-asset:hover { background: #d7ecd3; }
.status-box { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 30px; padding: 19px 22px; border: 1px solid #d7e5d6; border-radius: 12px; background: #f1f7ee; }
.status-box p { margin: 0; color: #4f6b57; font-size: 13px; }
.status-box a { flex: none; font-size: 12px; }
.release-entry { padding: 30px 0; border-bottom: 1px solid #e4ece3; }
.release-entry:first-child { padding-top: 0; }
.release-entry h2 { font-size: 27px; }
.release-entry p { max-width: 720px; }
.release-entry .eyebrow { margin-bottom: 12px; }
.release-entry .text-link { font-size: 13px; }
.preview-card { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 42px; padding: 55px; border-radius: 24px; background: #e8f3e5; }
.preview-card h2 { font-size: 37px; }
.preview-card p { color: #5c7565; }
.preview-list { display: grid; gap: 14px; }
.preview-list span { display: flex; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid #d2e5cf; border-radius: 9px; background: #fff; color: #376248; font-size: 13px; font-weight: 700; }
.preview-list b { color: #36a36b; font-size: 17px; }

.site-footer { padding: 65px 0 34px; background: #102f29; color: #e6f5e8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 60px; }
.site-footer .brand { color: #fff; }
.site-footer p { max-width: 310px; color: #a7c3b2; font-size: 13px; }
.footer-column { display: grid; align-content: start; gap: 12px; }
.footer-column strong { margin-bottom: 9px; color: #d1f188; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.footer-column a { color: #c4d9c9; font-size: 13px; text-decoration: none; }
.footer-column a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; padding-top: 25px; border-top: 1px solid #35584c; color: #a4c0ae; font-size: 11px; }

@media (max-width: 980px) {
  .site-nav { gap: 16px; }
  .hero-layout { gap: 28px; }
  .split-layout { gap: 45px; }
  .docs-layout { gap: 40px; }
}

@media (max-width: 760px) {
  .shell, .narrow { width: min(100% - 36px, 1180px); }
  .header-inner { min-height: 66px; gap: 14px; }
  .site-nav { display: none; position: absolute; top: 65px; left: 0; right: 0; margin: 0; padding: 17px 22px 22px; border-bottom: 1px solid #dce6db; background: #f8faf6; box-shadow: 0 16px 25px rgba(23, 58, 51, .08); }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { display: block; padding: 10px 2px; }
  .menu-button { display: block; margin-left: auto; }
  .header-actions { display: none; }
  .hero { padding: 65px 0 70px; }
  .hero-layout, .split-layout, .preview-card { grid-template-columns: 1fr; }
  .hero-visual { max-width: 610px; margin: 30px auto 0; }
  .visual-chip { right: 0; }
  .feature-grid, .download-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-icon { margin-bottom: 20px; }
  .section { padding: 75px 0; }
  .section-heading, .cta-inner { align-items: start; flex-direction: column; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 5px; border-bottom: 1px solid #e5ebe3; padding-bottom: 20px; }
  .docs-nav strong { width: 100%; }
  .page-hero { padding: 60px 0 50px; }
  .content-surface { padding: 50px 0 85px; }
  .preview-card { gap: 35px; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero-note { max-width: 280px; line-height: 1.5; }
  .sheet-window { transform: none; }
  .visual-chip { display: none; }
  .proof-items { justify-content: start; padding: 22px 0; }
  .proof-items span { width: calc(50% - 10px); }
  .status-box { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
