:root {
  color-scheme: dark;
  --ink: #e2e8f0;
  --muted: #94a3b8;
  --faint: #64748b;
  --paper: #0a0e1a;
  --panel: #111827;
  --panel-2: #162033;
  --line: rgba(56, 189, 248, 0.12);
  --line-strong: rgba(56, 189, 248, 0.28);
  --amber: #38bdf8;
  --cyan: #06b6d4;
  --lime: #22d3ee;
  --rose: #8b5cf6;
  --black: #070b14;
  --white: #f8fafc;
  --glass: rgba(56, 189, 248, 0.06);
  --shadow: 0 24px 70px rgba(2, 6, 23, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.04), transparent 460px),
    var(--paper);
  color: var(--ink);
  font-family: Onest, Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  background: rgba(10, 14, 26, 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(6, 182, 212, 0.12)),
    linear-gradient(90deg, transparent 47%, var(--amber) 47%, var(--amber) 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, var(--cyan) 47%, var(--cyan) 53%, transparent 53%),
    var(--panel);
  box-shadow: 0 10px 32px rgba(56, 189, 248, 0.12), inset 0 0 0 6px rgba(56, 189, 248, 0.08);
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-family: "Unbounded", Onest, Inter, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
}

.nav-cta:hover {
  border-color: var(--amber);
  background: var(--glass);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--glass);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  padding: 150px 0 64px;
  overflow: hidden;
  background: var(--black);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.95) 0%, rgba(10, 14, 26, 0.76) 34%, rgba(10, 14, 26, 0.35) 68%, rgba(7, 11, 20, 0.78) 100%),
    linear-gradient(0deg, rgba(10, 14, 26, 0.96) 0%, rgba(10, 14, 26, 0.12) 46%, rgba(10, 14, 26, 0.46) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow,
.section-kicker,
.case-label,
.spec-card span,
.timeline span,
.sitemap-grid strong,
.site-footer span {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: "Unbounded", Onest, Inter, "Segoe UI", Arial, sans-serif;
  max-width: 920px;
  margin-bottom: 24px;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 21px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--paper);
  box-shadow: 0 12px 36px rgba(56, 189, 248, 0.24);
}

.button.secondary {
  background: var(--glass);
}

.button.secondary:hover {
  border-color: var(--cyan);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 780px;
  margin: 0;
}

.hero-metrics div {
  min-height: 106px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.58);
  backdrop-filter: blur(10px);
}

.hero-metrics dt {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.proof-strip {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  overflow-x: auto;
  background: #0d1424;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.proof-strip span {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 88px 0;
}

.section:nth-of-type(odd) {
  background: #0d1424;
}

.two-col,
.section-head,
.calculator,
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

h2 {
  font-family: "Unbounded", Onest, Inter, "Segoe UI", Arial, sans-serif;
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p,
.concept-copy p,
.calculator p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.concept-copy p + p {
  margin-top: 18px;
}

.value-grid,
.spec-grid,
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.hybrid-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.hybrid-copy,
.hybrid-image {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
  overflow: hidden;
}

.hybrid-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.hybrid-copy p {
  color: var(--muted);
  font-size: 17px;
}

.hybrid-copy p:last-child {
  margin-bottom: 0;
}

.hybrid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.capture-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
}

.capture-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.capture-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.16;
}

.capture-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.value-card,
.spec-card,
.timeline article,
.sitemap-grid article {
  min-height: 214px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
}

.value-card span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--cyan);
  font-weight: 900;
}

.value-card h3,
.spec-card h3,
.timeline h3,
.sitemap-grid strong {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: 0;
}

.value-card p,
.spec-card p,
.timeline p,
.sitemap-grid span {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.case-shell {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 18px;
  align-items: stretch;
}

.case-tabs {
  display: grid;
  gap: 8px;
  align-content: start;
}

.case-tab {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.72);
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.case-tab span {
  color: var(--faint);
  font-weight: 900;
}

.case-tab:hover,
.case-tab.active {
  border-color: var(--amber);
  background: rgba(56, 189, 248, 0.12);
}

.case-stage {
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.86);
  box-shadow: var(--shadow);
}

