@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/space-grotesk-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  --bg: #121318;
  --text: #f3efe6;
  --muted: #c8c3b8;
  --accent: #efe6d2;
  --gold: #8d8270;
  --line: rgba(239, 230, 210, 0.14);
  --card: rgba(255, 255, 255, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(141, 130, 112, 0.45), transparent 60%),
    radial-gradient(700px 420px at 0% 20%, rgba(239, 230, 210, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  font:
    400 17px/1.5 'Space Grotesk',
    system-ui,
    sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.nav,
.foot {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.nav {
  padding: 1.25rem 0 0.5rem;
}

.brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.lang {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.hero {
  padding: 2.4rem 0 1rem;
}

.stage {
  position: relative;
  width: min(1080px, calc(100% - 2rem));
  margin: 2.5rem auto 0;
}

.browser {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #0f0f0f;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px var(--line);
}

.chrome {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  background: #1c1d24;
}

.chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3c3d46;
}

.browser img,
.popup img {
  display: block;
  width: 100%;
  height: auto;
}

.popup {
  position: absolute;
  right: 3%;
  bottom: 1.4rem;
  width: min(280px, 32%);
  margin: 0;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55));
}

.popup img {
  border-radius: 22px;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 {
  margin: 0.35rem 0 0.8rem;
  color: #fff;
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  line-height: 0.9;
}

h2 {
  color: #fff;
}

.kicker {
  margin: 0;
  color: #f0d48a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.band {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}

.band h2 {
  margin: 0.3rem 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.switches {
  display: grid;
  gap: 0.8rem;
  max-width: 40rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.switches li {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}

.switches h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.switches p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.knob {
  position: relative;
  width: 46px;
  height: 28px;
  flex: none;
  border-radius: 999px;
  background: #2a2c36;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.knob::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
}

.knob.on {
  background: var(--gold);
}

.knob.on::after {
  transform: translateX(18px);
  background: var(--accent);
}

.places {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1.5rem;
  max-width: 36rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.places li::before {
  content: '– ';
  color: #f0d48a;
}

.privacy p,
.coffee p {
  max-width: 38rem;
  color: var(--muted);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.soon {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(18, 19, 24, 0.55);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
}

.coffee a {
  font-size: 1.15rem;
  font-weight: 700;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 1.25rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.prose {
  padding-bottom: 1rem;
}

.prose h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.prose h2 {
  margin: 2rem 0 0.4rem;
  font-size: 1.4rem;
}

@media (max-width: 860px) {
  .hero {
    padding-top: 1.5rem;
  }

  .stage {
    display: grid;
    gap: 1.25rem;
  }

  .browser img {
    height: 270px;
    object-fit: cover;
    object-position: 78% 0;
  }

  .popup {
    position: static;
    width: min(100%, 420px);
    margin: 0 auto;
  }
}

@media (max-width: 430px) {
  .wrap,
  .stage {
    width: min(100% - 1.5rem, 1120px);
  }

  .nav,
  .foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
