/* LaunderDay components — reads the tokens' custom properties (tokens.css). */
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
.ld-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ld-demo { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; padding: var(--space-6); }
.ld-demo--col { flex-direction: column; align-items: stretch; }

/* Logo */
.ld-logo { display: block; flex: none; }

/* Button */
.ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); box-sizing: border-box;
  height: 48px; padding: 0 var(--space-6); border-radius: var(--radius-pill); border: 2px solid transparent;
  font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out; }
.ld-btn--sm { height: 36px; padding: 0 var(--space-4); font-size: 14px; line-height: 20px; }
.ld-btn--lg { height: 56px; padding: 0 var(--space-8); font-size: 18px; line-height: 28px; }
.ld-btn--full { display: flex; width: 100%; }
.ld-btn--primary { background: var(--brand); color: var(--on-brand); }
.ld-btn--primary:hover { background: var(--brand-strong); }
.ld-btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.ld-btn--secondary:hover { border-color: var(--ink); }
.ld-btn--accent { background: var(--accent); color: var(--on-accent); }
.ld-btn--accent:hover { background: var(--brand-strong); color: var(--on-brand); }
.ld-btn--ghost { background: transparent; color: var(--link); padding-left: var(--space-3); padding-right: var(--space-3); }
.ld-btn--ghost:hover { background: var(--surface-muted); }
.ld-btn:focus-visible, .ld-header__link:focus-visible, .ld-header__cta:focus-visible, .ld-header__logo:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ld-btn:disabled, .ld-btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.ld-btn__icon { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; }

/* TextField */
.ld-field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 240px; }
.ld-field__label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.ld-field__input { box-sizing: border-box; height: 48px; padding: 0 var(--space-4); border-radius: var(--radius-md);
  border: 1.5px solid var(--line-strong); background: var(--surface-raised); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 24px; }
textarea.ld-field__input { height: auto; min-height: 96px; padding: var(--space-3) var(--space-4); resize: vertical; }
.ld-field__input::placeholder { color: var(--ink-muted); opacity: 1; }
.ld-field__input:hover { border-color: var(--ink-muted); }
.ld-field__input:focus { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--line-strong); }
.ld-field__hint { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); display: flex; gap: var(--space-2); align-items: center; }
.ld-field--error .ld-field__input { border-color: var(--danger); }
.ld-field--error .ld-field__hint { color: var(--danger); }
.ld-field__erricon { display: inline-flex; width: 16px; height: 16px; border-radius: 50%; background: var(--danger); color: var(--surface);
  font-size: 12px; line-height: 16px; font-weight: 700; justify-content: center; flex: none; }

/* StatusChip */
.ld-chip { display: inline-flex; align-items: center; gap: var(--space-2); height: 28px; padding: 0 var(--space-3);
  border-radius: var(--radius-pill); font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap;
  background: var(--surface-muted); color: var(--ink); border: 1px solid var(--line); }
.ld-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.ld-chip--neutral { color: var(--ink-muted); }
.ld-chip--brand { background: var(--surface-tint); color: var(--link); border-color: transparent; }
.ld-chip--success { background: var(--success-soft); color: var(--success); border-color: transparent; }
.ld-chip--warning { background: var(--warning-soft); color: var(--warning); border-color: transparent; }
.ld-chip--danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }

/* OrderTracker */
.ld-track { display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap; }
.ld-track__ring { flex: none; }
.ld-track__seg { fill: none; stroke-width: 12; stroke-linecap: round; }
.ld-track__seg--done { stroke: var(--brand); }
.ld-track__seg--current { stroke: var(--progress-current); }
.ld-track__seg--todo { stroke: var(--line); }
.ld-track__count { fill: var(--ink); font-family: var(--font-brand); font-size: 22px; font-weight: 700; }
.ld-track__unit { fill: var(--ink-muted); font-family: var(--font-sans); font-size: 10px; }
.ld-track__body { min-width: 200px; }
.ld-track__title { margin: 0; font-family: var(--font-brand); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); }
.ld-track__eta { margin: var(--space-1) 0 var(--space-3); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.ld-track__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.ld-track__step { display: flex; align-items: center; gap: var(--space-3); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.ld-track__mark { width: 14px; height: 6px; border-radius: var(--radius-pill); background: var(--line); flex: none; }
.ld-track__step--done { color: var(--ink); }
.ld-track__step--done .ld-track__mark { background: var(--brand); }
.ld-track__step--current { color: var(--ink); font-weight: 600; }
.ld-track__step--current .ld-track__mark { background: var(--progress-current); width: 22px; }

/* ServiceCard */
.ld-card { box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6);
  border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-card); color: var(--ink);
  border: 1px solid var(--line); min-width: 220px; max-width: 320px; }
.ld-card--featured { border: 2px solid var(--brand); }
.ld-card__eyebrow { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--link); }
.ld-card__title { margin: 0; font-family: var(--font-brand); font-size: 24px; line-height: 32px; font-weight: 700; }
.ld-card__price { margin: 0; color: var(--ink); }
.ld-card__amount { font-family: var(--font-brand); font-size: 32px; line-height: 40px; font-weight: 700; }
.ld-card__unit { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.ld-card__desc { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.ld-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: 14px; line-height: 20px; }
.ld-card__list li { display: flex; gap: var(--space-2); align-items: center; }
.ld-card__tick { width: 12px; height: 5px; border-radius: var(--radius-pill); background: var(--accent); flex: none; }
.ld-card__action { margin-top: auto; padding-top: var(--space-2); }

/* WaveBand */
.ld-wave { position: relative; width: 100%; line-height: 0; }
.ld-wave__svg { display: block; }
.ld-wave__content { background: var(--day-blue); color: var(--white); line-height: 24px; padding: var(--space-4) var(--space-6); margin-top: -1px; font-size: 14px; }
.ld-wave__content a { color: var(--white); }

/* SiteHeader — a brand surface: Day Blue in every theme */
.ld-header { position: relative; background: transparent; color: var(--white); }
.ld-header__wave { height: 56px; line-height: 0; }
.ld-header__wave svg { display: block; }
.ld-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
  background: var(--day-blue); padding: var(--space-3) var(--space-6); border-bottom: 4px solid var(--bubble-teal); margin-top: -1px; }
.ld-header__logo { display: inline-flex; border-radius: var(--radius-sm); }
.ld-header__nav { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.ld-header__link { color: var(--white); text-decoration: none; font-size: 15px; line-height: 24px; font-weight: 500; border-radius: var(--radius-sm); }
.ld-header__link:hover, .ld-header__link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--bubble-teal); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.ld-header__cta { color: var(--deep-navy); background: var(--bubble-teal); text-decoration: none; font-size: 15px; line-height: 24px; font-weight: 600;
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); }
.ld-header__cta:hover { background: var(--white); }
.ld-header__link:focus-visible, .ld-header__cta:focus-visible, .ld-header__logo:focus-visible { outline-color: var(--white); }
