:root {
  --ink: #181d26;
  --body: #333840;
  --muted: #41454d;
  --line: #dddddd;
  --line-strong: #9297a0;
  --paper: #ffffff;
  --soft: #f8fafc;
  --strong: #e0e2e6;
  --navy: #181d26;
  --navy-raised: #1d1f25;
  --coral: #aa2d00;
  --forest: #0a2e0e;
  --cream: #f5e9d4;
  --peach: #fcab79;
  --mint: #a8d8c4;
  --yellow: #f4d35e;
  --mustard: #d9a441;
  --link: #1b61c9;
  --link-active: #1a3866;
  --success: #006400;
  --section-space: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--body);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; height: 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; }
.inline-icon { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -.18em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.page-shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.nav-shell { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand-link { display: flex; flex: 0 0 auto; align-items: center; }
.brand-link img { display: block; width: 164px; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; color: var(--ink); font-size: 14px; font-weight: 400; }
.nav-cta, .button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.nav-cta { min-height: 40px; padding: 9px 16px; color: white; background: var(--ink); font-size: 14px; }
.button-primary { color: white; background: var(--ink); box-shadow: 0 8px 20px rgba(27,97,201,.10); }
.button-secondary { color: var(--ink); background: white; border-color: var(--line); }
.button-light { color: var(--ink); background: white; }
.nav-cta:active, .button-primary:active { background: #0d1218; }
.button:focus-visible, .nav-cta:focus-visible, a:focus-visible { outline: 2px solid #458fff; outline-offset: 3px; }
.mobile-nav { display: none; position: relative; margin-left: auto; }
.mobile-nav summary { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; list-style: none; color: var(--ink); font-size: 24px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: fixed; inset: 64px 0 0; padding: 24px; display: flex; flex-direction: column; background: white; border-top: 1px solid var(--line); }
.mobile-nav nav a { min-height: 48px; display: flex; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; }

/* Home hero */
.hero-section { position: relative; overflow: hidden; padding: var(--section-space) 0; background: white; }
.hero-glow { display: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); align-items: center; gap: 72px; }
.hero-copy, .hero-visual { min-width: 0; }
.eyebrow { width: fit-content; margin: 0; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.35; letter-spacing: .01em; }
.hero-copy h1 { margin: 24px 0; color: var(--ink); font-size: clamp(40px,4.25vw,56px); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; }
.hero-copy h1 span { display: block; color: var(--ink); }
.hero-lead { max-width: 640px; margin: 0; color: var(--body); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 24px 0 0; list-style: none; color: var(--muted); font-size: 13px; }
.hero-assurances li { display: flex; align-items: center; gap: 5px; }
.hero-visual { position: relative; padding: 16px; background: var(--soft); border-radius: 12px; }
.hero-visual > img { width: 100%; display: block; border: 1px solid var(--line); border-radius: 10px; }
.hero-visual-label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--muted); font-size: 13px; font-weight: 500; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #39bf45; }
.floating-note { position: absolute; z-index: 2; width: 184px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 10px; font-size: 11px; }
.floating-note strong { display: block; color: var(--ink); font-size: 12px; font-weight: 500; }
.floating-note-top { right: -24px; top: 58px; }
.floating-note-bottom { left: -24px; bottom: 48px; }

/* Metrics and common headings */
.trust-strip { background: white; border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid div { min-height: 96px; padding: 24px 32px; display: flex; flex-direction: column; justify-content: center; gap: 4px; border-right: 1px solid var(--line); }
.trust-grid div:first-child { border-left: 1px solid var(--line); }
.trust-grid strong { color: var(--ink); font-size: 24px; font-weight: 400; }
.trust-grid span { color: var(--muted); font-size: 14px; }
.content-section { padding: var(--section-space) 0; }
.section-heading { margin-bottom: 48px; }
.split-heading { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr); align-items: end; gap: 64px; }
.section-kicker { margin: 0 0 12px; color: var(--link); font-size: 14px; font-weight: 500; line-height: 1.35; letter-spacing: .01em; }
.section-heading h2, .platform-copy h2, .product-path-card h2, .security-card h2, .final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px,3.2vw,40px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.section-heading > p, .platform-copy > p, .product-path-card > p, .security-card p { margin: 0; color: var(--body); line-height: 1.75; }
.centered-heading { max-width: 760px; margin-inline: auto; text-align: center; }
.centered-heading > p:last-child { margin: 16px auto 0; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--link); font-weight: 500; }

/* Desktop products are the first brand-voltage moment */
.desktop-products { background: white; }
.desktop-heading { max-width: 780px; }
.desktop-heading h2 { font-size: clamp(36px,4vw,48px); font-weight: 400; line-height: 1.1; }
.desktop-heading > p:last-child { max-width: 650px; font-size: 15px; }
.desktop-product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.desktop-product-card { min-height: 580px; display: flex; flex-direction: column; justify-content: space-between; padding: 48px; overflow: hidden; border-radius: 12px; }
.desktop-product-light { color: white; background: var(--coral); }
.desktop-product-dark { color: white; background: var(--forest); }
.product-card-top { display: flex; align-items: center; justify-content: space-between; }
.product-badge { padding: 7px 12px; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; font-size: 12px; font-weight: 500; }
.product-mark { width: 54px; height: 54px; display: grid; place-items: center; color: var(--ink); background: white; border-radius: 10px; font-size: 22px; font-weight: 500; }
.product-mark-dark { color: var(--forest); }
.product-card-copy { padding-top: 80px; }
.product-overline, .desktop-product-dark .product-overline { margin: 0 0 12px; color: rgba(255,255,255,.78); font-size: 14px; font-weight: 500; }
.product-card-copy h3 { margin: 0; color: white; font-size: clamp(32px,3.15vw,44px); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
.product-card-copy > p:not(.product-overline), .desktop-product-dark .product-card-copy > p:not(.product-overline) { max-width: 510px; margin: 20px 0 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.75; }
.product-points { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 28px; list-style: none; }
.product-points li, .desktop-product-dark .product-points li { padding: 8px 10px; color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 6px; font-size: 12px; font-weight: 500; }
.product-link, .product-link-light { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); width: fit-content; min-height: 48px; padding: 12px 20px; background: white; border-radius: 12px; font-size: 15px; font-weight: 500; }
.product-link span { font-size: 20px; line-height: 1; }

/* Capability cards */
.ability-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.ability-card { min-height: 224px; padding: 32px; background: var(--soft); border-radius: 10px; }
.ability-card:nth-child(2), .ability-card:nth-child(5) { margin-top: 24px; }
.ability-card:nth-child(3) { background: var(--cream); }
.ability-card:nth-child(4) { background: var(--mint); }
.ability-card:nth-child(5) { background: var(--peach); }
.ability-card:nth-child(6) { background: var(--yellow); }
.ability-card h3 { margin: 24px 0 10px; color: var(--ink); font-size: 20px; font-weight: 400; line-height: 1.5; }
.ability-card p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.75; }
.icon-tile { width: 48px; height: 48px; display: grid; place-items: center; color: white; background: var(--ink); border-radius: 10px; font-size: 16px; font-weight: 500; }

