@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/Fraunces_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('/fonts/Nunito_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('/fonts/Nunito_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #fbf6ef;
  --card: #ffffff;
  --text: #2e2a33;
  --muted: #5f5866;
  --accent: #ad4468;
  --on-accent: #ffffff;
  --soft: #fce8ec;
  --soft2: #f1ecfb;
  --line: #eee4da;
  --grad-a: #f8d3dc;
  --grad-b: #e3daf6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17141b;
    --card: #211c26;
    --text: #f5eff3;
    --muted: #bdb3c3;
    --accent: #f2a3b8;
    --on-accent: #17141b;
    --soft: #3a2530;
    --soft2: #2c2640;
    --line: #332b38;
    --grad-a: #3a2530;
    --grad-b: #2c2640;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.6 'Nunito',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}
h1,
h2,
h3 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.2;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}
h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 14px;
}
a {
  color: var(--accent);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--card);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  text-decoration: none;
}
.nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.nav nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.nav nav a.pill {
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 16px;
  border-radius: 999px;
}
@media (max-width: 720px) {
  .nav nav a:not(.pill) {
    display: none;
  }
}

.section,
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 20px;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-top: 24px;
}
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent);
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
}
.fine {
  font-size: 0.88rem;
  color: var(--muted);
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 12px;
}
.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 170px;
  padding: 10px 20px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  line-height: 1.2;
}
.store-small {
  font-size: 0.75rem;
}
.store-big {
  font-size: 1.25rem;
  font-weight: 700;
}

.phone {
  justify-self: center;
  width: min(300px, 80vw);
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  background: var(--text);
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}
.screen {
  height: 100%;
  border-radius: 34px;
  background: var(--bg);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.app-head {
  display: flex;
  flex-direction: column;
}
.hello {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.names {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
}
.app-card {
  background: var(--card);
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-card.gradient {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  flex-direction: column;
  align-items: flex-start;
}
.app-card .big {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.app-card.mood {
  flex-direction: column;
  align-items: flex-start;
}
.emoji {
  font-size: 1.4rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.feature {
  background: var(--card);
  border-radius: 20px;
  padding: 22px;
}
.feature p {
  color: var(--muted);
  margin: 0;
}
.icon {
  font-size: 1.8rem;
}

.demos {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.demo.reverse .demo-art {
  order: 2;
}
@media (max-width: 760px) {
  .demo {
    grid-template-columns: 1fr;
  }
  .demo.reverse .demo-art {
    order: 0;
  }
}
.demo-text p {
  color: var(--muted);
}
.demo-art {
  min-height: 220px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--soft), var(--soft2));
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.bubble {
  max-width: 75%;
  padding: 10px 16px;
  border-radius: 18px;
  background: var(--card);
}
.bubble.right {
  align-self: flex-end;
  background: var(--accent);
  color: var(--on-accent);
}
.bubble.small {
  font-size: 0.82rem;
  color: var(--muted);
}
.widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.w {
  background: var(--card);
  border-radius: 22px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.w b {
  font-family: 'Fraunces', Georgia, serif;
}
.w span {
  font-size: 0.8rem;
  color: var(--muted);
}
.w-note {
  font-size: 1rem;
  font-style: italic;
}

.shot-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.shot-row img {
  height: 520px;
  border-radius: 28px;
  scroll-snap-align: start;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checks li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.checks li::before {
  content: '♥';
  position: absolute;
  left: 4px;
  color: var(--accent);
}
.checks b {
  color: var(--text);
}

.premium {
  text-align: center;
  max-width: 760px;
}
.premium p {
  color: var(--muted);
}

.faq details {
  background: var(--card);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
}
.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  border-top: 1px solid var(--line);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}

/* Legal pages */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 12px 0 20px;
  display: block;
  overflow-x: auto;
}
.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 8px 10px;
}
.doc blockquote {
  margin: 0 0 16px;
  padding: 12px 16px;
  background: var(--soft2);
  border-radius: 12px;
}
.doc code {
  background: var(--soft);
  padding: 1px 5px;
  border-radius: 5px;
}
.placeholder {
  background: #fff3b0;
  color: #3d3200;
  border-radius: 4px;
  padding: 0 3px;
}
[hidden] {
  display: none !important;
}
