@font-face {
  font-family: Inter;
  src: url('assets/InterVariable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Quicksand;
  src: url('assets/Quicksand-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--nemo-surface-standard-main);
  color: var(--nemo-text-standard-primary);
  font-family: var(--nemo-font-body);
  font-size: var(--nemo-body-m-size);
  line-height: var(--nemo-body-m-line);
  font-weight: var(--nemo-body-m-weight);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

/* —— Header —— */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--nemo-space-16) var(--nemo-space-20);
  border-bottom: var(--nemo-stroke-width-default) solid var(--nemo-stroke-standard-subtle);
  background: var(--nemo-surface-standard-main);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 123px;
  height: var(--nemo-header-logo-box);
  padding: var(--nemo-space-8);
  text-decoration: none;
}

.logo img {
  width: var(--nemo-logo-width);
  height: var(--nemo-logo-height);
}

.support {
  display: inline-flex;
  align-items: center;
  gap: var(--nemo-space-6);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nemo-text-standard-secondary);
  font-family: var(--nemo-font-body);
  font-size: var(--nemo-body-s-size);
  line-height: var(--nemo-body-s-line);
  font-weight: var(--nemo-body-s-weight);
  letter-spacing: 0;
  cursor: pointer;
}

.support-icon {
  display: inline-grid;
  place-items: center;
  width: var(--nemo-icon-s);
  height: var(--nemo-icon-s);
  border: var(--nemo-stroke-width-strong) solid currentColor;
  border-radius: var(--nemo-radius-full);
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  color: var(--nemo-icons-standard-secondary);
}

.support-label-desktop {
  display: none;
}

.support-panel {
  max-width: var(--nemo-hero-max-width);
  margin: 0 auto;
  padding: var(--nemo-space-16) var(--nemo-space-20) 0;
  color: var(--nemo-text-standard-secondary);
  font-family: var(--nemo-font-body);
  font-size: var(--nemo-body-m-size);
  line-height: var(--nemo-body-m-line);
  font-weight: var(--nemo-body-m-weight);
}

/* —— Hero —— */
main {
  width: 100%;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--nemo-space-12);
  padding: var(--nemo-space-32) var(--nemo-space-20) var(--nemo-space-24);
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: var(--nemo-text-standard-primary);
  font-family: var(--nemo-font-headline);
  font-size: var(--nemo-h2-size);
  line-height: var(--nemo-h2-line);
  font-weight: var(--nemo-h2-weight);
  letter-spacing: 0;
}

.hero p {
  margin: 0;
  max-width: var(--nemo-hero-max-width);
  color: var(--nemo-text-standard-secondary);
  font-family: var(--nemo-font-body);
  font-size: var(--nemo-body-m-size);
  line-height: var(--nemo-body-m-line);
  font-weight: var(--nemo-body-m-weight);
  letter-spacing: 0;
}

.hero-desktop {
  display: none;
}

/* —— Steps / Cards —— */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--nemo-space-20);
  padding: var(--nemo-space-8) var(--nemo-space-20) var(--nemo-space-48);
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--nemo-space-20);
  min-width: 0;
  padding: var(--nemo-space-24);
  background: var(--nemo-surface-standard-minimal);
  border: var(--nemo-stroke-width-default) solid var(--nemo-stroke-standard-subtle);
  border-radius: var(--nemo-radius-20);
}

.step-num,
.card .step-num {
  margin: 0;
  color: var(--nemo-surface-utilities-brand-accent);
  font-family: var(--nemo-font-headline);
  font-size: var(--nemo-h1-size);
  line-height: var(--nemo-h1-line);
  font-weight: var(--nemo-h1-weight);
  letter-spacing: 0;
}

.card h2 {
  margin: 0;
  color: var(--nemo-text-standard-primary);
  font-family: var(--nemo-font-headline);
  font-size: var(--nemo-h3-size);
  line-height: var(--nemo-h3-line);
  font-weight: var(--nemo-h3-weight);
  letter-spacing: 0;
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: var(--nemo-space-8);
  width: 100%;
}

.card p {
  margin: 0;
  color: var(--nemo-text-standard-secondary);
  font-family: var(--nemo-font-body);
  font-size: var(--nemo-body-m-size);
  line-height: var(--nemo-body-m-line);
  font-weight: var(--nemo-body-m-weight);
  letter-spacing: 0;
}

.card-copy-desktop {
  display: none;
}

.desktop-only {
  display: none;
}

.mobile-only {
  display: flex;
}

/* —— Buttons (Nemo Button Secondary / Primary) —— */
.store-buttons {
  flex-direction: column;
  gap: var(--nemo-space-8);
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--nemo-space-8);
  width: 100%;
  min-height: calc(var(--nemo-space-12) * 2 + var(--nemo-body-l-line));
  padding: var(--nemo-space-12) var(--nemo-space-24);
  border-radius: var(--nemo-radius-12);
  font-family: var(--nemo-font-body);
  font-size: var(--nemo-body-l-size);
  line-height: var(--nemo-body-l-line);
  font-weight: var(--nemo-body-l-weight);
  letter-spacing: 0;
  text-decoration: none;
  text-align: center;
}

