@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --ink: #14181f;
  --ink-soft: #4b525f;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-soft-2: #eef0f3;
  --line: #e3e6eb;
  --blue: #2f5de3;
  --blue-dark: #1e3fa0;
  --blue-tint: #edf1fe;
  --amber: #e8862e;
  --amber-tint: #fceee0;
  --green: #2e8b57;
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 2px;
  display: inline-block;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

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

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

header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 20px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow:
    0 1px 2px rgba(20, 24, 31, 0.06),
    0 8px 20px -8px rgba(47, 93, 227, 0.55);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  padding: 88px 0 40px;
  background: radial-gradient(560px 280px at 82% -10%, var(--blue-tint), transparent 70%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: center;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.4vw + 1rem, 4rem);
  line-height: 1.06;
  margin: 18px 0 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero p.lead {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.22rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 30px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero-note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}

.hero-visual {
  position: relative;
  margin: 56px auto 0;
  max-width: 980px;
}

.browser-frame {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow:
    0 30px 70px -30px rgba(20, 24, 31, 0.35),
    0 8px 20px -10px rgba(20, 24, 31, 0.12);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d7dbe1;
}

.browser-frame img {
  width: 100%;
  display: block;
}

.callout {
  position: absolute;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 12px;
  box-shadow: 0 14px 30px -14px rgba(20, 24, 31, 0.28);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
}

.callout strong {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
}

.callout-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.callout-1 {
  top: -22px;
  right: -14px;
}

.callout-2 {
  bottom: -20px;
  left: -18px;
}

.bracket-frame {
  position: relative;
  padding: 22px;
}

.bracket-frame::before,
.bracket-frame::after,
.bracket-frame .bl,
.bracket-frame .br {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--amber);
  border-style: solid;
  opacity: 0.9;
}

.bracket-frame::before {
  top: 0;
  left: 0;
  border-width: 2.5px 0 0 2.5px;
  border-top-left-radius: 6px;
}

.bracket-frame::after {
  top: 0;
  right: 0;
  border-width: 2.5px 2.5px 0 0;
  border-top-right-radius: 6px;
}

.bracket-frame .bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 2.5px 2.5px;
  border-bottom-left-radius: 6px;
}

.bracket-frame .br {
  bottom: 0;
  right: 0;
  border-width: 0 2.5px 2.5px 0;
  border-bottom-right-radius: 6px;
}

.ruler {
  position: relative;
  height: 60px;
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.ruler-track {
  position: relative;
  width: 100%;
  height: 1px;
  background: var(--line);
}

.ruler-ticks {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    var(--line) 0,
    var(--line) 1px,
    transparent 1px,
    transparent 40px
  );
  height: 10px;
  top: -5px;
  opacity: 0.9;
}

.ruler-labels {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.ruler-labels span:first-child {
  padding-left: 2px;
}

.ruler-labels span:last-child {
  padding-right: 2px;
}

.ruler-mid {
  position: absolute;
  left: 50%;
  top: -6px;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-tint);
}

section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 2vw + 1rem, 2.5rem);
  margin-top: 14px;
  line-height: 1.18;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 14px;
}

.problem {
  background: var(--bg-soft);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.problem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.problem-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.problem-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.flow {
  background: #fff;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 44px;
}

.flow-card {
  background: #fff;
  padding: 30px 26px 32px;
  position: relative;
}

.flow-card + .flow-card::before {
  content: "→";
  position: absolute;
  left: -13px;
  top: 30px;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--blue);
  font-size: 15px;
  z-index: 2;
}

.flow-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--blue-dark);
  letter-spacing: 0.08em;
}

.flow-card h3 {
  font-size: 1.15rem;
  margin: 20px 0 9px;
}

.flow-card p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.58;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row + .feature-row {
  margin-top: 110px;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-media {
  order: 1;
}

.feature-copy h3 {
  font-size: clamp(1.4rem, 1.4vw + 1rem, 1.9rem);
  margin: 14px 0 16px;
  line-height: 1.2;
}

.feature-copy p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--blue-tint);
  color: var(--blue-dark);
  letter-spacing: 0.02em;
}

.feature-media img {
  border-radius: 10px;
  border: 1px solid var(--line);
}

.feature-media {
  position: relative;
}

.more {
  background: var(--bg-soft);
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.more-card {
  background: #fff;
  padding: 30px 28px;
  transition: background 0.15s ease;
}

.more-card:hover {
  background: var(--blue-tint);
}

.more-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--bg-soft-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--blue-dark);
}

.more-card h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.more-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  margin: 0 32px;
  padding: 72px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 46px);
  mask-image: radial-gradient(600px 320px at 50% 20%, black, transparent 75%);
}

.cta-band-inner {
  position: relative;
}

.cta-band .eyebrow {
  color: #9fb4ff;
}

.cta-band .eyebrow::before {
  background: var(--amber);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 2.6vw + 1rem, 2.6rem);
  margin: 16px auto 16px;
  max-width: 620px;
  line-height: 1.2;
}

.cta-band p {
  color: #b7becc;
  max-width: 520px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: #e7eaf0;
}

footer {
  padding: 60px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
  gap: 40px;
  flex-wrap: wrap;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 11px;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 280px;
  margin-top: 10px;
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 13px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }

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

  .feature-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-row.reverse .feature-copy {
    order: 1;
  }

  .feature-row.reverse .feature-media {
    order: 2;
  }

  .feature-row + .feature-row {
    margin-top: 70px;
  }

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

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

  .flow-card + .flow-card::before {
    display: none;
  }

  .callout {
    display: none;
  }

  .cta-band {
    margin: 0 18px;
    padding: 56px 24px;
  }

  .wrap {
    padding: 0 20px;
  }

  section {
    padding: 70px 0;
  }

  .footer-cols {
    gap: 36px;
  }
}
