@font-face {
  font-family: "Bricolage";
  src: url("/assets/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --cobalt: #2333b8;
  --deep: #141c6b;
  --paper: #fff2d1;
  --ink: #10164a;
  --sun: #ffd23f;
  --haze: #a9b2f2;
  --red: #ff4757;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cobalt);
  color: var(--paper);
  font-family: "Bricolage", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

a { color: var(--sun); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }

.langs { display: flex; gap: 2px; }
.langs a {
  color: var(--haze);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 4px 9px;
  border-radius: 999px;
}
.langs a[aria-current="true"] { background: var(--deep); color: var(--paper); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 56px;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.95;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--sun); display: block; }
.hero p.lead { font-size: 21px; margin: 0 0 28px; max-width: 34em; }

.button {
  display: inline-block;
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--deep);
}
.button.ghost {
  background: transparent;
  color: var(--paper);
  box-shadow: none;
  border: 2px solid var(--haze);
}
.button[aria-disabled="true"] { cursor: default; }
.note { color: var(--haze); font-size: 15px; margin-top: 12px; }

.phone {
  width: 100%;
  max-width: 300px;
  justify-self: center;
  border-radius: 38px;
  border: 8px solid var(--deep);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(3deg);
}

/* Sections */
section { padding: 48px 0; }
section h2 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 24px; font-weight: 800; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--deep);
  border-radius: 22px;
  padding: 22px;
}
.card .icon { font-size: 30px; line-height: 1; }
.card h3 { margin: 12px 0 6px; font-size: 21px; }
.card p { margin: 0; color: var(--haze); font-size: 16px; }

.steps { counter-reset: step; display: grid; gap: 14px; padding: 0; list-style: none; }
.steps li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 19px;
}
.steps li::before {
  content: counter(step);
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.shots img {
  flex: none;
  width: 220px;
  border-radius: 26px;
  border: 6px solid var(--deep);
  scroll-snap-align: start;
}

.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.modes .card h3 { color: var(--sun); margin-top: 0; }

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px 0 40px;
  color: var(--haze);
  font-size: 15px;
}
footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; }
footer a { color: var(--paper); text-decoration: none; font-weight: 700; }

/* Text pages (privacy, support, join) */
.text { max-width: 720px; padding-top: 24px; padding-bottom: 48px; }
.text h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.05; margin: 12px 0 8px; }
.text h2 { font-size: 24px; margin: 32px 0 8px; }
.text .muted { color: var(--haze); }
.text hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.15); margin: 48px 0; }

.join { text-align: center; padding: 60px 0; }
.join .code {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 8px 0 24px;
}
.join .actions { display: flex; flex-direction: column; gap: 14px; align-items: center; }

@media (max-width: 360px) {
  .brand span { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 32px; }
  .phone { max-width: 240px; }
  .shots img { width: 180px; }
}