/* Compatibility band */
.section-ink { color: white; background: white; }
.platform-layout { padding: 48px; display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 72px; background: var(--navy); border-radius: 12px; }
.section-kicker-light { color: rgba(255,255,255,.7); }
.platform-copy h2 { color: white; }
.platform-copy > p { margin: 20px 0 24px; color: rgba(255,255,255,.75); }
.text-link-light { color: white; }
.platform-table { overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; }
.platform-row { display: grid; grid-template-columns: .75fr .78fr 1.47fr; align-items: center; gap: 16px; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.68); font-size: 13px; }
.platform-row:last-child { border-bottom: 0; }
.platform-row strong { color: white; font-size: 15px; font-weight: 500; }
.platform-status { display: flex; align-items: center; gap: 7px; color: #a8d8c4; }
.platform-status span { width: 7px; height: 7px; border-radius: 50%; background: #39bf45; }

/* Workflow and callouts */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step-card { min-height: 220px; padding: 32px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.step-card > span { color: var(--link); font-size: 14px; font-weight: 500; }
.step-card h3 { margin: 40px 0 10px; color: var(--ink); font-size: 20px; font-weight: 400; }
.step-card p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.75; }
.product-paths { padding-top: 0; }
.product-path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-path-card { min-height: 400px; padding: 48px; background: var(--cream); border-radius: 12px; }
.product-path-card h2 { max-width: 480px; margin-bottom: 16px; font-size: 32px; }
.product-path-card > p:not(.section-kicker) { max-width: 480px; margin-bottom: 32px; }
.product-path-card .icon-tile { margin-bottom: 32px; }
.product-path-primary { color: white; background: var(--coral); }
.product-path-primary h2 { color: white; }
.product-path-primary > p:not(.section-kicker) { color: rgba(255,255,255,.8); }
.icon-tile-light { color: var(--coral); background: white; }
.security-section { padding-top: 0; }
.security-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 32px; background: var(--soft); border-radius: 10px; }
.security-card h2 { margin-bottom: 8px; font-size: 28px; }
.security-icon { width: 64px; height: 64px; display: grid; place-items: center; color: white; background: var(--forest); border-radius: 10px; font-size: 22px; }
.final-cta { padding: 0 0 var(--section-space); background: white; }
.final-cta-inner { min-height: 250px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--strong); border-radius: 12px; }
.final-cta h2 { max-width: 760px; font-size: 32px; }
.final-cta .section-kicker-light { color: var(--muted); }

