:root {
  color-scheme: light;
  --ink: #171315;
  --muted: #6f6266;
  --paper: #fff7f3;
  --panel: #ffffff;
  --line: #ead9d2;
  --accent: #e44061;
  --accent-dark: #9f1832;
  --charcoal: #211b1e;
  --rose: #ffdbe2;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  background: #fff0f1;
  scrollbar-width: none;
}

body {
  position: relative;
  min-width: 100%;
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  background: #fff0f1;
  overflow-x: hidden;
  scrollbar-width: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100vw;
  min-width: 100%;
  height: 100dvh;
  background:
    radial-gradient(circle at 76% 20%, rgba(228, 64, 97, 0.14), transparent 30rem),
    linear-gradient(135deg, #fffaf5 0%, #fff0f1 52%, #f6ece6 100%);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

main {
  width: 100%;
  min-width: 100%;
  margin: 0;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: center;
  gap: clamp(40px, 6vw, 92px);
  padding: 72px clamp(28px, 7vw, 112px) 48px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 580px;
  margin: 22px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  margin: 0;
}

.hero-copy p {
  max-width: 620px;
  font-weight: 650;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.badges span,
.toolbar span {
  border: 1px solid rgba(159, 24, 50, 0.22);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 850;
}

.phone {
  width: min(100%, 450px);
  margin-left: auto;
  border-radius: 44px;
  padding: 32px 28px;
  background: var(--charcoal);
  box-shadow: 0 36px 90px rgba(64, 25, 31, 0.22);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  margin-bottom: 24px;
}

.phone-top img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.phone-top strong {
  display: block;
  font-size: 24px;
  font-weight: 950;
}

.phone-top span {
  color: #f4b9c6;
  font-weight: 800;
}

.app-preview {
  display: block;
  width: 100%;
  max-height: 610px;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.toolbar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.toolbar span {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 0 clamp(28px, 7vw, 112px) 72px;
}

article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 34px;
}

h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  letter-spacing: 0;
}

a {
  color: var(--accent-dark);
  font-weight: 800;
}

footer {
  margin: 0;
  padding: 0 clamp(28px, 7vw, 112px) 40px;
  color: var(--muted);
  font-weight: 750;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 28px;
    padding: 56px clamp(20px, 4vw, 44px) 44px;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(40px, 5.4vw, 58px);
  }

  p {
    font-size: 18px;
  }

  .phone {
    width: min(100%, 380px);
  }

  .phone-top strong {
    font-size: 22px;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  h1 {
    font-size: clamp(40px, 10vw, 58px);
  }

  .phone {
    margin: 0 auto;
  }

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

@media (max-width: 520px) {
  main {
    width: 100%;
  }

  footer {
    padding-inline: 16px;
  }

  .hero {
    padding: 30px 16px 40px;
  }

  .phone {
    border-radius: 34px;
    padding: 22px 18px;
  }

  .app-preview {
    max-height: 520px;
    border-radius: 24px;
  }

  .grid {
    gap: 14px;
    padding-inline: 16px;
  }

  article {
    padding: 24px;
  }
}
