:root {
  --bg: #020305;
  --bg-stage: #05070b;
  --panel: rgba(10, 15, 23, .72);
  --panel-strong: rgba(13, 22, 35, .82);
  --text: #e6edf5;
  --text-soft: #aab6c5;
  --text-faint: #67717f;
  --accent: #a9edf8;
  --accent-strong: #78c6dd;
  --border: rgba(210, 230, 250, .14);
  --border-glow: rgba(210, 230, 250, .26);
  --shadow: rgba(0, 0, 0, .56);
  --max: 1180px;
  --header: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: clip;
}
html.is-menu-open { overflow: hidden; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(900px 660px at 50% -180px, rgba(39, 73, 106, .20), transparent 67%),
    var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #051018;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(2, 3, 5, .78);
  border-color: rgba(210, 230, 250, .08);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { display: inline-flex; align-items: center; gap: 5px; filter: drop-shadow(0 0 10px rgba(169, 237, 248, .24)); }
.brand-mark b { font-size: 18px; line-height: 1; letter-spacing: -.04em; }
.brand-mark i {
  width: 1.5px;
  height: 25px;
  border-radius: 99px;
  background: linear-gradient(180deg, transparent, var(--accent) 48%, transparent);
  box-shadow: 0 0 9px rgba(169, 237, 248, .82), 0 0 22px rgba(120, 198, 221, .45);
}
.brand-name { font-size: 13px; font-weight: 680; letter-spacing: .20em; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.desktop-nav a,
.footer-links a { color: var(--text-soft); font-size: 14px; transition: color 180ms ease; }
.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--text); }
.header-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(13, 22, 35, .44);
  color: var(--text);
  font-size: 13px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.header-action:hover { border-color: var(--border-glow); background: rgba(22, 34, 51, .58); transform: translateY(-1px); }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: min(940px, 100svh);
  padding: calc(var(--header) + 80px) 24px 80px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero::before {
  content: "MIMETOR";
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: -2;
  transform: translate(-50%, -46%);
  color: rgba(230, 237, 245, .018);
  font-size: clamp(150px, 23vw, 360px);
  font-weight: 760;
  letter-spacing: -.08em;
  white-space: nowrap;
  pointer-events: none;
}
.hero-ambient {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(860px, 88vw);
  height: 540px;
  transform: translate(-50%, -50%);
  border-radius: 50% 45% 54% 46% / 42% 54% 46% 58%;
  background:
    radial-gradient(circle at 50% 42%, rgba(85, 139, 184, .18), rgba(29, 54, 82, .08) 38%, transparent 72%);
  filter: blur(12px);
  animation: ambient-breathe 10s var(--ease) infinite alternate;
}
.hero-content { width: min(900px, 100%); text-align: center; }
.hero-mark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
  color: #eef4fb;
  filter: drop-shadow(0 0 18px rgba(169, 237, 248, .24));
}
.hero-mark span { font-size: 44px; font-weight: 720; letter-spacing: -.055em; }
.hero-mark i {
  width: 2px;
  height: 54px;
  background: linear-gradient(180deg, transparent, #eef8ff 47%, transparent);
  box-shadow: 0 0 13px #d7f5ff, 0 0 34px rgba(95, 184, 255, .75), 0 0 66px rgba(75, 152, 236, .36);
}
.eyebrow,
.section-label,
.mode-kicker,
.delegation-label {
  margin: 0;
  color: var(--accent);
  font-family: "JetBrains Mono", "Cascadia Code", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 18px auto 28px;
  font-size: clamp(60px, 7.2vw, 104px);
  font-weight: 560;
  line-height: .97;
  letter-spacing: -.065em;
}
.hero h1 em { color: var(--text-soft); font-style: normal; font-weight: 470; }
.hero-copy {
  width: min(710px, 100%);
  margin: 0 auto;
  color: var(--text-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.72;
}
.hero-actions { margin-top: 38px; display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 620;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(180deg, #e9f6ff, #c9dbe8);
  color: #071019;
  box-shadow: 0 10px 34px rgba(80, 139, 182, .22), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.button-primary:hover { box-shadow: 0 14px 42px rgba(80, 139, 182, .31), inset 0 1px 0 rgba(255, 255, 255, .7); }
.button-text { color: var(--text-soft); padding-inline: 12px; }
.button-text:hover { color: var(--text); }
.button-secondary { border: 1px solid var(--border-glow); background: rgba(9, 15, 23, .64); }
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: var(--text-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--border-glow), transparent); }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 150px 0; }
.section-intro { max-width: 880px; }
.section h2 {
  margin: 22px 0 0;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 510;
  line-height: 1.04;
  letter-spacing: -.055em;
}

.modes-surface {
  position: relative;
  margin-top: 70px;
  padding: 22px;
  border: 1px solid rgba(210, 230, 250, .11);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(22, 31, 44, .72), rgba(6, 9, 14, .88)),
    var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(230, 246, 255, .035);
  overflow: hidden;
}
.modes-surface::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 320px;
  right: -130px;
  top: -190px;
  border-radius: 50%;
  background: rgba(86, 153, 198, .13);
  filter: blur(70px);
}
.mode { position: relative; min-height: 240px; padding: 42px 44px; display: grid; grid-template-columns: 54px 1fr; gap: 30px; align-items: start; border-radius: 24px; }
.mode-bridge { background: rgba(4, 7, 12, .42); }
.mode-number { color: var(--text-faint); font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .16em; }
.mode h3 { margin: 16px 0 14px; font-size: clamp(28px, 3.2vw, 42px); font-weight: 540; letter-spacing: -.035em; }
.mode p:not(.mode-kicker) { max-width: 700px; margin: 0; color: var(--text-soft); font-size: 17px; line-height: 1.7; }
.mode-note { margin: 18px 20px 8px; color: var(--text-faint); font-size: 13px; line-height: 1.6; }

