/* spinfish.app — the website (17.10.2026). The game's «Світанок» look: light grey page, white islands, Manrope. */
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('/assets/manrope-cyrillic.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('/assets/manrope-latin.woff2') format('woff2-variations');
  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; }

:root {
  --bg: #eff2f6;
  --card: #ffffff;
  --ink: #14203d;
  --sub: #5d6a88;
  --line: #e1e6ee;
  --blue: #328edf;
  --blue-ink: #1f6fbf;
  --pill: #14203d;
  --pill-ink: #ffffff;
  --shadow: 0 1px 2px rgba(20, 32, 61, .05), 0 8px 24px rgba(20, 32, 61, .07);
  --r: 32px;
  --gutter: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1424; --card: #16203a; --ink: #eef2fa; --sub: #a3aec8; --line: #26324f;
    --blue: #6db4f2; --blue-ink: #8cc6f7; --pill: #eef2fa; --pill-ink: #0d1424;
    --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 8px 24px rgba(0, 0, 0, .25);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 17px/1.6 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

/* header */
.top { position: relative; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.top__logo img { width: 104px; }
.top__nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.top__nav a { padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); }
.top__nav a:hover { background: rgba(127, 140, 170, .14); }
.top__nav a[aria-current="true"] { background: var(--card); box-shadow: var(--shadow); }
.top__links { display: flex; gap: 2px; }
@media (max-width: 760px) { .top__links { display: none; } }       /* phones: the footer has the links */
.is-hero .top__logo { visibility: hidden; }                          /* home: the big logo is in the hero */
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(127, 140, 170, .16); }
.lang a { padding: 5px 10px !important; font-size: 13px !important; }
.lang a[aria-current="true"] { background: var(--card); box-shadow: var(--shadow); }
.is-hero .top a { color: #fff; }
.is-hero .top__nav a:hover { background: rgba(255, 255, 255, .18); }
.is-hero .lang { background: rgba(255, 255, 255, .22); }
.is-hero .lang a[aria-current="true"] { background: #fff; color: #14203d; }

/* hero (home) */
.hero { position: relative; margin-top: -72px; padding: 112px 0 64px; color: #fff; overflow: hidden;
  background: #2a76c4 url('/assets/hero-river-tall.webp') center 30% / cover no-repeat; }
@media (min-width: 720px) { .hero { background-image: url('/assets/hero-river-wide.webp'); padding: 136px 0 88px; } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 36, 72, .42), rgba(8, 36, 72, .12) 45%, rgba(8, 36, 72, .55)); }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
@media (min-width: 880px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.hero__logo { width: min(78vw, 400px); filter: drop-shadow(0 8px 24px rgba(0, 20, 50, .35)); }
.hero h1 { margin: 18px 0 8px; font-size: clamp(28px, 6vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; text-shadow: 0 2px 16px rgba(0, 22, 48, .45); }
.hero p { margin: 0; max-width: 520px; font-size: 18px; text-shadow: 0 1px 10px rgba(0, 22, 48, .5); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .95); color: #14203d; line-height: 1.15; }
.store small { font-size: 12px; font-weight: 600; color: #5d6a88; }
.store b { font-size: 16px; font-weight: 800; }
.hero__phone { justify-self: center; width: min(64vw, 300px); border-radius: 36px; border: 6px solid rgba(255, 255, 255, .9);
  box-shadow: 0 24px 60px rgba(0, 20, 50, .45); overflow: hidden; background: #fff; }

/* sections */
main { padding-bottom: 32px; }
.section { padding: 40px 0 8px; }
.section h2 { margin: 0 0 16px; font-size: clamp(24px, 4.6vw, 32px); line-height: 1.2; font-weight: 800; }
.section > .wrap > p.lead { margin: -6px 0 20px; color: var(--sub); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--card); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; line-height: 1.3; }
.card p { margin: 0; color: var(--sub); font-size: 16px; }
.shots { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shots figure { scroll-snap-align: center; } }
.shots figure { margin: 0; }
.shots img { border-radius: 28px; box-shadow: var(--shadow); background: #dfe6ef; aspect-ratio: 390 / 844; object-fit: cover; width: 100%; }
.shots figcaption { margin-top: 10px; text-align: center; color: var(--sub); font-size: 15px; font-weight: 600; }

/* documents */
.doc { margin-top: 8px; background: var(--card); border-radius: var(--r); padding: 28px 22px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .doc { padding: 44px 52px; } }
.doc h1 { margin: 0 0 6px; font-size: clamp(28px, 6vw, 38px); line-height: 1.15; font-weight: 800; }
.doc .meta { margin: 0 0 24px; color: var(--sub); font-size: 15px; }
.doc h2 { margin: 32px 0 8px; font-size: 21px; line-height: 1.3; font-weight: 800; }
.doc h3 { margin: 20px 0 6px; font-size: 17px; font-weight: 800; }
.doc p, .doc li { font-size: 16.5px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc .note { margin: 16px 0; padding: 14px 18px; border-radius: 20px; background: var(--bg); color: var(--ink); font-size: 15.5px; }
.toc { margin: 0 0 8px; padding: 14px 18px 14px 40px; border-radius: 20px; background: var(--bg); font-size: 15px; }
.toc li { margin: 2px 0; font-size: 15px; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 12px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--pill); color: var(--pill-ink); font-weight: 800; font-size: 15px; display: grid; place-items: center; }

/* buttons & form */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--pill); color: var(--pill-ink); font: 800 16px/1 'Manrope', system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--pill-ink); opacity: .9; }
.form { display: grid; gap: 14px; margin-top: 20px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg);
  color: var(--ink); font: 500 16px/1.4 'Manrope', system-ui, sans-serif; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form .hp { position: absolute; left: -9999px; }
.form small { color: var(--sub); font-weight: 500; }

/* footer */
.foot { margin-top: 40px; padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--sub); font-size: 15px; }
.foot .wrap { display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot nav a { color: var(--ink); font-weight: 700; text-decoration: none; }
.foot nav a:hover { color: var(--blue); }
.foot p { margin: 0; }
