@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-italic.woff2) format("woff2"); }

/* public/styles.css — mobile-first, white-first layout: serif display type, soft indigo accent.
   Base rules target phones; min-width breakpoints (640px, 900px) scale up for tablet and desktop. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --tint: #f7f7fb;
  --ink: #16161d;
  --muted: #5d5d68;
  --line: #ebebf0;
  --accent: #3d33d6;
  --accent-soft: #eeedfc;
  --accent-ink: #2c25a3;
  --radius: 14px;
  --gutter: 1rem;
  font-size: 16px;
}

* { box-sizing: border-box; }

/* Component display rules (e.g. .modern-form grid) would otherwise override the hidden attribute. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 4rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Instrument Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h2 { font-size: clamp(1.9rem, 7vw, 3rem); max-width: 18em; }

h3 {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 0.4rem;
  line-height: 1.35;
}

p { color: var(--muted); margin: 0 0 1rem; }

a { color: inherit; }

em { font-style: normal; color: var(--muted); font-weight: 400; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.88rem; }
.btn-block { width: 100%; margin-top: 0.5rem; }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.65rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { font-weight: 700; font-size: 0.95rem; text-decoration: none; color: var(--ink); }

.nav-links { display: none; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--tint) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem var(--gutter) 3rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}


.hero h1 { font-size: clamp(2.5rem, 11vw, 4.6rem); max-width: 10em; }

.hero-sub { font-size: 1.05rem; max-width: 30em; margin-bottom: 0; }

/* phones get the one-line pitch; the full version returns from tablet width up */
.sub-long { display: none; }
@media (min-width: 640px) {
  .sub-long { display: inline; }
  .sub-short { display: none; }
}


/* the nav button carries the short label on phones, the full one from tablet width up */
.cta-long { display: none; }
@media (min-width: 640px) {
  .cta-long { display: inline; }
  .cta-short { display: none; }
}


/* colour tones: one per job type, shared by the hero nodes, cards and form list */