.btn-secondary {
  border: var(--nemo-stroke-width-strong) solid var(--nemo-stroke-standard-subtle);
  background: var(--nemo-surface-standard-minimal);
  color: var(--nemo-text-standard-primary);
}

.btn-primary {
  justify-content: space-between;
  border: 0;
  background: var(--nemo-surface-utilities-brand);
  color: var(--nemo-text-standard-inverse);
}

.btn-primary .icon-arrow {
  width: var(--nemo-icon-m);
  height: var(--nemo-icon-m);
  flex-shrink: 0;
  color: var(--nemo-icons-standard-inverse);
}

.btn:hover {
  opacity: 0.92;
}

.btn:focus-visible,
.support:focus-visible {
  outline: 3px solid var(--nemo-text-standard-primary);
  outline-offset: 3px;
}

/* —— QR —— */
.qr-frame {
  display: grid;
  place-items: center;
  width: var(--nemo-qr-frame);
  height: var(--nemo-qr-frame);
  padding: var(--nemo-space-8);
  background: var(--nemo-surface-standard-minimal);
  border: var(--nemo-stroke-width-default) solid var(--nemo-stroke-standard-subtle);
  border-radius: var(--nemo-radius-12);
  flex-shrink: 0;
}

.qr-frame img,
.qr-frame canvas {
  width: var(--nemo-qr-size);
  height: var(--nemo-qr-size);
}

.qr-hints {
  display: flex;
  flex-direction: column;
  gap: var(--nemo-space-6);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--nemo-text-standard-secondary);
  font-family: var(--nemo-font-body);
  font-size: var(--nemo-body-s-size);
  line-height: var(--nemo-body-s-line);
  font-weight: var(--nemo-body-s-weight);
}

.qr-hints li {
  display: flex;
  align-items: center;
  gap: var(--nemo-space-6);
}

.icon-check {
  width: var(--nemo-icon-s);
  height: var(--nemo-icon-s);
  color: var(--nemo-icons-standard-secondary);
  flex-shrink: 0;
}

.qr-caption {
  margin: 0;
  color: var(--nemo-text-standard-secondary);
  font-family: var(--nemo-font-body);
  font-size: var(--nemo-body-s-size);
  line-height: var(--nemo-body-s-line);
  font-weight: var(--nemo-body-s-weight);
}

/* —— Footer —— */
.site-footer {
  display: none;
  justify-content: center;
  align-items: flex-end;
  min-height: 182px;
  padding: var(--nemo-space-48) var(--nemo-space-80);
  color: var(--nemo-text-standard-secondary);
  font-family: var(--nemo-font-body);
  font-size: var(--nemo-body-l-size);
  line-height: var(--nemo-body-l-line);
  font-weight: var(--nemo-body-l-weight);
  text-align: center;
}

.site-footer p {
  margin: 0;
  max-width: var(--nemo-hero-max-width);
}

/* —— Desktop (≥ 900px) matches Figma 1440 frame —— */
@media (min-width: 900px) {
  .site-header {
    padding: var(--nemo-space-24) var(--nemo-space-80);
  }

  .support {
    gap: var(--nemo-space-8);
  }

  .support-label-desktop {
    display: inline;
  }

  .support-label-mobile {
    display: none;
  }

  .support-panel {
    padding: var(--nemo-space-16) var(--nemo-space-80) 0;
  }

  .hero {
    gap: var(--nemo-space-16);
    padding: var(--nemo-space-64) var(--nemo-space-80) var(--nemo-space-40);
  }

  .hero h1 {
    font-size: var(--nemo-h1-size);
    line-height: var(--nemo-h1-line);
    font-weight: var(--nemo-h1-weight);
  }

  .hero p {
    font-size: var(--nemo-body-l-size);
    line-height: var(--nemo-body-l-line);
    font-weight: var(--nemo-body-l-weight);
  }

  .hero-desktop {
    display: block;
  }

  .hero-mobile {
    display: none;
  }

  .steps {
    flex-direction: row;
    align-items: stretch;
    gap: var(--nemo-space-24);
    padding: var(--nemo-space-16) var(--nemo-space-80) var(--nemo-space-96);
  }

  .card {
    flex: 1 1 0;
    gap: var(--nemo-space-24);
    min-height: var(--nemo-card-min-height);
    padding: var(--nemo-space-32);
  }

  .card-copy-desktop {
    display: block;
  }

  .card-copy-mobile {
    display: none;
  }

  .desktop-only {
    display: flex;
  }

  .mobile-only {
    display: none !important;
  }

  .qr-download {
    align-items: center;
    gap: var(--nemo-space-16);
  }

  .qr-activate {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--nemo-space-12);
  }

  .site-footer {
    display: flex;
  }
}
