/* Ласточка Джами — independent DuckDNS landing. Shared tokens also serve legal.css. */
:root {
  --brand:#C21E19; --brand-deep:#7E110E; --brand-mid:#E5241F;
  --bright:#FCC900; --bright-deep:#D9A800; --green:#21A038;
  --cream:#FBF4EF; --cream-warm:#F4E6DF; --bone:#FEFAF8; --paper:#fff;
  --ink:#1A1C1C; --ink-soft:#2A2A2A; --muted:#5F5F5F;
  --hairline:rgba(126,17,14,.18); --hairline-on-dark:rgba(251,244,239,.4);
  --sans:"Onest",system-ui,-apple-system,"Segoe UI",sans-serif; --serif:var(--sans);
  --radius-sm:10px; --radius:16px; --radius-lg:24px; --radius-xl:32px;
  --nav-height:69px; --container:1160px; --gutter:clamp(1rem,3vw,2rem); --ease:ease;
}
*,*::before,*::after { box-sizing:border-box; }
* { margin:0; padding:0; }
html { -webkit-text-size-adjust:100%; background:var(--cream); }
body { font-family:var(--sans); font-size:1rem; line-height:1.6; color:var(--ink); background:var(--cream); -webkit-font-smoothing:antialiased; overflow-wrap:anywhere; }
[hidden] { display:none !important; }
img,svg { display:block; max-width:100%; height:auto; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; color:inherit; }
a { color:inherit; text-decoration:none; }
a:hover { text-decoration:underline; text-underline-offset:.2em; }
ul { list-style:none; }
figure { min-width:0; }
:focus-visible { outline:3px solid var(--brand); outline-offset:4px; }
.store :focus-visible { outline-color:var(--bright); }
::selection { background:var(--brand); color:white; }
.container { width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--gutter); }
section,[id] { scroll-margin-top:calc(var(--nav-height) + .75rem); }
h1,h2,h3 { line-height:1.18; letter-spacing:-.035em; text-wrap:balance; }
h1 { font-size:clamp(1.8rem,3.2vw,2.65rem); font-weight:800; }
h2 { font-size:clamp(1.4rem,2.1vw,1.8rem); font-weight:700; }
h3 { font-size:1.125rem; font-weight:700; letter-spacing:-.02em; }
em { font-style:normal; color:var(--brand); }
.eyebrow,.badge { display:block; color:var(--brand-deep); font-size:.875rem; font-weight:600; margin-bottom:.75rem; }
.section-head { margin-bottom:1rem; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:.5rem; left:1rem; transform:translateY(-200%); z-index:100; padding:.75rem 1rem; background:white; color:var(--brand); }
.skip-link:focus { transform:none; }
.btn { display:inline-flex; justify-content:center; align-items:center; gap:.5rem; min-height:44px; padding:.5rem .9rem; border:1px solid transparent; border-radius:10px; font-size:1rem; font-weight:600; line-height:1.4; text-align:center; max-width:100%; }
.btn:hover { text-decoration:none; }
.btn--solid { background:var(--brand); color:#fff; }
.btn--solid:hover { background:var(--brand-deep); }
.btn--outline,.btn--ghost { border-color:var(--brand); color:var(--brand-deep); background:transparent; }
.btn--outline:hover,.btn--ghost:hover { background:var(--cream-warm); }
.btn--bright { color:var(--brand-deep); background:var(--bright); }
.btn--bright:hover { background:#ffdb4d; }
.btn--ghost-light { color:white; border-color:var(--hairline-on-dark); }
.btn--ghost-light:hover { color:var(--brand-deep); background:var(--cream); }
.nav { position:sticky; top:0; z-index:60; background:var(--paper); border-bottom:1px solid var(--hairline); }
.nav__shell { display:flex; align-items:center; gap:1.5rem; min-height:64px; padding-block:.5rem; }
.nav__brand { display:flex; align-items:center; gap:.6rem; font-size:1.125rem; font-weight:750; line-height:1.25; color:var(--brand-deep); min-width:0; }
.nav__brand img { width:36px; height:36px; border-radius:9px; flex-shrink:0; }
.nav__sub { display:inline; font-size:.875rem; font-weight:500; color:var(--muted); }
.nav__links { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:.35rem 1.1rem; margin-left:auto; font-size:.875rem; }
.nav__links a { padding-block:.5rem; }
.nav__links a[href="/shop/"] { color:var(--brand-deep); font-weight:600; }
.nav__cta { font-size:.875rem; }
.nav__burger { display:none; background:transparent; border:1px solid var(--hairline); border-radius:10px; min-width:44px; min-height:44px; flex-shrink:0; align-items:center; justify-content:center; margin-left:auto; }
.nav__panel { position:absolute; top:100%; left:0; right:0; max-height:calc(100dvh - var(--nav-height)); overflow-y:auto; background:var(--paper); border-bottom:1px solid var(--hairline); box-shadow:0 12px 18px rgba(26,28,28,.08); padding-block:.5rem 1rem; }
.nav__links a[aria-current="location"],.nav__panel a:not(.btn)[aria-current="location"] { color:var(--brand-deep); text-decoration:underline; text-underline-offset:.3em; text-decoration-thickness:2px; }
.nav.is-open .nav__burger { background:var(--cream-warm); }
.nav.is-open .nav__burger path { d:path("M6 6l12 12M6 18L18 6"); }
.nav__panel a { display:flex; padding:.75rem; min-height:48px; align-items:center; }
.hero { padding:1.5rem 0; }
.hero__inner { display:grid; grid-template-columns:minmax(0,1fr) 280px; align-items:center; gap:2.5rem; }
.hero__lede { color:var(--ink-soft); font-size:1rem; max-width:34rem; margin:.8rem 0 1rem; }
.hero__download { max-width:40rem; }
.download-label { font-size:.875rem; font-weight:600; margin-bottom:.5rem; }
.hero__ctas { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; max-width:24rem; }
.store-btn { display:flex; align-items:center; gap:.5rem; justify-content:center; padding:.5rem .65rem; border-radius:8px; background:var(--brand); color:white; min-height:44px; line-height:1.2; }
.store-btn:hover { background:var(--brand-deep); text-decoration:none; }
.store-btn svg { flex:0 0 22px; width:22px; height:22px; }
.store-btn span { min-width:0; }
.store-btn strong { display:block; font-size:.875rem; font-weight:600; }
.hero__shop { margin-top:.75rem; font-size:.875rem; }
.features { padding:1.75rem 0; background:var(--paper); }
.features__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
.features__grid article { border-top:1px solid var(--hairline); padding-top:1rem; }
.features__grid p { color:var(--muted); margin-top:.4rem; }
.screens { padding:1.75rem 0; }
.screens__head { display:flex; justify-content:space-between; align-items:flex-end; gap:1.5rem; margin-bottom:1.5rem; }
.screens__nav { display:flex; gap:.5rem; flex-shrink:0; }
.screens__btn { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--paper); color:var(--brand-deep); border:1px solid var(--hairline); }
.screens__btn:hover { background:var(--cream-warm); }
.screens__btn:disabled { color:var(--muted); opacity:.5; cursor:default; }
/* Only the gallery scrolls horizontally; the document never hides overflow. */
.screens__rail { overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; padding:4px 0 1rem; }
.screens__track { display:flex; gap:1rem; }
.screens__item { flex:0 0 min(100%,260px); scroll-snap-align:start; }
.screens__item img { width:100%; height:auto; border-radius:14px; }
.screens__item figcaption { margin-top:.4rem; font-size:.875rem; font-weight:600; }
.screens__help { margin-top:.5rem; font-size:.875rem; color:var(--muted); }
.store { padding:1.75rem 0; background:var(--brand-deep); color:var(--cream); }
.store .eyebrow { color:var(--bright); }
.store__inner { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:3rem; align-items:center; }
.store__lede { margin-top:1rem; }
.store__details strong { font-size:1.125rem; }
.store__cta { display:flex; flex-wrap:wrap; gap:.65rem; margin-top:.75rem; }
.store__socials { display:flex; flex-wrap:wrap; gap:1.5rem; margin-top:1rem; }
.store__socials a { text-decoration:underline; text-underline-offset:.2em; padding-block:.35rem; }
.faq { padding:1.75rem 0; background:var(--paper); }
.faq__item { border-bottom:1px solid var(--hairline); }
.faq__item summary,.requisites summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:44px; padding:.65rem 0; cursor:pointer; list-style:none; font-weight:600; }
summary::-webkit-details-marker { display:none; }
.faq__plus { width:20px; height:20px; position:relative; flex-shrink:0; }
.faq__plus::before,.faq__plus::after { content:""; position:absolute; background:currentColor; top:9px; left:3px; width:14px; height:2px; }
.faq__plus::after { transform:rotate(90deg); }
details[open]>summary .faq__plus::after { display:none; }
.faq__item p { max-width:58rem; padding:0 2rem 1.25rem 0; color:var(--muted); }
.faq__item p a { color:var(--brand-deep); text-decoration:underline; }
.foot { background:var(--paper); padding:1.25rem 0; border-top:1px solid var(--hairline); font-size:.875rem; }
.foot__top { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem 1.5rem; }
.foot__logo { display:flex; align-items:center; gap:.5rem; font-weight:700; font-size:1rem; color:var(--brand-deep); }
.foot__logo img { width:32px; height:32px; flex-shrink:0; border-radius:8px; }
.foot__actions,.foot__contact-line,.foot__documents { display:flex; align-items:center; flex-wrap:wrap; gap:.25rem 1.25rem; }
.foot__actions a { color:var(--brand-deep); font-weight:600; }
.foot a { padding-block:.35rem; }
.foot__contact-line { margin-top:.5rem; }
.foot__contact-line span { color:var(--muted); }
.foot__documents { border-top:1px solid var(--hairline); margin-top:.65rem; padding-top:.65rem; color:var(--muted); }
.foot__bottom { display:flex; align-items:baseline; flex-wrap:wrap; gap:0 1.5rem; color:var(--muted); margin-top:.5rem; }
.requisites { flex:1 1 16rem; color:var(--ink-soft); }
.requisites summary { padding:.4rem 0; min-height:36px; justify-content:flex-start; font-weight:500; }
.requisites__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.requisites__grid dt { color:var(--muted); margin-top:.5rem; }
.requisites__grid dd a { text-decoration:underline; }
/* In normal document flow: never overlays a call to action, including at 200% text. */
.cookie { border-top:1px solid var(--hairline); background:var(--cream-warm); padding-block:1rem; }
.cookie__inner { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.cookie p { flex:1 1 16rem; font-size:.875rem; }
.cookie a { text-decoration:underline; color:var(--brand-deep); }
@media (max-width:68rem) {
 .nav__links { display:none; }
 .nav__cta { margin-left:auto; font-size:.875rem; padding-inline:.65rem; }
 .nav__brand { font-size:1rem; gap:.4rem; }
 .nav__sub { display:block; font-size:.75rem; }
 .nav__burger { display:flex; }
 .nav__shell { min-height:68px; gap:.5rem; }
 .nav__burger { margin-left:0; }
 .nav.is-open .nav__panel { display:flex; flex-direction:column; gap:.25rem; }
 .nav__panel .btn { margin-top:.5rem; }
 .hero__inner { gap:1.5rem; }
}
@media (max-width:24rem) {
 .nav__shell { flex-wrap:wrap; }
 .nav__brand { flex:1; }
 .nav__cta { order:3; width:100%; margin-left:0; }
}
@media (max-width:46rem) {
 .hero { padding:1.25rem 0; }
 .hero__inner { grid-template-columns:minmax(0,1fr); gap:2rem; }
 .hero__copy { max-width:36rem; }
 .hero__ctas { max-width:30rem; }
 .features,.screens,.store,.faq { padding:1.5rem 0; }
 .features__grid,.store__inner { grid-template-columns:minmax(0,1fr); gap:1.5rem; }
 .screens__head { flex-wrap:wrap; gap:1rem; }
 .requisites__grid { grid-template-columns:minmax(0,1fr); gap:.75rem; }
}
@media (max-width:23rem) {
 .store-btn { padding:.65rem .5rem; gap:.4rem; }
 .store-btn svg { flex-basis:18px; width:18px; }

}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; } }

