:root {
  color-scheme: dark;
  --bg: #07101d;
  --surface: #0d1928;
  --surface-2: #111f31;
  --line: #223249;
  --text: #f4f8ff;
  --muted: #9aabc2;
  --cyan: #5eead4;
  --cyan-dark: #153e3d;
  --blue: #7aa8ff;
  --amber: #fbbf24;
  --radius: 18px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; }
button, input { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 40px)); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-150%); border-radius: 8px; background: var(--cyan); color: #051315; padding: 10px 14px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(34, 50, 73, 0.8); background: rgba(7, 16, 29, 0.88); backdrop-filter: blur(18px); }
.nav-shell { min-height: 72px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 18px; font-weight: 800; text-decoration: none; }
.brand-mark { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--cyan); color: #061315; box-shadow: 0 0 40px rgba(94, 234, 212, 0.2); }
.primary-nav { display: flex; align-items: center; gap: 28px; margin-right: auto; }
.primary-nav a { color: #b8c5d7; font-size: 14px; font-weight: 600; text-decoration: none; }
.primary-nav a:hover { color: white; }
.download-nav { position: relative; flex: 0 0 auto; }
.download-nav summary { cursor: pointer; color: #b8c5d7; font-size: 14px; font-weight: 700; list-style: none; user-select: none; }
.download-nav summary::-webkit-details-marker { display: none; }
.download-nav summary::after { content: "⌄"; display: inline-block; margin-left: 7px; color: var(--cyan); transition: transform 160ms ease; }
.download-nav[open] summary { color: white; }
.download-nav[open] summary::after { transform: rotate(180deg); }
.download-nav-panel { position: absolute; z-index: 30; top: calc(100% + 18px); right: 0; width: 250px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #0b1726; padding: 8px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42); }
.download-nav-panel::before { content: ""; position: absolute; top: -19px; right: 0; left: 0; height: 19px; }
.download-nav-panel a { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 9px; padding: 10px 11px; color: #dce6f4; font-size: 13px; font-weight: 750; text-decoration: none; }
.download-nav-panel a:hover { background: var(--surface-2); color: white; }
.download-nav-panel small { color: #71849e; font-size: 11px; font-weight: 600; }
.download-nav-panel .download-nav-all { justify-content: center; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; margin-top: 6px; padding-top: 13px; color: var(--cyan); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid var(--cyan); border-radius: 11px; background: var(--cyan); color: #041315; padding: 0 20px; font-weight: 800; text-decoration: none; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-1px); background: #92f7e8; border-color: #92f7e8; }
.button-small { min-height: 40px; padding-inline: 15px; font-size: 14px; }
.button-secondary { border-color: var(--line); background: transparent; color: var(--text); }
.button-secondary:hover { background: var(--surface-2); border-color: #41536c; }
.dev-banner { border-bottom: 1px solid #6b5214; background: #2b240f; color: #f6d77c; padding: 8px 20px; text-align: center; font-size: 12px; font-weight: 700; }

.hero { position: relative; overflow: hidden; padding: 104px 0 94px; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; top: -380px; left: 5%; border-radius: 50%; background: rgba(21, 104, 113, 0.32); filter: blur(80px); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 500px; height: 500px; right: -180px; bottom: -300px; border-radius: 50%; background: rgba(47, 88, 165, 0.25); filter: blur(80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap: 82px; align-items: center; }
.eyebrow { margin: 0 0 17px; color: var(--cyan); font-size: 13px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.hero h1, .page-hero h1 { margin: 0; font-size: clamp(42px, 6vw, 76px); line-height: 1.06; letter-spacing: -0.055em; }
.hero h1 span { color: #aabbd2; }
.hero-copy { max-width: 690px; margin: 26px 0 0; color: #bdc9da; font-size: clamp(17px, 2vw, 20px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 26px 0 0; padding: 0; color: var(--muted); font-size: 13px; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--cyan); font-weight: 900; }
.status-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(17, 31, 49, 0.96), rgba(8, 19, 32, 0.96)); padding: 30px; box-shadow: var(--shadow); }
.status-card::after { content: ""; position: absolute; width: 180px; height: 180px; top: -100px; right: -80px; border-radius: 50%; background: rgba(94, 234, 212, 0.12); filter: blur(25px); }
.status-card-top { display: flex; align-items: center; gap: 9px; color: #b8c5d7; font-size: 12px; font-weight: 700; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(94, 234, 212, 0.1); }
.status-label { margin: 32px 0 4px; color: var(--muted); font-size: 14px; }
.status-card strong { display: block; font-size: 58px; line-height: 1.1; letter-spacing: -0.05em; }
.status-unit { color: var(--cyan); font-weight: 700; }
.status-card dl { margin: 28px 0 0; }
.status-card dl div { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 14px 0; font-size: 14px; }
.status-card dt { color: var(--muted); }
.status-card dd { margin: 0; color: #e2eaf5; text-align: right; font-weight: 650; }
.status-note { margin: 14px 0 0; color: #778ba6; font-size: 12px; line-height: 1.65; }

.section { padding: 88px 0; }
.section-muted { border-block: 1px solid rgba(34, 50, 73, 0.7); background: #091422; }
.section-heading { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.section-heading.left { margin: 80px 0 30px; text-align: left; }
.section-heading h2, .split-section h2, .proof-grid h2, .cta-card h2 { margin: 0; font-size: clamp(30px, 4vw, 45px); line-height: 1.18; letter-spacing: -0.04em; }
.section-heading > p:last-child, .section-copy { color: var(--muted); font-size: 17px; }
.card-grid { display: grid; gap: 18px; }
.three-columns { grid-template-columns: repeat(3, 1fr); }
.two-columns { grid-template-columns: repeat(2, 1fr); }
.feature-card { min-height: 230px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface-2), var(--surface)); padding: 27px; }
.feature-card.pending { min-height: 180px; }
.card-index { display: inline-block; color: var(--cyan); font-size: 13px; font-weight: 850; letter-spacing: 0.1em; }
.feature-card h3 { margin: 42px 0 8px; font-size: 21px; }
.feature-card.pending h3 { margin-top: 25px; }
.feature-card p { margin: 0; color: var(--muted); }
.tag { display: inline-flex; border: 1px solid #67541e; border-radius: 999px; background: #2a240f; color: #f5d26f; padding: 4px 9px; font-size: 11px; font-weight: 800; }
.split-section, .proof-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 90px; align-items: start; }
.text-link { display: inline-flex; gap: 7px; align-items: center; margin-top: 14px; color: var(--cyan); font-weight: 750; text-decoration: none; }
.text-link:hover { color: #a3f7eb; }
.step-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.step-list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; border-bottom: 1px solid var(--line); padding: 24px 0; }
.step-list li:first-child { padding-top: 0; }
.step-list li > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: var(--cyan-dark); color: var(--cyan); font-weight: 850; }
.step-list h3, .step-list h2 { margin: 0 0 5px; font-size: 18px; }
.step-list p { margin: 0; color: var(--muted); }
.large-steps { margin-top: 46px; }
.large-steps li { grid-template-columns: 52px 1fr; padding: 30px 0; }
.large-steps li > span { width: 46px; height: 46px; }
.large-steps h2 { font-size: 22px; }
.prose { color: #bdc9da; font-size: 17px; }
.prose p:first-child { margin-top: 0; }
.cta-section { padding: 70px 0; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 38px; border: 1px solid #31515b; border-radius: 24px; background: radial-gradient(circle at 10% 20%, rgba(49, 142, 145, 0.22), transparent 36%), var(--surface); padding: 45px 50px; box-shadow: var(--shadow); }
.cta-card p:last-child { margin-bottom: 0; color: var(--muted); }
.cta-card .button { flex: 0 0 auto; }

.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding: 72px 0 76px; background: radial-gradient(circle at 70% -30%, rgba(61, 116, 183, 0.22), transparent 42%), #091422; }
.page-hero h1 { font-size: clamp(40px, 6vw, 66px); }
.page-hero .narrow > p:last-child { max-width: 760px; margin: 22px 0 0; color: #bdc9da; font-size: 19px; }
.breadcrumbs { display: flex; gap: 9px; align-items: center; margin-bottom: 38px; color: #71849e; font-size: 13px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: white; }
.callout { border: 1px solid #2b5b60; border-left: 4px solid var(--cyan); border-radius: 14px; background: #0c252d; padding: 22px 24px; }
.callout.warning { border-color: #5e4b17; border-left-color: var(--amber); background: #25200e; }
.callout strong { color: white; font-size: 18px; }
.callout p { margin: 6px 0 0; color: #b9cbd4; }
.platform-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.platform-nav a { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: #b8c5d7; padding: 8px 14px; font-size: 13px; font-weight: 750; text-decoration: none; }
.platform-nav a:hover, .platform-nav a[aria-current="page"] { border-color: #3a6e73; background: var(--cyan-dark); color: var(--cyan); }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.download-grid { margin-top: 34px; }
.platform-card { display: flex; min-height: 270px; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface-2), var(--surface)); padding: 27px; text-decoration: none; }
.platform-card:hover { border-color: #3b5a73; transform: translateY(-2px); }
.platform-card.is-unavailable { opacity: 0.72; }
.platform-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: var(--cyan-dark); color: var(--cyan); font-size: 13px; font-weight: 900; letter-spacing: -0.03em; }
.platform-card h2 { margin: 26px 0 5px; font-size: 23px; }
.platform-client { margin: 0; color: var(--cyan); font-size: 13px; font-weight: 750; }
.platform-card > p:last-child { margin: 13px 0 0; color: var(--muted); font-size: 14px; }
.download-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; margin: 34px 0; background: var(--line); }
.download-meta div { background: var(--surface); padding: 18px 20px; }
.download-meta dt { color: #71849e; font-size: 12px; }
.download-meta dd { margin: 5px 0 0; color: white; font-size: 14px; font-weight: 700; }
.external-note { color: #71849e; font-size: 12px; }
.article-grid { display: grid; gap: 0; margin-top: 62px; }
.article-grid article { border-bottom: 1px solid var(--line); padding: 0 0 42px; margin-bottom: 42px; }
.article-grid h2 { margin: 8px 0 12px; font-size: 27px; letter-spacing: -0.025em; }
.article-grid p { color: var(--muted); font-size: 16px; }
.check-list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; color: #b8c5d7; list-style: none; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 900; }
.flow-diagram { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 5px; }
.flow-diagram div { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 23px; text-align: center; }
.flow-diagram span { display: block; color: var(--muted); font-size: 12px; }
.flow-diagram strong { display: block; margin-top: 6px; font-size: 15px; }
.flow-diagram i { color: var(--cyan); font-style: normal; font-size: 24px; }
.flow-note { margin: 22px 0 0; color: var(--muted); text-align: center; }
.faq-list { display: grid; gap: 13px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq-list summary { cursor: pointer; padding: 20px 24px; font-size: 17px; font-weight: 750; }
.faq-list details > div { border-top: 1px solid var(--line); padding: 4px 24px 20px; color: var(--muted); }
.faq-list details > div p { margin-bottom: 0; }

.site-footer { border-top: 1px solid var(--line); background: #050c16; padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 0.8fr 0.8fr 1.2fr; gap: 48px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid h2 { margin: 0 0 5px; color: #d9e3f1; font-size: 13px; text-transform: uppercase; letter-spacing: 0.09em; }
.footer-grid p, .footer-grid a { margin: 0; color: #7f91a8; font-size: 13px; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid #172337; margin-top: 42px; padding-top: 20px; color: #62758f; font-size: 12px; }

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .nav-shell { justify-content: space-between; }
  .hero { padding-top: 72px; }
  .hero-grid, .split-section, .proof-grid { grid-template-columns: 1fr; gap: 50px; }
  .three-columns { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { min-height: auto; }
  .feature-card h3 { margin-top: 24px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container, .narrow { width: min(100% - 28px, 1160px); }
  .site-header .button-small { display: none; }
  .download-nav summary { font-size: 13px; }
  .download-nav-panel { position: fixed; top: 63px; right: 14px; left: 14px; width: auto; }
  .hero, .section { padding-block: 64px; }
  .hero h1, .page-hero h1 { font-size: 41px; }
  .hero-grid { gap: 42px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; }
  .status-card { padding: 24px; }
  .status-card strong { font-size: 48px; }
  .two-columns { grid-template-columns: 1fr; }
  .platform-grid, .download-meta { grid-template-columns: 1fr; }
  .cta-card { align-items: stretch; flex-direction: column; padding: 30px 24px; }
  .flow-diagram { grid-template-columns: 1fr; }
  .flow-diagram i { transform: rotate(90deg); text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
}

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