@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --sand-beige: #f4efe7;
  --cream-white: #fbf8f3;
  --warm-latte: #d8c3a7;
  --earth-brown: #7b5b42;
  --cinnamon-orange: #b96b3d;
  --sage-green: #8a8d63;
  --light-olive: #b7b08a;
  --soft-taupe: #cfc4b4;
  --dried-rose-beige: #e7d8c9;
  --sun-sand: #ead9be;
  --espresso: #4b3527;
  --dark-olive: #5f6245;
  --premium-accent: #c9a46a;
  --background: var(--cream-white);
  --card-background: var(--sand-beige);
  --primary-button: var(--sage-green);
  --secondary-button: var(--cinnamon-orange);
  --text-primary: var(--espresso);
  --text-secondary: var(--earth-brown);
  --border: var(--dried-rose-beige);
  --radius: 8px;
  color-scheme: light;
  font-family: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text-primary);
  background:
    linear-gradient(180deg, rgba(244, 239, 231, 0.42), rgba(251, 248, 243, 0) 360px),
    var(--background);
  font-family: "Playfair Display", Georgia, serif;
  overflow-x: hidden;
}

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

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

.section-shell {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1080px, calc(100% - 40px));
  min-height: 64px;
  margin: 12px auto 0;
  padding: 10px 14px;
  border: 1px solid rgba(231, 216, 201, 0.9);
  border-radius: var(--radius);
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-background);
  color: var(--dark-olive);
  font-size: 22px;
  font-weight: 900;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-secondary);
  font-size: 17px;
  font-weight: 700;
}

.main-nav a,
.site-footer nav a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.site-footer nav a:hover {
  color: var(--text-primary);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: 64px;
  min-height: calc(100svh - 92px);
  padding: 72px 0 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--dark-olive);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(68px, 12vw, 138px);
  font-weight: 900;
  line-height: 0.9;
}

.hero-text {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--text-secondary);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 800;
}

.primary-button {
  color: var(--cream-white);
  background: var(--primary-button);
}

.text-button {
  color: var(--text-primary);
  border: 1px solid var(--border);
  background: rgba(244, 239, 231, 0.56);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.phone-shot {
  position: absolute;
  width: min(260px, 64vw);
  min-height: 450px;
  padding: 28px 22px;
  border: 8px solid var(--espresso);
  border-radius: 28px;
  background: var(--card-background);
  box-shadow: 0 28px 72px rgba(75, 53, 39, 0.18);
}

.phone-shot span {
  display: block;
  width: 62px;
  height: 62px;
  margin-bottom: 60px;
  border-radius: 50%;
  background: var(--warm-latte);
}

.phone-shot strong {
  display: block;
  color: var(--text-primary);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.03;
}

.phone-shot p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.soft-line {
  height: 12px;
  margin-top: 34px;
  border-radius: 99px;
  background: var(--soft-taupe);
}

.soft-line.short {
  width: 68%;
  margin-top: 12px;
}

.mood-list {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.mood-list b {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  background: rgba(251, 248, 243, 0.62);
  font-size: 18px;
  line-height: 1;
}

.phone-shot-back {
  top: 22px;
  right: 0;
  opacity: 0.72;
  transform: rotate(5deg);
}

.phone-shot-front {
  top: 96px;
  left: 0;
  transform: rotate(-4deg);
}

.intro-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card-background);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.intro-grid article {
  min-height: 230px;
  padding: 38px 28px;
  background: rgba(251, 248, 243, 0.36);
}

.intro-grid span {
  color: var(--secondary-button);
  font-size: 18px;
  font-weight: 900;
}

.intro-grid h2 {
  margin: 18px 0 10px;
  font-size: 34px;
  line-height: 1;
}

.intro-grid p,
.download-strip p,
.legal-card p,
.legal-card li {
  color: var(--text-secondary);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
}

.screens-section {
  padding: 78px 0;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 30px;
}

.section-heading h2,
.download-strip h2,
.legal-hero h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 0.98;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.screen-gallery article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-background);
}

.screen-gallery span {
  color: var(--secondary-button);
  font-size: 18px;
  font-weight: 900;
}

.screen-gallery h3 {
  margin: 82px 0 0;
  color: var(--text-primary);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
}

.download-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-bottom: 52px;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--sun-sand);
}

.download-strip h2 {
  font-size: clamp(36px, 5vw, 58px);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.store-badge {
  display: grid;
  min-width: 158px;
  min-height: 56px;
  padding: 9px 16px;
  border-radius: var(--radius);
  color: var(--cream-white);
  background: var(--espresso);
}

.store-badge small {
  font-size: 12px;
  line-height: 1;
}

.store-badge b {
  font-size: 22px;
  line-height: 1;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 700;
}

.legal-page {
  padding: 70px 0;
}

.legal-hero {
  max-width: 780px;
  margin-bottom: 32px;
}

.legal-hero p {
  color: var(--text-secondary);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.52;
}

.legal-hero .legal-updated {
  color: var(--dark-olive);
  font-size: 17px;
  font-weight: 800;
}

.legal-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(244, 239, 231, 0.72);
}

.legal-card + .legal-card {
  margin-top: 18px;
}

.legal-card h2 {
  margin: 0 0 14px;
  font-size: 31px;
  line-height: 1.08;
}

.legal-card p {
  margin: 0;
}

.legal-card p + p {
  margin-top: 14px;
}

.legal-card ul {
  margin: 0;
  padding-left: 22px;
}

.legal-card a {
  color: var(--secondary-button);
  font-weight: 900;
}

@media (max-width: 820px) {
  .section-shell,
  .site-header {
    width: min(100% - 28px, 1080px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .main-nav,
  .site-footer nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
    padding: 54px 0 34px;
  }

  .hero h1 {
    font-size: clamp(64px, 22vw, 104px);
  }

  .hero-text {
    font-size: 21px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .phone-shot {
    width: min(218px, 58vw);
  }

  .phone-shot-back {
    right: 8px;
  }

  .phone-shot-front {
    left: 8px;
    top: 78px;
  }

  .intro-grid,
  .screen-gallery,
  .download-strip {
    grid-template-columns: 1fr;
  }

  .intro-grid article {
    min-height: auto;
    padding: 30px 22px;
  }

  .download-strip {
    padding: 28px 22px;
  }

  .download-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 420px) {
  .brand {
    font-size: 23px;
  }

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

  .primary-button,
  .text-button,
  .store-badge {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .phone-shot {
    width: min(196px, 62vw);
    border-width: 7px;
  }

  .section-heading h2,
  .download-strip h2,
  .legal-hero h1 {
    font-size: 40px;
  }

  .legal-card {
    padding: 24px 18px;
  }
}