/* Phone illustration restored from the independent landing's original version. */
.phone {
  position: relative;
  width: clamp(280px, 28vw, 360px);
  aspect-ratio: 1 / 2.05;
  perspective: 1500px;
}
.phone__frame {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1F1A1A 0%, #120E0E 100%);
  border-radius: clamp(38px, 4vw, 52px);
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 0 0 2px #0A0505,
    0 50px 100px -20px rgba(0,0,0,0.45),
    0 30px 60px -30px rgba(194,30,25,0.6);
  transform: rotateY(-6deg) rotateX(2deg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotateY(-6deg) rotateX(2deg) translateY(0); }
  50%      { transform: rotateY(-5deg) rotateX(1deg) translateY(-12px); }
}
.phone__notch {
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #0A0505;
  border-radius: 999px;
  z-index: 5;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--cream);
  border-radius: clamp(28px, 3vw, 42px);
  overflow: hidden;
  display: flex; flex-direction: column;
  font-size: 11px;
  color: var(--ink);
}
.phone__statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px 6px;
  font-size: 11px; font-weight: 600;
  color: var(--ink);
}
.phone__icons { display: flex; gap: 6px; align-items: center; color: var(--ink); }
.phone__appbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 18px 10px;
}
.phone__brand { display: flex; align-items: center; gap: 6px; }
.phone__brand-mark {
  width: 26px; height: 26px;
  background: var(--brand);
  color: var(--cream);
  font-family: var(--serif);
  font-style: normal;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}
