:root {
  color-scheme: light;
  --ink: #101424;
  --muted: #596579;
  --line: #dce4ef;
  --soft: #f5f8fc;
  --white: #ffffff;
  --dart: #04589c;
  --flutter: #027dfd;
  --aqua: #20c8f8;
  --green: #16a66a;
  --navy: #07182e;
  --shadow: 0 24px 70px rgba(19, 54, 99, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
a,
span,
button {
  overflow-wrap: break-word;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(220, 228, 239, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(12, 35, 64, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--flutter), var(--aqua));
  box-shadow: inset -9px -9px 0 rgba(255, 255, 255, 0.22);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  right: -3px;
  bottom: 4px;
  border-radius: 3px;
  background: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #344056;
  font-size: 15px;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: normal;
}

.header-cta,
.button.primary {
  padding: 0 18px;
  color: var(--white);
  background: var(--flutter);
  box-shadow: 0 12px 30px rgba(2, 125, 253, 0.28);
}

.button.secondary {
  padding: 0 18px;
  border: 1px solid rgba(4, 88, 156, 0.22);
  color: var(--dart);
  background: rgba(255, 255, 255, 0.9);
}

.menu-button {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.mobile-menu {
  position: sticky;
  top: 88px;
  z-index: 19;
  width: min(100% - 32px, 680px);
  margin: 8px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-menu a {
  display: block;
  padding: 12px;
  color: #344056;
}

.hero {
  position: relative;
  min-height: 760px;
  margin-top: -90px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.scene-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 72px 72px;
}

.scene-orbit {
  position: absolute;
  border: 1px solid rgba(32, 200, 248, 0.22);
  border-radius: 999px;
}

.orbit-one {
  width: 720px;
  height: 720px;
  right: 8%;
  top: 13%;
}

.orbit-two {
  width: 430px;
  height: 430px;
  right: 23%;
  top: 29%;
}

.flow-node {
  position: absolute;
  min-width: 150px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: var(--white);
  font-weight: 900;
  text-align: center;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 22px 80px rgba(0,0,0,0.22);
}

.flutter-node {
  right: 12%;
  top: 26%;
}

.dart-node {
  right: 20%;
  top: 49%;
  background: rgba(2, 125, 253, 0.44);
}

.deploy-node {
  right: 8%;
  top: 68%;
  background: rgba(22, 166, 106, 0.42);
}

.flow-line {
  position: absolute;
  height: 3px;
  width: 210px;
  background: linear-gradient(90deg, var(--aqua), var(--green));
  transform-origin: left center;
}

.line-one {
  right: 17%;
  top: 43%;
  transform: rotate(112deg);
}

.line-two {
  right: 13%;
  top: 62%;
  transform: rotate(32deg);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 120px auto 0;
  padding: 120px 0 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--aqua);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 22px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.proof-strip span {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  color: rgba(255,255,255,0.84);
  background: rgba(255,255,255,0.08);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.intro-section,
.comparison-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.launch-section h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow),
.launch-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.code-window {
  overflow: hidden;
  border: 1px solid rgba(4, 88, 156, 0.16);
  border-radius: 8px;
  background: #07182e;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 14px;
  background: rgba(255,255,255,0.08);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #6ed6ff;
}

.window-bar span:nth-child(2) {
  background: #ffd166;
}

.window-bar span:nth-child(3) {
  background: #6ee7a8;
}

pre {
  margin: 0;
  padding: 28px;
  overflow-x: auto;
  color: #dbeafe;
  font-size: 15px;
  line-height: 1.75;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.use-card,
.workflow-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(12, 35, 64, 0.08);
}

.use-card {
  min-height: 210px;
  padding: 26px;
}

.icon-dot {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--flutter), var(--aqua));
}

.use-card h3,
.workflow-step h3 {
  margin: 22px 0 10px;
  font-size: 22px;
}

.use-card p,
.workflow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.workflow-band {
  padding: 96px max(16px, calc((100% - 1180px) / 2));
  background: var(--soft);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.workflow-step {
  min-height: 250px;
  padding: 26px;
}

.workflow-step strong {
  color: var(--flutter);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.table-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
}

.table-row > div {
  padding: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.table-row > div:not(:last-child) {
  border-right: 1px solid var(--line);
}

.table-head {
  background: var(--navy);
}

.table-head > div {
  border-top: 0;
  color: var(--white);
  font-weight: 800;
}

.table-row > div:first-child {
  color: var(--ink);
  font-weight: 800;
}

.launch-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 96px;
  padding: 44px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--dart));
}

.launch-section p {
  max-width: 760px;
  color: rgba(255,255,255,0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #344056;
  font-weight: 700;
}

@media (max-width: 900px) {
  .nav-links,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 140px;
  }

  .flow-node,
  .flow-line,
  .scene-orbit {
    opacity: 0.35;
  }

  .intro-section,
  .comparison-section {
    grid-template-columns: 1fr;
  }

  .use-case-grid,
  .workflow {
    grid-template-columns: 1fr 1fr;
  }

  .launch-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(calc(100% - 20px), 370px);
    margin-top: 10px;
  }

  .hero {
    min-height: 720px;
    margin-top: -76px;
  }

  .flow-node,
  .flow-line,
  .scene-orbit {
    display: none;
  }

  .hero-content {
    width: min(calc(100% - 32px), 358px);
    padding-top: 138px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.04;
  }

  .hero-copy {
    font-size: 17px;
  }

  .section-copy h2,
  .section-heading h2,
  .launch-section h2 {
    font-size: 30px;
  }

  .section,
  .workflow-band,
  .launch-section,
  .site-footer {
    width: min(calc(100% - 32px), 358px);
  }

  .workflow-band {
    padding-left: 0;
    padding-right: 0;
  }

  pre {
    font-size: 13px;
  }

  .button {
    width: 100%;
  }

  .use-case-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .table-row > div:not(:last-child) {
    border-right: 0;
  }

  .table-row > div {
    border-top: 1px solid var(--line);
  }
}
