/* ---- client-site-kit: review marks and utilities (keep at the top of every site's style.css) ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: .75rem 1rem; background: #000; color: #fff; }
.skip-link:focus { left: 1rem; top: 1rem; }
.hp { position: absolute; left: -9999px; }
.concept-strip { background: #fff8d6; color: #3b3200; font: 500 .82rem/1.4 system-ui, sans-serif; padding: .45rem 1rem; text-align: center; border-bottom: 1px solid #e6d78a; }
.concept-strip a { color: inherit; font-weight: 700; }
.mark-toggle { font: inherit; font-weight: 700; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
.prov { text-decoration: underline dotted 2px; text-decoration-color: #c08a00; text-underline-offset: .18em; cursor: help; }
.todo { background: #ffe14d; color: #222; padding: 0 .25em; border-radius: 2px; }
body.clean .prov { text-decoration: none; cursor: auto; }
body.clean .todo { background: none; color: inherit; padding: 0; }
body.clean .review-only { display: none; }
.form-status:empty { display: none; }
.form-status { margin-top: 1rem; padding: .75rem 1rem; border-radius: 4px; }
.form-status.ok { background: #e3f4e6; color: #14532d; }
.form-status.err { background: #fde8e8; color: #7f1d1d; }
.cookie-banner { position: fixed; inset: auto 1rem 1rem 1rem; z-index: 50; max-width: 40rem; margin: 0 auto; background: #fff; color: #111; padding: 1rem 1.25rem; box-shadow: 0 8px 30px rgba(0,0,0,.2); }
/* ---- end review marks ---- */

