@font-face {
  font-family: "Playfair Display";
  src: url("../mobile/assets/PlayfairDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../mobile/assets/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../mobile/assets/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

:root {
  --bg: #fdf9f4;
  --surface: #ffffff;
  --surface-soft: #f7f3ee;
  --surface-mid: #ebe8e3;
  --text: #1c1c19;
  --muted: #544343;
  --primary: #712d31;
  --primary-strong: #3d060c;
  --secondary: #7b5455;
  --gold: #735616;
  --line: #d9c1c0;
  --shadow: 0 24px 70px rgba(113, 45, 49, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(253, 249, 244, 0.92);
  border-bottom: 1px solid rgba(217, 193, 192, 0.55);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

.brand img {
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  min-height: calc(100vh - 176px);
  padding: clamp(36px, 6vw, 68px) clamp(20px, 5vw, 72px) 0;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  overflow-wrap: normal;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(56px, 9vw, 108px);
  font-weight: 700;
  line-height: 0.92;
}

h2 {
  color: var(--primary-strong);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
}

h3 {
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  line-height: 1.15;
}

.hero-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions,
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 8px;
  font-weight: 600;
}

.button {
  padding: 0 24px;
  border: 1px solid var(--primary);
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
}

.button-secondary {
  color: var(--primary);
}

.phone-preview {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 306px);
  min-height: 470px;
  padding: 14px;
  border: 7px solid var(--primary-strong);
  border-radius: 30px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.phone-status {
  width: 94px;
  height: 17px;
  margin: 0 auto 15px;
  border-radius: 0 0 16px 16px;
  background: var(--primary-strong);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

.search-dot {
  width: 28px;
  height: 28px;
  border: 2px solid var(--primary);
  border-radius: 50%;
}

.app-subtitle {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  text-align: center;
}

.chips {
  display: flex;
  gap: 8px;
  overflow: hidden;
  margin-bottom: 22px;
}

.chips span {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fdcbcb;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
}

.chips span:first-child {
  background: var(--primary);
  color: #ffffff;
}

.story-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
  padding: 9px;
  border: 1px solid rgba(217, 193, 192, 0.5);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(113, 45, 49, 0.08);
}

.story-card-muted {
  opacity: 0.86;
}

.story-cover {
  display: grid;
  place-items: center;
  min-height: 82px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 196, 196, 0.86), transparent 32%),
    linear-gradient(140deg, #712d31, #7b5455 48%, #735616);
  background-position: center;
  background-size: cover;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.story-cover-dark {
  background:
    radial-gradient(circle at 72% 20%, rgba(246, 205, 129, 0.56), transparent 34%),
    linear-gradient(150deg, #3d060c, #712d31 54%, #31302d);
  background-position: center;
  background-size: cover;
}

.story-tag {
  margin: 3px 0 5px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.story-card h2 {
  font-size: 17px;
}

.story-card p:last-child {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.mini-player {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
}

.play-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  clip-path: polygon(30% 20%, 30% 80%, 78% 50%);
}

.mini-player strong,
.mini-player span {
  display: block;
}

.mini-player span {
  font-size: 13px;
  opacity: 0.84;
}

.section,
.split-section,
.download-section {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.feature {
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(217, 193, 192, 0.7);
  border-radius: 8px;
  background: var(--surface);
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

.feature p,
.split-section p,
.download-section p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
  background: var(--surface-soft);
}

.split-section > div {
  max-width: 740px;
}

.steps {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(217, 193, 192, 0.7);
  border-radius: 8px;
  background: var(--surface);
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
}

.steps p {
  margin: 0;
}

.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(217, 193, 192, 0.65);
  border-bottom: 1px solid rgba(217, 193, 192, 0.65);
}

.download-section > div:first-child {
  max-width: 720px;
}

.store-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.store-button {
  flex-direction: column;
  align-items: flex-start;
  min-width: 174px;
  padding: 12px 18px;
  background: var(--primary-strong);
  color: #ffffff;
}

.store-button span {
  font-size: 12px;
  line-height: 1.1;
  opacity: 0.8;
}

.store-button strong {
  font-size: 20px;
  line-height: 1.15;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

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

  .hero {
    padding-top: 44px;
  }

  .phone-shell {
    min-height: auto;
  }

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

  .feature {
    min-height: 0;
  }

  .download-section {
    display: block;
  }

  .store-actions {
    margin-top: 26px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions,
  .store-actions {
    flex-direction: column;
  }

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

  .story-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .story-cover {
    min-height: 100px;
  }

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