.product { padding-top: 190px; }
.product-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 80px; align-items: end; }
.product-heading .section-label { grid-column: 1 / -1; }
.product-heading h2 { margin-top: 0; }
.product-heading > p:last-child { margin: 0 0 4px; color: var(--text-soft); font-size: 17px; line-height: 1.75; }
.capabilities { margin-top: 100px; }
.capability {
  display: grid;
  grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
  padding: 44px 0;
  border-top: 1px solid rgba(210, 230, 250, .09);
}
.capability:last-child { border-bottom: 1px solid rgba(210, 230, 250, .09); }
.capability-meta { display: flex; gap: 26px; color: var(--text-faint); font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .18em; }
.capability-meta span:last-child { color: var(--accent-strong); }
.capability-copy { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(280px, 1fr); gap: 60px; }
.capability h3 { margin: -8px 0 0; font-size: clamp(28px, 3.4vw, 45px); font-weight: 500; letter-spacing: -.04em; }
.capability p { margin: 0; color: var(--text-soft); font-size: 16px; line-height: 1.7; }
.delegation {
  margin-top: 110px;
  padding: 58px 64px;
  display: grid;
  grid-template-columns: .4fr 1fr;
  gap: 50px;
  border-radius: 30px 30px 80px 30px;
  background: linear-gradient(140deg, rgba(17, 27, 40, .74), rgba(7, 10, 16, .72));
  box-shadow: inset 0 0 0 1px rgba(210, 230, 250, .10), 0 28px 80px rgba(0, 0, 0, .28);
}
.delegation h3 { margin: 0 0 20px; font-size: clamp(34px, 4vw, 54px); font-weight: 510; line-height: 1.06; letter-spacing: -.045em; }
.delegation p { max-width: 680px; margin: 0; color: var(--text-soft); font-size: 16px; line-height: 1.75; }

.cloud-brain { width: min(calc(100% - 32px), 1320px); padding-top: 100px; }
.cloud-surface {
  position: relative;
  min-height: 650px;
  padding: 96px clamp(42px, 7vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: 90px;
  align-items: center;
  border-radius: 72px 28px 72px 28px;
  background:
    radial-gradient(700px 460px at 18% 32%, rgba(50, 90, 128, .20), transparent 68%),
    linear-gradient(140deg, rgba(13, 22, 35, .92), rgba(4, 7, 12, .94));
  box-shadow: inset 0 0 0 1px rgba(210, 230, 250, .12), 0 44px 120px rgba(0, 0, 0, .42);
  overflow: hidden;
}
.cloud-glow {
  position: absolute;
  left: -100px;
  bottom: -240px;
  width: 700px;
  height: 520px;
  border-radius: 50%;
  background: rgba(73, 133, 180, .12);
  filter: blur(80px);
  pointer-events: none;
}
.cloud-heading, .cloud-copy { position: relative; z-index: 1; }
.cloud-heading h2 { font-size: clamp(48px, 5.5vw, 76px); }
.cloud-copy > p:first-child { margin: 0; color: var(--text-soft); font-size: 18px; line-height: 1.78; }
.provider-list { margin: 38px 0 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.provider-list span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(169, 237, 248, .16);
  border-radius: 999px;
  background: rgba(169, 237, 248, .045);
  color: #cfdae7;
  font-size: 12px;
}
.cloud-note { margin: 0 0 30px; color: var(--text-faint); font-size: 12px; line-height: 1.6; }

.launch { padding: 190px 0 170px; }
.launch-inner { max-width: 850px; margin: 0 auto; text-align: center; }
.launch h2 { font-size: clamp(44px, 6vw, 76px); }
.launch p:not(.section-label) { max-width: 650px; margin: 28px auto 0; color: var(--text-soft); font-size: 17px; line-height: 1.75; }
.status-pill { margin-top: 34px; gap: 9px; color: var(--text-soft); }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(169, 237, 248, .75); }

