:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eef3f7;
  --ink: #152235;
  --muted: #5f6d7c;
  --line: #d9e1e8;
  --navy: #0b1525;
  --navy-2: #112238;
  --accent: #0f8fa8;
  --accent-strong: #08758b;
  --accent-soft: #dff4f7;
  --shadow: 0 18px 50px rgba(7, 21, 36, 0.10);
  --radius: 18px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

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

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

code {
  padding: .12rem .38rem;
  border-radius: 6px;
  background: #e8edf2;
  font-size: .92em;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  transform: translateY(-160%);
  background: #fff;
  color: #000;
  padding: .75rem 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
}

.narrow {
  max-width: 850px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 21, 37, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #12a1ba, #096b85);
  font-weight: 800;
  letter-spacing: -.05em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

.brand strong,
.brand small { display: block; }

.brand strong { line-height: 1.1; }

.brand small {
  margin-top: .18rem;
  color: #9fb0c2;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-links > a:not(.button) {
  color: #c9d5df;
  text-decoration: none;
  font-size: .94rem;
}

.nav-links > a:not(.button):hover { color: #fff; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .72rem 1.1rem;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.button-secondary {
  background: transparent;
  border-color: rgba(255,255,255,.35);
}

.button-secondary:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.55);
}

.button-small {
  min-height: 38px;
  padding: .5rem .82rem;
  font-size: .9rem;
}

.hero {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 10%, rgba(23, 167, 190, .23), transparent 30%),
    radial-gradient(circle at 12% 70%, rgba(40, 88, 132, .22), transparent 34%),
    linear-gradient(145deg, var(--navy), var(--navy-2));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--accent);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #55c5d6; }

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -.025em;
}

h1 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.6rem, 5vw, 5rem);
  max-width: 11ch;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.3vw, 3.2rem);
}

h3 {
  margin-bottom: .65rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.lead {
  max-width: 700px;
  color: #c6d2de;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.7rem 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: .44rem .68rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #cbd7e0;
  background: rgba(255,255,255,.04);
  font-size: .88rem;
}

.section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.section-alt {
  background: var(--surface-2);
}

.intro {
  background: #fff;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading > p:last-child,
.feature-copy > p,
.mini-card > p,
.narrow > p {
  color: var(--muted);
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .55rem;
  margin: 2.6rem 0 0;
  padding: 0;
  list-style: none;
}

.flow-strip li {
  position: relative;
  padding: 1rem .7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  font-size: .85rem;
  font-weight: 750;
  background: var(--surface);
}

.flow-strip span {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto .45rem;
  border-radius: 50%;
  line-height: 28px;
  color: #fff;
  background: var(--accent);
}

.feature {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.35fr);
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
  margin: 0 0 clamp(4rem, 8vw, 7rem);
}

.feature:nth-of-type(even) .feature-copy {
  order: 2;
}

.feature:nth-of-type(even) > .screenshot-card,
.feature:nth-of-type(even) > .shot-grid {
  order: 1;
}

.feature-wide {
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.5fr);
}

.feature:last-child { margin-bottom: 0; }

.feature-copy ul {
  padding-left: 1.2rem;
}

.step {
  display: inline-block;
  margin-bottom: .65rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.screenshot-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.screenshot-card figcaption {
  padding: .7rem .9rem;
  color: var(--muted);
  font-size: .84rem;
}

.hero .screenshot-card {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
}

.hero .screenshot-card figcaption {
  color: #bdcad6;
}

.image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-button img {
  width: 100%;
  height: auto;
  transition: transform .25s ease;
}

.image-button:hover img {
  transform: scale(1.012);
}

.image-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.shot-grid {
  display: grid;
  gap: 1rem;
}

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

.showcase {
  max-width: 1050px;
  margin-inline: auto;
}

.cards {
  display: grid;
  gap: 1.5rem;
}

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

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

.mini-card .screenshot-card {
  margin: -1rem -1rem 1.25rem;
  border-width: 0 0 1px;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: none;
}

.mini-card h3,
.mini-card p {
  padding-inline: .15rem;
}

.audit-fields {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  max-width: 1000px;
  margin: 1.75rem auto 0;
}

.audit-fields span {
  padding: .48rem .72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: .84rem;
}

.end-to-end {
  counter-reset: flow;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.end-to-end li {
  position: relative;
  min-height: 54px;
  padding: .9rem .9rem .9rem 4.2rem;
  border-bottom: 1px solid var(--line);
}

.end-to-end li::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  top: .75rem;
  left: .65rem;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.status {
  color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
}

.status .eyebrow { color: #55c5d6; }
.status p { color: #c3d0db; }

.status-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.site-footer {
  padding: 2rem 0;
  color: #aebdca;
  background: #08111d;
  font-size: .9rem;
}

.site-footer a { color: #bfe9ef; }

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-grid p { margin: 0; }

.lightbox {
  width: min(96vw, 1500px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #0a111b;
  box-shadow: 0 24px 100px rgba(0,0,0,.55);
}

.lightbox::backdrop {
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(4px);
}

.lightbox figure {
  margin: 0;
  padding: 1rem;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(94vh - 4.5rem);
  margin: 0 auto;
  object-fit: contain;
}

.lightbox figcaption {
  padding: .85rem .25rem .15rem;
  color: #d4dde5;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: .7rem;
  right: .8rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.55);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 960px) {
  .nav-links a:not(.button) { display: none; }

  .hero-grid,
  .feature,
  .feature-wide,
  .status-box {
    grid-template-columns: 1fr;
  }

  .feature:nth-of-type(even) .feature-copy,
  .feature:nth-of-type(even) > .screenshot-card,
  .feature:nth-of-type(even) > .shot-grid {
    order: initial;
  }

  .hero-shot { margin-top: 1rem; }

  .cards.three {
    grid-template-columns: 1fr;
  }

  .flow-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .status-actions { justify-self: start; }
}

@media (max-width: 680px) {
  .wrap { width: min(calc(100% - 1.25rem), var(--wrap)); }

  .site-header .nav { min-height: 62px; }
  .brand small { display: none; }

  .hero { padding-top: 3.2rem; }
  h1 { font-size: clamp(2.4rem, 12vw, 3.7rem); }

  .shot-grid.two,
  .flow-strip {
    grid-template-columns: 1fr 1fr;
  }

  .feature { margin-bottom: 4rem; }
  .section { padding: 4rem 0; }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

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