@font-face {
  font-family: "Work Sans";
  src: url("./src/fonts/WorkSans-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Work Sans";
  src: url("./src/fonts/WorkSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "Work Sans";
  src: url("./src/fonts/WorkSans-Bold.ttf") format("truetype");
  font-weight: 700;
}

@font-face {
  font-family: "Work Sans";
  src: url("./src/fonts/WorkSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
}

@font-face {
  font-family: "Work Sans";
  src: url("./src/fonts/WorkSans-Black.ttf") format("truetype");
  font-weight: 900;
}

@font-face {
  font-family: "Inter";
  src: url("./src/fonts/Inter_24pt-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("./src/fonts/Inter_24pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "Inter";
  src: url("./src/fonts/Inter_24pt-Bold.ttf") format("truetype");
  font-weight: 700;
}

:root {
  --page-bg: #ffffff;
  --panel-bg: #eef4f8;
  --accent: #a72857;
  --accent-dark: #7f1841;
  --text: #1c1618;
  --muted: #837478;
  --card: #fcf3f6;
  --stroke: rgba(28, 22, 24, 0.08);
  --shadow: 0 24px 60px rgba(70, 31, 49, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1312px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header,
.hero-section,
.love-section,
.cta-section,
.site-footer {
  background: var(--page-bg);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 52px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Work Sans", sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-mark {
  width: 26px;
  height: 50px;
  flex: 0 0 auto;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
}

.header-downloads {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
}

.pill-button--small {
  min-width: auto;
  height: 34px;
  padding: 0 14px;
}

.hero-section {
  padding: 64px 0 24px;
  position: relative;
  z-index: 1;
}

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

.hero-copy h1,
.section-copy h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero-copy h1 {
  letter-spacing: -0.035em;
}

.hero-copy h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.96;
}

.hero-copy p,
.section-copy p,
.cta-panel p,
.site-footer p,
.step-card p,
.testimonial-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.hero-copy p {
  font-size: 18px;
  margin-top: 24px;
}

.hero-stage {
  width: min(620px, 100%);
  margin: 96px auto 0;
  height: 500px;
  overflow: hidden;
}

.hero-art {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-2px);
}

.phone {
  position: relative;
  border-radius: 34px;
  background: #262022;
  box-shadow: var(--shadow);
}

.phone--hero {
  width: 262px;
  height: 540px;
  margin: 0 auto;
  padding: 12px;
}

.phone--step {
  width: 208px;
  height: 416px;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone--step .phone__notch {
  display: none;
}

.phone__notch {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 86px;
  height: 18px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #171112;
  z-index: 3;
}

.phone__screen {
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #ead9c5 0%, #c2d4e6 55%, #b7c3d2 100%);
}

.phone__screen--asset {
  background: transparent;
}

.phone__screen--asset img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.how-section {
  margin: -32px calc(50% - 50vw) 0;
  padding: 124px max(16px, calc((100vw - 1312px) / 2)) 96px;
  background: var(--panel-bg);
  position: relative;
  z-index: 2;
}

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

.section-copy h2 {
  font-size: clamp(28px, 3vw, 48px);
}

.section-copy p {
  font-size: 16px;
}

.steps-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.step-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.step-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 21px;
}

.step-card h3 {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.step-card p {
  max-width: 220px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.45;
}

.love-section {
  padding: 92px 0 70px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.testimonial-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid rgba(167, 40, 87, 0.08);
}

.stars {
  display: flex;
  gap: 4px;
}

.stars__icon {
  width: 14px;
  height: 14px;
  display: block;
  background-color: #982649;
  -webkit-mask-image: url("./src/web-assets/Star.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("./src/web-assets/Star.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.testimonial-card p {
  min-height: 84px;
  font-size: 12pt;
  line-height: 1.45;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
}

.testimonial-card__author strong,
.testimonial-card__author span {
  display: block;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.cta-section {
  padding: 6px 0 82px;
}

.cta-panel {
  padding: 96px 28px 96px;
  border-radius: var(--radius-xl);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.09), transparent 32%),
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.09), transparent 32%),
    #982649;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.cta-panel h2 {
  max-width: 480px;
  margin: 0 auto;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.92;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-top: 0;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 0;
}

.cta-download-button {
  height: 60px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  box-shadow: none;
}

.cta-download-button--compact {
  width: auto;
  min-width: 64px;
  max-width: 200px;
  height: 38px;
  padding: 0 6px;
  border-radius: 12px;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.cta-download-button__icon {
  display: block;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.cta-download-button--ios {
  width: 264.84px;
  background: #f3f3f3;
  color: var(--accent);
}

.cta-download-button__icon--apple {
  width: 18px;
  height: 24px;
  background-color: #982649;
  -webkit-mask-image: url("./src/download-icons/Apple.svg");
  mask-image: url("./src/download-icons/Apple.svg");
}

.cta-download-button--android {
  width: 306px;
  background: #8b183f;
  color: #ffffff;
}

.cta-download-button__icon--google {
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  -webkit-mask-image: url("./src/download-icons/Google.svg");
  mask-image: url("./src/download-icons/Google.svg");
}

.cta-download-button--compact.cta-download-button--ios {
  background: #8b183f;
  color: #ffffff;
}

.cta-download-button--compact.cta-download-button--ios .cta-download-button__icon--apple {
  background-color: #ffffff;
}

.cta-download-button--compact.cta-download-button--android {
  background: #f3f3f3;
  color: var(--accent);
}

.cta-download-button--compact.cta-download-button--android .cta-download-button__icon--google {
  background-color: #982649;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 0 40px;
  border-top: 1px solid rgba(28, 22, 24, 0.06);
}

.brand--footer {
  margin-bottom: 14px;
}

.footer-brand {
  max-width: 260px;
}

.footer-brand p {
  font-size: 11px;
  line-height: 1.45;
}

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

.footer-links h4 {
  margin: 0 0 14px;
  font-size: 12px;
}

.footer-links a {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.privacy-main {
  padding: 32px 0 64px;
}

.privacy-layout {
  width: min(1312px, 100%);
  margin: 0 auto;
}

.privacy-title {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.privacy-meta {
  margin-top: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.privacy-meta p {
  margin: 0;
}

.policy-section {
  margin-top: 36px;
  max-width: 1312px;
}

.policy-section h2,
.policy-section h3,
.policy-section h4 {
  margin: 0 0 14px;
  font-family: "Work Sans", sans-serif;
  color: var(--text);
}

.policy-section h2 {
  font-size: 28px;
  line-height: 1.2;
}

.policy-section h3 {
  margin-top: 24px;
  font-size: 22px;
  line-height: 1.25;
}

.policy-section h4 {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.3;
}

.policy-section p,
.policy-section li,
.privacy-table th,
.privacy-table td {
  font-size: 16px;
  line-height: 1.75;
  color: #3f3639;
}

.policy-section p {
  margin: 0 0 16px;
}

.policy-section ul,
.policy-section ol {
  margin: 0 0 18px 24px;
  padding: 0;
}

.policy-section li + li {
  margin-top: 10px;
}

.privacy-table-wrap {
  margin: 24px 0 24px;
  overflow-x: auto;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
}

.privacy-table th,
.privacy-table td {
  padding: 16px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(28, 22, 24, 0.12);
}

.privacy-table th:first-child,
.privacy-table td:first-child {
  width: 231px;
  padding-right: 36px;
}

.privacy-table th {
  font-weight: 700;
  color: var(--text);
}

.contact-list {
  list-style: none;
  margin-left: 0;
}

.contact-list a {
  color: var(--accent);
}

/* ── Beta Modal ──────────────────────────────────────────── */
.beta-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(39, 29, 32, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.beta-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.beta-modal {
  background: #982649;
  border-radius: 48px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 770px;
  width: 100%;
  transform: scale(0.95) translateY(8px);
  transition: transform 0.2s ease;
}

.beta-modal-overlay.is-open .beta-modal {
  transform: scale(1) translateY(0);
}

.beta-modal__header {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.beta-modal__close {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.beta-modal__close:hover {
  opacity: 1;
}

.beta-modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.beta-modal__title {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  color: #fff;
  text-align: center;
  line-height: 1;
  letter-spacing: -0.02em;
}

.beta-modal__subtitle {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.4;
}

.beta-modal__actions {
  padding-bottom: 24px;
}

.beta-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #982649;
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 40px;
  border-radius: 12px;
  text-decoration: none;
  line-height: 1.55;
  transition: background 0.15s ease;
}

.beta-modal__cta:hover {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 780px) {
  .beta-modal {
    border-radius: 28px;
    gap: 28px;
  }

  .beta-modal__subtitle {
    font-size: 16px;
  }
}

@media (max-width: 1100px) {
  .steps-grid,
  .testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    flex-direction: column;
  }

  .privacy-table th:first-child,
  .privacy-table td:first-child {
    width: 180px;
    padding-right: 24px;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(calc(100vw - 24px), 1312px);
  }

  .site-header {
    padding: 20px 0 32px;
    flex-direction: column;
    gap: 18px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-downloads {
    width: 100%;
    justify-content: center;
  }

  .privacy-main {
    padding: 12px 0 48px;
  }

  .privacy-meta {
    font-size: 16px;
  }

  .policy-section p,
  .policy-section li,
  .privacy-table th,
  .privacy-table td {
    font-size: 15px;
  }

  .hero-stage {
    width: min(100%, 420px);
    height: 370px;
  }

  .steps-grid,
  .testimonials,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-download-button,
  .cta-download-button--ios,
  .cta-download-button--android {
    width: min(100%, 306px);
  }
}
