:root {
  color-scheme: light;
  --paper: #f7f8f2;
  --white: #fdfef9;
  --ink: #162d25;
  --muted: #4e6158;
  --green: #316057;
  --lime: #e4f1a8;
  --line: #dce3d9;
  --panel: #edf2e8;
  --dark: #102c28;
  --width: 1224px;
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; }
button[hidden] { display: none; }
:focus-visible { outline: 3px solid #39796b; outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.22; text-wrap: pretty; }
p { text-wrap: pretty; }
li + li { margin-top: .5rem; }

.wrap { width: min(calc(100% - 96px), var(--width)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: 10px; left: 10px; background: var(--white); padding: 10px 18px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; }
.wordmark { display: inline-flex; align-items: center; gap: 13px; width: fit-content; text-decoration: none; }
.brand-mark { width: 33px; height: 33px; border: 1px solid #aec2b0; border-radius: 8px; background: var(--dark); display: grid; grid-template-columns: repeat(2, 5px); grid-auto-rows: 5px; gap: 3px; place-content: center; transform: rotate(-8deg); }
.brand-mark i { border-radius: 1px; background: var(--lime); }
.brand-mark i:last-child { background: #76ab92; }
.brand-word { font-size: .95rem; font-weight: 850; letter-spacing: .01em; white-space: nowrap; line-height: 1.18; }
.brand-caption { display: block; margin-top: 4px; font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; }
.main-nav { display: flex; justify-content: center; gap: clamp(20px, 3vw, 42px); }
.main-nav a { font-size: .94rem; text-decoration: none; white-space: nowrap; color: var(--muted); padding-block: 7px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--ink); border-color: #618a72; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 10px 20px; gap: .4rem; border: 1px solid transparent; border-radius: 8px; font-size: .94rem; font-weight: 700; line-height: 1.35; text-align: center; text-decoration: none; cursor: pointer; transition: background .18s, border-color .18s; }
.button.primary { background: var(--dark); color: white; }
.button.primary:hover { background: #21463b; }
.button.secondary, .button.nav-button { background: transparent; border-color: #c1cfc0; color: var(--ink); }
.button.secondary:hover, .button.nav-button:hover { background: #e6eddf; border-color: #819f8c; }
.button.nav-button { justify-self: end; min-height: 42px; }

.hero { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: clamp(28px, 5vw, 74px); padding-block: 64px 72px; }
.hero-copy { min-width: 0; }
.eyebrow { font-size: .87rem; font-weight: 750; color: var(--green); letter-spacing: .075em; }
.hero-label { display: inline-flex; align-items: center; gap: 8px; background: #e6eddc; padding: 5px 11px; border-radius: 6px; letter-spacing: .02em; }
.hero-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #538a70; }
.hero h1 { font-size: clamp(2.55rem, 4.05vw, 4.1rem); font-weight: 850; line-height: 1.18; letter-spacing: -.05em; margin-top: 23px; }
.hero h1 span { color: #316c58; }
.hero-copy > p:not(.eyebrow) { max-width: 27em; margin-top: 20px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.16rem); line-height: 1.8; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero .actions { margin-top: 27px; }
.hero-visual { position: relative; isolation: isolate; min-width: 0; min-height: 330px; overflow: hidden; border: 1px solid #254b3e; border-radius: 19px; background: var(--dark); box-shadow: 0 22px 46px #1b30251d; }
.hero-visual img { width: 100%; height: 100%; min-height: 330px; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-visual figcaption { position: absolute; inset: auto 0 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 18px; padding: 16px 20px; color: #eef7e9; font-size: .875rem; background: #0e2825e8; border-top: 1px solid #c8e8d040; }
.hero-visual figcaption span:last-child { color: #c1d8c9; }

.section { padding-block: 58px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px 36px; margin-bottom: 25px; }
.section-head h2 { margin-top: 6px; }
.section-head > p { max-width: 22em; color: var(--muted); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.22rem; }
.scenario-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.scenario-card, .info-block { border: 1px solid var(--line); border-radius: 14px; background: var(--white); padding: clamp(24px, 3.3vw, 43px); }
.scenario-card:nth-child(2) { background: #edf4e9; }
.scenario-card h3 { margin-top: 6px; font-size: clamp(1.3rem, 2.15vw, 1.78rem); }
.scenario-card p:not(.eyebrow) { margin-block: 12px 18px; max-width: 31em; color: var(--muted); }
.signal-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 19px; border-radius: 10px; color: #305f4d; background: #e1ece0; }
.signal-icon::before, .signal-icon::after, .signal-icon i { position: absolute; content: ''; }
.signal-icon.layers::before { width: 15px; height: 15px; border: 1.7px solid currentColor; border-radius: 3px; transform: translateY(-3px) rotate(45deg) scaleY(.72); }
.signal-icon.layers::after { width: 13px; height: 13px; border: solid currentColor; border-width: 0 1.7px 1.7px 0; border-radius: 2px; transform: translateY(4px) rotate(45deg) scaleY(.72); }
.signal-icon.route::before { width: 22px; height: 17px; border: 1.7px solid currentColor; border-radius: 5px; transform: translateY(-2px); }
.signal-icon.route::after { width: 6px; height: 6px; border-left: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; background: #e1ece0; transform: translate(-4px, 6px) rotate(-40deg); }
.signal-icon.route i { width: 2px; height: 2px; border-radius: 50%; background: currentColor; box-shadow: -4px 0 currentColor, 4px 0 currentColor; transform: translateY(-2px); }
.text-link, .read-link { color: #245544; font-weight: 720; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover, .read-link:hover { color: #13332b; text-decoration-thickness: 2px; }
.process-section { background: var(--panel); border-block: 1px solid var(--line); }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; }
.stages.demo-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stages li { padding: 18px 20px 6px; margin: 0; border-left: 1px solid #c7d6c8; }
.stage-index { display: block; color: #3c6b58; font: 650 .9rem/1.4 ui-monospace, 'Cascadia Mono', monospace; margin-bottom: 14px; }
.stages h3 { margin-bottom: 9px; }
.stages p { color: var(--muted); }

.article-list { border-top: 1px solid #cdd8cc; }
.article-row { display: grid; grid-template-columns: 122px minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding: 21px 4px; border-bottom: 1px solid #cdd8cc; }
.article-type { color: #355f4e; font-size: .88rem; font-weight: 700; }
.article-row h3 a { text-decoration: none; }
.article-row h3 a:hover { text-decoration: underline; }
.article-row p { margin-top: 7px; color: var(--muted); font-size: .95rem; }
.read-link { font-size: .9rem; white-space: nowrap; }
.end-section { padding-bottom: 62px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px 36px; padding: clamp(24px, 4vw, 49px); border-radius: 15px; color: white; background: var(--dark); }
.cta-band h2 { font-size: clamp(1.4rem, 2.7vw, 2.1rem); }
.cta-band p { color: #cfe3d4; margin-top: 9px; }
.cta-band .primary { background: var(--lime); color: var(--dark); flex: 0 0 auto; }
.cta-band .primary:hover { background: #f0ffc2; }
.cta-band :focus-visible { outline-color: white; }
.site-footer { border-top: 1px solid var(--line); background: #eff2e9; }
.footer-row { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; padding-block: 20px; }
.footer-row nav { display: flex; gap: 9px 22px; flex-wrap: wrap; }
.footer-row nav a, .footer-row small { color: var(--muted); font-size: .875rem; }
.footer-row nav a { text-decoration: none; }
.footer-row nav a:hover { text-decoration: underline; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--muted); font-size: .87rem; margin-bottom: 24px; }
.breadcrumbs a + a::before { display: inline-block; content: '/'; margin-right: 10px; color: #718579; }
.page-head { padding-block: 37px 32px; }
.page-head h1, .post-head h1 { margin-top: 10px; font-size: clamp(2rem, 4.35vw, 3.65rem); letter-spacing: -.045em; }
.lede { max-width: 42em; font-size: clamp(1rem, 1.65vw, 1.2rem); color: var(--muted); line-height: 1.75; margin-top: 17px; }
.page-body { display: grid; gap: 20px; padding-bottom: 65px; }
.page-body > .cta-band { margin-top: 12px; }
.page-body.actions { display: flex; }
.info-block h2 { font-size: clamp(1.35rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.info-block > p, .solution-block p:not(.eyebrow) { color: var(--muted); margin-bottom: 16px; }
.info-block .stages { margin-top: 24px; }
.checklist { margin: 0; padding-left: 1.15em; color: var(--muted); }
.faq details { border-top: 1px solid var(--line); padding: 13px 0; }
.faq details:last-child { padding-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 7px 0 0 1.15em; color: var(--muted); }
.solution-block { display: grid; grid-template-columns: 1fr 1.1fr; gap: 25px 50px; scroll-margin-top: 20px; }
.solution-block h2 { margin: 6px 0 12px; }
.solution-block dl div { border-top: 1px solid var(--line); padding: 12px 0 9px; }
.solution-block dt { font-weight: 750; }
.solution-block dd { color: var(--muted); margin-top: 4px; }
.contact-grid { grid-template-columns: 1fr 1.18fr; align-items: start; }
.contact-grid .fine-print { margin: 18px 0 0; font-size: .88rem; }
pre { overflow-wrap: anywhere; white-space: pre-wrap; background: var(--panel); padding: 16px 20px; border-radius: 8px; font: inherit; line-height: 1.85; margin: 14px 0; }
.copy-status:not(:empty) { margin-top: 8px; }

.article-wrap { padding-block: 37px 65px; }
.article-wrap > .breadcrumbs, .post, .related { width: min(100%, 840px); margin-inline: auto; }
.post-head { padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.post-head h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
.byline { margin-top: 16px; color: var(--muted); font-size: .87rem; }
.byline span { margin-inline: 4px; }
.post-body { padding-top: 23px; font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.9; color: #283b32; }
.post-body > * + * { margin-top: 16px; }
.post-body h2 { margin-top: 32px; color: var(--ink); font-size: clamp(1.32rem, 2.4vw, 1.85rem); }
.post-body ol, .post-body ul { padding-left: 1.45em; }
.post-body a { color: #1c5947; }
.post-note { padding: 15px 20px; background: #e9f0e4; border-left: 4px solid #749884; border-radius: 0 8px 8px 0; }
.post-note p { margin-top: 4px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.65; }
caption { text-align: left; font-weight: 700; padding-bottom: 7px; }
th, td { border: 1px solid #d1ddd0; padding: 10px 12px; text-align: left; vertical-align: top; }
thead { background: #e7eee2; }
tbody th { min-width: 8em; background: #f1f5ec; }
.related { margin-block: 36px; }
.related h2 { font-size: 1.55rem; margin-bottom: 13px; }

@media (max-width: 1050px) {
  .wrap { width: min(calc(100% - 64px), var(--width)); }
  .hero { gap: 31px; }
}

@media (max-width: 830px) {
  .wrap { width: min(calc(100% - 42px), var(--width)); }
  .hero { padding-block: 44px 34px; }
  .hero h1 { font-size: clamp(2.05rem, 4.7vw, 3rem); }
  .hero-visual, .hero-visual img { min-height: 290px; }
  .section { padding-block: 41px; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .article-row { grid-template-columns: 92px minmax(0, 1fr) auto; }
  .footer-row { align-items: flex-start; }
}

@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 32px), var(--width)); }
  .header-row { grid-template-columns: 1fr auto; gap: 6px 12px; min-height: 0; padding-top: 13px; }
  .header-row .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 22px; }
  .button.nav-button { min-height: 40px; padding-inline: 12px; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 32px 20px; }
  .hero h1 { font-size: clamp(2.25rem, 8.5vw, 3.2rem); max-width: 12em; margin-top: 13px; }
  .hero-copy > p:not(.eyebrow) { margin-top: 13px; }
  .hero .actions { margin-top: 18px; }
  .hero-visual, .hero-visual img { min-height: 0; }
  .hero-visual figcaption { padding: 10px 12px; }
  .section { padding-block: 35px; }
  .section-head { flex-direction: column; align-items: start; gap: 9px; margin-bottom: 16px; }
  .scenario-grid, .solution-block, .contact-grid { grid-template-columns: 1fr; }
  .stages li { padding: 11px 12px 5px; }
  .stages.demo-stages { grid-template-columns: 1fr; }
  .stage-index { margin-bottom: 7px; }
  .article-row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; row-gap: 5px; padding-block: 14px; }
  .article-type { grid-column: 1 / -1; }
  .article-row h3 { font-size: 1.05rem; }
  .article-row p { margin-top: 5px; }
  th, td { padding: 8px; }
  tbody th { min-width: 5.5em; }
  .cta-band, .footer-row { flex-direction: column; align-items: start; }
  .page-head, .article-wrap { padding-top: 24px; }
  .page-body, .article-wrap, .end-section { padding-bottom: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
