:root {
  --ink: #102019;
  --muted: #5d6b64;
  --line: #dfe8e2;
  --paper: #f7faf7;
  --white: #fff;
  --green: #18c56e;
  --green-dark: #0d9c54;
  --night: #07120d;
  --blue: #4e82f3;
  --amber: #f6a928;
  --violet: #9178f5;
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --shadow: 0 24px 70px rgba(13, 45, 29, .10);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input { font: inherit; }
button { color: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); 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; z-index: 1000; left: 16px; top: -60px; padding: 12px 18px;
  color: white; background: var(--night); border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; z-index: 100; top: 0;
  background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(223,232,226,.8);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark {
  position: relative; width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--night); border-radius: 9px; transform: rotate(-8deg);
}
.brand-mark::before, .brand-mark::after, .brand-mark span {
  content: ""; position: absolute; width: 5px; border-radius: 5px; background: var(--green);
}
.brand-mark::before { height: 10px; left: 7px; bottom: 6px; }
.brand-mark span { height: 16px; left: 12px; bottom: 6px; }
.brand-mark::after { height: 7px; right: 6px; bottom: 6px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav-links a { color: #526159; transition: color .2s; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.active { color: var(--ink); }
.nav-github { display: inline-flex; align-items: center; gap: 5px; }
.nav-github svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; }
.menu-toggle svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2; }

