@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fff1f5;
  --bg-soft: #fff8fa;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --surface-muted: #ffe8ef;
  --ink: #24171d;
  --muted: #705a63;
  --subtle: #94838a;
  --line: rgba(69, 28, 45, 0.12);
  --line-strong: rgba(69, 28, 45, 0.2);
  --accent: #ff6f84;
  --accent-dark: #b72f52;
  --accent-soft: #ffe1e8;
  --gold: #8f3d56;
  --white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(108, 43, 67, 0.1);
  --shadow-strong: 0 30px 80px rgba(83, 28, 49, 0.18);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 111, 132, 0.2), transparent 30%),
    radial-gradient(circle at 94% 10%, rgba(183, 47, 82, 0.16), transparent 28%),
    linear-gradient(145deg, var(--bg-soft) 0%, var(--bg) 48%, #f6dce5 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(69, 28, 45, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 28, 45, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 111, 132, 0.42);
  outline-offset: 3px;
}

.site-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 58px;
  position: relative;
}

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  margin-bottom: 28px;
  padding: 10px 12px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(108, 43, 67, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  padding: 8px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, var(--accent), var(--accent-dark));
  box-shadow: none;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-text strong,
.site-footer strong,
h1,
h2,
h3,
.headline,
.screen-card figcaption {
  font-family: "Sora", sans-serif;
}

.brand-text strong {
  font-size: 1.03rem;
  letter-spacing: -0.03em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

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

.site-nav a {
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 111, 132, 0.12);
  color: var(--accent-dark);
}

.hero,
.section,
.section-cta,
.section-intro,
.page-sub .hero-subhead {
  border: 1px solid rgba(69, 28, 45, 0.1);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 42px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 42px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(69, 28, 45, 0.94), rgba(183, 47, 82, 0.88)),
    radial-gradient(circle at 80% 10%, rgba(255, 225, 232, 0.3), transparent 36%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 22px 22px auto auto;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -1px 0;
  width: 100%;
  height: 28%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.18), transparent);
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.section-heading,
.split-copy,
.cta-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero .eyebrow {
  color: #ffd7df;
}

h1,
h2,
h3,
.headline {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h1 {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 11ch;
}

h2,
.headline {
  font-size: clamp(2rem, 4vw, 3.35rem);
  max-width: 14ch;
}

h3 {
  font-size: 1.14rem;
  letter-spacing: -0.035em;
}

.lede,
.section-copy,
.split-copy p,
.cta-copy p,
.info-card p,
.split-panel p,
.site-footer p,
.legal-card p,
.support-card p,
.support-card li {
  color: var(--muted);
  line-height: 1.7;
}

.lede {
  margin: 22px 0 0;
  max-width: 64ch;
  font-size: 1.08rem;
}

.hero .lede,
.hero .hero-points li {
  color: rgba(255, 255, 255, 0.78);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent-soft);
  color: var(--accent-dark);
  box-shadow: 0 14px 34px rgba(5, 12, 8, 0.16);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.section-cta .button-primary,
.page-sub .button-primary {
  background: var(--ink);
  color: var(--white);
}

.hero-points {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.hero-points li {
  padding-left: 24px;
  position: relative;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffd7df;
  box-shadow: 0 0 0 5px rgba(255, 215, 223, 0.14);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 6px 0;
}

.hero-device,
.screen-card img {
  margin: 0;
  padding: 10px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 46px -24px rgba(83, 28, 49, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-device img,
.screen-card img {
  width: 100%;
  border-radius: 25px;
}

.hero-device-main {
  width: min(100%, 318px);
  transform: rotate(1.5deg);
  box-shadow: 0 28px 54px -30px rgba(83, 28, 49, 0.46);
}

.hero-device-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 420px);
}

.hero-device-small:first-child {
  transform: rotate(-3deg);
}

.hero-device-small:last-child {
  transform: rotate(2.5deg);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 0;
}

.trust-strip div,
.info-card,
.screen-card,
.split-panel article,
.support-card,
.legal-card {
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(108, 43, 67, 0.07);
}

.trust-strip div {
  padding: 22px;
}

.trust-strip strong {
  display: block;
  font-family: "Sora", sans-serif;
  margin-bottom: 7px;
  letter-spacing: -0.035em;
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.6;
}

.section,
.section-intro,
.section-cta {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-xl);
}

.section-heading {
  display: grid;
  gap: 10px;
}

.section-heading h2 {
  color: var(--ink);
}

.section-copy {
  max-width: 62ch;
  margin: 0;
}

.intro-grid,
.screens-grid,
.support-grid,
.legal-grid {
  display: grid;
  gap: 18px;
}

.intro-grid {
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.support-card,
.legal-card {
  padding: 24px;
}

.info-card {
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--gold);
}

.info-card h3,
.split-panel h3,
.support-card h3,
.legal-card h3 {
  margin-bottom: 10px;
}

.screens-grid {
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screen-card {
  padding: 12px;
  margin: 0;
}

.screen-card figcaption {
  padding: 14px 8px 8px;
  font-size: 0.94rem;
  font-weight: 700;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill-row span,
.support-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
}

.pill-row span {
  padding: 10px 14px;
  background: var(--surface-muted);
  color: var(--accent-dark);
  border: 1px solid rgba(69, 28, 45, 0.08);
}

.split-panel {
  display: grid;
  gap: 14px;
}

.split-panel article {
  padding: 22px;
}

.section-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 225, 232, 0.8));
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  transition: transform 180ms ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
}

