/* Illume · storefront design tokens
 * Palette + typography sourced from Halo's foundations page. */
:root {
  --ground: #FDFCF8;
  --paper:  #F5F0E6;
  --paper-2:#FBF8F1;
  --ink:    #0A0A0A;
  --ink-2:  #4a4a4a;
  --grey:   #B8B8B8;
  --rule:   #E4DDD1;
  --navy:   #1F3064;
  --navy-2: #2b3f7a;
  --navy-tint: #eef1f8;
  --crimson: #BD2031;

  --font-display: Georgia, "Times New Roman", serif;
  --font-body:    Georgia, "Times New Roman", serif;
  --font-ui:      -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;

  --step-1: 4px; --step-2: 8px; --step-3: 12px; --step-4: 16px;
  --step-5: 24px; --step-6: 40px; --step-7: 64px; --step-8: 96px;

  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { background: var(--ground); color: var(--ink); }
body {
  font-family: var(--font-ui);
  font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Chrome */
.site {
  min-height: 100vh; display: flex; flex-direction: column;
}
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--step-5) var(--step-6);
  border-bottom: 1px solid var(--rule);
}
.brand {
  font-family: var(--font-display); font-size: 20px;
  letter-spacing: 0.28em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: var(--step-2);
  color: var(--ink);
}
.brand .glyph { color: var(--navy); }
.site-nav {
  display: flex; gap: var(--step-6); align-items: center;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
}
.site-nav a { color: inherit; }
.site-nav a.active, .site-nav a:hover { color: var(--ink); border-bottom: 1px solid var(--navy); }
.site-nav .cart {
  color: var(--navy); border: 1px solid var(--navy);
  padding: 6px 12px; border-radius: 20px; font-weight: 600;
}

.site-footer {
  margin-top: auto;
  padding: var(--step-5) var(--step-6);
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
  display: flex; justify-content: space-between; gap: var(--step-4); flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.06em; color: var(--ink-2);
}

/* Typography */
h1, .h1 { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
h2, .h2 { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.15; }
h3, .h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.body-italic { font-style: italic; color: var(--ink-2); font-family: var(--font-body); }
.eyebrow { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--navy); font-weight: 700; }
.label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--ink); background: var(--ink); color: var(--ground);
  cursor: pointer; border-radius: var(--radius); font-family: inherit;
  text-decoration: none;
}
.btn:hover { background: var(--navy); border-color: var(--navy); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ground); }
.btn.destructive { background: var(--crimson); border-color: var(--crimson); }

/* Forms */
.field { display: flex; flex-direction: column; gap: var(--step-1); margin-bottom: var(--step-4); }
.field label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.field input, .field select, .field textarea {
  padding: 10px 12px; border: 1px solid var(--rule); background: var(--paper-2);
  color: var(--ink); font-family: inherit; font-size: 14px; border-radius: var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--navy); outline-offset: -2px; border-color: var(--navy);
}

/* Layout */
.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--step-6); }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--step-6); padding: var(--step-8) var(--step-6); align-items: center; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding: var(--step-6); } }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--step-5); padding: var(--step-6); border-top: 1px solid var(--rule); }
@media (max-width: 700px) { .how { grid-template-columns: 1fr; } }
.card { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--step-5); }

/* Steps indicator */
.steps { display: flex; gap: var(--step-1); padding: var(--step-4) var(--step-6); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; background: var(--paper-2); border-bottom: 1px solid var(--rule); color: var(--grey); }
.steps .step.active { color: var(--navy); font-weight: 700; }
.steps .n { color: var(--navy); font-weight: 700; margin-right: 6px; }
.steps .sep { color: var(--grey); margin: 0 8px; }

/* Trust signals row */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: var(--step-4) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-2); margin: var(--step-5) 0; }
.trust span::before { content: "✦"; color: var(--navy); margin-right: 8px; }

/* Order timeline */
.timeline { display: flex; align-items: center; margin: var(--step-6) 0; }
.timeline .node { flex: 1; text-align: center; position: relative; padding-top: 24px; }
.timeline .node .dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--rule); border: 2px solid var(--ground); }
.timeline .node.past .dot { background: var(--navy); }
.timeline .node.current .dot { background: var(--ink); box-shadow: 0 0 0 4px var(--navy-tint); }
.timeline .node .label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.timeline .node.past .label, .timeline .node.current .label { color: var(--ink); font-weight: 600; }
.timeline .bar { flex: 1; height: 2px; background: var(--rule); }
.timeline .bar.past { background: var(--navy); }

/* Sky miniature (used in previews) */
.sky-mini { aspect-ratio: 1/1; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }

.pill { display: inline-block; padding: 2px 8px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; border-radius: 12px; }
.pill.navy { background: var(--navy); color: var(--ground); }
.pill.ok { background: #d5efd8; color: #2f6b38; }
.pill.pending { background: var(--rule); color: var(--ink-2); }
