:root {
  color-scheme: dark;
  --bg: #071116;
  --bg-alt: #0d1821;
  --surface: rgba(13, 24, 33, 0.8);
  --surface-strong: rgba(17, 31, 42, 0.96);
  --surface-soft: rgba(17, 31, 42, 0.58);
  --border: rgba(119, 159, 191, 0.2);
  --border-strong: rgba(106, 208, 255, 0.3);
  --text: #d8e2eb;
  --text-strong: #f6f9fc;
  --muted: #8da3b8;
  --accent: #69d5ff;
  --accent-alt: #7cf1cb;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #eff6fa;
  --bg-alt: #e4eef4;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.97);
  --surface-soft: rgba(240, 247, 251, 0.96);
  --border: rgba(24, 60, 84, 0.12);
  --border-strong: rgba(0, 128, 189, 0.22);
  --text: #35506a;
  --text-strong: #091521;
  --muted: #5e7890;
  --accent: #007ab2;
  --accent-alt: #009f84;
  --shadow: 0 18px 42px rgba(39, 74, 104, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(105, 213, 255, 0.08), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(105, 213, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 213, 255, 0.025) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 88%);
}

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

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 60;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  background: #ffffff;
  color: #08131f;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  background: linear-gradient(180deg, rgba(239, 246, 250, 0.82), rgba(228, 238, 244, 0.84));
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

html[data-theme="dark"] .splash-overlay {
  background: linear-gradient(180deg, rgba(7, 17, 22, 0.84), rgba(13, 24, 33, 0.86));
}

html.is-splash-active .splash-overlay {
  display: grid;
}

html.is-splash-complete .splash-overlay {
  opacity: 0;
  visibility: hidden;
}

.splash-stage {
  width: min(44vw, 340px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.splash-logo {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transition: transform 1.18s cubic-bezier(0.12, 0.82, 0.22, 1), opacity 0.3s ease;
}

.splash-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}

.splash-layer-merger {
  z-index: 1;
  transform: translate(18%, 18%) scale(0.88);
  animation: splashSlideIn 1.02s cubic-bezier(0.14, 0.82, 0.2, 1) 0.32s forwards;
}

.splash-layer-tau {
  z-index: 2;
  animation: splashAppear 0.42s cubic-bezier(0.2, 0.72, 0.2, 1) 0.12s forwards;
}

.splash-layer-integrate {
  z-index: 3;
  animation: splashAppear 0.52s cubic-bezier(0.2, 0.72, 0.2, 1) 1.56s forwards;
}

html.is-splash-docking .splash-logo {
  transform: translate(var(--dock-x), var(--dock-y)) scale(var(--dock-scale));
}

html.is-splash-docking .splash-layer {
  animation: none;
  opacity: 1;
}

html.is-splash-docking .splash-layer-merger,
html.is-splash-complete .splash-layer-merger {
  transform: translate(0, 0) scale(1);
}

html.is-splash-docking .splash-layer-tau,
html.is-splash-complete .splash-layer-tau,
html.is-splash-docking .splash-layer-integrate,
html.is-splash-complete .splash-layer-integrate {
  transform: none;
}

.brand-mark {
  transition: opacity 0.28s ease;
}

.brand {
  cursor: pointer;
}

html.is-splash-active .brand-mark,
html.is-splash-docking .brand-mark {
  opacity: 0;
}

html.is-splash-complete .brand-mark {
  opacity: 1;
}

.site-header,
main,
.site-footer {
  transition: opacity 0.75s ease, filter 0.75s ease;
}

html.is-splash-active .site-header,
html.is-splash-active main,
html.is-splash-active .site-footer {
  opacity: 0.42;
  filter: saturate(0.92);
}

html.is-splash-complete .site-header,
html.is-splash-complete main,
html.is-splash-complete .site-footer {
  opacity: 1;
  filter: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 22, 0.72);
  border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .site-header {
  background: rgba(239, 246, 250, 0.82);
}

.nav-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(220, 234, 243, 0.92));
  box-shadow: var(--shadow);
}

.brand-logo {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-strong);
}

.brand-meta,
.eyebrow,
.section-label,
.surface-index,
.feature-tag,
.list-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-meta {
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--muted);
}

.main-nav a:hover {
  color: var(--text-strong);
}

.nav-cta {
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: rgba(105, 213, 255, 0.08);
  color: var(--text-strong);
}

.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.58rem 0.82rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--border-strong) 78%, transparent);
  background: rgba(105, 213, 255, 0.04);
  color: var(--text-strong);
  white-space: nowrap;
}

.theme-toggle {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.theme-track {
  width: 3rem;
  height: 1.7rem;
  position: relative;
  display: block;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(105, 213, 255, 0.12);
}

.theme-thumb {
  position: absolute;
  top: 50%;
  left: 0.18rem;
  width: 1.24rem;
  height: 1.24rem;
  border-radius: 50%;
  background: var(--text-strong);
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .theme-thumb {
  transform: translate(1.32rem, -50%);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero {
  padding-top: clamp(5rem, 11vw, 8rem);
}

.hero-grid,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.84fr);
  gap: 3rem;
  align-items: start;
}

.hero-copy h1,
.section-intro-block h2,
.section-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text-strong);
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  max-width: 11ch;
  font-weight: 500;
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--accent);
}

