/* MyChek — сайт. Темна тема в кольорах застосунку (бірюзова), системний шрифт Apple без сторонніх сервісів */
:root {
  --bg: #08161d;
  --bg2: #0b1f28;
  --card: #0f2630;
  --line: #1c3c47;
  --fg: #ecf6f7;
  --muted: #9bb6bd;
  --teal: #1fd8bf;
  --green: #5bf08d;
  --glow: rgba(31, 216, 191, .22);
  --r: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)); }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* Верхня панель */
.top { position: sticky; top: 0; z-index: 10; background: rgba(8, 22, 29, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(28, 60, 71, .6); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { border-radius: 9px; }
.langs { display: flex; gap: 4px; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 13px; padding: 6px 10px; border-radius: 999px; }
.langs a[aria-current] { background: var(--teal); color: #052a26; }

/* Перший екран */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 820px; max-height: 820px; background: radial-gradient(circle, var(--glow), transparent 65%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.pill { display: inline-block; font-size: 14px; font-weight: 600; color: var(--teal); border: 1px solid rgba(31, 216, 191, .35); background: rgba(31, 216, 191, .08); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--teal), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); margin-top: 22px; max-width: 34em; }
.cta { margin-top: 32px; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(90deg, var(--teal), var(--green)); color: #04261f; font-weight: 800; text-decoration: none; padding: 14px 24px; border-radius: 999px; box-shadow: 0 10px 30px rgba(31, 216, 191, .25); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(31, 216, 191, .35); }
.btn-big { font-size: 18px; padding: 17px 30px; }
.note { color: var(--muted); font-size: 14px; margin-top: 12px; }
.hero-shot { justify-self: center; width: min(360px, 100%); }
.hero-shot img { border-radius: 34px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px var(--line); }

/* Розділи */
.sec { padding: 64px 0; }
.sec h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 28px; }
.sub { color: var(--muted); font-size: 18px; margin: -12px auto 0; max-width: 36em; }

/* Можливості */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.feat-ic { font-size: 28px; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(31, 216, 191, .1); border-radius: 15px; margin-bottom: 16px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15px; }

/* Скріншоти */
.sec-shots h2 { margin-bottom: 24px; }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, calc((100vw - 1120px) / 2 + 16px)) 20px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.shot { margin: 0; flex: 0 0 auto; width: 240px; scroll-snap-align: center; }
.shot img { border-radius: 24px; border: 1px solid var(--line); }

/* Конфіденційність */
.band { background: linear-gradient(135deg, #0f2a33, #0a1d25); border: 1px solid var(--line); border-radius: 30px; padding: 40px; }
.pvs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pv-ic { font-size: 30px; margin-bottom: 12px; }
.pv h3 { font-size: 19px; margin-bottom: 6px; }
.pv p { color: var(--muted); font-size: 15px; }

/* Країни */
.ccs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.cc { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; }

/* Питання */
.faq { display: grid; gap: 10px; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; }
.qa summary { cursor: pointer; list-style: none; font-weight: 700; padding: 18px 28px 18px 0; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--teal); transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { color: var(--muted); padding-bottom: 18px; }

/* Фінал */
.final { padding-bottom: 80px; }
.final-ic { margin: 0 auto 20px; border-radius: 22px; box-shadow: 0 0 60px var(--glow); }
.final .btn { margin-top: 28px; }

/* Підтримка, конфіденційність */
.h1-sm { font-size: clamp(32px, 5vw, 48px); font-weight: 800; margin-bottom: 8px; }
.mailbox { margin: 28px 0 8px; }
.mail { color: var(--muted); margin-top: 10px; font-weight: 600; }
.tip { margin-top: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; color: var(--muted); }
.sup-others { margin-top: 44px; display: grid; gap: 14px; }
.sup-other { border-top: 1px solid var(--line); padding-top: 16px; }
.sup-other h3 { font-size: 17px; margin-bottom: 6px; }
.sup-other p { color: var(--fg); font-size: 15px; }
.muted { color: var(--muted) !important; margin-top: 4px; }
.back { display: inline-block; margin-top: 36px; text-decoration: none; font-weight: 600; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose li { color: #c9dbe0; }
.prose ul { padding-left: 20px; margin: 10px 0 0; }

/* Підвал */
.foot { border-top: 1px solid var(--line); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: 14px; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.foot-brand img { border-radius: 7px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot-links a:hover { color: var(--teal); }
.foot-made { color: #6f8c94; font-size: 14px; }

/* Планшет */
@media (max-width: 960px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr 300px; gap: 28px; }
}
/* Телефон */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero { padding: 36px 0 20px; }
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-shot { width: min(270px, 78%); }
  .btn-big { width: 100%; justify-content: center; }
  .sec { padding: 48px 0; }
  .feats { grid-template-columns: 1fr; }
  .feat { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; padding: 18px; }
  .feat-ic { grid-row: span 2; margin: 0; }
  .feat h3 { margin-bottom: 4px; }
  .shot { width: 200px; }
  .band { padding: 26px 20px; border-radius: 24px; }
  .pvs { grid-template-columns: 1fr; gap: 18px; }
  .brand span { font-size: 18px; }
  .langs a { padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