.site-footer { border-top: 1px solid rgba(210, 230, 250, .08); }
.footer-inner { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 62px 0 38px; display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 42px; align-items: start; }
.footer-brand { grid-row: span 2; }
.footer-inner > p { margin: 0; max-width: 420px; color: var(--text-faint); font-size: 13px; line-height: 1.65; }
.footer-links { display: flex; gap: 24px; }
.footer-inner small { grid-column: 2 / -1; color: var(--text-faint); font-family: "JetBrains Mono", monospace; font-size: 9px; letter-spacing: .14em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

a:focus-visible,
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@keyframes ambient-breathe {
  from { transform: translate(-50%, -50%) scale(.96); opacity: .72; }
  to { transform: translate(-50%, -50%) scale(1.04); opacity: 1; }
}

@media (max-width: 900px) {
  .desktop-nav, .header-action { display: none; }
  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 21px; height: 1px; background: currentColor; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav {
    position: fixed;
    inset: var(--header) 0 0;
    height: calc(100dvh - var(--header));
    padding: 24px;
    display: grid;
    align-content: start;
    gap: 6px;
    overflow-y: auto;
    background: rgba(2, 3, 5, .96);
    border-bottom: 1px solid rgba(210, 230, 250, .10);
    backdrop-filter: blur(18px);
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { min-height: 48px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; color: var(--text-soft); }
  .mobile-nav a:hover { background: rgba(35, 40, 54, .38); color: var(--text); }
  .mobile-nav-action { margin-top: 10px; justify-content: center; border: 1px solid var(--border); }
  .product-heading, .cloud-surface { grid-template-columns: 1fr; }
  .product-heading { gap: 30px; }
  .cloud-surface { gap: 50px; }
  .capability-copy { grid-template-columns: 1fr; gap: 18px; }
  .delegation { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header: 68px; }
  .header-inner, .section, .footer-inner { width: min(calc(100% - 32px), var(--max)); }
  .brand-name { font-size: 11px; }
  .brand-mark b { font-size: 16px; }
  .brand-mark i { height: 22px; }
  .hero { min-height: 810px; padding: 112px 18px 74px; align-items: center; }
  .hero::before { display: none; }
  .hero-ambient { width: 120vw; height: 420px; opacity: .8; }
  .hero-mark { gap: 11px; margin-bottom: 24px; }
  .hero-mark span { font-size: 34px; }
  .hero-mark i { height: 44px; }
  .hero h1 { margin-top: 16px; font-size: clamp(49px, 14.2vw, 64px); line-height: .98; letter-spacing: -.06em; }
  .hero-copy { font-size: 16px; line-height: 1.65; }
  .hero-actions { margin-top: 30px; flex-direction: column; gap: 8px; }
  .hero-actions .button { width: 100%; }
  .scroll-cue { bottom: 18px; }
  .section { padding: 105px 0; }
  .section h2 { margin-top: 18px; font-size: 40px; }
  .modes-surface { margin-top: 44px; padding: 10px; border-radius: 26px; }
  .mode { min-height: auto; padding: 30px 22px; grid-template-columns: 1fr; gap: 18px; border-radius: 20px; }
  .mode h3 { font-size: 29px; }
  .mode p:not(.mode-kicker) { font-size: 15px; }
  .mode-note { margin: 16px 12px 10px; font-size: 11px; }
  .product { padding-top: 120px; }
  .product-heading { display: block; }
  .product-heading h2 { margin-top: 18px; }
  .product-heading > p:last-child { margin-top: 24px; font-size: 15px; }
  .capabilities { margin-top: 62px; }
  .capability { grid-template-columns: 1fr; gap: 24px; padding: 34px 0; }
  .capability-copy { gap: 16px; }
  .capability h3 { font-size: 31px; }
  .capability p { font-size: 15px; }
  .delegation { margin-top: 74px; padding: 36px 26px; gap: 30px; border-radius: 24px 24px 54px 24px; }
  .delegation h3 { font-size: 35px; }
  .delegation p { font-size: 15px; }
  .cloud-brain { width: calc(100% - 20px); padding-top: 60px; }
  .cloud-surface { min-height: auto; padding: 62px 26px; gap: 40px; border-radius: 42px 20px 42px 20px; }
  .cloud-heading h2 { font-size: 42px; }
  .cloud-copy > p:first-child { font-size: 16px; }
  .button-secondary { width: 100%; }
  .launch { padding: 120px 0 110px; }
  .launch h2 { font-size: 43px; }
  .launch p:not(.section-label) { font-size: 15px; }
  .footer-inner { padding-top: 46px; grid-template-columns: 1fr; }
  .footer-brand { grid-row: auto; }
  .footer-inner small { grid-column: auto; }
}

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

