/* ---------- tokens ----------
   Palette is taken from the Quick Fix logo: cyan #60d8e4 on navy #003048.
   Light mode darkens the cyan to #0b7c90 so text and buttons stay legible. */
:root {
  --bg:            #f7fafb;
  --bg-elev:       #ffffff;
  --bg-sunk:       #eef4f6;
  --fg:            #0a2231;
  --fg-muted:      #52697a;
  --line:          #dde7ec;
  --line-strong:   #c5d5dd;
  --accent:        #0b7c90;
  --accent-fg:     #ffffff;
  --accent-soft:   rgba(11, 124, 144, .10);
  --brand-navy:    #003048;
  --brand-cyan:    #60d8e4;
  --star:          #0b7c90;
  --glow-a:        rgba(96, 216, 228, .30);
  --glow-b:        rgba(0, 48, 72, .12);
  --shadow-sm:     0 1px 2px rgba(0, 48, 72, .06), 0 1px 3px rgba(0, 48, 72, .05);
  --shadow-md:     0 12px 28px -12px rgba(0, 48, 72, .20), 0 2px 6px rgba(0, 48, 72, .06);
  --shadow-lg:     0 32px 64px -24px rgba(0, 48, 72, .30);
  --radius:        16px;
  --radius-sm:     10px;
  --header-bg:     rgba(247, 250, 251, .72);
  --maxw:          1120px;
  --ease:          cubic-bezier(.22, 1, .36, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #04151f;
    --bg-elev:     #0a2130;
    --bg-sunk:     #071c28;
    --fg:          #e6f4f7;
    --fg-muted:    #8fa9b6;
    --line:        #113344;
    --line-strong: #1c4759;
    --accent:      #60d8e4;
    --accent-fg:   #00232f;
    --accent-soft: rgba(96, 216, 228, .13);
    --brand-navy:  #003048;
    --brand-cyan:  #60d8e4;
    --star:        #60d8e4;
    --glow-a:      rgba(96, 216, 228, .18);
    --glow-b:      rgba(0, 90, 130, .22);
    --shadow-sm:   0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md:   0 16px 32px -16px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .3);
    --shadow-lg:   0 40px 80px -32px rgba(0, 0, 0, .8);
    --header-bg:   rgba(4, 21, 31, .74);
  }
}
:root[data-theme="dark"] {
  --bg:          #04151f;
  --bg-elev:     #0a2130;
  --bg-sunk:     #071c28;
  --fg:          #e6f4f7;
  --fg-muted:    #8fa9b6;
  --line:        #113344;
  --line-strong: #1c4759;
  --accent:      #60d8e4;
  --accent-fg:   #00232f;
  --accent-soft: rgba(96, 216, 228, .13);
  --brand-navy:  #003048;
  --brand-cyan:  #60d8e4;
  --star:        #60d8e4;
  --glow-a:      rgba(96, 216, 228, .18);
  --glow-b:      rgba(0, 90, 130, .22);
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md:   0 16px 32px -16px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-lg:   0 40px 80px -32px rgba(0, 0, 0, .8);
  --header-bg:   rgba(4, 21, 31, .74);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16.5px;
  line-height: 1.62;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .brand-text, .btn, .step-n, .card-total {
  font-family: "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.028em;
}
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--fg-muted); }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--accent); color: var(--accent-fg);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip:focus { left: 24px; }

/* ---------- buttons ---------- */
.btn {
  --btn-py: 13px; --btn-px: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--btn-py) var(--btn-px);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .975rem; font-weight: 600;
  white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); box-shadow: 0 6px 20px -8px var(--accent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px var(--accent); }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-sm { --btn-py: 9px; --btn-px: 16px; font-size: .9rem; }
