:root {
  color-scheme: light;
  --ink: #0b1f27;
  --muted: #49616a;
  --paper: #f6f4ef;
  --card: #ffffff;
  --navy: #0b2631;
  --navy-soft: #123f4d;
  --teal: #0e8794;
  --teal-dark: #096a75;
  --aqua: #c9f1ed;
  --line: #d7dedc;
  --shadow: 0 22px 60px rgba(11, 38, 49, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
  background: rgba(246, 244, 239, 0.94);
  backdrop-filter: blur(16px);
}

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

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

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header nav a,
footer nav a {
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-cta {
  padding: 10px 15px;
  color: #ffffff;
  background: var(--navy);
  border-radius: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  width: min(1180px, calc(100% - 40px));
  min-height: 680px;
  margin: 0 auto;
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 6.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 14px;
  font-weight: 760;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-primary:hover {
  background: #07545c;
}

.button-secondary {
  border-color: #b9c7c5;
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--teal-dark);
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.phone-frame {
  width: min(100%, 360px);
  padding: 10px;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 42px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone-frame img {
  border-radius: 34px;
}

.problem-strip {
  padding: 28px 20px;
  color: #ffffff;
  background: var(--navy);
  text-align: center;
}

.problem-strip p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.section {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.step-number {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--navy);
  background: var(--aqua);
  border-radius: 50%;
  font-weight: 850;
}

.step-card h3 {
  margin: 22px 0 8px;
  font-size: 1.32rem;
}

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

.screenshot-section {
  width: auto;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1100px) / 2));
  padding-left: max(20px, calc((100vw - 1100px) / 2));
  background: #e7efed;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.screenshot-grid figure {
  margin: 0;
}

.screenshot-grid img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(11, 38, 49, 0.15);
}

.screenshot-grid figcaption {
  padding: 15px 6px 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.offer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1fr);
  align-items: center;
  gap: clamp(44px, 8vw, 104px);
  width: auto;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1100px) / 2));
  padding-left: max(20px, calc((100vw - 1100px) / 2));
  color: #ffffff;
  background: var(--navy);
}

.offer-copy {
  max-width: 600px;
}

.offer-copy .eyebrow {
  color: #8ce1dd;
}

.offer-copy h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.offer-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: #c9d9dc;
  font-size: 1.06rem;
}

.offer-copy .button {
  margin-top: 28px;
}

.screen-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(14px, 2.5vw, 26px);
}

.screen-pair img {
  width: 100%;
  border: 8px solid #071a21;
  border-radius: 34px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.screen-pair img:last-child {
  transform: translateY(34px);
}

.pricing-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 820px;
  margin: 0 auto;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1100px, calc(100% - 40px));
  margin: 30px auto 72px;
  padding: clamp(34px, 6vw, 64px);
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  border-radius: 30px;
}

.final-cta .eyebrow {
  color: #8ce1dd;
}

.button-light {
  flex: 0 0 auto;
  color: var(--navy);
  background: #ffffff;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

a:focus-visible {
  outline: 3px solid #ffb703;
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .site-header nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 64px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lede {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media {
    margin-top: 20px;
  }

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

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

  .screenshot-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 18px;
  }

  .screenshot-grid figure {
    scroll-snap-align: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-cta {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .hero,
  .section,
  .final-cta,
  footer {
    width: min(100% - 28px, 1100px);
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .hero {
    padding: 48px 0 70px;
  }

  .button {
    width: 100%;
  }

  .phone-frame {
    width: min(88vw, 350px);
    transform: none;
  }

  .section {
    padding: 78px 0;
  }

  .screenshot-section {
    width: auto;
    padding-right: 14px;
    padding-left: 14px;
  }

  .offer-section {
    width: auto;
    padding-right: 20px;
    padding-left: 20px;
  }

  .offer-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.8rem);
  }

  .screen-pair {
    gap: 12px;
  }

  .screen-pair img {
    border-width: 5px;
    border-radius: 25px;
  }

  .screen-pair img:last-child {
    transform: translateY(20px);
  }

  .pricing-lines {
    grid-template-columns: 1fr;
  }

  .final-cta,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  footer nav {
    flex-wrap: wrap;
    gap: 14px 22px;
  }
}

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

  .button {
    transition: none;
  }
}
