/* The emporette.com pages (specs/emporette-root-addendum.md §3, §5).

   Colors restate apps/web/src/app/globals.css, where their contrast ratios are
   measured: Paper, Ink, the darkened Azure accent and darkened Slate in light,
   and the dark theme's own values in dark. Change them there first. */

:root {
  --bg: #f3f4f6;
  --fg: #14151a;
  --surface: #ffffff;
  --line: #e3e4e8;
  --muted: #646c7b;
  --accent: #1873b4;
  --accent-hover: #125a8d;
  --on-accent: #ffffff;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14151a;
    --fg: #f3f4f6;
    --surface: #1e2026;
    --line: #282b33;
    --muted: #8b93a1;
    --accent: #1e8fe0;
    --accent-hover: #4aa6e8;
    --on-accent: #14151a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, sans-serif;
}

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

h1, h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
h1 { font-size: clamp(36px, 7vw, 56px); line-height: 1.05; letter-spacing: -0.015em; }
h2 { font-size: 24px; line-height: 1.2; }
p { margin: 0; font-size: 16px; line-height: 1.5; }

.wide { width: 100%; max-width: 760px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { width: 100%; max-width: 600px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

main { flex-grow: 1; display: flex; flex-direction: column; gap: 48px; padding-top: 96px; padding-bottom: 72px; }
main.narrow { gap: 20px; padding-top: 120px; padding-bottom: 64px; }

.intro { display: flex; flex-direction: column; gap: 20px; }
.lede { font-size: 18px; }
.muted { color: var(--muted); }
.note { font-size: 14px; line-height: 1.45; color: var(--muted); }

.address-block { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.address-block .note { padding-left: 4px; }
.address {
  align-self: flex-start;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.address .shop { color: var(--accent); font-weight: 500; }

.cards { display: flex; flex-direction: column; gap: 16px; }
/* The Zispar cut, as in the app: three rounded corners and a bevel at the top
   right. Where corner-shape is unsupported it falls back to the plain radius. */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  border-top-right-radius: 18px;
  corner-shape: round bevel round round;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card:last-child { gap: 12px; }

.button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--accent-hover); color: var(--on-accent); }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.state h1 { font-size: 32px; line-height: 1.15; }
.state .address { font-size: 15px; padding: 8px 18px; }
.state .address .host { color: var(--muted); }

footer { border-top: 1px solid var(--line); }
footer .wide, footer .narrow { padding-top: 24px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }
