/* ── Design tokens (mirrored from src/styles.css) ── */
:root {
  --color-background:       #f5f2ec;
  --color-surface:          #ffffff;
  --color-surface-warm:     #faf3ea;
  --color-foreground:       #2f3431;
  --color-foreground-strong:#111827;
  --color-muted-foreground: #626a66;
  --color-primary:          #6f786d;
  --color-secondary:        #b08a79;
  --color-border:           #ddd8cd;
  --color-ring:             #6f786d;
  --color-ornament:         #c08a7c;
  --shadow-card:
    0 2px 10px -2px rgb(35 41 36 / 0.08),
    0 1px 3px  -1px rgb(35 41 36 / 0.05);
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Bellefair', serif;
  --font-logo:  'TAN Mon Cheri', serif;
  --radius: 0.5rem;
}

/* ── Fonts ── */
@font-face {
  font-family: 'TAN Mon Cheri';
  src:
    url('./fonts/tan-mon-cheri/tan-mon-cheri.woff2') format('woff2'),
    url('./fonts/tan-mon-cheri/tan-mon-cheri.woff')  format('woff'),
    url('./fonts/tan-mon-cheri/tan-mon-cheri.ttf')   format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bellefair';
  src: url('./fonts/bellefair/Bellefair-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

* { margin: 0; }

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

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  color: var(--color-foreground);
  background-color: var(--color-background);
}

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

/* ── Layout ── */
.coming-soon {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

/* ── Card (matches app card style: surface bg, 20px radius, border, shadow) ── */
.card {
  width: min(100%, 40rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

/* ── Logo / ornament text ── */
.logo {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--color-foreground-strong);
  letter-spacing: 0.02em;
}

/* ── Divider ── */
.divider {
  width: 3rem;
  height: 1px;
  background: var(--color-ornament);
  margin: 1.25rem auto;
  opacity: 0.5;
}

/* ── Heading ── */
h1 {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  color: var(--color-foreground-strong);
  letter-spacing: 0.01em;
}

/* ── Description ── */
.description {
  margin: 1rem auto 0;
  max-width: 36ch;
  color: var(--color-muted-foreground);
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.6;
}

/* ── Badge (eyebrow label) ── */
.badge {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.25rem 0.75rem;
  background: var(--color-surface-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: var(--color-secondary);
  letter-spacing: 0.04em;
}

/* ── Fade-in entrance ── */
@keyframes slide-up-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.card {
  animation: slide-up-fade 500ms cubic-bezier(0.25, 1, 0.5, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
}
