/* Enable Delivery onboarding — follows the WEBSITE/css/style.css design tokens. */
:root {
  --bg-primary: hsl(220, 40%, 6%);
  --bg-secondary: hsl(220, 35%, 10%);
  --bg-tertiary: hsl(220, 30%, 14%);
  --border-color: hsla(220, 20%, 25%, 0.6);
  --text-primary: hsl(210, 20%, 98%);
  --text-secondary: hsl(210, 15%, 80%);
  --text-muted: hsl(210, 10%, 62%);
  --color-gold: hsl(42, 95%, 55%);
  --color-emerald: hsl(150, 75%, 45%);
  --color-error: hsl(0, 80%, 64%);
  --grad-primary: linear-gradient(135deg, var(--color-gold) 0%, var(--color-emerald) 100%);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 16px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: hsl(210, 20%, 98%);
    --bg-secondary: hsl(0, 0%, 100%);
    --bg-tertiary: hsl(210, 20%, 94%);
    --border-color: hsla(220, 15%, 20%, 0.14);
    --text-primary: hsl(220, 40%, 8%);
    --text-secondary: hsl(220, 20%, 28%);
    --text-muted: hsl(220, 10%, 42%);
    --color-error: hsl(0, 70%, 42%);
  }
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg-primary); color: var(--text-primary); font: 16px/1.6 var(--font-body); }
.ed-container { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.ed-header { border-bottom: 1px solid var(--border-color); margin-bottom: 2rem; }
.ed-header-row { display: flex; justify-content: space-between; align-items: center; min-height: 64px; gap: 1rem; }
.ed-brand { font: 800 1.2rem var(--font-display); letter-spacing: .08em; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ed-logout { display: flex; gap: .75rem; align-items: center; margin: 0; }
.ed-card { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 2rem; margin-bottom: 2rem; }
.ed-narrow { max-width: 520px; margin-inline: auto; }
.ed-hero { text-align: center; padding: 3rem 2rem; }
.ed-badge { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-emerald); border: 1px solid currentColor; border-radius: 999px; padding: .15rem .7rem; }
.ed-title { font: 700 clamp(1.6rem, 4vw, 2.4rem)/1.2 var(--font-display); margin: .75rem 0; }
h2 { font: 600 1.4rem var(--font-display); margin: 0 0 1rem; }
.ed-muted { color: var(--text-muted); }
.ed-form { display: flex; flex-direction: column; gap: .4rem; }
.ed-form label { font-weight: 500; margin-top: .6rem; color: var(--text-secondary); }
.ed-form input { font: inherit; color: inherit; background: var(--bg-tertiary); border: 1px solid var(--border-color); border-radius: 10px; padding: .7rem .9rem; width: 100%; }
.ed-form input:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 1px; }
#ed-otp { letter-spacing: .5em; font-size: 1.3rem; text-align: center; }
.ed-btn { display: inline-block; text-align: center; text-decoration: none; margin-top: 1.2rem; font: 600 1rem var(--font-body); color: hsl(220, 40%, 6%); background: var(--grad-primary); border: 0; border-radius: 10px; padding: .8rem 1.6rem; cursor: pointer; }
.ed-btn:disabled { opacity: .55; cursor: progress; }
.ed-link-btn { background: none; border: 0; color: var(--color-gold); font: inherit; cursor: pointer; padding: .25rem 0; text-decoration: underline; }
.ed-link-btn:disabled { opacity: .5; }
.ed-row { display: flex; justify-content: space-between; margin-top: .5rem; }
.ed-alert { border-radius: 10px; padding: .75rem 1rem; margin-bottom: 1rem; border: 1px solid var(--border-color); }
.ed-alert-ok { border-color: var(--color-emerald); }
.ed-alert-error { border-color: var(--color-error); color: var(--color-error); }
.ed-steps { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1.5rem; font-size: .8rem; color: var(--text-muted); }
.ed-steps li { flex: 1; border-top: 3px solid var(--border-color); padding-top: .4rem; }
.ed-steps li.is-done { border-color: var(--color-emerald); color: var(--text-secondary); }
.ed-steps li.is-current { border-color: var(--color-gold); color: var(--text-primary); font-weight: 600; }
.ed-price { font-size: 1.3rem; margin: 0 0 .5rem; }
.ed-fineprint { color: var(--text-secondary); font-size: .9rem; padding-left: 1.2rem; }
.ed-spinner { width: 28px; height: 28px; border: 3px solid var(--border-color); border-top-color: var(--color-gold); border-radius: 50%; animation: ed-spin 1s linear infinite; }
@keyframes ed-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ed-spinner { animation: none; } }
[hidden] { display: none !important; }
