:root {
  color-scheme: light;
  --yellow: #ffeb00;
  --ink: #111318;
  --muted: #5a6475;
  --line: #d8dde6;
  --paper: #ffffff;
  --soft: #f3f6fb;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #0f766e;
  --shadow: 0 18px 45px rgba(20, 24, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.header-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: clamp(34px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 235, 0, 0.98) 0%, rgba(255, 235, 0, 0.98) 50%, #f8fafc 50%, #f8fafc 100%);
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.4rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 3rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: #252a33;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

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

.primary-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}

.primary-button {
  color: #fff;
  background: var(--blue);
}

.primary-button:hover {
  background: var(--blue-dark);
}

.secondary-button {
  background: var(--paper);
  border-color: var(--ink);
}

.compact {
  white-space: nowrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin: 34px 0 0;
}

.stats div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: 8px;
}

.stats dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.stats dd {
  margin: 4px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.hero-media {
  position: relative;
  min-height: 540px;
}

.phone-shot {
  width: min(64%, 310px);
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--yellow);
  border: 1px solid rgba(17, 19, 24, 0.12);
}

.shot-front {
  position: absolute;
  right: 22%;
  top: 12px;
  z-index: 2;
}

.shot-back {
  position: absolute;
  right: 2%;
  top: 150px;
  z-index: 1;
}

.features,
.support,
.site-footer {
  padding-inline: clamp(18px, 5vw, 72px);
}

.features {
  padding-top: clamp(54px, 7vw, 88px);
  padding-bottom: clamp(54px, 7vw, 88px);
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
}

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

.feature {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

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

.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 42px;
  padding-bottom: 42px;
  background: #101828;
  color: #fff;
}

.support p {
  max-width: 720px;
  margin: 12px 0 0;
  color: #d5dce8;
}

.support .eyebrow {
  color: #63e6be;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow) 58%, #f8fafc 58%, #f8fafc 100%);
  }

  .hero-media {
    min-height: 410px;
  }

  .phone-shot {
    width: min(58%, 260px);
  }

  .shot-front {
    left: 6%;
    right: auto;
  }

  .shot-back {
    right: 8%;
    top: 112px;
  }

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

  .support,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .hero {
    padding-top: 32px;
  }

  .actions,
  .stats {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-media {
    min-height: 345px;
  }

  .phone-shot {
    width: min(70%, 224px);
  }

  .shot-front {
    left: 0;
  }

  .shot-back {
    right: 0;
    top: 96px;
  }

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