:root {
  --ink: #17211e;
  --muted: #5f6c68;
  --green: #123b33;
  --green-2: #1e5b4d;
  --blue: #dce9f3;
  --coral: #d86445;
  --paper: #f7f8f6;
  --white: #ffffff;
  --line: #d8dfdc;
  --dark-line: rgba(255, 255, 255, 0.18);
  --sans: "Avenir Next", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --serif: "Iowan Old Style", "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { text-wrap: pretty; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 112px; }
section[id] { scroll-margin-top: 78px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 30; height: 72px; border-bottom: 1px solid rgba(255,255,255,.18); color: white; background: rgba(12, 25, 22, .82); backdrop-filter: blur(16px); }
.header-inner { display: flex; width: min(1280px, calc(100% - 40px)); height: 100%; margin: auto; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 210px; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; font: 700 23px/1 var(--serif); }
.brand-copy { display: grid; }
.brand strong { font: 700 18px/1.1 var(--serif); letter-spacing: 0; }
.brand small { margin-top: 3px; color: rgba(255,255,255,.68); font-size: 10px; letter-spacing: 0; }
.site-header nav { display: flex; align-items: center; gap: 3px; }
.site-header nav a { padding: 9px 10px; color: rgba(255,255,255,.8); font-size: 13px; font-weight: 650; }
.site-header nav a:hover { color: white; }
.site-header nav .account-link { margin-left: 8px; border-left: 1px solid rgba(255,255,255,.2); }
.site-header nav .nav-cta { margin-left: 4px; border: 1px solid rgba(255,255,255,.4); border-radius: 5px; color: white; }

.hero { position: relative; display: grid; min-height: 790px; height: min(90vh, 900px); overflow: hidden; color: white; background: #102b25; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 59% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,23,19,.98) 0%, rgba(8,23,19,.91) 34%, rgba(8,23,19,.48) 58%, rgba(8,23,19,.1) 100%), linear-gradient(0deg, rgba(5,16,13,.6), transparent 42%); }
.hero-inner { position: relative; display: flex; align-items: center; padding-top: 72px; }
.hero-copy { width: min(610px, 58%); }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.hero h1 { margin: 0; font: 700 72px/1 var(--serif); letter-spacing: 0; }
.hero-statement { max-width: 600px; margin: 24px 0 0; font: 700 34px/1.35 var(--serif); }
.hero-lede { max-width: 600px; margin: 25px 0 0; color: rgba(255,255,255,.8); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; padding: 0 21px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 750; cursor: pointer; transition: transform .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--coral); }
.button.light { color: var(--green); background: white; }
.button.outline { border-color: var(--green); color: var(--green); background: transparent; }
.trust-line { margin: 30px 0 0; color: rgba(255,255,255,.58); font-size: 12px; }

.audience-band { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: white; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.audience-grid a { display: grid; grid-template-columns: 36px 1fr; padding: 30px 28px; border-right: 1px solid var(--line); }
.audience-grid a:first-child { border-left: 1px solid var(--line); }
.audience-grid span { grid-row: 1 / 3; color: var(--coral); font: 700 13px/1.5 var(--sans); }
.audience-grid strong { font: 700 17px/1.4 var(--serif); }
.audience-grid small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.audience-grid a:hover { background: var(--paper); }

.section-intro { display: grid; grid-template-columns: .72fr 1.28fr; gap: 42px 72px; margin-bottom: 58px; }
.section-intro .section-kicker { grid-column: 1 / -1; margin-bottom: -20px; }
.section-intro h2, .product-heading h2, .method-copy h2, .standards-copy h2, .contact-layout h2, .install-copy h2 { margin: 0; font: 700 42px/1.25 var(--serif); letter-spacing: 0; }
.section-intro > p:last-child, .product-heading > p, .method-copy > p, .standards-copy > p, .contact-layout > div > p:last-child, .install-copy > p { margin: 5px 0 0; color: var(--muted); font-size: 16px; }
.process-list { border-top: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: 100px 1fr; padding: 30px 0; border-bottom: 1px solid var(--line); }
.process-item > span { color: var(--coral); font-weight: 800; }
.process-item > div { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; }
.process-item h3 { margin: 0; font: 700 23px/1.35 var(--serif); }
.process-item p { margin: 0; color: var(--muted); }

.method-section { color: white; background: var(--green); }
.method-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 80px; align-items: start; }
.light-kicker { color: #9ec7ba; }
.method-copy > p { color: rgba(255,255,255,.68); }
.text-link { display: inline-flex; gap: 12px; margin-top: 28px; border-bottom: 1px solid rgba(255,255,255,.4); font-weight: 700; }
.method-roles { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--dark-line); }
.method-roles article { min-height: 330px; padding: 30px 25px; border-right: 1px solid var(--dark-line); }
.method-roles article:last-child { border-right: 0; }
.method-roles p { margin: 0 0 40px; color: #9ec7ba; font-size: 12px; font-weight: 800; }
.method-roles h3 { min-height: 68px; margin: 0; font: 700 22px/1.4 var(--serif); }
.method-roles ul { margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--dark-line); color: rgba(255,255,255,.68); font-size: 13px; list-style: none; }
.method-roles li { margin: 9px 0; }

.example-section { background: white; }
.example-timeline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--green); }
.example-timeline div { min-height: 235px; padding: 24px 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.example-timeline div:first-child { border-left: 1px solid var(--line); }
.example-timeline span { color: var(--coral); font-size: 12px; font-weight: 800; }
.example-timeline strong { display: block; margin-top: 32px; font: 700 19px/1.4 var(--serif); }
.example-timeline p { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

.product-section { background: var(--paper); }
.product-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; margin-bottom: 50px; }
.product-heading .section-kicker { margin-bottom: 14px; }
.product-scene { margin: 0; border: 1px solid #bfc9c5; background: white; box-shadow: 0 22px 55px rgba(26,50,42,.12); }
.product-scene img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.product-scene figcaption { display: flex; justify-content: space-between; gap: 30px; padding: 18px 22px; border-top: 1px solid var(--line); }
.product-scene figcaption span { color: var(--muted); font-size: 13px; }
.access-options { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; border-top: 1px solid var(--line); }
.access-options article { padding: 38px 42px 0 0; }
.access-options article + article { padding-left: 42px; border-left: 1px solid var(--line); }
.access-options article > span { color: var(--coral); font-size: 12px; font-weight: 800; }
.access-options h3 { margin: 8px 0 10px; font: 700 25px/1.3 var(--serif); }
.access-options p { min-height: 54px; margin: 0 0 23px; color: var(--muted); }

.install-section { color: white; background: #1a272f; }
.install-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 85px; align-items: center; }
.install-copy > p { color: rgba(255,255,255,.65); }
.os-tabs { display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 28px; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; }
.os-tab { min-width: 110px; padding: 10px 18px; border: 0; color: rgba(255,255,255,.65); background: transparent; cursor: pointer; }
.os-tab.active { color: #17211e; background: white; }
.node-link { display: block; width: fit-content; margin-top: 18px; color: #adc6d9; font-size: 13px; text-decoration: underline; }
.terminal { overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; background: #0d1418; }
.terminal-head { display: flex; min-height: 45px; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid rgba(255,255,255,.12); color: #a9b3b7; font-size: 12px; }
.terminal-head button { border: 0; color: #dce9f3; background: none; cursor: pointer; }
.terminal pre { min-height: 172px; margin: 0; padding: 24px; overflow: auto; color: #c4e2d8; font: 14px/1.75 "SFMono-Regular", Consolas, monospace; }
.terminal > p { margin: 0; padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.1); color: #849197; font-size: 12px; }

.standards-section { background: var(--blue); }
.standards-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.standards-list { border-top: 1px solid rgba(23,33,30,.25); }
.standards-list div { display: grid; grid-template-columns: 45px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(23,33,30,.25); }
.standards-list strong { color: var(--coral); font-size: 12px; }
.standards-list span { color: #4e5e61; }
.standards-list b { display: block; margin-bottom: 3px; color: var(--ink); font-family: var(--serif); font-size: 18px; }

.faq-section { background: white; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 50px 24px 0; font: 700 18px/1.5 var(--serif); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 19px; right: 10px; color: var(--green); font: 400 27px/1 var(--sans); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 850px; margin: -6px 0 24px; color: var(--muted); }

.contact-section { padding-block: 96px; color: white; background: var(--green); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.contact-layout > div > p:last-child { color: rgba(255,255,255,.68); }
.contact-actions { border-top: 1px solid var(--dark-line); }
.contact-row { display: grid; grid-template-columns: 70px 1fr auto; width: 100%; padding: 20px 0; align-items: center; border: 0; border-bottom: 1px solid var(--dark-line); color: white; background: none; text-align: left; cursor: pointer; }
.contact-row span, .contact-row small { color: rgba(255,255,255,.58); font-size: 12px; }
.contact-row strong { font-size: 15px; }
.contact-actions > .button { margin-top: 26px; }

footer { padding-block: 38px; color: #c7cecb; background: #101715; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.footer-inner > div { display: grid; }
.footer-inner > div strong { color: white; font: 700 21px/1 var(--serif); }
.footer-inner > div span { margin-top: 9px; font-size: 12px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; }
.footer-inner p { grid-column: 1 / -1; margin: 10px 0 0; color: #737d79; font-size: 11px; }

#copy-toast { position: fixed; right: 22px; bottom: 22px; z-index: 50; padding: 10px 15px; border-radius: 5px; color: white; background: #111c18; font-size: 13px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: .18s ease; }
#copy-toast.visible { opacity: 1; transform: translateY(0); }
.reveal { animation: rise .65s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { animation: none; } .button { transition: none; } }

@media (max-width: 1050px) {
  .site-header nav a:not(.account-link):not(.nav-cta) { display: none; }
  .hero-copy { width: min(680px, 75%); }
  .hero-shade { background: linear-gradient(90deg, rgba(8,23,19,.97), rgba(8,23,19,.7) 65%, rgba(8,23,19,.35)); }
  .method-layout, .standards-layout { grid-template-columns: 1fr; gap: 55px; }
  .product-heading { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 760px) {
  .section-shell { width: min(100% - 32px, 620px); }
  .section { padding-block: 76px; }
  .site-header { height: 64px; }
  .header-inner { width: calc(100% - 24px); }
  .brand { min-width: 0; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-copy small { display: none; }
  .site-header nav .account-link { display: none; }
  .site-header nav .nav-cta { margin: 0; padding: 7px 10px; font-size: 12px; }
  .hero { min-height: 730px; height: 88vh; }
  .hero-image { object-position: 68% center; opacity: .56; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,20,17,.98), rgba(7,20,17,.73)), linear-gradient(0deg, rgba(7,20,17,.92), transparent 55%); }
  .hero-inner { padding-top: 64px; align-items: center; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 54px; }
  .hero-statement { font-size: 27px; }
  .hero-lede { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .trust-line { line-height: 2; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid a, .audience-grid a:first-child { padding: 20px 8px; border: 0; border-bottom: 1px solid var(--line); }
  .section-intro, .product-heading, .contact-layout, .install-layout { grid-template-columns: 1fr; gap: 28px; }
  .section-intro .section-kicker { margin-bottom: -8px; }
  .section-intro h2, .product-heading h2, .method-copy h2, .standards-copy h2, .contact-layout h2, .install-copy h2 { font-size: 32px; }
  .process-item { grid-template-columns: 45px 1fr; }
  .process-item > div { grid-template-columns: 1fr; gap: 10px; }
  .method-roles { grid-template-columns: 1fr; }
  .method-roles article { min-height: 0; border: 0; border-bottom: 1px solid var(--dark-line); }
  .method-roles article:last-child { border-bottom: 0; }
  .method-roles p { margin-bottom: 20px; }
  .method-roles h3 { min-height: 0; }
  .example-timeline { grid-template-columns: 1fr 1fr; }
  .example-timeline div { min-height: 210px; }
  .example-timeline div:nth-child(3) { border-left: 1px solid var(--line); }
  .product-scene figcaption { display: grid; gap: 4px; }
  .access-options { grid-template-columns: 1fr; }
  .access-options article, .access-options article + article { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .access-options p { min-height: 0; }
  .install-layout { gap: 42px; }
  .contact-layout { gap: 50px; }
  .contact-row { grid-template-columns: 55px 1fr; }
  .contact-row small { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner p { grid-column: auto; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 48px; }
  .hero-statement { font-size: 24px; }
  .example-timeline { grid-template-columns: 1fr; }
  .example-timeline div, .example-timeline div:nth-child(3) { min-height: 0; border-left: 1px solid var(--line); }
  .example-timeline strong { margin-top: 18px; }
  .terminal pre { padding: 18px 15px; font-size: 11px; }
}
