/* hallmark: mbmo-site / editorial / util-soft — landing for store + policy links */
@import url("./tokens.css");

html,
body {
  overflow-x: clip;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(120% 80% at 10% -10%, var(--bg-deep), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, #ffe8ec, transparent 50%),
    var(--bg);
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2rem, 56rem);
  margin-inline: auto;
  padding-block: var(--space-4) var(--space-5);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.hero {
  max-width: var(--measure);
}

.hero h1 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
  min-width: 0;
}

.hero p {
  margin: 0 0 var(--space-3);
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}

.btn-primary {
  background: var(--blue);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: #1d45c7;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
}

.footer {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin-bottom: var(--space-2);
}

.doc {
  max-width: var(--measure);
}

.doc h1 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
}

.doc h2 {
  margin: var(--space-4) 0 var(--space-2);
  font-size: 1.2rem;
}

.doc p,
.doc li {
  color: var(--text-muted);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