.tone-1 { --tone: #3d33d6; --tone-soft: #eeedfc; }
.tone-2 { --tone: #0f8a7e; --tone-soft: #e3f5f2; }
.tone-3 { --tone: #c26a06; --tone-soft: #fdf1e2; }
.tone-4 { --tone: #c2336b; --tone-soft: #fce9f0; }
.tone-5 { --tone: #1f8a4c; --tone-soft: #e6f5ec; }
.tone-6 { --tone: #2f6fd6; --tone-soft: #e7effc; }

/* hero visual: the six jobs orbiting an AI hub */

.hero-art { display: flex; flex-direction: column; align-items: center; }
.orbit { width: 100%; max-width: 280px; height: auto; overflow: visible; }
.orbit-halo { fill: #f0effd; opacity: 0.7; }
.orbit-ring { fill: none; stroke: #d9d7f7; stroke-width: 1.5; stroke-dasharray: 4 7; }
.orbit-ring-inner { stroke: #e4e2fa; stroke-dasharray: none; }
.orbit-lines line { stroke: #d9d7f7; stroke-width: 1.5; }
.orbit-core { fill: var(--accent); filter: drop-shadow(0 12px 24px rgba(61, 51, 214, 0.35)); }
.orbit-core-text { fill: #fff; font-family: "Instrument Serif", serif; font-size: 40px; }

.orbit-core, .orbit-core-text, .node .tile, .node-label { transition: opacity 0.2s ease, transform 0.2s ease; }
.node { cursor: pointer; outline: none; }
.node .tile { animation: float 5s ease-in-out infinite; animation-delay: var(--d); transform-box: fill-box; transform-origin: center; }
.node-label { fill: #fff; font-family: "Instrument Serif", serif; font-size: 24px; opacity: 0; pointer-events: none; }

/* hover or keyboard focus: that job lifts, the others fade and its name replaces "AI" in the hub */
.node:hover .tile, .node:focus-visible .tile { animation: none; transform: scale(1.12); }
.node:hover .node-label, .node:focus-visible .node-label { opacity: 1; }
.orbit:has(.node:hover, .node:focus-visible) .orbit-core-text { opacity: 0; }
.orbit:has(.node:hover, .node:focus-visible) .node:not(:hover):not(:focus-visible) .tile { opacity: 0.45; }
.node:hover rect, .node:focus-visible rect { stroke: var(--tone); }

.node rect { fill: #fff; stroke: var(--tone-soft); stroke-width: 2; filter: drop-shadow(0 10px 18px rgba(22, 22, 29, 0.10)); }
.node path, .node .tile > g > rect { fill: none; stroke: var(--tone); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .node .tile, .problem:target { animation: none; }
}

/* ---------- sections ---------- */

main { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }

.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

/* problems */

.more-jobs { margin: 2.5rem 0 0; white-space: nowrap; font-family: "Instrument Serif", serif; font-size: clamp(1.9rem, 7vw, 3rem); line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }

.problems {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.problem {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.problem::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--tone); }
.problem:target { animation: card-flash 1.6s ease; box-shadow: 0 0 0 2px var(--tone), 0 18px 40px -24px rgba(22, 22, 29, 0.25); }
@keyframes card-flash { 0%, 40% { background: var(--tone-soft); } 100% { background: #fff; } }
.problem:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(22, 22, 29, 0.25); }

.icon {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: var(--tone-soft, var(--accent-soft));
  margin-bottom: 0.9rem;
}
.icon svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--tone, var(--accent)); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* icon and title share the top row; the list runs full width underneath */
.problem { display: grid; grid-template-columns: auto 1fr; column-gap: 0.8rem; align-items: center; }
.problem .icon { margin-bottom: 0; }
.problem ul { grid-column: 1 / -1; }

.problem h3 { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 1.45rem; line-height: 1.2; margin-bottom: 0; white-space: nowrap; }

.problem ul { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.problem li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.problem li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.38em;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--tone, var(--accent));
  border-bottom: 2px solid var(--tone, var(--accent));
  transform: rotate(-45deg);
}

/* steps */

.steps {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 1.5rem;
}

.steps li { position: relative; padding-top: 1.4rem; border-top: 2px solid var(--line); }
.steps li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.step-num {
  display: block;
  font-family: "Instrument Serif", serif;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.9;
  margin-bottom: 0.6rem;
}

.steps p { margin: 0; font-size: 0.95rem; }



/* ---------- form ---------- */

.form-section {
  display: grid;
  gap: 0.4rem;
  align-items: start;
}

.modern-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 20px 50px -30px rgba(61, 51, 214, 0.25);
  display: grid;
  gap: 1rem;
}

.form-row { display: grid; gap: 1rem; }

.modern-form > label,
.form-row > label { display: grid; gap: 0.4rem; }

.modern-form > label > span,
.form-row > label > span { font-size: 0.9rem; font-weight: 600; color: var(--ink); }

/* 16px minimum stops iOS Safari zooming into fields on focus. */
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit;
  font-size: 16px;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}

input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

textarea { resize: vertical; }

.assure { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.assure li { display: flex; align-items: center; gap: 0.8rem; font-weight: 500; color: var(--ink); }
.assure .icon { margin: 0; flex: none; }

.req { color: var(--accent); font-weight: 700; }

.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b42318; }
.form-message { color: #b42318; margin: 0; font-size: 0.9rem; min-height: 1em; }

.contact-options { display: grid; gap: 0.75rem; margin-bottom: 0.6rem; }

.contact-option {
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.85rem;
  row-gap: 0.15rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.contact-option svg {
  grid-row: span 2;
  width: 44px; height: 44px; padding: 10px;
  border-radius: 12px;
  background: var(--accent-soft);
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.contact-option strong { font-weight: 600; }
.contact-option span { font-size: 0.88rem; color: var(--muted); overflow-wrap: anywhere; }
.contact-option:hover { border-color: var(--accent); box-shadow: 0 12px 30px -20px rgba(61, 51, 214, 0.45); transform: translateY(-1px); }
.contact-option:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-option[aria-expanded="true"] { border-color: var(--accent); background: var(--accent-soft); }
.contact-option[aria-expanded="true"] svg { background: #fff; }

@media (min-width: 760px) {
  .contact-options { grid-template-columns: repeat(3, 1fr); max-width: 60rem; }
  .contact-option { grid-template-columns: 1fr; row-gap: 0.35rem; align-content: start; padding: 1.25rem; }
  .contact-option svg { grid-row: auto; margin-bottom: 0.4rem; }
}

.booking {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* ---------- benefits ---------- */

.benefits { display: grid; gap: 1rem; margin-top: 1.75rem; }
.benefit {
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-ink) 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: #fff;
}
.benefit-big { display: block; font-family: "Instrument Serif", serif; font-size: clamp(2.4rem, 9vw, 3.2rem); line-height: 1; margin-bottom: 0.9rem; }
.benefit h3 { color: #fff; }
.benefit p { color: rgba(255, 255, 255, 0.82); margin: 0; }
.benefits-note { font-size: 0.85rem; margin: 1rem 0 0; }

@media (min-width: 760px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .benefit { padding: 1.75rem; }
}

/* ---------- faq ---------- */

.faq { margin-top: 1.75rem; border-top: 1px solid var(--line); max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 500;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: 0 0 1.2rem; max-width: 40em; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: var(--tint); font-size: 0.88rem; color: var(--muted); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 2.25rem var(--gutter) 1.5rem; }
.site-footer a { color: inherit; text-decoration: none; }
/* tap-size: keeps short text links at the 24px minimum touch height (WCAG 2.2 target size) */
.brand, .site-footer a { display: inline-block; padding-block: 0.2rem; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.footer-top { display: grid; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.footer-about .brand { color: var(--ink); font-size: 1rem; }
.footer-about p { margin: 0.35rem 0 0; max-width: 34rem; font-size: 0.88rem; }
.footer-email { color: var(--ink) !important; font-weight: 600; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 1.25rem; font-size: 0.82rem; }
.footer-links { display: flex; gap: 1.25rem; }

@media (min-width: 640px) {
  .footer-top { grid-template-columns: 1fr auto; align-items: start; gap: 2rem; }
}


/* ---------- tablet ---------- */

@media (min-width: 640px) {
  .orbit { max-width: 300px; }
  :root { --gutter: 1.5rem; font-size: 17px; }
  .hero-inner { padding: 4.5rem var(--gutter) 4rem; }
  .section { padding: 3.25rem 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .problems { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .modern-form { padding: 2rem; }
  .booking { padding: 2rem; }
}

/* ---------- legal pages ---------- */

.form-privacy { margin: 0; font-size: 0.85rem; color: var(--muted); }
.form-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.legal { max-width: 46rem; padding-top: 2.5rem; padding-bottom: 3.5rem; }
.legal h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); margin: 0.4rem 0 0.25rem; }
.legal h2 { font-size: clamp(1.35rem, 5vw, 1.75rem); margin: 2rem 0 0.5rem; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.legal a { color: var(--accent-ink); text-underline-offset: 2px; }
.legal-updated { font-size: 0.88rem; color: var(--muted); margin: 0 0 1.5rem; }

@media (min-width: 640px) {
}

/* ---------- desktop ---------- */

@media (min-width: 900px) {
  .nav-inner { padding: 0.9rem var(--gutter); gap: 1.5rem; }
  .nav-links { display: flex; gap: 2rem; font-size: 0.9rem; }
  .hero-inner { grid-template-columns: 1.2fr 1fr; gap: 3rem; padding: 6rem var(--gutter) 5.5rem; }
  .section { padding: 4rem 0; }
  .problems { gap: 1.25rem; margin-top: 2.5rem; }
  .problem { padding: 1.75rem; }
  .problem h3 { font-size: 1.5rem; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 2.5rem; }
  .orbit { max-width: 420px; }
  .modern-form { max-width: 44rem; }
}

@media (min-width: 1100px) {
  .problems { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- time audit ---------- */

.audit-page { max-width: 44rem; padding-bottom: 3rem; }

.audit-head { padding: 2.5rem 0 2rem; }
.audit-head h1 { font-family: "Instrument Serif", serif; font-weight: 400; font-size: clamp(2.1rem, 8vw, 3.2rem); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 1rem; }
.audit-intro { font-size: 1.02rem; max-width: 32em; margin: 0; }

.audit-shell { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }

.audit-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--tint);
}
.audit-back {
  grid-column: 1;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}
.audit-back:hover { color: var(--accent); }
.audit-progress-text { grid-column: 2; font-size: 0.85rem; color: var(--muted); }
.audit-back[hidden] + .audit-progress-text { grid-column: 1 / -1; }
.audit-progress-track { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.audit-progress-fill { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--accent); transition: width 0.25s ease; }

.audit-card { padding: 1.5rem 1.1rem 1.75rem; }
.audit-question { font-family: "Instrument Serif", serif; font-weight: 400; font-size: clamp(1.5rem, 5.5vw, 2rem); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5rem; max-width: 18em; outline: none; }
.audit-help { font-size: 0.95rem; margin: 0 0 1.25rem; }
.audit-help a { color: var(--accent); }

.audit-options { display: grid; gap: 0.6rem; }
.audit-option {
  display: grid;
  gap: 0.15rem;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.audit-option strong { font-weight: 600; font-size: 0.98rem; }
.audit-option span { font-size: 0.85rem; color: var(--muted); }
.audit-option:hover { border-color: var(--accent); background: var(--accent-soft); }
.audit-option:active { transform: scale(0.99); }
.audit-option[aria-current="true"] { border-color: var(--accent); background: var(--accent-soft); }

/* result */

.audit-total { font-family: "Instrument Serif", serif; font-weight: 400; font-size: clamp(2rem, 8vw, 3rem); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 0.6rem; outline: none; }
.audit-total strong { font-weight: 400; color: var(--accent); }

.audit-bars { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.audit-bar { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 0.75rem; align-items: baseline; }
.audit-bar-name { grid-area: 1 / 1; font-size: 0.92rem; font-weight: 600; }
.audit-bar-value { grid-area: 1 / 2; font-size: 0.92rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.audit-bar-track { grid-area: 2 / 1 / 3 / 3; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.audit-bar-fill { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.audit-bar.is-empty .audit-bar-name { color: var(--muted); font-weight: 400; }
.audit-bar.is-empty .audit-bar-fill { background: var(--line); }

.audit-advice { margin: 1.5rem 0 0; padding: 0.9rem 1rem; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.95rem; }
.audit-advice strong { font-weight: 600; }
.audit-caveat { margin: 1.25rem 0 0; font-size: 0.85rem; }

.audit-lead { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.audit-lead h3 { font-size: 1.15rem; margin-bottom: 1.1rem; }
.audit-lead .modern-form { margin: 0; }

.audit-actions { margin-top: 1.5rem; }
.audit-foot { margin: 1.25rem 0 0; font-size: 0.82rem; }

/* the homepage link through to the audit */

/* The homepage entry point. A pill so it reads as its own thing next to the
   example figures above it, rather than as a footnote to them. */
.audit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.audit-pill-tag {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.audit-pill-text { font-size: 0.9rem; font-weight: 600; }
.audit-pill-arrow { color: var(--accent); transition: transform 0.15s ease; }
.audit-pill:hover { border-color: var(--accent); background: var(--accent-soft); }
.audit-pill:hover .audit-pill-arrow { transform: translateX(3px); }
.audit-pill:active { transform: scale(0.98); }
@media (min-width: 640px) {
  .audit-pill-text { font-size: 0.95rem; }
  .audit-card { padding: 2rem 1.75rem 2.25rem; }
  .audit-progress { padding: 0.9rem 1.75rem; }
  .audit-bar { grid-template-columns: 11rem 1fr auto; align-items: center; gap: 0.9rem; }
  .audit-bar-name { grid-area: 1 / 1; }
  .audit-bar-track { grid-area: 1 / 2; }
  .audit-bar-value { grid-area: 1 / 3; }
}
