:root {
  --coral: #ef664c;
  --coral-dark: #b94638;
  --blue: #307091;
  --yellow: #f6c55d;
  --mint: #92c5b2;
  --ink: #2b232b;
  --muted: #665f64;
  --paper: #f9f4eb;
  --surface: #fffdf9;
  --line: #e5d9cc;
  --white: #ffffff;
  --content: 1160px;
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  min-height: 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--content));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 21px;
  font-weight: 800;
}

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

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

.site-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--coral-dark);
}

.hero {
  position: relative;
  height: calc(78svh - 72px);
  min-height: 430px;
  max-height: 700px;
  isolation: isolate;
  overflow: hidden;
  background: #3c4838;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(20, 17, 20, 0.42);
}

.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}

.hero-inner {
  width: min(calc(100% - 40px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffe4a8;
}

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

h1 {
  margin-bottom: 16px;
  font-size: 72px;
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: 38px;
  font-weight: 850;
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
}

.hero-lead {
  max-width: 590px;
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
}

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

.button {
  min-height: 46px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  background: var(--coral-dark);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(20, 17, 20, 0.28);
  color: var(--white);
}

.button.secondary:hover {
  background: var(--white);
  color: var(--ink);
}

.section {
  padding: 92px 0;
}

.section.compact {
  padding: 68px 0;
}

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

.section.dark {
  background: var(--ink);
  color: var(--white);
}

.shell {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  min-width: 0;
  padding: 28px 32px 30px 0;
}

.feature + .feature {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.feature-number {
  display: block;
  margin-bottom: 24px;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 900;
}

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

.screen-section {
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--yellow);
  border-bottom: 5px solid var(--mint);
}

.screen-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.72fr);
  gap: clamp(40px, 6vw, 82px);
  align-items: center;
}

.screen-intro .section-heading {
  max-width: 460px;
  margin-bottom: 30px;
}

.screen-index {
  max-width: 440px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.screen-index li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.screen-index li > span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.screen-index strong,
.screen-index small {
  display: block;
}

.screen-index strong {
  color: var(--white);
  font-size: 15px;
}

.screen-index small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.screens-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
  padding-top: 28px;
}

.screen-shot {
  min-width: 0;
  margin: 0;
}

.screen-shot:nth-child(2) {
  transform: translateY(-28px);
}

.screen-shot:nth-child(3) {
  transform: translateY(18px);
}

.device-frame {
  width: 100%;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 28px;
  background: #100d11;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
}

.device-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1520;
  object-fit: contain;
  object-position: center top;
  border-radius: 22px;
  background: var(--paper);
}

.screen-shot figcaption {
  padding: 14px 4px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.screen-shot figcaption strong,
.screen-shot figcaption span {
  display: block;
}

.screen-shot figcaption strong {
  margin-bottom: 2px;
  color: var(--white);
  font-size: 14px;
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}

.trust-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 2px;
  width: 13px;
  height: 7px;
  border-bottom: 3px solid var(--blue);
  border-left: 3px solid var(--blue);
  transform: rotate(-45deg);
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-band h2,
.support-band p {
  margin-bottom: 6px;
}

.support-band .button.secondary {
  border-color: var(--blue);
  background: transparent;
  color: var(--blue);
}

.support-band .button.secondary:hover {
  background: var(--blue);
  color: var(--white);
}

.site-footer {
  padding: 34px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-shell {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-hero {
  padding: 76px 0 54px;
  background: var(--blue);
  color: var(--white);
}

.legal-hero .eyebrow {
  color: #d8f2e9;
}

.legal-hero h1 {
  margin-bottom: 12px;
  font-size: 48px;
}

.legal-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 64px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 28px;
}

.legal-nav strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  text-transform: uppercase;
}

.legal-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--coral-dark);
}

.legal-copy section {
  scroll-margin-top: 28px;
  margin-bottom: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.legal-copy section:last-child {
  border-bottom: 0;
}

.legal-copy h2 {
  font-size: 27px;
}

.legal-copy h3 {
  margin-top: 26px;
  font-size: 18px;
}

.legal-copy p,
.legal-copy li {
  color: #484146;
}

.legal-copy li + li {
  margin-top: 9px;
}

.legal-note {
  padding: 18px 20px;
  border-left: 4px solid var(--yellow);
  background: var(--surface);
}

.steps {
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 48px;
  padding: 6px 0 22px 58px;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 800px) {
  .nav-shell {
    align-items: flex-start;
    padding: 14px 0;
  }

  .site-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .hero {
    height: calc(78svh - 72px);
  }

  h1 {
    font-size: 52px;
  }

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

  .feature-grid,
  .trust-band,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 24px 0;
  }

  .feature + .feature {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .screen-showcase {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .screen-intro .section-heading,
  .screen-index {
    max-width: 680px;
  }

  .trust-band {
    gap: 36px;
  }

  .legal-nav {
    position: static;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .site-header,
  .nav-shell {
    min-height: 64px;
  }

  .nav-shell,
  .shell,
  .hero-inner,
  .footer-shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand span {
    display: none;
  }

  .site-nav a {
    font-size: 13px;
  }

  .hero {
    height: calc(78svh - 64px);
    min-height: 430px;
  }

  .hero-image {
    object-position: 58% 50%;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 31px;
  }

  .actions,
  .actions .button {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .screen-section {
    padding-bottom: 54px;
  }

  .screens-grid {
    width: calc(100% + 14px);
    margin-right: -14px;
    padding: 18px 14px 16px 0;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--yellow) rgba(255, 255, 255, 0.16);
    scrollbar-width: thin;
  }

  .screen-shot,
  .screen-shot:nth-child(2),
  .screen-shot:nth-child(3) {
    flex: 0 0 min(78vw, 320px);
    transform: none;
    scroll-snap-align: start;
  }

  .support-band {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .support-band .button {
    width: 100%;
  }

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

  .legal-hero {
    padding: 54px 0 42px;
  }

  .legal-hero h1 {
    font-size: 38px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
