/* ===== Dopoint landing — brand teal, Inter, custom (no build) ===== */
:root {
  --brand: #0F766E;
  --brand-light: #14B8A6;
  --brand-soft: #D7F0EC;
  --bg: #F7F8F8;
  --surface: #FFFFFF;
  --outline: #E6E9E8;
  --bg-dark: #0B1110;
  --surface-dark: #121A18;
  --text: #0E1513;
  --text-2: #5B6764;
  --text-dark: #E8EEEC;
  --text-2-dark: #93A29E;
  --grad: linear-gradient(135deg, #14B8A6 0%, #0F766E 100%);
  --shadow-sm: 0 1px 2px rgba(14,21,19,.06), 0 2px 8px rgba(14,21,19,.04);
  --shadow-md: 0 8px 24px rgba(14,21,19,.08);
  --shadow-lg: 0 24px 60px rgba(14,21,19,.16);
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px; line-height: 1;
  padding: 14px 22px; border-radius: var(--r-pill);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 18px; }

.btn-store {
  background: #0E1513; color: #fff; box-shadow: var(--shadow-md);
}
.btn-store:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-store .store-badge {
  display: grid; place-items: center; width: 30px; height: 30px;
  background: var(--grad); border-radius: 8px; font-size: 13px; color: #fff;
}
.btn-store .store-badge-mini { color: var(--brand-light); font-size: 12px; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-text small { font-size: 11px; font-weight: 500; opacity: .7; }
.store-text strong { font-size: 17px; font-weight: 700; }
.btn-store.is-soon { opacity: .96; }

.btn-ghost { color: var(--brand); background: transparent; }
.btn-ghost:hover { color: var(--brand-light); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,248,248,.8);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--outline);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--text-2); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--brand); }
.header-inner .btn-store { margin-left: 8px; }
.nav + .btn-store { margin-left: 0; }

/* ===== Hero ===== */
.hero {
  position: relative; padding: 80px 0 100px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(20,184,166,.16), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(15,118,110,.10), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--brand);
  background: var(--brand-soft); padding: 6px 14px; border-radius: var(--r-pill);
}
.eyebrow.light { background: rgba(255,255,255,.12); color: #fff; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; margin: 22px 0 18px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 30px 0 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); font-weight: 500; }
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-light); box-shadow: 0 0 0 4px rgba(20,184,166,.15); }

/* ===== Device mockups ===== */
.hero-visual { position: relative; height: 540px; }
.phone {
  position: absolute; width: 270px; height: 540px;
  background: #0B1110; border-radius: 42px; padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #1c2624;
}
.phone::before {
  content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: #0B1110; border-radius: var(--r-pill); z-index: 3;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
}
.phone-back { right: 0; top: 0; transform: rotate(4deg); z-index: 1; }
.phone-front { left: 0; bottom: 0; transform: rotate(-4deg); z-index: 2; }