.case-stage picture,
.case-stage img {
  width: 100%;
}

.case-stage img {
  height: 340px;
  object-fit: cover;
}

.case-content {
  padding: 28px;
}

.case-content h3 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: 38px;
  line-height: 1.06;
}

.case-content p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.case-output {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.case-output span {
  min-height: 94px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}

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

.spec-card.highlight {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(6, 182, 212, 0.08));
  border-color: rgba(56, 189, 248, 0.44);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
}

.result-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.result-table th,
.result-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.result-table th {
  color: var(--amber);
  font-size: 13px;
  text-transform: uppercase;
}

.result-table td {
  color: var(--muted);
}

.result-table td:first-child {
  color: var(--ink);
  font-weight: 900;
}

.result-table tr:last-child td {
  border-bottom: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.timeline article {
  min-height: 250px;
  position: relative;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  border: 1px solid rgba(6, 182, 212, 0.5);
  border-radius: 8px;
  color: var(--cyan);
}

.calculator {
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(6, 182, 212, 0.08)),
    var(--panel);
  box-shadow: var(--shadow);
}

.calc-panel {
  display: grid;
  gap: 18px;
}

.calc-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.calc-panel select,
.calc-panel input[type="range"] {
  width: 100%;
}

.calc-panel select {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0f172a;
  color: var(--ink);
}

.calc-panel input[type="range"] {
  accent-color: var(--amber);
}

.calc-panel output {
  color: var(--ink);
  font-size: 18px;
}

.calc-result {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(10, 14, 26, 0.46);
}

.calc-result span {
  color: var(--cyan);
  font-weight: 900;
}

.calc-result strong {
  font-size: 34px;
  line-height: 1.1;
}

.calc-result small {
  color: var(--muted);
}

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

.sitemap-grid article {
  min-height: 160px;
}

.sitemap-grid strong {
  display: block;
  color: var(--ink);
  text-transform: none;
}

.sitemap-grid span {
  display: block;
}

.contact-section {
  padding: 88px 0;
  background: #08111f;
  border-top: 1px solid var(--line);
}

.contact {
  align-items: center;
}

.contact-actions {
  justify-content: flex-end;
  margin-bottom: 0;
}

.site-footer {
  padding: 34px 0;
  background: var(--black);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 40px;
  }

  .value-grid,
  .spec-grid,
  .sitemap-grid,
  .capture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-shell,
  .two-col,
  .section-head,
  .calculator,
  .contact,
  .hybrid-feature {
    grid-template-columns: 1fr;
  }

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

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 67px;
    left: 12px;
    right: 12px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(10, 14, 26, 0.96);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 82svh;
    padding: 96px 0 24px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(10, 14, 26, 0.96) 0%, rgba(10, 14, 26, 0.52) 52%, rgba(10, 14, 26, 0.58) 100%);
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lead,
  .section-head p,
  .concept-copy p,
  .calculator p,
  .contact p,
  .case-content p {
    font-size: 16px;
  }

  .hero-lead {
    margin-bottom: 18px;
  }

  .hero-actions {
    margin-bottom: 18px;
  }

  .hero-actions .button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 0 10px;
    font-size: 13px;
  }

  .case-output,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-metrics div {
    min-height: 76px;
    padding: 10px 8px;
  }

  .hero-metrics dt {
    font-size: 18px;
  }

  .hero-metrics dd {
    font-size: 11px;
    line-height: 1.25;
  }

  .section,
  .contact-section {
    padding: 64px 0;
  }

  .value-grid,
  .spec-grid,
  .sitemap-grid,
  .capture-grid,
  .case-tabs,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hybrid-copy,
  .hybrid-image {
    min-height: auto;
  }

  .hybrid-copy {
    padding: 22px;
  }

  .hybrid-image img {
    height: 260px;
  }

  .case-stage {
    min-height: auto;
  }

  .case-stage img {
    height: 250px;
  }

  .case-content {
    padding: 20px;
  }

  .case-content h3 {
    font-size: 30px;
  }

  .calculator {
    padding: 22px;
  }

  .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
