:root {
  --bg: #fff7f2;            /* cream */
  --bg-2: #fdeee6;          /* deeper cream */
  --fg: #3b2a2e;            /* plum ink */
  --muted: #7c6a62;         /* warm muted */
  --accent: #e8755a;        /* coral */
  --accent-strong: #c24e34; /* darker coral — links/hover */
  --gold: #e9b44c;          /* warm gold accent */
  --card: #ffffff;
  --border: #f1e0d7;        /* blush border */
  --plum: #2f2125;          /* device bezel */
  --shadow: 0 18px 50px rgba(59, 42, 46, 0.12);
  --shadow-soft: 0 8px 24px rgba(59, 42, 46, 0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 26px rgba(232, 117, 90, 0.32);
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn-ghost:hover { background: #fff; }

/* Кнопка-«скоро»: вид как у primary, но не кликабельна (App Store ещё нет). */
.btn-soon {
  cursor: default;
  opacity: 0.9;
  box-shadow: none;
  user-select: none;
}
.btn-soon::before { content: "✨ "; }

/* Пилюля «Coming soon» в шапке. */
.pill-soon {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent-strong);
  background: rgba(232, 117, 90, 0.12);
  border: 1px solid var(--border);
}

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 247, 242, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.08rem; font-family: "Fraunces", Georgia, serif; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: linear-gradient(135deg, #ffe3d4, #ffd0c0);
  border: 1px solid var(--border);
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 48px; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(46% 40% at 78% 6%, rgba(233, 180, 76, 0.26), transparent 70%),
    radial-gradient(52% 46% at 12% 0%, rgba(232, 117, 90, 0.18), transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.tag {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--accent-strong);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 18px;
  font-weight: 500;
}
.hero h1 { font-size: 3.1rem; line-height: 1.06; margin: 0 0 16px; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; max-width: 34ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.subnote { color: var(--muted); font-size: 0.88rem; margin-top: 16px; }
.hero-art { display: flex; justify-content: center; }
.hero-art .phone { transform: rotate(2.2deg); }

/* ---------- phone mockup ---------- */
.phone {
  width: 290px;
  background: var(--plum);
  border-radius: 44px;
  padding: 13px;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}
.phone-screen {
  position: relative;
  background: var(--bg);
  border-radius: 33px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 22px; background: var(--plum); border-radius: 999px; z-index: 3;
}
/* Реальный скриншот заполняет экран рамки (свой статус-бар уже в кадре). */
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 22px 4px; font-size: 0.72rem; font-weight: 600; color: var(--fg);
}
.statusbar .dots { letter-spacing: 1px; }
.sp-screen { padding: 6px 16px 18px; overflow: hidden; flex: 1; }
.sp-title { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.45rem; margin: 4px 2px 12px; }
.sp-sub-h { font-size: 0.78rem; color: var(--muted); margin: -8px 2px 12px; }

/* app card (recipient row / idea) */
.sp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 13px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 11px;
}
.sp-row { display: flex; align-items: center; gap: 11px; }
.sp-mono {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.05rem;
  color: var(--accent); background: rgba(232, 117, 90, 0.14); flex: 0 0 auto;
}
.sp-grow { flex: 1; min-width: 0; }
.sp-name { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.02rem; }
.sp-meta { font-size: 0.8rem; color: var(--muted); }
.sp-pill {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 7px; padding: 4px 10px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 600;
  color: var(--accent-strong); background: rgba(232, 117, 90, 0.12);
}
.sp-chev { color: #d2bdb3; font-size: 0.9rem; }
.sp-idea-ico {
  width: 38px; height: 38px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: rgba(233, 180, 76, 0.18); flex: 0 0 auto;
}
.sp-idea-reason { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sp-chip {
  font-size: 0.72rem; padding: 4px 10px; border-radius: 999px;
  background: rgba(232, 117, 90, 0.10); color: var(--accent-strong); border: 1px solid var(--border);
}
.sp-detail-head { text-align: center; padding: 8px 0 4px; }
.sp-detail-head .sp-mono { width: 64px; height: 64px; font-size: 1.6rem; margin: 0 auto 8px; }
.sp-detail-head .sp-name { font-size: 1.25rem; }

/* ---------- generic section ---------- */
section { padding: 58px 0; }
h2 { font-size: 2.1rem; margin: 0 0 10px; text-align: center; }
.section-sub { color: var(--muted); text-align: center; max-width: 54ch; margin: 0 auto 38px; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.feature .ico {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: linear-gradient(135deg, #ffe3d4, #ffd7c6);
  margin-bottom: 15px;
}
.feature h3 { margin: 0 0 6px; font-size: 1.12rem; color: var(--accent-strong); }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- gallery ---------- */
.gallery {
  display: flex; gap: 26px; overflow-x: auto;
  padding: 10px 4px 24px; scroll-snap-type: x mandatory;
}
.gallery .phone { width: 240px; scroll-snap-align: center; }
.gallery .cap { text-align: center; color: var(--muted); font-size: 0.86rem; margin-top: 12px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 22px 22px;
  box-shadow: var(--shadow-soft);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff; font-family: "Fraunces", Georgia, serif; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(232, 117, 90, 0.32);
}
.step .ico { font-size: 26px; margin-bottom: 8px; }
.step h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- examples ---------- */
.examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.example {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.example .who { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.example .who .sp-mono { width: 48px; height: 48px; }
.example .who-text { flex: 1; min-width: 0; }
.example .who h3 { margin: 0; font-size: 1.16rem; }
.example .who .rel { font-size: 0.82rem; color: var(--muted); }
.occ-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; color: #9a6a1b;
  background: rgba(233, 180, 76, 0.20); border: 1px solid rgba(233, 180, 76, 0.42);
  white-space: nowrap;
}
.meta-label {
  display: block; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); font-weight: 600; margin: 0 0 8px;
}
.tastes { margin-bottom: 18px; }
.example .ideas { list-style: none; margin: 0; padding: 0; }
.example .ideas li {
  display: flex; align-items: center; flex-wrap: wrap; gap: 11px;
  padding: 13px 0; border-top: 1px solid var(--border);
}
.example .ideas li:first-child { border-top: none; padding-top: 4px; }
.example .ideas .gi {
  width: 36px; height: 36px; border-radius: 11px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  background: rgba(233, 180, 76, 0.18);
}
.idea-main { flex: 1 1 52%; min-width: 0; }
.idea-title { display: block; font-weight: 600; font-size: 0.97rem; }
.idea-desc { display: block; font-size: 0.83rem; color: var(--muted); margin-top: 2px; }
.buy {
  margin-left: auto; flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 11px;
  font-size: 0.82rem; font-weight: 600; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 6px 16px rgba(232, 117, 90, 0.28);
}
.buy:hover { text-decoration: none; filter: brightness(1.05); }

/* ---------- disclosure / band / disclaimer ---------- */
.disclosure {
  background: #fbeee7;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  color: var(--muted);
}
.disclosure strong { color: var(--fg); }

.band {
  background: linear-gradient(135deg, rgba(232, 117, 90, 0.16), rgba(233, 180, 76, 0.16));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 44px;
  text-align: center;
}
.band h2 { margin-bottom: 8px; }
.band p { color: var(--muted); margin: 0 0 24px; }

.disclaimer {
  color: var(--muted); font-size: 0.85rem; text-align: center;
  max-width: 72ch; margin: 30px auto 0;
  border-top: 1px solid var(--border); padding-top: 22px;
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; align-items: center; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.foot nav a { color: var(--muted); margin-left: 18px; }

/* ---------- legal pages (privacy/terms) — preserved ---------- */
.container { max-width: 760px; margin: 0 auto; padding: 24px 20px 64px; }
main h1 { font-size: 2rem; }
main h2 { font-size: 1.3rem; margin-top: 1.6em; color: var(--accent-strong); }
.legal-meta { color: var(--muted); font-size: 0.9rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .examples { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero h1 { font-size: 2.5rem; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-art { margin-top: 36px; }
  .buy { width: 100%; justify-content: center; margin-left: 0; margin-top: 4px; }
}