.btn-lg { --btn-py: 16px; --btn-px: 30px; font-size: 1.03rem; }
.btn:active { transform: translateY(0); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.06rem; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px;
  object-fit: cover; display: block;
  box-shadow: 0 4px 12px -6px rgba(0, 48, 72, .5);
}
.brand-dim { color: var(--fg-muted); font-weight: 500; margin-left: .3em; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px;
  font-size: .93rem; font-weight: 500; color: var(--fg-muted);
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--fg); background: var(--accent-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }
.icon-btn {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--fg-muted); cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.icon-btn:hover { color: var(--fg); border-color: var(--line-strong); background: var(--bg-elev); }
.icon-btn svg { width: 17px; height: 17px; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner { gap: 12px; }
}
@media (max-width: 420px) {
  .brand-dim { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 8vw, 88px); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 720px; pointer-events: none;
  background:
    radial-gradient(46% 42% at 22% 34%, var(--glow-a), transparent 70%),
    radial-gradient(40% 40% at 82% 18%, var(--glow-b), transparent 72%);
  filter: blur(6px);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero h1 {
  font-size: clamp(2.55rem, 6.4vw, 4.4rem);
  line-height: 1.03; font-weight: 700; margin: 18px 0 20px;
}
.hero h1 em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(100deg, var(--accent), color-mix(in oklab, var(--accent) 62%, var(--brand-cyan)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 52ch; font-size: clamp(1.03rem, 1.4vw, 1.16rem); color: var(--fg-muted); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--bg-elev);
  font-size: .82rem; font-weight: 500; color: var(--fg-muted);
  box-shadow: var(--shadow-sm);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin: 30px 0 0; padding: 22px 0 0; list-style: none;
  border-top: 1px solid var(--line);
  font-size: .89rem; color: var(--fg-muted);
}
.trust strong { color: var(--fg); font-weight: 600; }

/* hero card */
.hero-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  transform: rotate(.5deg);
  transition: transform .4s var(--ease);
}
.hero-card:hover { transform: rotate(0deg) translateY(-4px); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: .78rem; font-weight: 600;
}
.chip .dot { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.card-time { font-size: .8rem; color: var(--fg-muted); font-variant-numeric: tabular-nums; }

.tasklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tasklist li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 12px; border-radius: var(--radius-sm);
  background: var(--bg-sunk);
  font-size: .92rem; font-weight: 500;
}
.tasklist em { margin-left: auto; font-style: normal; font-size: .8rem; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.check {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
}
.tasklist .done { color: var(--fg-muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.tasklist .done .check {
  border-color: transparent; background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.card-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--fg-muted);
}
.card-total { color: var(--fg); font-weight: 600; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 24px; }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.12; font-weight: 700; }
.section-sub { margin-top: 12px; color: var(--fg-muted); font-size: 1.03rem; }
.eyebrow {
  margin-bottom: 12px; font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}

.grid { display: grid; gap: 16px; }
.services { grid-template-columns: repeat(3, 1fr); }
.steps { grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; counter-reset: none; }
.info { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .services, .steps, .info { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services, .steps, .info { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: 26px 24px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.card h3 { font-size: 1.075rem; font-weight: 600; margin-bottom: 7px; }
.card p { color: var(--fg-muted); font-size: .945rem; }

.ico {
  display: grid; place-items: center; width: 40px; height: 40px;
  margin-bottom: 18px; border-radius: 11px;
  background: var(--accent-soft); color: var(--accent);
}
.ico svg { width: 20px; height: 20px; }

.step-n {
  display: block; margin-bottom: 14px;
  font-size: .95rem; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* ---------- quote ---------- */
.quote {
  margin: 0; padding: clamp(32px, 5vw, 56px);
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  border-radius: 22px;
  text-align: center;
}
.quote blockquote {
  margin: 0 auto; max-width: 40ch;
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1.38; font-weight: 500; letter-spacing: -.024em;
  text-wrap: balance;
}
.quote figcaption { margin-top: 20px; font-size: .87rem; color: var(--fg-muted); }

/* ---------- info + cta ---------- */
.info-card p + p { margin-top: 6px; }
.info-card a { color: var(--accent); font-weight: 500; }
.info-card a:hover { text-decoration: underline; text-underline-offset: 3px; }

.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 26px; padding: clamp(30px, 4.5vw, 48px);
  border: 1px solid var(--line); border-radius: 22px;
  background:
    radial-gradient(70% 160% at 12% 0%, var(--accent-soft), transparent 62%),
    var(--bg-elev);
  box-shadow: var(--shadow-md);
}
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); }
.cta-band p { margin-top: 8px; color: var(--fg-muted); max-width: 44ch; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 24px; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  align-items: center; justify-content: space-between;
  padding-block: 32px 48px;
  font-size: .87rem;
}
.footer-brand { font-weight: 600; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover, .hero-card:hover { transform: none; }
}

/* ---------- reviews ---------- */
.reviews { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .reviews { grid-template-columns: 1fr; } }

.stars { color: var(--star); font-size: .95rem; letter-spacing: .12em; line-height: 1; }
.quote .stars { margin-bottom: 18px; }

.review { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.review p { color: var(--fg); font-size: .95rem; }
.review footer {
  margin-top: auto; padding-top: 4px;
  font-size: .84rem; color: var(--fg-muted);
}
.review footer strong { color: var(--fg); font-weight: 600; }

.quote { margin-bottom: 16px; }
.source-note { margin-top: 20px; font-size: .85rem; color: var(--fg-muted); text-align: center; }
.source-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* logo-derived accent bar under the hero card */
.hero-card { border-top: 3px solid var(--brand-cyan); }
