:root {
  color-scheme: light dark;
  --canvas: #f4f5fa;
  --surface: #ffffff;
  --surface-raised: #eceef6;
  --text: #111218;
  --secondary: #666977;
  --divider: #e5e7ef;
  --coral: #c2410c;
  --coral-fill: #c2410c;
  --coral-soft: #fde9e1;
  --shadow: 0 24px 70px rgba(28, 25, 23, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid color-mix(in srgb, var(--divider) 75%, transparent);
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--coral-fill);
  color: white;
  font-weight: 800;
}

nav,
.footer-links {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
}

nav a,
.footer-links a {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
.footer-links a:hover {
  color: var(--coral);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  min-height: calc(100vh - 72px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 128px) clamp(20px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--secondary);
  font-size: clamp(19px, 2vw, 24px);
}

.store-link {
  display: inline-block;
  min-width: 190px;
  min-height: 56px;
}

.store-link img {
  display: block;
  width: 205px;
  max-width: 100%;
}

.privacy-note {
  margin: 14px 0 0;
  color: var(--secondary);
  font-size: 13px;
}

.product-preview {
  position: relative;
  display: grid;
  place-items: center;
}

.product-preview::before {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: var(--coral-soft);
  content: "";
}

.phone {
  position: relative;
  width: min(100%, 370px);
  padding: 18px;
  border: 7px solid var(--text);
  border-radius: 46px;
  background: var(--canvas);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone-header,
.action-row,
.invoice-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-header {
  min-height: 44px;
}

.back {
  color: var(--coral);
  font-size: 34px;
}

.total-label {
  margin-top: 26px;
  color: var(--secondary);
  font-size: 13px;
  text-align: center;
}

.total {
  font-size: 37px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-align: center;
}

.due {
  margin-bottom: 22px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.action-row {
  margin-bottom: 16px;
  gap: 8px;
}

.action-row span {
  flex: 1;
  padding: 11px 4px;
  border-radius: 12px;
  background: var(--surface-raised);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.invoice-card {
  padding: 16px;
  border: 1px solid var(--divider);
  border-radius: 22px;
  background: var(--surface);
}

.invoice-card > div {
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 13px;
}

.invoice-card > div:last-child {
  border-bottom: 0;
}

.invoice-card span {
  color: var(--secondary);
}

.invoice-total strong {
  color: var(--coral);
  font-size: 18px;
}

.send-button,
.primary-link {
  display: block;
  margin-top: 16px;
  padding: 15px 20px;
  border-radius: 16px;
  background: var(--coral-fill);
  color: white;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.features,
.privacy-section,
.closing {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 72px);
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.feature-grid article {
  padding: 30px;
  border: 1px solid var(--divider);
  border-radius: 28px;
  background: var(--surface);
}

.feature-grid article p,
.privacy-section > p,
.closing p {
  color: var(--secondary);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 14px;
  background: var(--coral-soft);
  color: var(--coral);
  font-size: 14px;
  font-weight: 800;
}

.privacy-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 8vw, 100px);
  align-items: center;
  border-radius: 40px;
  background: var(--surface);
}

.privacy-section > p {
  margin: 0;
  font-size: clamp(19px, 2vw, 24px);
}

.closing {
  max-width: 850px;
  text-align: center;
}

.primary-link {
  display: inline-block;
  min-height: 54px;
  margin-top: 12px;
}

footer {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 48px 20px;
  border-top: 1px solid var(--divider);
  color: var(--secondary);
  font-size: 14px;
  text-align: center;
}

footer p {
  margin: 0;
}

.footer-brand {
  color: var(--text);
}

@media (max-width: 800px) {
  .site-header {
    align-items: flex-start;
  }

  nav a:first-child {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
    text-align: center;
  }

  .hero-copy {
    display: grid;
    justify-items: center;
  }

  .product-preview::before {
    width: 380px;
    height: 380px;
  }

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

  .privacy-section {
    margin-right: 20px;
    margin-left: 20px;
  }
}

@media (max-width: 480px) {
  nav {
    gap: 14px;
  }

  nav a {
    font-size: 13px;
  }

  h1 {
    font-size: 46px;
  }

  .product-preview::before {
    width: 300px;
    height: 300px;
  }

  .phone {
    width: 100%;
    transform: none;
  }

  .feature-grid article {
    padding: 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

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

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0b0c10;
    --surface: #17181f;
    --surface-raised: #22242e;
    --text: #f7f7fa;
    --secondary: #a8abb8;
    --divider: #2b2d38;
    --coral: #ff8358;
    --coral-fill: #b9380b;
    --coral-soft: #402016;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  }
}
