/* Self-contained /app landing — no dependency on global /assets */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/app/fonts/figtree-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/app/fonts/figtree-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/app/fonts/figtree-latin-600-normal.woff2") format("woff2");
}

:root {
  --iro-ink: #000000;
  --iro-surface: #ffffff;
  --iro-mist: #f6f6f6;
  --iro-charcoal: #333333;
  --iro-slate: #5e5e5e;
  --iro-line: #767676;
  --iro-radius: 8px;
  --iro-font: "Figtree", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --iro-focus: 0 0 0 3px rgba(0, 0, 0, 0.35);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--iro-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.43;
  color: var(--iro-ink);
  background: var(--iro-surface);
}

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

a {
  color: var(--iro-ink);
  text-underline-offset: 2px;
}

a:focus-visible,
.btn:focus-visible {
  outline: none;
  box-shadow: var(--iro-focus);
}

.app-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-landing {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1rem 3.5rem;
}

.app-landing__panel {
  width: 100%;
  max-width: 32rem;
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--iro-mist);
  border-radius: var(--iro-radius);
}

.app-landing__brand {
  display: inline-flex;
  justify-content: center;
  margin: 0 auto 1.25rem;
  text-decoration: none;
}

.app-landing__brand img {
  margin: 0 auto;
}

.app-landing__status {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--iro-slate);
  min-height: 1.25rem;
}

html[data-iro-app-target="desktop"] .app-landing__status {
  color: var(--iro-charcoal);
}

.app-landing__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.app-landing__lede {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--iro-charcoal);
}

.app-landing__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0 0 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  min-width: 10.5rem;
  padding: 12px 16px;
  border-radius: var(--iro-radius);
  font-family: var(--iro-font);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary {
  background: #000;
  color: #fff;
  border-color: #000;
}

.btn-primary:hover {
  background: #222;
  color: #fff;
  border-color: #222;
}

.btn-secondary {
  background: #fff;
  color: #000;
  border-color: var(--iro-line);
}

.btn-secondary:hover {
  background: #f0f0f0;
  color: #000;
}

.app-landing__note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--iro-slate);
}

.app-landing__note a {
  color: var(--iro-ink);
}

.app-noscript {
  padding: 1.5rem 1rem;
  text-align: center;
  font-family: var(--iro-font);
}

@media (max-width: 480px) {
  .app-landing {
    padding: 1.5rem 0.75rem 2.5rem;
  }
  .app-landing__panel {
    padding: 1.5rem 1rem;
  }
  .app-landing__stores {
    flex-direction: column;
    align-items: stretch;
  }
  .app-landing__stores .btn {
    width: 100%;
    min-width: 0;
  }
}
