/* Inter, self-hosted (SIL Open Font License, see static/fonts/OFL.txt): variable font, one file per script. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallback so the text does not jump when Inter arrives. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.6%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }

/* Snapisodes website (plan 1.16): dark, like the app, orange accent; mobile first. */
:root {
  --bg: #121214;
  --bg-2: #18181c;
  --surface: #1f1f24;
  --surface-2: #2a2a31;
  --text: #f4f4f6;
  --text-2: #b8b8c2;
  --muted: #8a8a96;
  --accent: #ff9f1c;
  --accent-2: #ffb74d;
  --radius: 18px;
  --wrap: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Links inside running text differ from it by more than colour (WCAG 1.4.1, axe link-in-text-block). */
main p a:not(.btn), main li a:not(.btn), main summary a { text-decoration: underline; text-underline-offset: 2px; }
.notfound-item { margin-bottom: 40px; }
.notfound-item h2 { font-size: 1.4rem; }
.center-more { text-align: center; margin-top: 28px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; text-align: center; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 24px; height: 24px; fill: currentColor; flex: none; }
.icon.tiny { width: 18px; height: 18px; vertical-align: -3px; }
.icon.big { width: 40px; height: 40px; color: var(--accent); margin-bottom: 12px; }
.icon.huge { width: 96px; height: 96px; color: var(--accent); }
section { padding: clamp(56px, 9vw, 110px) 0; }
.section-lead { text-align: center; color: var(--text-2); max-width: 720px; margin: 0 auto 48px; font-size: 1.1rem; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.pro { display: inline-block; background: var(--accent); color: #111; font-size: .7rem; font-weight: 800; padding: 1px 7px; border-radius: 6px; vertical-align: 2px; letter-spacing: .02em; text-transform: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(18, 18, 20, .85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.top-row { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; }
.brand img { border-radius: 9px; }
.brand:hover { text-decoration: none; }
.menu { display: none; gap: 24px; margin-left: auto; }
.menu a { color: var(--text-2); font-weight: 500; font-size: .95rem; }
.menu a:hover { color: var(--text); text-decoration: none; }
.lang-pick { margin-left: auto; }
.lang-pick select { background: var(--surface); color: var(--text); border: 1px solid var(--surface-2); border-radius: 10px; padding: 7px 10px; font: inherit; font-size: .9rem; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #111; font-weight: 700; border-radius: 12px; padding: 12px 20px; }
.btn:hover { background: var(--accent-2); text-decoration: none; }
.btn-small { display: none; padding: 8px 14px; font-size: .9rem; }
@media (min-width: 900px) {
  .menu { display: flex; }
  .lang-pick { margin-left: 8px; }
  .btn-small { display: inline-flex; }
}

/* Hero */
.hero { padding-top: clamp(32px, 6vw, 80px); background:
  radial-gradient(900px 500px at 85% 20%, rgba(255,159,28,.18), transparent 60%),
  radial-gradient(700px 400px at 0% 90%, rgba(255,159,28,.08), transparent 60%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-2); max-width: 560px; }
.note { color: var(--text-2); font-size: .95rem; margin-top: 18px; }
.note .icon { color: var(--accent); }
.hero-visual { position: relative; width: min(330px, 78vw); margin: 0 auto; }
.float { position: absolute; background: var(--surface); border: 1px solid var(--surface-2); color: var(--text); border-radius: 14px; padding: 10px 14px; font-size: .9rem; font-weight: 600; box-shadow: 0 12px 40px rgba(0,0,0,.45); display: flex; align-items: center; gap: 8px; animation: bob 5s ease-in-out infinite; }
.float .icon { color: var(--accent); }
.chip { top: -3%; left: -14%; }
.bubble { bottom: 16%; right: -20%; max-width: 230px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .hero-visual { width: 340px; }
}
@media (max-width: 480px) {
  .chip { left: -4%; } .bubble { right: -4%; }
}

/* Phone frame */
.phone { background: #0b0b0d; border: 10px solid #26262c; border-radius: 42px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); }
.phone img { width: 100%; }
.phone-hero { transform: rotate(2deg); }

/* Download */
.get { display: flex; align-items: center; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.badge img { width: 200px; }
.qr { display: none; align-items: center; gap: 12px; color: var(--text-2); font-size: .85rem; max-width: 190px; }
.qr svg { width: 92px; height: 92px; border-radius: 10px; flex: none; }
@media (min-width: 900px) and (hover: hover) { .qr { display: flex; } }
.cta-get { justify-content: center; }

/* Cards */
.cards { display: grid; gap: 18px; margin-top: 40px; padding: 0; list-style: none; }
.cards.three { grid-template-columns: 1fr; }
.cards.grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.audience .cards.grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
@media (min-width: 760px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid rgba(255,255,255,.05); border-radius: var(--radius); padding: 28px; position: relative; }
.card p { color: var(--text-2); margin: 0; }
.card.small { padding: 22px; }
.card.small .icon { color: var(--accent); margin-bottom: 10px; }
.card.small h3 { font-size: 1.08rem; }
.step-no { position: absolute; top: 18px; right: 22px; font-size: 3rem; font-weight: 800; color: rgba(255,159,28,.18); line-height: 1; }
.answer { text-align: center; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; margin: 44px auto 0; max-width: 760px; color: var(--accent); }
.pains, .more, .audience { background: var(--bg-2); }

/* Features */
.feature { display: grid; gap: 36px; align-items: center; margin-top: clamp(56px, 8vw, 110px); }
.feature-text p { color: var(--text-2); font-size: 1.08rem; }
.feature-text h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.feature-visual .phone { width: min(300px, 72vw); margin: 0 auto; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 80px; }
  .feature.flip .feature-text { order: 2; }
}
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.ticks .icon { color: var(--accent); margin-top: 4px; }

/* Privacy */
.privacy-grid { display: grid; gap: 28px; align-items: center; background: linear-gradient(135deg, rgba(255,159,28,.12), rgba(255,159,28,.02)); border: 1px solid rgba(255,159,28,.25); border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.privacy-grid h2 { text-align: left; }
.privacy-grid p { color: var(--text-2); }
.link { font-weight: 600; display: inline-block; margin-top: 18px; }
@media (min-width: 760px) { .privacy-grid { grid-template-columns: auto 1fr; } }

/* Pricing */
.plans { display: grid; gap: 22px; max-width: 900px; margin: 0 auto; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--surface); border-radius: 24px; padding: 32px; border: 1px solid rgba(255,255,255,.06); position: relative; }
.plan-pro { border: 2px solid var(--accent); box-shadow: 0 20px 60px rgba(255,159,28,.12); }
.price { font-size: 2rem; font-weight: 800; margin: 4px 0 8px; }
.price small { font-size: .95rem; font-weight: 500; color: var(--text-2); }
.ribbon { position: absolute; top: -14px; right: 24px; background: var(--accent); color: #111; font-weight: 800; font-size: .8rem; padding: 4px 12px; border-radius: 999px; margin: 0; }

/* FAQ */
details { background: var(--surface); border-radius: 14px; margin-top: 12px; padding: 0 22px; border: 1px solid rgba(255,255,255,.05); }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--text-2); padding-bottom: 18px; margin: 0; }
.faq h2 { margin-bottom: 28px; }

/* Final call */
.cta-box { text-align: center; background: radial-gradient(600px 300px at 50% 0%, rgba(255,159,28,.2), transparent 70%), var(--surface); border-radius: 32px; padding: clamp(36px, 6vw, 72px) 24px; }
.cta-box img { margin: 0 auto 18px; border-radius: 16px; }
.cta-box p { color: var(--text-2); max-width: 560px; margin-inline: auto; }

/* Long pages */
.doc { padding-top: 48px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); }
.prose { color: var(--text-2); }
.prose h2 { text-align: left; font-size: 1.4rem; color: var(--text); margin-top: 1.8em; }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.legal ol { padding-left: 1.6em; }
.legal li ul { margin: .4em 0; }
.legal li p { margin: .4em 0 0; }

/* Footer */
.foot { background: #0d0d0f; padding: 48px 0 110px; border-top: 1px solid rgba(255,255,255,.06); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot-row p { margin-top: 10px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--text-2); }
.foot-langs { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 28px; font-size: .9rem; }
.foot-langs a { color: var(--muted); }
.foot-langs a[aria-current] { color: var(--accent); }
@media (min-width: 900px) { .foot { padding-bottom: 48px; } }

/* Always-visible download button on phones */
.sticky-get { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; display: flex; justify-content: center; align-items: center; gap: 8px; background: var(--accent); color: #111; font-weight: 800; padding: 15px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: transform .3s; }
.sticky-get:hover { text-decoration: none; }
.sticky-get.hidden { transform: translateY(140%); }
@media (min-width: 900px) { .sticky-get { display: none; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  html { scroll-behavior: auto; }
}

/* Guides */
.crumbs { margin-bottom: 8px; }
.guide .lead { max-width: none; }
.guide .prose h2 { margin-top: 1.6em; }
.howto { padding-left: 1.3em; }
.howto li { margin-bottom: .8em; padding-left: .3em; }
.howto strong { display: block; }
.guide-shot { margin: 36px 0; }
.guide-shot .phone { width: min(260px, 70vw); margin: 0 auto; }
.guide-shot figcaption { text-align: center; margin-top: 12px; }
.guide .cta-box { margin-top: 56px; }
.guide-card { display: block; color: var(--text); }
.guide-card:hover { text-decoration: none; border-color: rgba(255,159,28,.45); }
.guide-card .link { color: var(--accent); margin-top: 14px; }

/* The report form (plan 1.41). */
.report { display: grid; gap: 10px; margin-top: 20px; }
.report label { font-weight: 600; }
.report .choice { font-weight: 400; display: flex; align-items: center; gap: 8px; }
.report fieldset { border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 10px 16px 14px; margin: 0; }
.report legend { padding: 0 6px; font-weight: 600; }
.report textarea, .report input[type=email] { width: 100%; box-sizing: border-box; background: var(--surface); color: var(--text); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 12px 14px; font: inherit; }
.report .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.report .btn[disabled] { opacity: .6; cursor: default; }
.report .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.report-status { min-height: 1.5em; color: var(--text-2); }
