/* Snowbit website — Arctic palette: #102A43 navy · #1E88E5 blue · #64B5F6 sky · #BBDEFB ice · #E3F2FD frost */

@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(/fonts/Manrope_500Medium.ttf) format('truetype'); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(/fonts/Manrope_600SemiBold.ttf) format('truetype'); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(/fonts/Manrope_700Bold.ttf) format('truetype'); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(/fonts/Manrope_800ExtraBold.ttf) format('truetype'); }

:root {
  --navy: #102a43;
  --blue: #1e88e5;
  --sky: #64b5f6;
  --ice: #bbdefb;
  --frost: #e3f2fd;
  --bg: #f4f9ff;
  --surface: #ffffff;
  --text: #102a43;
  --muted: #5b7a99;
  --border: #d3e7f8;
  --green: #1fa67a;
  --radius: 22px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08172a;
    --surface: #102a43;
    --text: #e3f2fd;
    --muted: #8aa8c6;
    --border: #1c3a5b;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, -apple-system, system-ui, sans-serif;
  font-weight: 500;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
/* height: auto keeps the aspect ratio when width/height attributes are set (they reserve space while loading). */
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a { color: var(--muted); }
.lang { font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); }
@media (max-width: 760px) { .nav { display: none; } .lang { margin-left: auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before {
  content: ''; position: absolute; inset: -40% -20% auto; height: 120%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--sky) 35%, transparent), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--blue); background: color-mix(in srgb, var(--blue) 12%, transparent); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -0.01em; margin: 18px 0 18px; }
h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 700; }
.store small { display: block; font-size: 11px; font-weight: 600; opacity: 0.75; line-height: 1.2; }
.store span { line-height: 1.2; }
.store:hover { text-decoration: none; opacity: 0.92; }
@media (prefers-color-scheme: dark) { .store { background: var(--blue); } }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art .phone { width: min(300px, 70vw); transform: rotate(3deg); }
.hero-art .snowy { position: absolute; left: -10px; bottom: -6px; width: 150px; filter: drop-shadow(0 12px 18px rgba(16, 42, 67, 0.25)); }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .cta { justify-content: center; }
  .hero-art .snowy { left: 8%; }
}

/* Phone frame around a screenshot */
.phone { border-radius: 42px; padding: 10px; background: #0b1726; box-shadow: 0 30px 60px -20px rgba(16, 42, 67, 0.45); }
.phone img { border-radius: 32px; width: 100%; }

/* Sections */
section { padding: 72px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; font-weight: 800; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 0 36px; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--frost); margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .card .ic { background: color-mix(in srgb, var(--sky) 16%, transparent); } }
.card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); }

.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .screens { grid-template-columns: repeat(2, 1fr); } }
.screens figure { margin: 0; }
.screens figcaption { text-align: center; margin-top: 14px; font-weight: 700; }
.screens figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: 14px; }

.mascot { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 32px; padding: 40px; }
.mascot svg { width: 100%; height: auto; }
@media (max-width: 720px) { .mascot { grid-template-columns: 1fr; text-align: center; } .mascot svg { max-width: 200px; margin: 0 auto; } }

.promise { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.promise span { padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; }

/* Legal pages */
.doc { padding: 40px 0 72px; }
.doc main { max-width: 780px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 36px 32px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 6px; }
.doc h2 { font-size: 20px; margin: 30px 0 8px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.doc ul { padding-left: 22px; }
.doc mark { background: #ffe08a; color: #102a43; padding: 0 4px; border-radius: 4px; }
.doc label { display: block; font-weight: 700; margin: 16px 0 6px; }
.doc input, .doc textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.doc button { margin-top: 18px; font: inherit; font-weight: 800; color: #fff; background: var(--blue); border: 0; border-radius: 14px; padding: 13px 22px; cursor: pointer; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
footer a { color: var(--muted); font-weight: 600; }