/* ==== Avon Drivers: friendly, rounded, river waves ==== */
@font-face { font-family: "Outfit"; src: url(../fonts/outfit-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url(../fonts/nunito-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url(../fonts/nunito-sans-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blue: #123c69; --blue-mid: #2f7bbf; --sky: #e8f1f8; --coral: #e2573a; --coral-text: #b8401f; --ink: #1a2433; --muted: #55657a;
  --white: #fff; --line: #d6e2ee;
  --head: "Outfit", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px; --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.06rem/1.7 var(--body); color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-mid); text-underline-offset: .18em; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.12; color: var(--blue); margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.kicker { display: inline-block; background: var(--sky); color: var(--blue); font: 700 .82rem/1 var(--body); padding: .5rem .85rem; border-radius: 999px; margin-bottom: 1.2rem; }

.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.5rem; font: 700 1.02rem/1 var(--head); text-decoration: none; background: var(--coral); color: var(--white); border: 0; border-radius: 999px; cursor: pointer; box-shadow: 0 6px 0 #b8401f; transition: transform .1s, box-shadow .1s; }
.btn:hover { color: var(--white); transform: translateY(2px); box-shadow: 0 4px 0 #b8401f; }
.btn-small { padding: .65rem 1.1rem; font-size: .95rem; box-shadow: 0 4px 0 #b8401f; }
.btn-outline { background: var(--white); color: var(--blue); box-shadow: 0 6px 0 #c9d7e5; }
.btn-outline:hover { color: var(--blue); box-shadow: 0 4px 0 #c9d7e5; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* header */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .9rem 0; }
.logo img { width: 200px; }
.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; color: var(--ink); font-weight: 700; text-decoration: none; padding: .5rem .9rem; border-radius: 999px; }
.site-nav ul a:hover { background: var(--sky); color: var(--blue); }
.site-nav ul a[aria-current="page"] { background: var(--blue); color: var(--white); }
.nav-toggle { display: none; font: 700 .95rem/1 var(--head); background: var(--sky); color: var(--blue); border: 0; border-radius: 999px; padding: .65rem 1rem; cursor: pointer; }

/* hero with wave */
.hero { background: var(--blue); color: #dce8f4; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: #ff8a6e; }
.hero .lede { font-size: 1.2rem; max-width: 34rem; margin-bottom: 2rem; }
.hero .kicker { background: rgba(255,255,255,.12); color: var(--white); }
.hero-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.hero-card h2 { font-size: 1.3rem; }
.hero-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; }
.hero-card dt { font-weight: 700; color: var(--muted); }
.hero-card dd { margin: 0; }
.wave { display: block; width: 100%; height: 60px; margin-top: -1px; }
.wave-footer { margin-top: 0; margin-bottom: -1px; }

/* sections */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-sky { background: var(--sky); }
.center { text-align: center; }
.center h2, .center p { margin-inline: auto; }
.center p { max-width: 38rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; margin-top: 2.5rem; }
.step { background: var(--white); border-radius: var(--radius); padding: 2rem 1.6rem 1.6rem; position: relative; counter-increment: step; box-shadow: 0 2px 0 var(--line), 0 0 0 1px var(--line); }
.step::before { content: counter(step); position: absolute; top: -1.1rem; left: 1.6rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--coral); color: var(--white); font: 700 1.15rem/2.4rem var(--head); text-align: center; }
.step p { margin: 0; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.tile { background: var(--sky); border-radius: var(--radius); padding: 1.75rem; }
.tile p { margin: 0; }
.tile-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: var(--white); display: grid; place-items: center; margin-bottom: 1rem; }
.tile-icon svg { width: 26px; height: 26px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split > *, .hero-grid > *, .steps > *, .tiles > *, .footer-grid > * { min-width: 0; }
.faq details { background: var(--white); border-radius: 14px; margin-bottom: .75rem; box-shadow: 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font: 700 1.08rem/1.3 var(--head); color: var(--blue); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }

/* page hero */
.page-hero { background: var(--sky); padding: clamp(2.5rem, 6vw, 4rem) 0; border-radius: 0 0 40px 40px; }
.page-hero h1 { margin: 0; }
.page-hero p { max-width: 40rem; margin: 1rem 0 0; font-size: 1.15rem; color: var(--muted); }
.breadcrumb { font-size: .88rem; margin: 0 0 .8rem !important; }

/* prose / legal */
.prose { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 1.5rem; font-size: .95rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child > * { border-bottom: 0; }
.prose thead th { background: var(--blue); color: var(--white); }
.prose tbody th { width: 34%; background: var(--sky); color: var(--blue); }
.updated { color: var(--muted); font-size: .9rem; }
.notice { background: #fff1ec; border-radius: 14px; padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.toc { background: var(--sky); border-radius: 14px; padding: 1rem 1.5rem; margin-bottom: 2rem; }
.toc ol { columns: 2; margin: 0; padding-left: 1.2rem; }
.sitemap-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* forms */
.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(18,60,105,.08); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; color: var(--blue); }
input, select, textarea { width: 100%; font: inherit; padding: .75rem 1rem; border: 2px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--blue-mid); outline: 3px solid #ffd0c3; outline-offset: 0; }
textarea { min-height: 8rem; resize: vertical; }
.hint { font-size: .85rem; color: var(--muted); font-weight: 400; }

/* photos */
.photo { margin: 0; }
.photo img { width: 100%; height: clamp(240px, 40vw, 480px); object-fit: cover; border-radius: var(--radius); }
.photo figcaption { font-size: .9rem; color: var(--muted); padding: .8rem .4rem 0; }
.credit { display: block; font-size: .78rem; opacity: .85; }
.credit a { color: inherit; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0; }
.spec dt { font-weight: 700; color: var(--blue); }
.spec dd { margin: 0; }

/* footer */
.site-footer { background: var(--blue); color: #c3d5e8; font-size: .95rem; padding: 2rem 0 0; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-grid img { width: 200px; margin-bottom: 1rem; }
.footer-heading { font: 700 1rem/1 var(--head); color: var(--white); margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); padding: 1.2rem 0 2rem; font-size: .8rem; }
.footer-legal p { margin: 0; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .logo img { width: 170px; }
  .form-grid, .sitemap-cols { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .wave { height: 30px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