.hero-intro,
.hero-summary,
.section-intro-block p,
.section-header p,
.feature-card p,
.list-card p,
.problem-card p,
.solution-card p {
  color: var(--muted);
}

.hero-intro {
  max-width: 30rem;
  font-size: 1.02rem;
  margin: 1.3rem 0 0;
}

.accent-text {
  color: var(--accent);
}

.text-nowrap {
  white-space: nowrap;
}

.hero-summary {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.82rem 1.18rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #061017;
  box-shadow: 0 16px 34px rgba(105, 213, 255, 0.22);
}

.button-secondary {
  border-color: var(--border-strong);
  color: var(--text-strong);
  background: transparent;
}

.proof-frame,
.feature-card,
.list-card,
.problem-card,
.solution-card {
  position: relative;
  padding: 1.45rem;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface-strong), var(--surface-soft));
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.proof-frame::before,
.feature-card::before,
.list-card::before,
.problem-card::before,
.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(105, 213, 255, 0.05), transparent 52%);
}

.hero-proof {
  align-self: stretch;
}

.proof-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.proof-intro {
  position: relative;
  margin: 0 0 1.25rem;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text-strong);
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.88;
}

.proof-list {
  position: relative;
  display: grid;
  gap: 0.75rem;
}

.proof-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.proof-item:first-child {
  border-top: none;
  padding-top: 0.2rem;
}

.proof-item h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 1.9vw, 1.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.proof-index,
.feature-tag,
.list-number {
  position: relative;
  color: var(--accent);
}

.section-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-plain {
  background: transparent;
}

.section-intro-block h2,
.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 14ch;
}

.section-intro-block p,
.section-header p {
  max-width: 36rem;
  margin-top: 1rem;
}

.feature-grid,
.list-grid,
.problem-grid,
.solution-stack {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card h3,
.list-card h3,
.problem-card h3,
.solution-card h3 {
  position: relative;
  margin: 0.85rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.stack-section {
  display: grid;
  gap: 2rem;
}

.list-grid {
  grid-template-columns: 1fr;
}

.list-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--border);
  padding: 1.2rem 0 0;
}

.list-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(105, 213, 255, 0.08);
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card {
  min-height: 220px;
  background: rgba(255, 255, 255, 0.02);
}

.problem-card-emphasis {
  border-color: var(--border-strong);
}

.solution-stack {
  grid-template-columns: 1fr;
}

.solution-card {
  padding-left: 1.5rem;
}

.feature-card-accent {
  border-color: var(--border-strong);
}

.feature-card-plain {
  background: rgba(255, 255, 255, 0.02);
}

.about-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-layout {
  display: grid;
  gap: 2.25rem;
}

.about-header h2 {
  max-width: 14ch;
}

.about-lead {
  margin: 0;
  max-width: none;
  color: var(--muted);
}

.about-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.35rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface-soft));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.about-card-accent {
  border-color: var(--border-strong);
}

.about-card h3 {
  margin: 0.45rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.about-card p {
  margin: 0;
  color: var(--muted);
}

.about-media {
  position: relative;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(105, 213, 255, 0.05);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.045);
  transform-origin: center center;
  will-change: transform;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(5, 13, 20, 0.02), rgba(5, 13, 20, 0.34));
}

.about-stack .about-card:first-child .about-media img {
  animation: aboutTrailDrift 16s ease-in-out infinite alternate;
}

.about-stack .about-card:last-child .about-media img {
  animation: aboutCoastDrift 11s ease-in-out infinite alternate;
}

.site-footer {
  padding: 1.5rem 0 2rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row a {
  color: var(--text-strong);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .feature-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-row {
    align-items: flex-start;
    padding: 1rem 0;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-copy h1,
  .hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
    max-width: 100%;
  }

  .proof-frame,
  .feature-card,
  .list-card,
  .problem-card,
  .solution-card {
    padding: 1.2rem;
  }

  .about-card {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }

  .about-media {
    min-height: 180px;
  }

  .about-stack {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 1.5rem;
  }

}

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

  .about-stack .about-card:first-child .about-media img,
  .about-stack .about-card:last-child .about-media img {
    animation: none;
    transform: scale(1.02);
  }
}

@keyframes splashFadeIn {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes splashAppear {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes splashSlideIn {
  from {
    opacity: 0;
    transform: translate(18%, 18%) scale(0.88);
  }

  60% {
    opacity: 1;
  }

  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes aboutTrailDrift {
  from {
    transform: translate3d(-1.2%, 1.2%, 0) scale(1.05);
  }

  to {
    transform: translate3d(1.6%, -0.8%, 0) scale(1.08);
  }
}

@keyframes aboutCoastDrift {
  from {
    transform: translate3d(-2.2%, 1.4%, 0) scale(1.06);
  }

  to {
    transform: translate3d(2.8%, -2%, 0) scale(1.1);
  }
}