.app-store-badge img {
  width: 178px;
  height: auto;
}

.app-store-badge-hero img {
  width: 196px;
}

.site-nav .app-store-badge {
  padding: 0;
  background: transparent;
}

.site-nav .app-store-badge:hover,
.site-nav .app-store-badge:focus-visible {
  background: transparent;
}

.app-store-badge-nav img {
  width: 132px;
}

.site-footer {
  margin-top: 18px;
  padding: 26px 8px 0;
  align-items: flex-start;
}

.site-footer strong {
  letter-spacing: -0.035em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.footer-links a,
.legal-card a,
.support-card a {
  color: var(--accent-dark);
  font-weight: 700;
}

.footer-links a:hover,
.legal-card a:hover,
.support-card a:hover {
  color: var(--gold);
}

.page-sub .hero-subhead {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-xl);
}

.page-sub .hero-subhead p {
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.7;
}

.support-grid {
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-card ul,
.support-card ol,
.legal-card ul {
  margin: 10px 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.support-card li + li,
.legal-card li + li {
  margin-top: 6px;
}

.support-tag {
  padding: 7px 11px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.legal-grid {
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-span {
  grid-column: 1 / -1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1040px) {
  .hero,
  .section-split {
    grid-template-columns: 1fr;
  }

  .section-cta,
  .page-sub .hero-subhead {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 4px;
  }

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

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 22px, var(--max));
    padding-top: 12px;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    border-radius: 28px;
  }

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

  .brand-text span {
    white-space: normal;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .hero,
  .section,
  .section-intro,
  .section-cta,
  .page-sub .hero-subhead {
    padding: 22px;
    border-radius: 28px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.2rem);
  }

  .trust-strip,
  .intro-grid,
  .screens-grid,
  .support-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-device-main {
    max-width: 255px;
  }

  .hero-device-row {
    width: min(100%, 330px);
    gap: 12px;
  }

  .footer-links {
    align-items: flex-start;
  }

  .full-span {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .site-nav .app-store-badge {
    width: 100%;
  }

  .button,
  .app-store-badge,
  .app-store-badge img {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .hero-device-row {
    grid-template-columns: 1fr;
    width: min(100%, 230px);
  }

  .hero-device-small:first-child,
  .hero-device-small:last-child,
  .hero-device-main {
    transform: none;
  }
}