/* call screen (overlay context) */
.call-screen { background: linear-gradient(180deg, #0e1f1c 0%, #0b1614 100%); color: #fff; display: flex; flex-direction: column; }
.call-top { padding: 54px 22px 0; text-align: center; }
.avatar { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 14px; background: var(--grad); display: grid; place-items: center; font-size: 30px; font-weight: 700; }
.call-name { font-size: 20px; font-weight: 700; }
.call-status { color: var(--text-2-dark); font-size: 14px; margin-top: 4px; }
.overlay-card {
  margin: 26px 16px auto; background: rgba(255,255,255,.97); color: var(--text);
  border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--shadow-lg);
}
.oc-head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.oc-logo { width: 18px; height: 18px; border-radius: 5px; }
.oc-theme { font-size: 16px; font-weight: 700; margin: 8px 0; }
.oc-row { font-size: 13px; color: var(--text-2); margin-top: 3px; }
.oc-next { margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 7px 10px; border-radius: var(--r-sm); }
.call-actions { display: flex; justify-content: space-around; padding: 0 0 40px; }
.call-btn { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #fff; }
.call-btn.decline { background: #DC4C4C; }
.call-btn.accept { background: #1FBF6B; }

/* push screen */
.push-screen { background: #11201d url('assets/logo_wide.png'); background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-start; }
.push-screen { background: linear-gradient(180deg, rgba(8,16,14,.55), rgba(8,16,14,.85)), radial-gradient(120% 60% at 50% 0, rgba(20,184,166,.4), transparent 60%); }
.push-card {
  margin: 80px 14px 0; background: rgba(255,255,255,.98); border-radius: var(--r-md);
  padding: 14px; box-shadow: var(--shadow-lg);
}
.push-head { display: flex; align-items: center; gap: 8px; }
.push-logo { width: 20px; height: 20px; border-radius: 6px; }
.push-app { font-size: 12px; font-weight: 600; color: var(--text-2); }
.push-title { font-size: 15px; font-weight: 700; margin: 8px 0 2px; }
.push-body { font-size: 13px; color: var(--text-2); }
.push-btns { display: flex; gap: 10px; margin-top: 12px; }
.push-btns span { flex: 1; text-align: center; font-size: 13px; font-weight: 600; padding: 8px; border-radius: var(--r-sm); }
.push-btns span:first-child { background: var(--brand); color: #fff; }
.push-btns span:last-child { background: var(--bg); color: var(--text-2); }
.mini-rec {
  margin: auto 14px 40px; background: rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(6px);
  border-radius: var(--r-pill); padding: 12px 18px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #DC4C4C; animation: pulse 1.1s infinite; }
.wave { display: inline-flex; gap: 3px; align-items: center; margin-left: auto; }
.wave i { width: 3px; height: 14px; background: var(--brand-light); border-radius: 2px; animation: wave 1s infinite ease-in-out; }
.wave i:nth-child(2){ animation-delay:.15s } .wave i:nth-child(3){ animation-delay:.3s } .wave i:nth-child(4){ animation-delay:.45s } .wave i:nth-child(5){ animation-delay:.6s }
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:.3 } }
@keyframes wave { 0%,100%{ transform: scaleY(.4) } 50%{ transform: scaleY(1) } }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; text-align: center; }
.section-sub { text-align: center; color: var(--text-2); font-size: 18px; max-width: 56ch; margin: 14px auto 0; }

/* cards 3 */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 54px; }
.card { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-ico { font-size: 32px; }
.card h3 { font-size: 20px; margin: 16px 0 8px; letter-spacing: -.01em; }
.card p { color: var(--text-2); }

/* steps */
.how { background: var(--surface); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 54px; counter-reset: s; }
.step { position: relative; padding: 28px 22px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--outline); }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; font-size: 18px; box-shadow: var(--shadow-sm); }
.step h3 { font-size: 18px; margin: 16px 0 8px; }
.step p { color: var(--text-2); font-size: 15px; }

/* features grid */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.feature { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-lg); padding: 28px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }
.feature-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--brand-soft); }
.feature h3 { font-size: 19px; margin: 18px 0 8px; letter-spacing: -.01em; }
.feature p { color: var(--text-2); font-size: 15px; }

/* privacy */
.privacy { background: var(--bg-dark); color: var(--text-dark); border-radius: 0; }
.privacy-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.privacy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin: 18px 0 14px; color: #fff; }
.privacy .lead { color: var(--text-2-dark); }
.checks { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 36px; color: var(--text-2-dark); font-size: 16px; }
.checks li b { color: var(--text-dark); }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.privacy-badge { display: grid; place-items: center; }
.shield { width: 200px; height: 230px; display: grid; place-items: center; gap: 10px; align-content: center;
  background: linear-gradient(180deg, rgba(20,184,166,.18), rgba(15,118,110,.06));
  border: 1px solid rgba(20,184,166,.3); border-radius: 30px 30px 80px 80px; box-shadow: inset 0 0 40px rgba(20,184,166,.15); }
.shield img { width: 78px; height: 78px; border-radius: 20px; box-shadow: var(--shadow-md); }
.shield span { font-weight: 800; font-size: 22px; letter-spacing: .02em; color: #fff; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-md); padding: 0; margin-top: 14px; overflow: hidden; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); }

/* CTA */
.cta { background: var(--surface); }
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto;
  background: var(--bg-dark); color: #fff; padding: 60px 40px; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-inner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -20%, rgba(20,184,166,.35), transparent 60%); }
.cta-inner > * { position: relative; }
.cta-logo { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 22px; box-shadow: var(--shadow-md); }
.cta-inner h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.cta-inner p { color: var(--text-2-dark); margin: 14px 0 28px; font-size: 18px; }
.cta-inner .btn-store { margin: 0 auto; }
.cta-note { font-size: 14px !important; color: var(--text-2-dark); margin-top: 18px !important; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--outline); padding: 50px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-name { font-size: 18px; }
.footer-brand p { color: var(--text-2); font-size: 14px; margin-top: 2px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--text-2); font-size: 15px; transition: color .15s; }
.footer-nav a:hover { color: var(--brand); }
.footer-meta { text-align: right; color: var(--text-2); font-size: 14px; }
.footer-meta p { margin-top: 4px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { height: 560px; margin: 8px auto 0; max-width: 560px; width: 100%; }
  .phone { width: 248px; height: 496px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 36px; }
  .privacy-badge { order: -1; }
  .cards-3, .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .header-inner .btn-store { margin-left: auto; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 56px; }
  .cards-3, .cards-grid, .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }

  /* На узком экране — один телефон (карточка контекста), без обрезки */
  .hero-visual { height: auto; max-width: 300px; display: flex; justify-content: center; }
  .phone-front { display: none; }
  .phone-back { position: static; transform: none; margin: 0 auto; }
  .phone { width: 272px; height: 544px; }

  .cta-inner { padding: 44px 22px; }
}
@media (max-width: 360px) {
  .phone { width: 248px; height: 496px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}
