:root {
  --ink: #0a0a0a;
  --body: #2b2b2b;
  --muted: #5f5f5f;
  --rule: #d9d9d9;
  --bg: #ffffff;
  --accent: #1238d6;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --space: clamp(80px, 11vw, 160px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
}

h1 {
  font-size: clamp(3.25rem, 9.5vw, 9rem);
  line-height: 0.98;
  letter-spacing: -0.018em;
  font-weight: 350;
  max-width: 11ch;
  margin-bottom: 0;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.018em;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--ink);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Arrow on every button and link */
main a::after,
.site-header .btn::after,
.site-footer a::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.45em;
  transition: transform 0.2s ease;
}

main a:hover::after,
main a:focus-visible::after,
.site-header .btn:hover::after,
.site-header .btn:focus-visible::after,
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  transform: translateX(5px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark {
  display: block;
  width: 78px;
  height: auto;
  overflow: visible;
}

.wordmark-arrow {
  stroke: var(--accent);
  transition: transform 0.25s ease;
}

.brand:hover .wordmark-arrow {
  transform: translateX(4px);
}

.brand-name {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 1px solid var(--rule);
  line-height: 1.3;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 28px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-small {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* Hero */
.hero {
  padding: clamp(72px, 13vw, 200px) 0 clamp(64px, 9vw, 128px);
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-top: clamp(48px, 7vw, 96px);
}

.lead {
  grid-column: 1;
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--body);
  max-width: 40ch;
  margin: 0;
}

.hero-foot .btn {
  grid-column: 2;
  justify-self: start;
}

/* Capability strip */
.strip {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.strip-list {
  list-style: none;
  margin: 0;
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.strip-list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.strip-list li + li {
  flex: 1 1 auto;
  justify-content: flex-end;
}

.strip-list li + li::before {
  content: "\2022";
  color: var(--accent);
  margin: 0 auto;
  padding: 0 12px;
  letter-spacing: 0;
}

/* Sections */
.section {
  padding: var(--space) 0 0;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
}

.split-head h2 {
  margin: 0;
}

.split-body {
  padding-top: 2.6em;
  max-width: 60ch;
}

.split-body .first {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.section-head {
  max-width: 820px;
}

.intro {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0;
}

.tagline {
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--ink);
}

/* What we fix: four stage flow */
.flow {
  list-style: none;
  counter-reset: stage;
  padding: 0;
  margin: clamp(56px, 7vw, 96px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 72px;
}

.flow li {
  counter-increment: stage;
  position: relative;
  border-top: 1px solid var(--ink);
  padding-top: 28px;
}

.flow li::before {
  content: counter(stage, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 40px;
  font-variant-numeric: lining-nums;
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -9px;
  right: -60px;
  width: 48px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 18'%3E%3Cg fill='none' stroke='%231238d6' stroke-width='1.5'%3E%3Cpath d='M2 9H45'/%3E%3Cpath d='M38 2L45 9L38 16'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

.flow h3 {
  margin-bottom: 0.6em;
}

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

.note {
  max-width: 62ch;
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  color: var(--body);
}

/* Offer */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.offer-body {
  padding: clamp(40px, 5vw, 72px) clamp(32px, 5vw, 80px) clamp(40px, 5vw, 72px) 0;
}

.offer-summary {
  font-size: 1.2rem;
  max-width: 46ch;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}

.checks li {
  position: relative;
  padding: 18px 0 18px 40px;
  border-top: 1px solid var(--rule);
}

.checks li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  top: 18px;
  color: var(--accent);
}

.offer-price {
  border-left: 1px solid var(--ink);
  padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 72px) clamp(32px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.price {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 350;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--ink);
  margin-bottom: 20px;
}

.duration {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.credit {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2em;
}

.offer-price .btn {
  align-self: flex-start;
}

/* Closing CTA */
.cta {
  margin-top: var(--space);
  background: var(--ink);
  color: #c9c9c9;
  padding: var(--space) 0;
}

.cta h2 {
  color: #fff;
  font-size: clamp(2.75rem, 7.5vw, 7rem);
  line-height: 1;
  font-weight: 350;
  max-width: 13ch;
  margin: 0;
  letter-spacing: -0.018em;
}

.cta-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 32px;
  border-top: 1px solid #333;
}

.cta-foot p {
  font-size: 1.15rem;
  max-width: 42ch;
  margin: 0;
}

.cta-foot .btn {
  justify-self: start;
}

.cta .btn-light:hover,
.cta .btn-light:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #8f8f8f;
  font-size: 0.9rem;
}

.site-footer .container {
  border-top: 1px solid #333;
  padding-top: 28px;
  padding-bottom: 28px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Tablet */
@media (max-width: 1080px) {
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 64px;
  }

  .flow li:nth-child(2)::after {
    display: none;
  }
}

/* Mobile */
@media (max-width: 760px) {
  body {
    font-size: 1rem;
  }

  .header-inner {
    min-height: 64px;
  }

  .wordmark {
    width: 64px;
  }

  .brand-name {
    display: none;
  }

  .hero-foot,
  .cta-foot {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-foot .btn {
    grid-column: 1;
  }

  .strip-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }

  .strip-list li,
  .strip-list li + li {
    justify-content: flex-start;
  }

  .strip-list li::before,
  .strip-list li + li::before {
    content: "\2022";
    color: var(--accent);
    margin: 0 10px 0 0;
    padding: 0;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-body {
    padding-top: 0;
  }

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

  .flow li {
    padding-bottom: 88px;
  }

  .flow li:last-child {
    padding-bottom: 0;
  }

  .flow li::before {
    margin-bottom: 20px;
  }

  .flow li:not(:last-child)::after,
  .flow li:nth-child(2)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: 20px;
    left: 0;
    width: 18px;
    height: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 48'%3E%3Cg fill='none' stroke='%231238d6' stroke-width='1.5'%3E%3Cpath d='M9 2V45'/%3E%3Cpath d='M2 38L9 45L16 38'/%3E%3C/g%3E%3C/svg%3E");
  }

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

  .offer-body {
    padding-right: 0;
  }

  .offer-price {
    border-left: 0;
    border-top: 1px solid var(--ink);
    padding-left: 0;
  }

  .btn {
    display: block;
    text-align: center;
  }

  .btn-small {
    display: inline-block;
  }

  .offer-price .btn {
    align-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .wordmark-arrow,
  main a::after,
  .site-header .btn::after,
  .site-footer a::after {
    transition: none;
  }
}
