:root {
  --ink: #0a0a0a;
  --paper: #f9f9f9;
  --muted: #c6c6c6;
  --line: #2a2a2a;
  --accent: #df2c2f;
  --accent-soft: rgba(223, 44, 47, 0.16);
  --surface: rgba(26, 26, 26, 0.68);
  --sans: "Montserrat", Arial, sans-serif;
  --serif: "Bitter", Georgia, serif;
  --pointer-x: 0px;
  --pointer-y: 0px;
  --hero-pointer-x: 0px;
  --hero-pointer-y: 0px;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--ink); }
html:focus-within { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--paper); background: var(--ink); font-family: var(--sans); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.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; }

body::before {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; content: ""; opacity: .38;
  background:
    radial-gradient(ellipse 31% 68% at 18% 12%, rgba(105, 18, 20, .48), transparent 69%),
    radial-gradient(ellipse 32% 68% at 82% 42%, rgba(105, 18, 20, .42), transparent 69%),
    radial-gradient(ellipse 20% 42% at 50% 78%, rgba(82, 12, 16, .28), transparent 72%),
    repeating-radial-gradient(ellipse at 52% 48%, transparent 0 3px, rgba(223, 44, 47, .035) 4px 5px, transparent 6px 11px);
  filter: blur(18px); animation: drift 18s ease-in-out infinite alternate;
}
body::after {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; content: ""; opacity: .08;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.site-shell { position: relative; z-index: 2; min-height: 100vh; overflow: hidden; }
.scroll-progress { position: fixed; top: 0; right: 0; left: 0; z-index: 30; height: 2px; background: rgba(249,249,249,.08); pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--accent); box-shadow: 0 0 14px rgba(223,44,47,.8); transition: width .12s linear; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 24px; padding: 0 clamp(20px, 6vw, 96px); border-bottom: 1px solid rgba(249,249,249,.14); background: rgba(10,10,10,.8); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--paper); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .03em; white-space: nowrap; }
.brand img { width: 28px; height: 29px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.desktop-nav a, .footer-links a { position: relative; padding: 9px 10px; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 600; transition: color .2s ease; }
.desktop-nav a::after { position: absolute; right: 10px; bottom: 2px; left: 10px; height: 1px; content: ""; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.desktop-nav a:hover, .desktop-nav a.is-current, .footer-links a:hover { color: var(--paper); }
.desktop-nav a.is-current::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.language-switcher { display: inline-flex; align-items: center; gap: 5px; color: #707070; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.language-button { padding: 4px 2px; border: 0; color: #707070; background: transparent; cursor: pointer; font: inherit; letter-spacing: inherit; }
.language-button:hover, .language-button.is-active { color: var(--paper); }
.mobile-menu-toggle { display: none; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--paper); background: transparent; cursor: pointer; }
.menu-icon { display: grid; gap: 5px; }
.menu-icon i { display: block; width: 14px; height: 1px; background: currentColor; transition: transform .25s ease; }
.mobile-menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-nav { display: none; }

.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hero { position: relative; display: flex; align-items: center; min-height: min(860px, calc(100vh - 70px)); padding: 130px 0 150px; }
.hero-content { position: relative; z-index: 2; width: min(760px, 100%); }
.eyebrow, .section-kicker { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border: 1px solid rgba(223,44,47,.58); border-radius: 999px; }
.eyebrow-mark { font-size: 14px; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.055em; }
h1 { max-width: 900px; margin: 30px 0 24px; font-size: clamp(58px, 8vw, 108px); line-height: .98; }
h2 { max-width: 760px; margin: 18px 0 0; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; }
.hero-lead { max-width: 690px; margin-bottom: 0; color: var(--paper); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-note { margin: 22px 0 0; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.hero-orbit { position: absolute; border: 1px solid rgba(223,44,47,.11); border-radius: 50%; pointer-events: none; transform: translate3d(calc(var(--hero-pointer-x) * .35), calc(var(--hero-pointer-y) * .35), 0); transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .45s ease, box-shadow .45s ease; animation: orbit-pulse 7s ease-in-out infinite alternate; }
.orbit-one { width: 600px; height: 600px; right: -150px; top: 120px; box-shadow: 0 0 110px rgba(223,44,47,.13), inset 0 0 80px rgba(223,44,47,.06); }
.orbit-two { width: 360px; height: 360px; right: 10px; top: 240px; border-color: rgba(249,249,249,.09); transform: translate3d(calc(var(--hero-pointer-x) * -.5), calc(var(--hero-pointer-y) * -.5), 0); animation-delay: -2s; }
.orbit-three { width: 190px; height: 190px; right: 95px; top: 325px; background: radial-gradient(circle, rgba(223,44,47,.18), transparent 66%); border-color: rgba(223,44,47,.24); transform: translate3d(calc(var(--hero-pointer-x) * .8), calc(var(--hero-pointer-y) * .8), 0); animation-delay: -4s; }

.content-section { padding: 120px 0; border-top: 1px solid rgba(249,249,249,.12); }
.tinted-section { background: linear-gradient(180deg, rgba(26,26,26,.54), rgba(10,10,10,.25)); }
.section-split { display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; gap: clamp(48px, 10vw, 150px); }
.section-intro h2 { max-width: 480px; }
.section-copy { padding-top: 30px; }
.large-copy { max-width: 680px; color: var(--muted); font-size: clamp(17px, 1.8vw, 23px); line-height: 1.8; }
.section-heading { margin-bottom: 58px; }
.section-heading.centered { max-width: 800px; margin-right: auto; margin-left: auto; text-align: center; }
.section-heading.centered h2 { margin-right: auto; margin-left: auto; }
.section-heading.centered > p { max-width: 680px; margin: 28px auto 0; color: var(--muted); line-height: 1.8; }

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; margin: 40px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 12px; padding: 16px 16px 16px 0; border-top: 1px solid var(--line); color: var(--paper); font-size: 12px; line-height: 1.6; }
.feature-list li::before { content: "↗"; color: var(--accent); font-weight: 700; }

.flow-grid { display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.flow-grid li { position: relative; min-height: 174px; padding: 18px 16px 24px; border: 1px solid var(--line); background: rgba(10,10,10,.5); }
.flow-grid li + li { border-left: 0; }
.flow-grid li::after { position: absolute; top: 55px; right: -9px; z-index: 2; content: "→"; color: var(--accent); background: var(--ink); font-size: 16px; }
.flow-grid li:last-child::after { display: none; }
.step-number { display: block; margin-bottom: 32px; color: var(--accent); font-family: var(--serif); font-size: 28px; }
.step-text { display: block; color: var(--paper); font-size: 11px; line-height: 1.55; }

.card-grid { display: grid; gap: 14px; }
.four-columns { grid-template-columns: repeat(4, minmax(0,1fr)); }
.three-columns { grid-template-columns: repeat(3, minmax(0,1fr)); }
.five-columns { grid-template-columns: repeat(5, minmax(0,1fr)); }
.visual-card { min-height: 230px; padding: 26px 24px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s ease, transform .35s cubic-bezier(.2,.8,.2,1), background .35s ease; }
.visual-card:hover { border-color: rgba(223,44,47,.58); transform: translateY(-4px); }
.visual-card:hover .card-index { text-shadow: 0 0 16px rgba(223,44,47,.7); }
.card-index { color: var(--accent); font-family: var(--serif); font-size: 25px; }
.visual-card h3 { margin: 44px 0 14px; color: var(--paper); font-family: var(--serif); font-size: 23px; letter-spacing: -.035em; }
.visual-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.compute-layout { margin-bottom: 62px; }
.compute-cards .visual-card { min-height: 190px; }
.five-columns .visual-card { min-height: 240px; padding: 22px 18px; }
.five-columns .visual-card h3 { font-size: 18px; }

.positioning-section { padding: 170px 0; }
.positioning-inner { max-width: 930px; margin: auto; text-align: center; }
.positioning-inner h2 { margin: 24px auto 28px; font-size: clamp(42px, 6vw, 82px); }
.positioning-inner p { max-width: 710px; margin: auto; color: var(--muted); font-size: 18px; line-height: 1.8; }

.download-section { padding-bottom: 140px; }
.download-panel { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 44px; padding: clamp(32px, 6vw, 70px); border: 1px solid rgba(223,44,47,.5); background: linear-gradient(120deg, rgba(223,44,47,.12), rgba(26,26,26,.68)); }
.download-panel h2 { max-width: 620px; }
.download-panel p { max-width: 640px; margin: 26px 0 0; color: var(--muted); line-height: 1.8; }
.download-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.download-status { color: var(--muted); font-size: 10px; letter-spacing: .05em; }
.download-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.download-meta > div { display: flex; flex-direction: column; gap: 9px; padding: 18px 20px; border: 1px solid var(--line); }
.download-meta span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.download-meta strong, .download-meta a { color: var(--paper); font-size: 12px; font-weight: 500; text-decoration: none; }
.download-meta a:hover { color: var(--accent); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; font-size: 12px; font-weight: 700; transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-accent { color: var(--paper); background: var(--accent); }
.button-accent:hover { background: #f03639; box-shadow: 0 10px 30px rgba(223,44,47,.22); }
.button-outline { border-color: var(--line); color: var(--paper); background: rgba(10,10,10,.4); }
.button-outline:hover { border-color: var(--muted); }
.button-small { min-height: 38px; padding: 0 14px; font-size: 10px; }
.button-wide { min-width: 220px; }

.site-footer { padding: 56px clamp(24px, 6vw, 96px) 28px; border-top: 1px solid rgba(249,249,249,.14); background: rgba(10,10,10,.72); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 42px; }
.footer-main p { max-width: 390px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; text-align: right; }
.footer-links { display: flex; flex-wrap: wrap; gap: 2px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.footer-links a { padding-left: 0; margin-right: 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; color: #707070; font-size: 10px; line-height: 1.6; }

.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
html.js .reveal.is-visible .visual-card, html.js .reveal.is-visible li { animation: rise .7s var(--delay, 0ms) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drift { from { transform: scale(1) translate3d(calc(-1% + var(--pointer-x) * .35), calc(-1% + var(--pointer-y) * .35), 0); } to { transform: scale(1.08) translate3d(calc(1% + var(--pointer-x) * .35), calc(1% + var(--pointer-y) * .35), 0); } }
@keyframes orbit-pulse { from { opacity: .58; } to { opacity: 1; } }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .mobile-nav { position: fixed; top: 70px; right: clamp(20px, 6vw, 96px); z-index: 19; display: grid; width: min(320px, calc(100% - 40px)); gap: 2px; padding: 10px; border: 1px solid var(--line); background: rgba(10,10,10,.96); box-shadow: 0 18px 50px rgba(0,0,0,.36); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 14px 12px; border-bottom: 1px solid rgba(249,249,249,.1); color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .mobile-nav a:last-child { border-bottom: 0; color: var(--paper); }
  .mobile-nav a:hover, .mobile-nav a.is-current { color: var(--accent); }
  .header-actions { margin-left: auto; }
  .four-columns { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .five-columns { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .flow-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .flow-grid li:nth-child(5) { border-left: 1px solid var(--line); }
  .flow-grid li:nth-child(5)::after { display: block; }
  .flow-grid li:nth-child(4)::after { display: none; }
}

@media (max-width: 700px) {
  .section-shell { width: min(100% - 40px, 560px); }
  .site-header { min-height: 64px; padding: 0 20px; }
  .header-actions { gap: 10px; }
  .header-actions .button { display: none; }
  .mobile-nav { top: 64px; right: 20px; left: 20px; width: auto; }
  .hero { min-height: 720px; padding: 100px 0 120px; }
  h1 { font-size: clamp(48px, 15vw, 78px); }
  h2 { font-size: clamp(36px, 11vw, 54px); }
  .hero-orbit { right: -230px; }
  .section-split, .download-panel { grid-template-columns: 1fr; gap: 30px; }
  .content-section { padding: 82px 0; }
  .section-copy { padding-top: 0; }
  .feature-list { grid-template-columns: 1fr; }
  .flow-grid, .four-columns, .three-columns, .five-columns, .download-meta { grid-template-columns: 1fr; }
  .flow-grid li, .flow-grid li + li { min-height: auto; border-left: 1px solid var(--line); }
  .flow-grid li + li { border-top: 0; }
  .flow-grid li::after { top: auto; right: 20px; bottom: -12px; transform: rotate(90deg); }
  .flow-grid li:nth-child(4)::after, .flow-grid li:nth-child(5)::after { display: block; }
  .visual-card, .five-columns .visual-card { min-height: 0; }
  .download-action { align-items: stretch; }
  .button-wide { width: 100%; }
  .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-main p { text-align: left; }
  .footer-bottom { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html.js .reveal, html.js .reveal.is-visible { opacity: 1; transform: none; }
  .hero-orbit { animation: none; transform: none !important; }
  body::before { animation: none; transform: none; }
}