/* Footer */
.site-footer { padding: 64px 0 24px; color: var(--body); background: white; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 48px; }
.footer-brand img { width: 164px; }
.footer-brand p { max-width: 310px; line-height: 1.75; }
.footer-grid h2 { margin: 4px 0 18px; color: var(--ink); font-size: 14px; font-weight: 500; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.copyright { margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* Inner, plugin, help, and legal pages */
.inner-main { min-height: 60vh; background: white; }
.inner-hero { padding: var(--section-space) 0; color: var(--ink); background: white; border-bottom: 1px solid var(--line); }
.inner-hero .eyebrow { color: var(--link); }
.inner-hero h1 { max-width: 1040px; margin: 20px 0 16px; color: var(--ink); font-size: clamp(36px,4vw,48px); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }
.inner-hero p { max-width: 760px; margin: 0; color: var(--body); font-size: 15px; line-height: 1.75; }
.inner-content { padding: var(--section-space) 0; }
.notice-card { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; padding: 20px 24px; color: var(--ink); background: var(--cream); border-radius: 10px; line-height: 1.7; }
.notice-card svg { flex: 0 0 auto; margin-top: 2px; }
.content-card { padding: 32px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.content-card + .content-card { margin-top: 24px; }
.content-card h2 { margin: 0 0 20px; color: var(--ink); font-size: 24px; font-weight: 400; line-height: 1.35; }
.content-card h3 { margin: 24px 0 10px; color: var(--ink); font-size: 18px; font-weight: 500; }
.content-card p, .content-card li { color: var(--body); line-height: 1.8; }
.content-card ul, .content-card ol { padding-left: 22px; }
.plugin-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.plugin-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.plugin-card:nth-child(2) { background: var(--cream); border-color: transparent; }
.plugin-card:nth-child(3) { background: var(--mint); border-color: transparent; }
.plugin-card .icon-tile { margin-bottom: 20px; }
.plugin-card h2, .plugin-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 18px; font-weight: 500; }
.plugin-card p { margin: 0; color: var(--body); line-height: 1.75; }
.plugin-card .button { margin-top: 20px; min-height: 44px; font-size: 14px; }
.install-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; counter-reset: install; }
.install-step { padding: 24px; background: var(--soft); border-radius: 10px; }
.install-step::before { counter-increment: install; content: counter(install); width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 18px; color: white; background: var(--ink); border-radius: 6px; font-size: 12px; font-weight: 500; }
.install-step h3 { margin: 0 0 8px; }
.install-step p { margin: 0; font-size: 13px; }
.help-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); align-items: start; gap: 32px; }
.help-nav { position: sticky; top: 88px; padding: 16px; background: white; border-right: 1px solid var(--line); }
.help-nav strong { display: block; margin-bottom: 8px; padding: 0 8px; color: var(--ink); font-size: 14px; font-weight: 500; }
.help-nav a { min-height: 40px; display: flex; align-items: center; padding: 8px; color: var(--body); font-size: 14px; }
.faq-group { scroll-margin-top: 88px; padding: 32px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.faq-group + .faq-group { margin-top: 24px; }
.faq-group h2 { margin: 0 0 20px; color: var(--ink); font-size: 24px; font-weight: 400; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 0; }
.faq-item summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; cursor: pointer; list-style: none; color: var(--ink); font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--link); font-size: 20px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 0 20px; color: var(--body); line-height: 1.8; }
.faq-answer p { margin: 0 0 8px; }
.contact-card { padding: 32px; color: white; background: var(--forest); border-radius: 12px; }
.contact-card h2 { margin: 0 0 10px; color: white; font-size: 24px; font-weight: 400; }
.contact-card p { margin: 0 0 20px; color: rgba(255,255,255,.8); }
.legal-wrap { max-width: 960px; }
.legal-paper { padding: 48px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.legal-meta { margin: -4px 0 32px; color: var(--muted); font-size: 13px; }
.legal-section { scroll-margin-top: 88px; }
.legal-section + .legal-section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 14px; color: var(--ink); font-size: 21px; font-weight: 400; }
.legal-section h3 { margin: 20px 0 8px; color: var(--ink); font-size: 16px; font-weight: 500; }
.legal-section p, .legal-section li { color: var(--body); font-size: 14px; line-height: 1.9; }
.legal-section ul, .legal-section ol { padding-left: 22px; }
.legal-section a { color: var(--link); text-decoration: underline; }