.hero {
  position: relative; min-height: 720px; display: flex; align-items: center;
  overflow: hidden; color: white; background: var(--night);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(to right, black, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -330px;
  border-radius: 50%; background: rgba(24,197,110,.15); filter: blur(2px);
}
.hero-noise {
  position: absolute; inset: 0; opacity: .025; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 70px; padding-block: 88px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #b8c8c0;
  font-size: 12px; font-weight: 600; letter-spacing: .03em; background: rgba(255,255,255,.05);
}
.status-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(24,197,110,.13); }
.hero h1 { margin: 26px 0 22px; max-width: 630px; font-size: clamp(52px, 6.1vw, 82px); line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-lead { max-width: 580px; margin: 0; color: #9fb0a7; font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0 22px; border: 1px solid transparent; border-radius: 12px;
  font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(24,197,110,.42); outline-offset: 3px; }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: #04110a; background: var(--green); }
.button-primary:hover { background: #2ada83; }
.button-secondary { color: white; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.button-secondary:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.1); }
.hero-meta { margin: 18px 0 0; color: #72857b; font-size: 12px; }

.product-scene { position: relative; min-height: 500px; display: grid; place-items: center; }
.scene-glow { position: absolute; width: 390px; height: 390px; border-radius: 50%; background: rgba(24,197,110,.18); filter: blur(60px); }
.menubar-card {
  position: relative; z-index: 2; width: min(100%, 400px); padding: 7px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 27px;
  background: rgba(255,255,255,.10); box-shadow: 0 40px 90px rgba(0,0,0,.5); backdrop-filter: blur(24px);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
}
.mac-menu { height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.mini-brand { width: 18px; height: 18px; position: relative; border-radius: 5px; background: var(--green); }
.mini-brand::before, .mini-brand::after, .mini-brand i { content: ""; position: absolute; width: 3px; bottom: 4px; border-radius: 2px; background: #092116; }
.mini-brand::before { height: 5px; left: 4px; }.mini-brand i { height: 9px; left: 8px; }.mini-brand::after { height: 4px; left: 12px; }
.menu-time { color: #b9c8c0; font-size: 10px; }
.app-panel { padding: 24px; border-radius: 21px; color: var(--ink); background: rgba(251,253,251,.97); }
.panel-top, .connection-state, .route-row { display: flex; align-items: center; }
.panel-top { justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid #e5ebe7; }
.panel-top div { display: grid; gap: 4px; }
.panel-label { color: #92a097; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.panel-top strong { font-size: 18px; letter-spacing: -.03em; }
.toggle-on { width: 46px; height: 27px; display: flex; align-items: center; justify-content: flex-end; padding: 3px; border-radius: 30px; background: var(--green); }
.toggle-on i { width: 21px; height: 21px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,.15); }
.connection-state { gap: 12px; padding: 22px 0; }
.pulse-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(24,197,110,.13); }
.connection-state div { display: grid; gap: 3px; }
.connection-state strong, .route-row strong { font-size: 13px; }
.connection-state small, .route-row small { color: #809087; font-size: 10px; }
.latency { margin-left: auto; padding: 5px 7px; color: var(--green-dark); font-size: 9px; font-weight: 700; border-radius: 7px; background: #e6f8ed; }
.traffic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.traffic-grid > div { display: grid; gap: 7px; padding: 14px; border: 1px solid #e7ece8; border-radius: 12px; background: white; }
.traffic-grid small { color: #8a978f; font-size: 9px; }.traffic-grid strong { font-size: 20px; }.traffic-grid strong span { color: #8a978f; font-size: 8px; font-weight: 600; }
.route-row { gap: 11px; margin-top: 10px; padding: 13px; border: 1px solid #e7ece8; border-radius: 12px; }
.route-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #e9f9ef; }
.route-icon svg { width: 16px; fill: none; stroke: var(--green-dark); stroke-width: 1.8; }
.route-row div { display: grid; gap: 3px; }.chevron { width: 16px; margin-left: auto; fill: none; stroke: #a3afa8; stroke-width: 2; }
.floating-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 12px; color: #dce7e1;
  font-size: 11px; font-weight: 600; background: rgba(16,34,25,.78); box-shadow: 0 15px 35px rgba(0,0,0,.25); backdrop-filter: blur(12px);
}
.chip-top { top: 65px; right: -5px; }.chip-bottom { bottom: 55px; left: -20px; }
.chip-top span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.chip-bottom span { color: var(--green); }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 28px; }
.trust-grid div { display: grid; gap: 4px; text-align: center; border-right: 1px solid var(--line); }
.trust-grid div:last-child { border: 0; }
.trust-grid strong { font-size: 20px; letter-spacing: -.03em; }.trust-grid span { color: var(--muted); font-size: 11px; }
.release-strip { padding: 62px 0 70px; border-bottom: 1px solid var(--line); background: white; }
.release-strip-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.release-strip-heading h2 { margin: 8px 0 0; font-size: 30px; letter-spacing: -.045em; }
.release-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.release-item {
  min-width: 0; display: flex; flex-direction: column; min-height: 155px; padding: 19px;
  border: 1px solid var(--line); border-radius: 15px; background: var(--paper);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.release-item:hover { transform: translateY(-3px); border-color: #aed8bd; box-shadow: 0 13px 28px rgba(13,45,29,.07); }
.release-item-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.release-version { overflow: hidden; font-size: 15px; font-weight: 800; letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.release-badge { flex: 0 0 auto; padding: 4px 6px; color: var(--green-dark); font-size: 8px; font-weight: 800; letter-spacing: .05em; border-radius: 5px; background: #e4f7eb; text-transform: uppercase; }
.release-badge.lab { color: #9c6000; background: #fff0d5; }
.release-date { margin-top: 8px; color: #819087; font-size: 9px; }
.release-download { display: inline-flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: auto; padding-top: 24px; color: var(--green-dark); font-size: 11px; font-weight: 700; }
.release-download svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.release-loading { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.release-loading span { height: 155px; border-radius: 15px; background: linear-gradient(100deg, #f1f5f2 20%, #fafcfb 40%, #f1f5f2 60%); background-size: 200% 100%; animation: release-shimmer 1.4s infinite; }
.release-fallback { color: var(--muted); font-size: 12px; }.release-fallback a { color: var(--green-dark); text-decoration: underline; }
@keyframes release-shimmer { to { background-position-x: -200%; } }
.section { padding: 120px 0; }
.section-heading { margin-bottom: 54px; }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; }
.section-heading h2 { margin: 12px 0 0; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.055em; text-wrap: balance; }
.section-heading p { max-width: 510px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.kicker { color: var(--green-dark); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.kicker.light { color: #79e7a9; }
.centered { text-align: center; }.centered p { margin: 15px auto 0; }
.feature-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-card {
  position: relative; min-height: 360px; overflow: hidden; padding: 34px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
}
.feature-card h3 { margin: 45px 0 12px; font-size: 25px; letter-spacing: -.04em; }
.feature-card p { max-width: 440px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.feature-card a { display: inline-flex; gap: 8px; margin-top: 26px; color: var(--green-dark); font-size: 13px; font-weight: 700; }
.feature-card a span { transition: transform .2s; }.feature-card a:hover span { transform: translateX(4px); }
.feature-large { grid-column: 1 / -1; min-height: 430px; display: flex; align-items: flex-start; background: #f4faf6; }
.feature-large > div:nth-child(2) { position: relative; z-index: 2; width: 52%; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: #086b3a; background: #dff7e9; }
.feature-icon svg, .step-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon.blue { color: #2f60c8; background: #e4edff; }.feature-icon.amber { color: #b56b00; background: #fff0d5; }.feature-icon.violet { color: #644bc6; background: #ece8ff; }
.card-index { position: absolute; top: 34px; right: 34px; color: #a5b0aa; font-size: 11px; font-weight: 700; }
.tun-visual { position: absolute; width: 390px; height: 390px; right: 25px; top: 20px; display: grid; place-items: center; }
.tun-core { z-index: 2; width: 88px; height: 88px; display: grid; place-items: center; color: white; font-weight: 800; letter-spacing: .08em; border-radius: 25px; background: var(--night); box-shadow: 0 18px 40px rgba(5,33,19,.2); }
.orbit { position: absolute; border: 1px solid #bfdfcd; border-radius: 50%; }.orbit-one { width: 220px; height: 220px; }.orbit-two { width: 340px; height: 340px; border-style: dashed; }
.node { position: absolute; width: 17px; height: 17px; border: 4px solid #f4faf6; border-radius: 50%; background: var(--green); box-shadow: 0 5px 12px rgba(13,156,84,.25); }
.n1 { top: 79px; right: 89px; }.n2 { bottom: 73px; left: 82px; }.n3 { top: 182px; left: 18px; }
.dark-card { color: white; border-color: var(--night); background: var(--night); }
.dark-card p { color: #98aaa0; }.dark-card .card-index { color: #65756c; }
.protocols-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 25px; }
.protocol-list { align-self: end; display: flex; flex-wrap: wrap; align-content: flex-end; gap: 8px; }
.protocol-list span { padding: 9px 12px; color: #5f6d65; font-size: 11px; font-weight: 600; border: 1px solid #dbe4de; border-radius: 9px; background: white; }

.steps-section { background: var(--paper); }
.steps-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; padding: 0; margin: 0; list-style: none; }
.steps-grid::before { content: ""; position: absolute; top: 42px; left: 16%; right: 16%; border-top: 1px dashed #b9c8bf; }
.steps-grid li { position: relative; text-align: center; }
.step-number { position: absolute; right: calc(50% - 48px); top: -8px; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; color: white; font-size: 9px; font-weight: 700; border: 3px solid var(--paper); border-radius: 50%; background: var(--green-dark); }
.step-icon { position: relative; z-index: 1; width: 84px; height: 84px; display: grid; place-items: center; margin: 0 auto 24px; color: var(--green-dark); border: 1px solid #d8e4dc; border-radius: 24px; background: white; box-shadow: 0 12px 25px rgba(15,53,31,.06); }
.steps-grid h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.03em; }.steps-grid p { max-width: 280px; margin: auto; color: var(--muted); font-size: 13px; line-height: 1.7; }
.steps-action { margin-top: 48px; text-align: center; }
.text-link { display: inline-flex; gap: 8px; color: var(--green-dark); font-size: 13px; font-weight: 700; }.text-link span { transition: transform .2s; }.text-link:hover span { transform: translateX(4px); }

.channel-section { background: white; }
.channel-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; padding: 70px; color: white; border-radius: var(--radius-lg); background: var(--night); }
.channel-panel h2 { margin: 13px 0 20px; font-size: clamp(36px, 4vw, 54px); line-height: 1.05; letter-spacing: -.055em; }
.channel-panel > div:first-child p { max-width: 430px; margin: 0 0 28px; color: #98aaa0; font-size: 14px; line-height: 1.75; }
.button-light { color: var(--night); background: white; }.button-light:hover { background: #eaf2ed; }
.channel-cards { display: grid; gap: 12px; align-content: center; }
.channel-cards article { display: flex; gap: 18px; padding: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.055); }
.channel-dot { flex: 0 0 auto; width: 12px; height: 12px; margin-top: 6px; border: 3px solid rgba(255,255,255,.25); border-radius: 50%; box-sizing: content-box; }
.channel-dot.stable { background: var(--green); }.channel-dot.lab { background: var(--amber); }
.channel-cards small { color: #778a80; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.channel-cards h3 { margin: 4px 0 7px; font-size: 21px; }.channel-cards p { margin: 0; color: #98aaa0; font-size: 12px; line-height: 1.6; }
.cta-section { padding-top: 30px; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 70px; color: white; border-radius: var(--radius-lg); background: linear-gradient(120deg, #0c2216, #123c26); }
.cta-panel h2 { margin: 17px 0 12px; font-size: clamp(38px, 4.5vw, 60px); letter-spacing: -.06em; }.cta-panel p { margin: 0; color: #a8bab0; }
.cta-actions { display: flex; gap: 10px; flex: 0 0 auto; }

.site-footer { padding: 70px 0 25px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 70px; }
.footer-brand p { max-width: 290px; margin: 18px 0 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer-note { color: #9aa69f; font-size: 10px; }
.footer-grid h3 { margin: 4px 0 20px; font-size: 12px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 13px; }
.footer-grid > div:not(:first-child) a { color: var(--muted); font-size: 12px; }.footer-grid a:hover { color: var(--green-dark); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 22px; color: #8c9991; font-size: 10px; border-top: 1px solid var(--line); }

/* Inner pages */
.inner-hero { padding: 90px 0 72px; color: white; background: var(--night); }
.inner-hero .kicker { color: #70dfa0; }.inner-hero h1 { max-width: 780px; margin: 14px 0 20px; font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -.06em; text-wrap: balance; }
.inner-hero p { max-width: 650px; margin: 0; color: #9fb0a7; font-size: 17px; line-height: 1.75; }
.docs-shell { display: grid; grid-template-columns: 240px minmax(0, 760px); justify-content: space-between; gap: 80px; padding-block: 70px 110px; }
.docs-sidebar { position: sticky; top: 100px; align-self: start; display: grid; gap: 28px; }
.docs-sidebar div { display: grid; gap: 7px; }
.docs-sidebar strong { margin-bottom: 5px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.docs-sidebar a { min-height: 36px; display: flex; align-items: center; padding: 0 12px; color: var(--muted); font-size: 12px; border-radius: 8px; }
.docs-sidebar a:hover, .docs-sidebar a.active { color: var(--green-dark); background: #eaf8ef; }
.docs-content section { scroll-margin-top: 105px; padding-bottom: 58px; margin-bottom: 58px; border-bottom: 1px solid var(--line); }
.docs-content section:last-child { border-bottom: 0; }
.docs-content h2 { margin: 0 0 20px; font-size: 32px; letter-spacing: -.04em; }
.docs-content h3 { margin: 32px 0 12px; font-size: 18px; }
.docs-content p, .docs-content li { color: var(--muted); font-size: 14px; line-height: 1.8; }
.docs-content ul, .docs-content ol { padding-left: 22px; }
.callout { margin: 24px 0; padding: 18px 20px; color: #28563d; font-size: 13px; line-height: 1.65; border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; background: #effaf3; }
.callout.warning { color: #68470b; border-color: var(--amber); background: #fff8e9; }
.code-block { position: relative; margin: 18px 0; padding: 22px; overflow-x: auto; color: #d9e6df; font: 12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; border-radius: 14px; background: var(--night); }
.copy-button { position: absolute; top: 10px; right: 10px; min-width: 64px; height: 32px; color: #9fb0a7; font-size: 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; background: rgba(255,255,255,.07); cursor: pointer; }
.copy-button:hover { color: white; background: rgba(255,255,255,.12); }
.download-section { padding: 90px 0 120px; background: var(--paper); }
.download-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; padding: 55px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.download-card h2 { margin: 14px 0; font-size: 40px; letter-spacing: -.05em; }.download-card p { color: var(--muted); line-height: 1.7; }
.version-chip { display: inline-flex; padding: 6px 9px; color: var(--green-dark); font-size: 11px; font-weight: 700; border-radius: 7px; background: #e8f8ee; }
.requirements { display: grid; gap: 13px; align-content: center; padding: 24px; border-radius: 18px; background: var(--paper); }
.requirements div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 13px; font-size: 12px; border-bottom: 1px solid var(--line); }.requirements div:last-child { padding: 0; border: 0; }.requirements span { color: var(--muted); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 35px; }
.compare-card { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: white; }.compare-card h3 { margin: 18px 0 8px; font-size: 24px; }.compare-card p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.tutorial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-block: 70px 110px; }
.tutorial-card { display: flex; flex-direction: column; min-height: 330px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: white; transition: transform .2s, box-shadow .2s; }
.tutorial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }.tutorial-card .feature-icon { margin-bottom: 45px; }
.tutorial-card h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.04em; }.tutorial-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }.tutorial-card .text-link { margin-top: auto; padding-top: 24px; }
.tutorial-featured { grid-column: 1 / -1; min-height: 250px; background: linear-gradient(120deg, #f3fbf6, #fff); }
.tutorial-featured .feature-icon { margin-bottom: 30px; }
.tutorial-detail { scroll-margin-top: 95px; padding: 80px 0; }.tutorial-detail:nth-child(even) { background: var(--paper); }
.tutorial-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }.tutorial-layout h2 { margin: 12px 0; font-size: 36px; letter-spacing: -.05em; }.tutorial-layout > div:first-child p { color: var(--muted); line-height: 1.7; }
.instruction-list { display: grid; gap: 13px; padding: 0; margin: 0; list-style: none; counter-reset: tutorial; }
.instruction-list li { counter-increment: tutorial; display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.instruction-list li::before { content: counter(tutorial); width: 34px; height: 34px; display: grid; place-items: center; color: var(--green-dark); font-size: 11px; font-weight: 800; border-radius: 10px; background: #e8f8ee; }
.instruction-list strong { display: block; margin-bottom: 5px; font-size: 14px; }.instruction-list span { color: var(--muted); font-size: 12px; line-height: 1.65; }

.tools-section { background: var(--paper); }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tool-card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 14px 40px rgba(13,45,29,.05); }
.tool-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.tool-heading h2 { margin: 4px 0 0; font-size: 27px; letter-spacing: -.04em; }
.tool-card > p { min-height: 48px; margin: 0 0 26px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.tool-form { display: grid; gap: 10px; }
.tool-form label { margin-top: 5px; font-size: 12px; font-weight: 700; }
.tool-form input, .tool-form select {
  width: 100%; min-height: 48px; padding: 0 14px; color: var(--ink); border: 1px solid #cedbd3;
  border-radius: 10px; outline: none; background: white; transition: border-color .2s, box-shadow .2s;
}
.tool-form input:focus, .tool-form select:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(24,197,110,.14); }
.tool-form .button { margin-top: 10px; justify-self: start; }
.tool-output { margin-top: 20px; padding: 16px; border: 1px solid #cfe8d9; border-radius: 13px; background: #f2fbf5; }
.tool-output > span { display: block; margin-bottom: 8px; color: var(--green-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.tool-output code { display: block; overflow-wrap: anywhere; color: #214b34; font: 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.tool-output > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.tool-output .button { min-height: 38px; padding: 0 13px; color: var(--ink); font-size: 11px; border-color: #c7dbcf; background: white; }
.tool-card .callout { margin-bottom: 0; }
.diagnostic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.diagnostic-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.diagnostic-grid article > span { color: var(--green-dark); font-size: 11px; font-weight: 800; }
.diagnostic-grid h3 { margin: 25px 0 9px; font-size: 18px; }.diagnostic-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.tool-subheading { margin: 55px 0 18px; font-size: 22px; letter-spacing: -.035em; }
.command-list { display: grid; gap: 8px; }
.command-list > div { display: grid; grid-template-columns: 1fr minmax(280px, 1.3fr) 60px; align-items: center; gap: 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.command-list > div > div { display: grid; gap: 3px; }.command-list strong { font-size: 12px; }.command-list small { color: var(--muted); font-size: 10px; }
.command-list code { overflow-x: auto; color: #315140; font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.copy-inline { min-height: 36px; color: var(--green-dark); font-size: 10px; font-weight: 700; border: 1px solid #cfe3d6; border-radius: 8px; background: #f1faf4; cursor: pointer; }
.resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.resource-grid a { display: grid; gap: 7px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); transition: transform .2s, border-color .2s; }
.resource-grid a:hover { transform: translateY(-2px); border-color: #add8be; }.resource-grid strong { font-size: 15px; }.resource-grid span { color: var(--muted); font-size: 11px; }
.article-sources { margin-top: 28px; padding-top: 18px; color: #7f8e86; font-size: 10px; line-height: 1.7; border-top: 1px solid var(--line); }
.article-sources a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
.article-hero { padding-bottom: 80px; }
.article-breadcrumb { display: flex; gap: 8px; margin-bottom: 45px; color: #74877c; font-size: 11px; }
.article-breadcrumb a { color: #a9bbb1; }.article-breadcrumb a:hover { color: white; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: #75877d; font-size: 10px; }
.article-meta span { position: relative; }.article-meta span:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 4px; width: 3px; height: 3px; border-radius: 50%; background: #4d6256; }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); justify-content: space-between; gap: 90px; padding-block: 75px 120px; }
.article-toc { position: sticky; top: 100px; align-self: start; display: grid; gap: 5px; }
.article-toc strong { margin-bottom: 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.article-toc a { min-height: 38px; display: flex; align-items: center; padding: 0 12px; color: var(--muted); font-size: 11px; border-left: 2px solid var(--line); }
.article-toc a:hover { color: var(--green-dark); border-color: var(--green); background: #f1faf4; }
.article-content > section { scroll-margin-top: 100px; padding-bottom: 66px; margin-bottom: 66px; border-bottom: 1px solid var(--line); }
.article-content h2 { margin: 12px 0 22px; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -.05em; }
.article-content h3 { margin: 35px 0 13px; font-size: 19px; letter-spacing: -.03em; }
.article-content p, .article-content li { color: var(--muted); font-size: 14px; line-height: 1.85; }
.article-content ul, .article-content ol { padding-left: 22px; }.article-content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.article-content a:not(.button) { color: var(--green-dark); text-decoration: underline; text-decoration-color: #a9d7bb; text-underline-offset: 3px; }
.flow-diagram { display: grid; grid-template-columns: 1fr 30px 1.2fr; align-items: center; gap: 15px; margin: 30px 0; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.flow-diagram > div:first-child { display: grid; gap: 6px; padding: 17px; text-align: center; border-radius: 12px; background: white; }.flow-diagram > div:first-child span { color: var(--muted); font-size: 10px; }.flow-diagram > div:first-child strong { font-size: 16px; }
.flow-arrow { color: var(--green-dark); text-align: center; }.flow-branches { display: grid; gap: 9px; }.flow-branches > span { display: flex; align-items: center; gap: 9px; padding: 12px; color: var(--muted); font-size: 11px; border-radius: 10px; background: white; }.flow-branches .channel-dot { width: 7px; height: 7px; margin: 0; border-width: 2px; }
.article-steps { display: grid; gap: 12px; padding: 0 !important; list-style: none; counter-reset: article-step; }
.article-steps li { counter-increment: article-step; display: grid; grid-template-columns: 45px 1fr; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.article-steps li::before { content: counter(article-step); width: 40px; height: 40px; display: grid; place-items: center; color: var(--green-dark); font-size: 12px; font-weight: 800; border-radius: 11px; background: #e8f8ee; }
.article-steps strong { color: var(--ink); font-size: 14px; }.article-steps p { margin: 5px 0 0; font-size: 12px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.check-grid > div { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }.check-grid > div > span { color: var(--green-dark); font-size: 10px; font-weight: 800; }.check-grid strong { display: block; margin-top: 20px; font-size: 14px; }.check-grid p { margin: 7px 0 0; font-size: 11px; line-height: 1.65; }
.criteria-list { display: grid; gap: 10px; padding: 0 !important; list-style: none; }.criteria-list li { display: grid; gap: 4px; padding: 17px 18px; border-left: 3px solid var(--green); border-radius: 0 11px 11px 0; background: var(--paper); }.criteria-list strong { color: var(--ink); font-size: 13px; }.criteria-list span { font-size: 11px; line-height: 1.6; }
.article-dark-button { color: var(--ink); border-color: var(--line); background: var(--paper); }
.article-content details { border-bottom: 1px solid var(--line); }.article-content summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }.article-content summary::-webkit-details-marker { display: none; }.article-content summary::after { content: "+"; color: var(--green-dark); font-size: 22px; font-weight: 400; }.article-content details[open] summary::after { content: "−"; }.article-content details p { margin: 0 0 20px; font-size: 12px; }
.article-reference { padding: 24px; border-radius: 16px; background: var(--paper); }.article-reference strong { font-size: 12px; }.article-reference p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 25px; padding-top: 80px; }
  .hero-copy { text-align: center; }.hero-lead { margin-inline: auto; }.hero-actions { justify-content: center; }
  .product-scene { min-height: 520px; }
  .split-heading, .channel-panel, .download-card, .tutorial-layout { grid-template-columns: 1fr; gap: 35px; }
  .split-heading { align-items: start; }
  .channel-panel, .cta-panel { padding: 45px; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .feature-card { min-height: 390px; }
  .feature-large > div:nth-child(2) { width: 58%; }
  .tun-visual { right: -80px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }.footer-grid > div:last-child { grid-column: 2; }
  .docs-shell { grid-template-columns: 190px minmax(0, 1fr); gap: 45px; }
  .tutorial-grid { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 50px; }
  .release-list, .release-loading { grid-template-columns: repeat(3, 1fr); }.release-item:nth-child(n+4) { min-height: 135px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav { min-height: 64px; }.menu-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 63px; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 4px;
    padding: 14px; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 18px 30px rgba(12,38,23,.08);
  }
  .nav-links.open { display: flex; }.nav-links a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 9px; }.nav-links a.active { background: var(--paper); }
  .hero { min-height: auto; }.hero-grid { padding-block: 72px 45px; }
  .hero h1 { font-size: 49px; }.hero-lead { font-size: 16px; }.hero-actions { flex-direction: column; }.hero-actions .button { width: 100%; }
  .product-scene { min-height: 450px; }.menubar-card { width: calc(100% - 20px); transform: none; }.app-panel { padding: 18px; }.floating-chip { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }.trust-grid div:nth-child(2) { border-right: 0; }
  .release-strip { padding: 48px 0 55px; }.release-strip-heading { align-items: flex-start; flex-direction: column; gap: 14px; }.release-list, .release-loading { grid-template-columns: 1fr; }.release-item { min-height: 125px; }.release-loading span { height: 125px; }
  .section { padding: 80px 0; }.section-heading { margin-bottom: 38px; }.section-heading h2 { font-size: 39px; }.split-heading { gap: 22px; }
  .feature-bento { grid-template-columns: 1fr; }.feature-large { grid-column: auto; min-height: 570px; }.feature-large > div:nth-child(2) { width: 100%; }.tun-visual { width: 330px; height: 330px; top: 250px; right: calc(50% - 165px); transform: scale(.82); }.feature-card { min-height: 340px; padding: 25px; }.feature-card h3 { margin-top: 42px; }.card-index { top: 27px; right: 25px; }
  .protocols-card { grid-template-columns: 1fr; }.protocol-list { margin-top: 20px; }
  .steps-grid { grid-template-columns: 1fr; gap: 45px; }.steps-grid::before { display: none; }
  .channel-panel { padding: 30px 22px; border-radius: 24px; }.channel-cards article { padding: 18px; }
  .cta-panel { padding: 34px 24px; border-radius: 24px; }.cta-actions { width: 100%; flex-direction: column; }.cta-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 45px 30px; }.footer-brand { grid-column: 1 / -1; }.footer-grid > div:last-child { grid-column: auto; }.footer-bottom { margin-top: 45px; }
  .inner-hero { padding: 65px 0 55px; }.inner-hero h1 { font-size: 43px; }
  .docs-shell { grid-template-columns: 1fr; padding-top: 35px; }.docs-sidebar { position: static; display: flex; overflow-x: auto; gap: 7px; padding-bottom: 5px; }.docs-sidebar div { display: flex; flex: 0 0 auto; }.docs-sidebar strong { display: none; }.docs-sidebar a { white-space: nowrap; border: 1px solid var(--line); }
  .download-section { padding: 60px 0 80px; }.download-card { padding: 28px; }.compare-grid, .tutorial-grid { grid-template-columns: 1fr; }
  .tutorial-grid { padding-block: 50px 80px; }.tutorial-card { min-height: 290px; }.tutorial-featured { grid-column: auto; }.tutorial-layout { gap: 30px; }.tutorial-detail { padding: 60px 0; }
  .tool-card { padding: 25px; }.diagnostic-grid, .resource-grid { grid-template-columns: 1fr; }
  .command-list > div { grid-template-columns: 1fr 60px; gap: 10px; }.command-list > div > div { grid-column: 1 / -1; }.command-list code { min-width: 0; }
  .article-layout { grid-template-columns: 1fr; gap: 35px; padding-block: 35px 80px; }.article-toc { position: static; display: flex; overflow-x: auto; gap: 7px; padding-bottom: 5px; }.article-toc strong { display: none; }.article-toc a { flex: 0 0 auto; white-space: nowrap; border: 1px solid var(--line); border-radius: 8px; }
  .article-content > section { padding-bottom: 50px; margin-bottom: 50px; }.flow-diagram { grid-template-columns: 1fr; }.flow-arrow { transform: rotate(90deg); }.check-grid { grid-template-columns: 1fr; }
  .article-meta span:not(:last-child)::after { display: none; }
}

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