/* Worklight holding site. Tokens from the Worklight design system. */
:root {
  --surface: #f5f4f0;
  --surface-raised: #ffffff;
  --surface-sunken: #ebe9e3;
  --line: #d6d3ca;
  --line-strong: #7c828a;
  --ink: #121c29;
  --ink-muted: #4d5866;
  --navy: #15263c;
  --on-navy: #f5f2ea;
  --on-navy-muted: #a9b7c8;
  --flame: #e6600f;
  --on-flame: #121c29;
  --flame-text: #b4470a;
  --flame-soft: #fde8d8;
  --flame-glow: #f3a06a;
  --success: #0f766e;
  --success-soft: #d7f0ec;
  --warning: #f2c230;
  --selected: #15263c;
  --focus-ring: 0 0 0 2px #f5f4f0, 0 0 0 4px #b4470a;
  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --sans: Barlow, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0d1520;
    --surface-raised: #152131;
    --surface-sunken: #090f17;
    --line: #26344a;
    --line-strong: #6b7a8f;
    --ink: #eef1f5;
    --ink-muted: #a6b2c1;
    --navy: #203658;
    --flame: #ff7a2e;
    --flame-text: #ff9a5c;
    --flame-soft: #4a2a14;
    --flame-glow: #c7612a;
    --success: #3cc4b4;
    --success-soft: #0f2e2c;
    --selected: #9fb0c6;
    --focus-ring: 0 0 0 2px #0d1520, 0 0 0 4px #ff9a5c;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 24px; }
a { color: var(--flame-text); text-underline-offset: 2px; }
a:focus-visible, .btn:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow > * { max-width: 760px; }

/* Holiday banner */
.banner { background: var(--flame-soft); border-bottom: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.banner .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: center; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.banner a { font-weight: 600; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.lockup { display: inline-flex; align-items: center; text-decoration: none; }
.lockup img { display: block; height: 44px; width: auto; }
.header-link { font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-link:hover { color: var(--flame-text); }
.header-link .short { display: none; }
@media (max-width: 640px) {
  .header-link .long { display: none; }
  .header-link .short { display: inline; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 4px; font-family: var(--sans); font-weight: 600; font-size: 17px; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--flame); color: var(--on-flame); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-quiet { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-quiet:hover { border-color: var(--ink); }

/* Status light */
.status, .lit { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.dot { width: 10px; height: 10px; border-radius: 9999px; background: var(--flame); box-shadow: 0 0 0 4px color-mix(in srgb, var(--flame-glow) 60%, transparent), 0 0 14px 2px color-mix(in srgb, var(--flame) 45%, transparent); flex: none; }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: 60px; line-height: 60px; letter-spacing: -0.01em; margin: 16px 0; max-width: 15ch; }
.hero .lede { font-size: 19px; line-height: 28px; color: var(--ink-muted); max-width: 48ch; margin: 0 0 24px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0 0 28px; padding: 16px 20px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 4px; max-width: 560px; }
.facts dt { font-family: var(--display); font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.facts dd { margin: 2px 0 0; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* Night phone mock */
.phone { border-radius: 24px; padding: 20px 16px 16px; max-width: 360px; width: 100%; justify-self: end; }
.phone.night { background: var(--navy); color: var(--on-navy); }
.phone-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.phone-title { font-family: var(--display); font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-navy-muted); }
.lit { color: var(--on-navy); }
.msg { background: var(--surface-raised); color: var(--ink); border-radius: 4px 14px 14px 14px; padding: 12px 14px; margin-top: 12px; }
.msg .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.msg .meta span { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--ink-muted); }
.msg p { margin: 6px 0 8px; font-size: 15px; line-height: 22px; }
.sample-note { margin: 12px 0 0; text-align: center; font-size: 13px; line-height: 16px; color: var(--on-navy-muted); }
.badge { display: inline-block; font-size: 13px; font-weight: 600; line-height: 18px; padding: 2px 8px; border-radius: 2px; }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--warning); color: #121c29; }
.badge-live { background: var(--flame-soft); color: var(--flame-text); }

/* Trades band */
.trades-band { background: var(--navy); color: var(--on-navy); }
.trades-band .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; padding-top: 20px; padding-bottom: 20px; font-family: var(--display); font-weight: 600; font-size: 19px; }
.trades-band .label { font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-navy-muted); }

/* Sections */
.band { padding: 72px 0; }
.band.raised { background: var(--surface-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--flame-text); }
.band h2 { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 44px; margin: 0 0 12px; max-width: 30ch; }
.section-lede { margin: 0 0 32px; font-size: 17px; line-height: 26px; color: var(--ink-muted); max-width: 60ch; }
.narrow .section-lede { margin-bottom: 0; }

/* Holiday */
.holiday-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.rush { margin: 0; }
.rush div { display: grid; grid-template-columns: 200px 1fr; gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.rush div:last-child { border-bottom: 1px solid var(--line); }
.rush dt { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 24px; }
.rush dd { margin: 0; color: var(--ink-muted); }
.timeline { background: var(--surface); border: 2px solid var(--selected); border-radius: 4px; padding: 24px; }
.card-label { margin: 0 0 16px; font-family: var(--display); font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.timeline ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.timeline li { position: relative; padding-left: 28px; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 9999px; border: 2px solid var(--line-strong); }
.timeline li.on::before { border: 0; background: var(--flame); box-shadow: 0 0 0 4px color-mix(in srgb, var(--flame-glow) 60%, transparent), 0 0 14px 2px color-mix(in srgb, var(--flame) 45%, transparent); }
.timeline li b { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 24px; }
.timeline li span { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.deal { margin: 20px 0 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 4px; padding: 24px; counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 44px; color: var(--flame-text); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.steps h3 { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 28px; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--ink-muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; margin-top: 24px; }
.faq h3 { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 26px; margin: 0 0 6px; }
.faq p { margin: 0; color: var(--ink-muted); }

/* CTA band */
.cta-band { background: var(--navy); color: var(--on-navy); padding: 64px 0; }
.cta-band h2 { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 48px; margin: 0 0 12px; }
.cta-band p { margin: 0 0 24px; font-size: 19px; line-height: 28px; color: var(--on-navy-muted); max-width: 56ch; }
.cta-band a.mail { color: var(--on-navy); font-weight: 600; }

/* Footer */
.site-footer { padding: 32px 0 48px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--ink-muted); }
.site-footer a:hover { color: var(--flame-text); }

/* Legal pages */
.legal { padding: 48px 0 64px; }
.legal article { max-width: 72ch; }
.legal h1 { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 48px; margin: 0 0 8px; }
.legal .effective { color: var(--ink-muted); margin: 0 0 32px; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 30px; margin: 40px 0 8px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal .callout { background: var(--flame-soft); border-radius: 4px; padding: 16px; margin: 16px 0; }
.legal .callout p { margin: 0; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 46px; line-height: 48px; }
  .phone { justify-self: start; }
  .holiday-grid { grid-template-columns: 1fr; }
  .steps, .faq { grid-template-columns: 1fr; }
  .band { padding: 56px 0; }
  .band h2, .cta-band h2 { font-size: 32px; line-height: 36px; }
  .legal h1 { font-size: 36px; line-height: 40px; }
}

@media (max-width: 480px) {
  .lockup img { height: 38px; }
  .header-link { font-size: 15px; }
  .hero h1 { font-size: 40px; line-height: 42px; }
  .rush div { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .banner { font-size: 14px; }
}
