:root {
  --bg: #fff4e3;
  --bg-stripe: #fdebd0;
  --card: #ffffff;
  --ink: #4a2c17;
  --ink-soft: #7a5a43;
  --brand: #ee6a2c;
  --brand-dark: #c94f17;
  --green: #2dbe8c;
  --green-dark: #1f9a70;
  --wood: #6b4226;
  --line: #f0d9bb;
  --shadow: 0 6px 0 rgba(107, 66, 38, .18), 0 14px 30px rgba(107, 66, 38, .12);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #2a1c12;
    --bg-stripe: #2f2016;
    --card: #3a281b;
    --ink: #fbe9d2;
    --ink-soft: #d5b899;
    --line: #4d3727;
    --wood: #8a5a37;
    --shadow: 0 6px 0 rgba(0, 0, 0, .35), 0 14px 30px rgba(0, 0, 0, .3);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg) repeating-linear-gradient(90deg, var(--bg) 0 46px, var(--bg-stripe) 46px 92px);
  line-height: 1.55;
  font-size: 17px;
}
a { color: var(--brand-dark); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) a { color: #ff9a62; } }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav a:hover { color: var(--brand-dark); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 28px 0 56px; }
.hero h1 {
  font-size: clamp(52px, 9vw, 92px); line-height: 1; margin: 0 0 14px; font-weight: 900;
  color: var(--brand); letter-spacing: -1px;
  text-shadow: 0 4px 0 var(--wood);
}
.hero .tag { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; margin: 0 0 14px; }
.hero p { color: var(--ink-soft); margin: 0 0 26px; max-width: 34em; }
.app-icon { width: 104px; height: 104px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); margin-bottom: 22px; display: block; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 16px;
  font-weight: 900; font-size: 16px; text-decoration: none; color: #fff; background: var(--green);
  box-shadow: 0 5px 0 var(--green-dark); transition: transform .08s;
}
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--green-dark); }
.btn.soon { background: var(--wood); box-shadow: 0 5px 0 #4a2c17; cursor: default; opacity: .85; }
.btn small { font-weight: 700; opacity: .8; font-size: 12px; display: block; line-height: 1; }
.btn span { line-height: 1.1; text-align: left; }
.btn svg { width: 22px; height: 22px; flex: none; }
.phone-pair { position: relative; height: 560px; }
.phone {
  position: absolute; width: 250px; border-radius: 34px; border: 8px solid #3b2414; background: #3b2414;
  box-shadow: var(--shadow); overflow: hidden;
}
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
.phone.a { left: 0; top: 30px; transform: rotate(-5deg); }
.phone.b { right: 0; top: 0; transform: rotate(4deg); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 0 56px; }
.feature { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.feature .emo { font-size: 30px; }
.feature h3 { margin: 8px 0 6px; font-size: 19px; font-weight: 900; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

.shots { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 28px; scroll-snap-type: x mandatory; }
.shots img { width: 220px; height: auto; flex: none; border-radius: 22px; box-shadow: var(--shadow); scroll-snap-align: start; }
h2.section { font-size: 30px; font-weight: 900; margin: 0 0 18px; }

/* prose (policy, support) */
.doc { background: var(--card); border-radius: 24px; padding: 34px 38px; box-shadow: var(--shadow); margin: 10px 0 48px; }
.doc h1 { font-size: 36px; font-weight: 900; margin: 0 0 8px; line-height: 1.15; }
.doc h2 { font-size: 22px; font-weight: 900; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc a { word-break: break-word; }
.lang { float: right; font-weight: 800; font-size: 14px; background: var(--bg); border: 2px solid var(--line); border-radius: 999px; padding: 4px 12px; text-decoration: none; color: var(--ink); }

footer { border-top: 2px solid var(--line); padding: 22px 0 34px; color: var(--ink-soft); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: var(--ink-soft); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 10px; padding-top: 8px; }
  .phone-pair { height: 440px; max-width: 380px; width: 100%; margin: 0 auto; }
  .phone { width: 190px; border-width: 6px; border-radius: 28px; }
  .phone img { border-radius: 22px; }
  .features { grid-template-columns: 1fr; }
  .doc { padding: 24px 20px; border-radius: 20px; }
  .doc h1 { font-size: 28px; }
  .nav { gap: 12px; }
}
@media (max-width: 380px) {
  .phone { width: 160px; }
  .phone-pair { height: 380px; }
}
