/* MotoZilla public site (ADR-0007 amendment 2026-11-28). Same tokens as the app. */
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/DMSans_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/DMSans_500Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/DMSans_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #0b0c0e;
  --surface: #16181c;
  --text: #f5f1e8;
  --text-secondary: #a7a39b;
  --text-muted: #666a73;
  --border: #2b2d31;
  --brand: #e8542e;
  --accent: #d9964a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--canvas);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(28px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  color: var(--text);
  font-family:
    'DM Sans',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* A quiet copper glow behind the top, like the sign-in screen's horizon. */
  background-image: radial-gradient(
    120% 60% at 50% -10%,
    rgba(217, 150, 74, 0.08),
    rgba(11, 12, 14, 0) 60%
  );
  background-repeat: no-repeat;
}

.page {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.brand {
  display: inline-block;
  line-height: 0;
}

.brand img {
  width: 140px;
  height: 32px;
}

main {
  flex: 1;
  padding-top: clamp(64px, 14vh, 140px);
}

.horizon {
  width: 120px;
  height: 1px;
  margin: 0 0 28px;
  border: 0;
  background: linear-gradient(90deg, var(--accent), rgba(217, 150, 74, 0));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 6vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(245, 241, 232, 0.35);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  text-decoration-color: var(--text);
}

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

.note {
  margin-top: 32px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 15px;
}

.note p {
  margin: 0;
  font-size: 15px;
}

footer {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--text-muted);
  font-size: 13px;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: var(--text);
}

footer .spacer {
  flex: 1;
}
