:root {
  --navy: #15283c;
  --concrete: #e8edf0;
  --paper: #f7f9fa;
  --sun: #f0b323;
  --fault: #c43b2e;
  --ink: #101c27;
  --muted: #4d5d6b;
  --line: #c9d3da;
  --measure: 38rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
}
a { color: var(--navy); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

header.site {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0;
}
.logo { font-weight: 800; font-stretch: 125%; font-size: 1.15rem; color: var(--navy); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--sun); }
header.site nav a { margin-left: 1.25rem; font-size: 0.95rem; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 4.5rem 0 0; overflow: hidden; }
.hero h1 {
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(2.2rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.025em;
  margin: 0 0 1.25rem; max-width: 15ch;
}
.hero p.lede { font-size: 1.25rem; max-width: 34rem; color: #d3dde6; margin: 0 0 2rem; }
.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 3.5rem; }
.btn {
  display: inline-block; background: var(--sun); color: var(--ink);
  font: 700 1.05rem/1 "Archivo", sans-serif; padding: 1rem 1.5rem; border: 0; border-radius: 4px;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: #ffc53d; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.hero .quiet { color: #d3dde6; }

.strip-wrap { position: relative; }
#year-strip svg { display: block; width: 100%; height: 180px; }
#year-strip .live { fill: var(--sun); }
#year-strip .dead { fill: var(--fault); }
.strip-axis {
  display: flex; justify-content: space-between; font-size: 0.8rem; color: #93a6b8;
  padding: 0.5rem 0 1.25rem; border-top: 1px solid #2c4560;
}
.strip-note {
  position: absolute; left: 54%; top: 30px; max-width: 17rem;
  font-size: 0.95rem; line-height: 1.4; color: #fff; padding-left: 0.9rem; border-left: 2px solid var(--fault);
}
@media (prefers-reduced-motion: no-preference) {
  #year-strip rect { transform-origin: bottom; transform-box: fill-box; animation: grow 0.5s ease-out both; animation-delay: calc(var(--i) * 3ms); }
  .strip-note { animation: fade 0.6s ease-out 1.3s both; }
  @keyframes grow { from { transform: scaleY(0); } }
  @keyframes fade { from { opacity: 0; } }
}

/* Sections */
section.band { padding: 4.5rem 0; }
section.band.alt { background: var(--concrete); }
h2 {
  font-weight: 800; font-stretch: 112%; font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 1rem; max-width: 24ch;
}
h3 { font-weight: 700; font-size: 1.15rem; margin: 0 0 0.35rem; }
p { max-width: var(--measure); }

.problem { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.problem blockquote {
  margin: 0; font-size: 1.45rem; line-height: 1.35; font-weight: 500; color: var(--navy);
  border-left: 4px solid var(--fault); padding-left: 1.25rem;
}
.problem blockquote footer { font-size: 0.95rem; color: var(--muted); margin-top: 0.75rem; font-weight: 400; }

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
ol.steps li { counter-increment: s; border-top: 3px solid var(--navy); padding-top: 1rem; }
ol.steps li::before { content: counter(s); display: block; font-weight: 800; font-stretch: 125%; font-size: 2rem; color: var(--navy); line-height: 1; margin-bottom: 0.6rem; }
ol.steps p { font-size: 0.98rem; color: var(--muted); margin: 0; }

.price { display: grid; grid-template-columns: auto auto 1fr; gap: 2.5rem; align-items: end; margin: 2rem 0 1.5rem; }
.price .amt { font-weight: 800; font-stretch: 125%; font-size: 3.4rem; line-height: 1; color: var(--navy); }
.price .amt small { font-size: 1.1rem; font-weight: 600; font-stretch: 100%; }
.price .what { font-size: 0.98rem; color: var(--muted); margin-top: 0.35rem; }
ul.checks { padding-left: 1.2rem; margin: 0; }
ul.checks li { margin: 0.3rem 0; }

/* Forms */
form.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2rem; max-width: 44rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.row.three { grid-template-columns: 2fr 1fr 1fr; }
label { display: block; font-weight: 600; font-size: 0.95rem; margin: 0 0 1rem; }
label .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.88rem; }
input, select, textarea {
  display: block; width: 100%; margin-top: 0.35rem; padding: 0.7rem 0.75rem;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 4px;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 2px solid var(--sun); outline-offset: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.choice { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; margin: 0.35rem 0; }
.choice input { width: auto; margin: 0.3rem 0 0; }
.fine { font-size: 0.85rem; color: var(--muted); }
.form-status { min-height: 1.5rem; margin: 0.75rem 0 0; font-size: 0.95rem; }
.form-status.error { color: var(--fault); font-weight: 600; }
.done { font-size: 1.15rem; font-weight: 600; color: var(--navy); margin: 0; }

.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; margin-top: 2rem; }
.brands section { border-top: 3px solid var(--navy); padding-top: 1rem; }
.brands ol { padding-left: 1.2rem; margin: 0.5rem 0 0; }

table.leads { border-collapse: collapse; width: 100%; max-width: 44rem; margin: 1.5rem 0; }
table.leads th, table.leads td { text-align: left; padding: 0.8rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.leads th { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
table.leads td.num { font-weight: 800; font-stretch: 112%; font-size: 1.2rem; color: var(--navy); white-space: nowrap; }

footer.site { padding: 2.5rem 0 3rem; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); }
footer.site a { margin-right: 1.25rem; }

@media (max-width: 760px) {
  .hero { padding-top: 3rem; }
  .problem, .brands { grid-template-columns: 1fr; gap: 2rem; }
  ol.steps { grid-template-columns: 1fr 1fr; }
  .price { grid-template-columns: 1fr 1fr; }
  .price ul { grid-column: 1 / -1; }
  .row, .row.three { grid-template-columns: 1fr; gap: 0; }
  .strip-note { position: static; margin: 0 0 1rem; }
  #year-strip svg { height: 120px; }
  form.card { padding: 1.25rem; }
  header.site nav a:first-child { display: none; }
}
@media (max-width: 420px) { ol.steps { grid-template-columns: 1fr; } }

/* Portal */
body.portal { background: var(--concrete); }
body.portal main { padding-bottom: 4rem; }
.portal-grid { display: grid; grid-template-columns: 20rem 1fr; gap: 1.5rem; align-items: start; }
.case-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.case-list button {
  width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 4px;
  padding: 0.8rem 0.9rem; display: grid; gap: 0.15rem;
}
.case-list button.on { border-left-color: var(--navy); background: var(--paper); }
.case-list span { font-size: 0.9rem; color: var(--muted); }
.case-list .empty, .thread .empty, .empty { color: var(--muted); }
.tag { justify-self: start; font-size: 0.8rem !important; font-weight: 600; padding: 0.1rem 0.5rem; border-radius: 3px; background: var(--concrete); color: var(--ink) !important; }
.tag-offered { background: var(--sun); }
.tag-accepted, .tag-scheduled { background: var(--navy); color: #fff !important; }
.tag-fixed { background: #cfe3d4; }
#case-view { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1.75rem; min-height: 24rem; }
.case-summary { font-size: 1.15rem; color: var(--navy); font-weight: 500; }
dl.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; margin: 1.25rem 0; }
dl.facts dt { font-size: 0.85rem; color: var(--muted); }
dl.facts dd { margin: 0; font-weight: 600; }
.actions { margin: 1rem 0 0; }
.btn.ghost { background: transparent; border: 2px solid var(--navy); color: var(--navy); padding: calc(1rem - 2px) 1.4rem; }
.thread { list-style: none; padding: 0; margin: 0.75rem 0 1rem; display: flex; flex-direction: column; gap: 0.6rem; max-height: 26rem; overflow-y: auto; }
.msg { max-width: 34rem; padding: 0.7rem 0.9rem; border-radius: 6px; background: var(--concrete); white-space: pre-wrap; }
.msg.mine { align-self: flex-end; background: var(--navy); color: #fff; }
.msg.staff { border-left: 3px solid var(--sun); }
.msg .meta { display: block; font-size: 0.8rem; opacity: 0.75; margin-bottom: 0.2rem; }
.send label { margin: 0; }
.send .btn { margin-top: 0.75rem; }
@media (max-width: 760px) { .portal-grid { grid-template-columns: 1fr; } #case-view { padding: 1.1rem; } }
section.band.follow { padding-top: 0; }
@media (max-width: 420px) {
  .logo { font-size: 1rem; }
  header.site nav a { margin-left: 0.8rem; font-size: 0.9rem; }
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
footer.site a { margin-right: 0; }
footer.site span { overflow-wrap: anywhere; }
ol.plain { padding-left: 1.3rem; max-width: var(--measure); }
ol.plain li { margin: 0.4rem 0; }

/* Ratings + service area */
.score-line { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }
.score-line strong { color: var(--navy); }
.stars { display: flex; gap: 0.25rem; margin: 0.5rem 0 0.75rem; }
.stars button {
  font: 700 1.8rem/1 "Archivo", sans-serif; background: none; border: 0; padding: 0.1rem 0.2rem;
  color: var(--line); cursor: pointer;
}
.stars button.on { color: var(--sun); }
.rate-box { border-top: 1px solid var(--line); margin: 1.25rem 0 1.75rem; padding-top: 1rem; }
.side-actions { margin-top: 1rem; }
.side-actions .btn { width: 100%; text-align: center; }
