:root {
  --ink: #18212f;
  --muted: #607086;
  --line: #d8e0e8;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --accent: #007c89;
  --accent-dark: #005c66;
  --signal: #d84a2b;
  --signal-soft: #fff1ec;
  --shadow: 0 18px 48px rgba(18, 33, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 32px;
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  min-height: calc(100svh - 68px);
  display: grid;
  align-items: end;
  padding: 88px 32px 42px;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(4, 12, 22, 0.86) 0%, rgba(4, 12, 22, 0.58) 42%, rgba(4, 12, 22, 0.28) 100%),
    url("assets/velocity-result.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #91f0ef;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 8vw, 108px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 710px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: var(--signal);
  color: #ffffff;
}

.button.primary:hover {
  background: #b83c23;
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.1);
}

.section .button.secondary,
.download .button.secondary {
  color: var(--accent-dark);
  border-color: var(--line);
  background: #ffffff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 860px;
  margin: 64px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-stats div {
  padding: 18px 22px 0 0;
}

.hero-stats dt {
  margin: 0 0 3px;
  font-size: 19px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 56px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.intro > p,
.download p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature,
.result-notes article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature p,
.result-notes p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 54px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.steps {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--muted);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--signal-soft);
  color: var(--signal);
  font-weight: 800;
}

.image-panel,
.large-result {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.image-panel img,
.large-result img {
  width: 100%;
  height: auto;
}

figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  background: #ffffff;
}

.examples {
  width: 100%;
  max-width: none;
  padding: 86px max(24px, calc((100% - 1120px) / 2));
  background: var(--soft);
}

.examples .section-copy,
.use-cases,
.download,
.contact {
  width: min(1120px, 100%);
}

.example-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
  margin-top: 30px;
}

.result-notes {
  display: grid;
  gap: 14px;
  align-content: start;
}

.result-notes article {
  min-height: 0;
  background: #ffffff;
}

.use-cases {
  border-bottom: 1px solid var(--line);
}

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

.use-case-grid span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 700;
}

.download,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 42px;
  align-items: center;
}

.download {
  padding: 34px;
  margin: 76px auto;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
}

.download .eyebrow {
  color: #91f0ef;
}

.download p {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 16px;
}

.download-actions {
  justify-content: flex-end;
}

.contact {
  padding-top: 40px;
}

.contact-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.contact-box p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}

.contact-box a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.contact-box .small {
  margin-top: 16px;
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.legal {
  max-width: 860px;
}

.legal h1 {
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
}

.legal h2 {
  margin-top: 34px;
  font-size: 25px;
}

.legal p {
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 760px;
    padding: 86px 24px 34px;
  }

  .hero-stats,
  .intro,
  .feature-grid,
  .split,
  .example-layout,
  .use-case-grid,
  .download,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stats div {
    padding-right: 0;
  }

  .section {
    width: min(100% - 32px, 720px);
    padding: 58px 0;
  }

  .examples {
    padding: 62px 16px;
  }

  .download {
    margin: 54px auto;
    padding: 26px;
  }

  .download-actions {
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
    padding: 22px 20px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 720px;
  }

  h1 {
    font-size: 52px;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .button {
    width: 100%;
  }
}
