:root {
  color-scheme: light;
  --bg: #f7f9ff;
  --bg-soft: #eef4ff;
  --text: #111827;
  --muted: #5b6475;
  --line: rgba(17, 24, 39, 0.12);
  --panel: rgba(255, 255, 255, 0.76);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --blue: #4f7cff;
  --cyan: #12b8d7;
  --pink: #ea4aaa;
  --green: #16b981;
  --orange: #f59e0b;
  --shadow: 0 24px 80px rgba(56, 68, 103, 0.18);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 10%, rgba(18, 184, 215, 0.18), transparent 26rem),
    radial-gradient(circle at 88% 8%, rgba(234, 74, 170, 0.18), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 42%, #f4fff9 100%);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(120deg, rgba(120, 167, 255, 0.08), rgba(73, 230, 255, 0.04), rgba(255, 122, 217, 0.08));
  opacity: 0.7;
}

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

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  background: var(--text);
  color: #ffffff;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--max));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 48%, var(--pink));
  color: #ffffff;
  box-shadow: 0 12px 40px rgba(18, 184, 215, 0.24);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 160ms ease;
}

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

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 42px;
  height: 42px;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 999px;
  background: currentColor;
}

.section-grid,
.section,
.intro-band,
.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  gap: 3rem;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 5.5rem 0 4rem;
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 720px;
  color: #3f485a;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: currentColor;
  content: "";
  box-shadow: 0 0 24px currentColor;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font-weight: 760;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #ffffff, #b8ceff 44%, #86f4ff);
  color: #081024;
  box-shadow: 0 18px 44px rgba(120, 167, 255, 0.28);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(17, 24, 39, 0.24);
  background: rgba(255, 255, 255, 0.96);
}

.hero-metrics {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
  margin: 2.6rem 0 0;
}

.hero-metrics div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics dt {
  font-weight: 780;
}

.hero-metrics dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.72)),
    radial-gradient(circle at 20% 20%, rgba(73, 230, 255, 0.28), transparent 18rem),
    radial-gradient(circle at 80% 30%, rgba(255, 122, 217, 0.22), transparent 16rem);
  box-shadow: var(--shadow);
}

.cloud-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stack-card {
  position: absolute;
  width: min(72%, 310px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(8, 12, 30, 0.76);
  color: #ffffff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.stack-card p {
  margin-bottom: 0.35rem;
  color: #b9c4d8;
}

.stack-card strong {
  font-size: 1.5rem;
  line-height: 1.1;
}

.stack-card-main {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.stack-card-top {
  right: 1.1rem;
  top: 1.1rem;
}

.stack-card-bottom {
  left: 1.1rem;
  bottom: 1.1rem;
}

.status-dot {
  float: right;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 22px var(--green);
}

.intro-band {
  padding: 4.5rem 0;
}

.narrow {
  max-width: 820px;
}

.intro-band h2,
.section-heading h2,
.split h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-band p,
.section-heading p,
.split p {
  color: #3f485a;
  font-size: 1.05rem;
}

.section {
  padding: 4.8rem 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.card-grid,
.pricing-grid,
.option-grid {
  display: grid;
  gap: 1rem;
}

.feature-card,
.option-card,
.price-card,
.view-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.22);
}

.feature-card,
.option-card,
.price-card {
  padding: 1.25rem;
}

.feature-card {
  min-height: 230px;
}

.feature-card h3,
.option-card h3,
.price-card h3,
.view-panel h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.feature-card p,
.option-card p,
.price-card p,
.view-panel p,
.feature-row p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.card-kicker,
.plan-name {
  display: inline-flex;
  margin-bottom: 1.8rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tinted {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100% - var(--max)) / 2));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

.feature-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  gap: 0.4rem;
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0;
}

.feature-row h3 {
  margin-bottom: 0;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.stack-diagram {
  display: grid;
  gap: 0.75rem;
}

.stack-diagram div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
}

.option-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: #303949;
}

.glow-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 20% 10%, rgba(73, 230, 255, 0.14), transparent 12rem);
}

.pricing-grid {
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.price-card .button {
  margin-top: auto;
}

.price {
  color: var(--text) !important;
  font-size: 1.4rem;
  font-weight: 780;
}

.featured {
  border-color: rgba(73, 230, 255, 0.46);
  background:
    linear-gradient(145deg, rgba(73, 230, 255, 0.14), rgba(255, 255, 255, 0.06)),
    var(--panel-strong);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

summary {
  cursor: pointer;
  padding: 1.1rem;
  font-weight: 760;
}

details p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
}

.machine-section {
  padding-bottom: 6rem;
}

.view-toggle {
  display: inline-flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
}

.tab-button {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 760;
}

.tab-button.active {
  background: var(--text);
  color: #ffffff;
}

.view-panel {
  padding: 1.25rem;
}

.machine-copy pre {
  margin: 0;
  overflow-x: auto;
  color: #0c5060;
  font: 0.88rem/1.65 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: pre;
}

.site-footer {
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
}

.site-footer p {
  max-width: 520px;
  margin: 1rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  align-items: center;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 760px) {
  .nav-links.is-open {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 78px;
    display: grid;
    gap: 0.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.7rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open a {
    padding: 0.7rem;
  }
}

@media (min-width: 640px) {
  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-row {
    grid-template-columns: minmax(190px, 0.72fr) 1fr;
  }
}

@media (min-width: 761px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  }

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

  .split {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  }

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

  .option-grid .section-heading {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

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