.phone__brand-text {
  font-family: var(--serif);
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}
.phone__bell {
  width: 30px; height: 30px;
  background: rgba(194,30,25,0.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.phone__address {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 18px 8px;
  font-size: 11px;
  color: var(--ink-soft);
}
.phone__address svg:first-child { color: var(--bright); }
.phone__search {
  display: flex; align-items: center; gap: 8px;
  margin: 6px 18px;
  padding: 8px 12px;
  background: var(--bone);
  border-radius: 12px;
  color: var(--muted);
  font-size: 11px;
}
.phone__stories {
  display: flex; gap: 8px;
  padding: 12px 18px;
  overflow: hidden;
}
.phone__story {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c, #FCC900);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--c);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
}
.phone__sectionlabel {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-deep);
  padding: 8px 18px 6px;
  letter-spacing: -0.01em;
}
.phone__sectionhead {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-right: 18px;
}
.phone__sectionhead .phone__sectionlabel { padding-bottom: 4px; }
.phone__sectionall {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}
.phone__cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px 18px 14px;
}
.phone__cat {
  background: var(--bg);
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 10px;
  font-weight: 600;
  min-height: 60px;
  position: relative;
  overflow: hidden;
}
.phone__cat-emoji {
  font-size: 18px;
  line-height: 1;
  align-self: flex-start;
}
.phone__cat span:last-child { color: var(--ink); margin-top: auto; }
.phone__store {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 18px;
}
.phone__store-img {
  width: 38px; height: 38px;
  background: var(--c);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.phone__store-info { flex: 1; min-width: 0; }
.phone__store-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone__store-meta {
  display: flex; gap: 4px;
  font-size: 9px;
  color: var(--muted);
}
.phone__star { color: var(--orange); font-weight: 600; }
.phone__tabbar {
  margin-top: auto;
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 18px 24px;
  border-top: 1px solid rgba(194,30,25,0.08);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  font-size: 18px;
  color: var(--muted);
}
.phone__tabbar .active { color: var(--brand); }
.phone__tabbar-cart {
  position: relative;
  background: var(--brand);
  color: var(--cream);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.phone__tabbar-cart i {
  position: absolute;
  top: -3px; right: -3px;
  background: var(--bright);
  color: var(--brand-deep);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  width: 14px; height: 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--cream);
}

.phone__shadow {
  position: absolute;
  bottom: -50px;
  left: 10%; right: 10%;
  height: 50px;
  background: radial-gradient(ellipse at center, rgba(40,10,8,0.4) 0%, transparent 70%);
  filter: blur(8px);
  z-index: -1;
}


.hero__visual { width:260px; height:510px; justify-self:center; }
.phone { width:300px; transform:scale(.82); transform-origin:top left; }
.phone__frame { box-shadow:0 18px 38px -16px rgba(40,10,8,.35); animation:float 6s ease-in-out infinite; }
.phone__shadow { display:none; }
.hero h1 { max-width:20ch; }
@media (min-width:75rem) { .hero__ctas { grid-template-columns:repeat(4,minmax(0,1fr)); max-width:40rem; } }
@media (max-width:62rem) { .hero__visual { display:none; } .hero__inner { grid-template-columns:minmax(0,1fr); } }
@media (max-width:46rem) {
 .screens__item { flex-basis:min(100%,240px); }
 .features__grid { gap:1rem; }
 .features__grid article { padding-top:.75rem; }
 .store__inner { gap:.75rem; }
 .store__cta { margin-top:0; }
 .requisites__grid { grid-template-columns:minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) { .phone__frame { animation:none; transform:none; } }

.hero__visual:hover .phone__frame { animation-play-state:paused; }
