/* ============================================================
   CLAIMS: page-scoped styles for claims.html
   Interactive claims/complaints journey. Tokens only, no new hex.
   ============================================================ */

/* ---------- Compact page hero ---------- */
.c-hero {
  position: relative; overflow: clip;
  padding-top: clamp(6.5rem, 5.5rem + 4vw, 8.5rem);
  padding-bottom: clamp(2.5rem, 2rem + 3vw, 4rem);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(24,144,200,.14), transparent 55%),
    var(--canvas);
}

/* identity art: glass-step ribbon render, right-bleed, decorative
   (pattern reference: index.html .hero__motif / styles.css .hero__motif img,
   reimplemented page-scoped for the compact claims hero) */
.c-hero__motif {
  position: absolute; top: 0; right: 0; height: 100%;
  width: clamp(260px, 42vw, 560px);
  pointer-events: none; z-index: 0;
  opacity: .6;
}
.c-hero__motif img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%);
  mask-image: linear-gradient(to right, transparent 0, #000 32%);
}
/* scrim: the render is pale, protects headline/lead/button contrast where
   the art can sit close to the text column at tablet widths */
.c-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, var(--canvas) 38%, rgba(234,238,251,.7) 58%, rgba(234,238,251,.08) 80%, transparent 100%);
}
.c-hero__inner { position: relative; z-index: 2; max-width: 46rem; }
@media (max-width: 640px) {
  /* compact hero's text column has no room to spare at handset widths;
     drop the art and its scrim rather than risk overlap */
  .c-hero__motif, .c-hero::before { display: none; }
}

.c-hero h1 {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: .6rem 0 .5rem;
}
.c-hero__lead { font-size: var(--fs-lead); color: var(--ink-soft); margin-bottom: 1.6rem; }
.c-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Tabs ---------- */
.c-tabs { background: var(--canvas); padding-block: 0 var(--band-y); }
.tabs {
  display: inline-flex; gap: .35rem;
  background: var(--surface); border-radius: var(--r-pill);
  padding: .35rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.tabs__btn {
  padding: .7rem 1.4rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast);
}
.tabs__btn[aria-selected="true"] { background: var(--accent-deep); color: #fff; }
.tabs__btn:hover:not([aria-selected="true"]) { color: var(--ink); }
.tabs__panel:focus { outline: none; }

/* ---------- Claims grid: stepper + help card ---------- */
.c-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

/* stepper: clickable step list doubles as the progress rail */
.stepper__list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem;
  margin-bottom: 1.25rem;
}
.stepper__item { list-style: none; }
.stepper__btn {
  width: 100%; display: flex; align-items: center; gap: .55rem;
  padding: .6rem .7rem; border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink-soft);
  font-size: .85rem; font-weight: 600; text-align: left;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast);
}
.stepper__btn:hover { color: var(--ink); }
.stepper__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--surface-2); color: var(--ink-soft);
  font-size: .78rem; font-variant-numeric: tabular-nums; flex-shrink: 0;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast);
}
.stepper__t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stepper__btn[aria-current="step"] { background: var(--accent-deep); color: #fff; }
.stepper__btn[aria-current="step"] .stepper__n { background: var(--gold); color: var(--ink); }
.stepper__item[data-done="true"] .stepper__n { background: var(--accent); color: #fff; }

/* catalog: 027 Progress Bar (wired to stepper progress: fill = step/8, not scroll) */
.stepper__progressbar {
  position: relative; width: 100%; height: 4px;
  background: var(--surface-2); border-radius: var(--r-pill);
  overflow: hidden; margin-bottom: 1.25rem;
}
.stepper__progressbar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 12.5%; background: var(--accent-deep); border-radius: var(--r-pill);
  transition: width .4s cubic-bezier(.34, 1.26, .64, 1);
}
@media (prefers-reduced-motion: reduce) {
  .stepper__progressbar-fill { transition: none; }
}

.stepper__card {
  background: var(--surface); border-radius: var(--r-card);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.stepper__eyebrow { font-size: var(--fs-small); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.stepper__panel h3 { font-size: var(--fs-h3); margin: .6rem 0 .8rem; }
.stepper__panel p { color: var(--ink-soft); font-size: 1.02rem; max-width: 40rem; }
.stepper__actions {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.stepper__progress { font-size: .85rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.stepper__actions .btn:disabled { opacity: .4; cursor: default; pointer-events: none; }

/* help card */
.help-card {
  position: relative; overflow: hidden;
  background: var(--canvas-ink); color: #fff; border-radius: var(--r-card);
  padding: clamp(1.5rem, 3vw, 2rem);
}
/* catalog: 012 Conic Animation, slow rotating gold edge glow behind a
   frosted inset panel; overlayMargin scaled up from the component's 1px
   default so the sweep reads at card scale rather than a hairline. */
.help-card::before {
  content: "";
  position: absolute; top: -450%; left: 0; right: 0; bottom: 0; height: 1000%;
  background: conic-gradient(transparent 200deg, var(--gold));
  z-index: 0;
  animation: claimsConicSpin 8s linear infinite;
}
.help-card::after {
  content: "";
  position: absolute; inset: 2px;
  background: var(--canvas-ink);
  border: 1px solid rgba(248,176,16,.4);
  border-radius: calc(var(--r-card) - 2px);
  z-index: 1;
  pointer-events: none;
}
.help-card > * { position: relative; z-index: 2; }
@keyframes claimsConicSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  /* static border: a frozen mid-sweep frame reads as a lopsided gold patch
     (the cone only lights part of the ring at any instant), so drop the
     spinner layer entirely and fall back to the ::after inset ring, a
     clean, uniform, always-static gold border. */
  .help-card::before { display: none; }
}
.help-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: .9rem; }
.help-card__big { font-size: clamp(2.6rem, 3vw + 1.5rem, 3.6rem); font-weight: 700; color: var(--accent-bright); letter-spacing: -0.03em; line-height: 1; }
.help-card p { color: rgba(255,255,255,.72); font-size: .95rem; margin: .7rem 0 1.1rem; }
.help-card__call { width: 100%; justify-content: center; margin-bottom: 1.2rem; }
.help-card__rows { display: flex; flex-direction: column; gap: .6rem; }
.help-card__rows a { display: flex; justify-content: space-between; gap: .5rem; font-size: .92rem; color: #fff; }
.help-card__rows a:hover { color: var(--accent-bright); }
.help-card hr { border: none; border-top: 1px solid var(--line-dark); margin: 1.2rem 0; }
.help-card__hours { color: rgba(255,255,255,.6); font-size: .85rem; margin: 0; }

/* ---------- Complaints panel ---------- */
.c-complaints__lead { color: var(--ink-soft); font-size: var(--fs-lead); max-width: 42rem; margin-bottom: 1.75rem; }
.c-complaints { max-width: 44rem; }
.c-complaints .acc-item:first-child { border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .stepper__list { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .c-grid { grid-template-columns: 2fr 1fr; align-items: start; }
  .stepper__list { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .stepper__list { grid-template-columns: repeat(2, 1fr); }
  .stepper__t { white-space: normal; }
}

/* ---------- Motion ---------- */
.stepper__panel { transition: opacity var(--t-fast) var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .tabs__btn, .stepper__btn, .stepper__n, .stepper__panel { transition: none !important; }
}
