:root {
  --bg: #f6f9fd;
  --surface: #ffffff;
  --surface-soft: #f1f6fb;
  --border: #dce7f3;
  --text: #0f2038;
  --muted: #5e6f86;
  --teal: #19c7b0;
  --teal-dark: #10b59f;
  --shadow: 0 20px 50px rgba(27, 52, 85, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.surface-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 10% -10%, rgba(25, 199, 176, 0.17) 0%, transparent 55%),
    radial-gradient(100% 70% at 90% -15%, rgba(96, 175, 255, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fd 65%, #eef4fb 100%);
}

.container {
  width: min(1120px, calc(100% - 34px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 0;
}

.topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  box-shadow: 0 12px 28px rgba(46, 79, 122, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.brand strong {
  display: block;
  font-size: 0.95rem;
}

.brand span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: inline-flex;
  justify-content: center;
  gap: 18px;
  font-size: 0.92rem;
}

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

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

.menu-toggle {
  display: none;
}

.btn {
  border-radius: 11px;
  padding: 10px 14px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary {
  color: #08322d;
  background: linear-gradient(135deg, var(--teal), #3de7cc);
  box-shadow: 0 10px 22px rgba(28, 200, 176, 0.24);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--teal-dark), #31ddc1);
}

.btn-subtle {
  border-color: var(--border);
  background: #fff;
  color: #2b3e58;
}

.btn-subtle:hover {
  border-color: #c6d8ed;
  background: #f8fbff;
}

main {
  padding-bottom: 70px;
}

section {
  padding: 42px 0;
}

.eyebrow {
  margin: 0;
  color: #149f8d;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 56ch;
}

.hero-actions {
  display: inline-flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-canvas {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.canvas-header {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e6eef7;
  padding: 11px 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccdae9;
}

.canvas-header code {
  margin-left: 8px;
  font-family: "IBM Plex Mono", monospace;
  color: #6a7e9b;
  font-size: 0.74rem;
}

.canvas-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.flow-pill {
  border: 1px solid #dbe8f6;
  border-radius: 999px;
  padding: 8px 11px;
  background: #f4f9ff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  color: #2c4b70;
}

.canvas-footer {
  border-top: 1px solid #e6eef7;
  padding: 12px 16px;
  display: grid;
  gap: 6px;
  color: #5e7090;
  font-size: 0.86rem;
}

.status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.status.ok {
  background: #23c8a9;
}

.status.wait {
  background: #efbd62;
}

.section-header h2 {
  margin: 9px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
}

.cards {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cards article {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
}

.cards h3 {
  margin: 0 0 7px;
  font-size: 1rem;
}

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

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.split h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
}

.lead {
  color: var(--muted);
}

.clean-list {
  margin: 14px 0 0;
  padding-left: 16px;
  color: #2b4464;
}

.clean-list li {
  margin: 8px 0;
}

.schedule-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.schedule-panel h3 {
  margin-top: 0;
}

.schedule-row {
  border: 1px solid #dfebf8;
  border-radius: 10px;
  padding: 11px;
  display: grid;
  gap: 6px;
  margin-bottom: 9px;
}

.schedule-row:last-child {
  margin-bottom: 0;
}

.schedule-row code {
  font-family: "IBM Plex Mono", monospace;
  color: #138f80;
  font-size: 0.86rem;
}

.schedule-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.stack div {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 4px;
}

.stack strong {
  font-size: 0.94rem;
}

.stack span {
  color: var(--muted);
  font-size: 0.88rem;
}

.cta {
  padding-bottom: 24px;
}

.cta-inner {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(165deg, #ffffff 0%, #f1f8ff 100%);
  box-shadow: var(--shadow);
  padding: 32px;
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.cta-inner p {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer {
  border-top: 1px solid #dce8f4;
  background: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #1e4f8a;
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

@media (max-width: 800px) {
  .topbar-inner {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: #2a3f5d;
    padding: 8px 10px;
    font-family: inherit;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 8px;
  }

  .nav.open {
    display: flex;
  }
}

@media (max-width: 620px) {
  .cards,
  .stack {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-inner {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
  }
}