@media (max-width: 1080px) {
  .desktop-nav { gap: 16px; }
  .hero-grid { gap: 44px; }
  .platform-layout { gap: 40px; }
  .footer-grid { gap: 28px; }
}

@media (max-width: 900px) {
  :root { --section-space: 72px; }
  .page-shell { width: min(100% - 48px, 760px); }
  .desktop-nav, .nav-cta { display: none; }
  .mobile-nav { display: block; }
  .hero-grid, .split-heading, .platform-layout, .product-path-grid, .help-layout { grid-template-columns: minmax(0,1fr); }
  .hero-visual { margin-top: 8px; }
  .ability-grid { grid-template-columns: 1fr 1fr; }
  .ability-card:nth-child(2), .ability-card:nth-child(5) { margin-top: 0; }
  .desktop-product-grid { grid-template-columns: 1fr; }
  .desktop-product-card { min-height: 520px; }
  .platform-layout { padding: 40px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .security-card { grid-template-columns: auto 1fr; }
  .security-card .text-link { grid-column: 2; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .install-steps { grid-template-columns: 1fr 1fr; }
  .help-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .help-nav strong { width: 100%; }
  .help-nav a { min-height: 40px; }
}

@media (max-width: 640px) {
  :root { --section-space: 64px; }
  .page-shell { width: min(100% - 32px, 560px); }
  .brand-link img { width: 150px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-lead { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .floating-note { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div { min-height: 88px; padding: 18px 16px; }
  .trust-grid div:nth-child(odd) { border-left: 1px solid var(--line); }
  .trust-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ability-grid, .plugin-grid, .install-steps { grid-template-columns: 1fr; }
  .desktop-product-card { min-height: 0; padding: 32px 24px; }
  .product-card-copy { padding-top: 64px; }
  .product-card-copy h3 { font-size: 34px; }
  .split-heading { gap: 20px; }
  .platform-layout { width: calc(100% - 24px); padding: 32px 20px; }
  .platform-row { grid-template-columns: 1fr 1fr; padding: 16px; }
  .platform-row > span:last-child { grid-column: 1 / -1; }
  .product-path-card { min-height: 0; padding: 32px 24px; }
  .security-card { grid-template-columns: 1fr; padding: 24px; }
  .security-card .text-link { grid-column: 1; }
  .final-cta-inner { width: calc(100% - 32px); padding: 32px 24px; }
  .final-cta h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .copyright { flex-direction: column; gap: 8px; }
  .inner-hero h1 { font-size: 36px; }
  .content-card, .faq-group, .legal-paper { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
