/* Roseville Insurance: a 45-rpm pop sleeve. One flat ground floods the page, a square-cropped telephone sits on it, and the quote choices are the track list. */
@font-face { font-family: "Baloo 2"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/baloo-2-700.woff2) format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-style: normal; font-display: swap; src: url(/fonts/baloo-2-800.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/hanken-grotesk-400.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/hanken-grotesk-700.woff2) format("woff2"); }

@property --ground { syntax: "<color>"; inherits: true; initial-value: #f57c26; }

:root {
  color-scheme: light;
  --tang: #f57c26;
  --turq: #22b8b3;
  --ink: #26120a;
  --played: #4a2410;
  --white: #ffffff;
  --muted: #5b4338;
  --link: #0b6b68;
  --hot: #b3360a;
  --tang-tint: #ffe0c8;
  --turq-tint: #d6f3f1;
  --line: #26120a;
  --accent: #26120a;
  --accent-dark: #26120a;
  --paper: #f57c26;
  --ground: #f57c26;
  --turn: 0deg;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--tang); font: 400 1.0625rem/1.55 var(--text); overflow-x: clip; }
::selection { background: var(--ink); color: var(--white); }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; }

/* ---------- header: label dot + the city as the rounded logotype ---------- */
.site-header { border: 0; background: none; padding: 14px 0 0; }
.header-inner { width: min(100% - 32px, 1100px); max-width: none; margin: auto; padding: 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; color: var(--ink); text-decoration: none; font-size: 1.0625rem; line-height: 1.15; letter-spacing: 0; }
.brand strong { display: block; font-weight: 700; }
.brand-mark { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); font: 800 1.6rem/1 var(--display); }
.header-link { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 20px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-link:hover { background: var(--ink); color: var(--white); }
.header-link span { color: var(--hot); }

/* ---------- home sleeve ---------- */
.sleeve { --ground: var(--tang); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); column-gap: clamp(40px, 11vw, 168px); align-items: stretch; padding: 24px max(16px, calc((100% - 1200px) / 2)) 56px; background: var(--ground); overflow: clip; transition: --ground .7s var(--ease); }
.sleeve:has(.choice-grid a:nth-child(4):is(:hover, :focus-visible)), .sleeve:has(.choice-grid a:nth-child(5):is(:hover, :focus-visible)) { --ground: var(--turq); }
.sleeve:has(.choice-grid a:nth-child(1):is(:hover, :focus-visible)) { --turn: 30deg; }
.sleeve:has(.choice-grid a:nth-child(2):is(:hover, :focus-visible)) { --turn: 60deg; }
.sleeve:has(.choice-grid a:nth-child(3):is(:hover, :focus-visible)) { --turn: 90deg; }
.sleeve:has(.choice-grid a:nth-child(4):is(:hover, :focus-visible)) { --turn: 120deg; }
.sleeve:has(.choice-grid a:nth-child(5):is(:hover, :focus-visible)) { --turn: 150deg; }
.sleeve:has(.choice-grid a:nth-child(6):is(:hover, :focus-visible)) { --turn: 180deg; }

.sleeve-art { position: relative; align-self: start; margin-top: 48px; aspect-ratio: 1 / 1; min-width: 0; }
.phone-art { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.disc-art { position: absolute; z-index: 0; top: 0; left: 0; width: 100%; height: 100%; transform: translateX(24%) rotate(0deg); transition: transform .9s var(--ease); }
.sleeve:has(.choice-grid a:is(:hover, :focus-visible)) .disc-art { transform: translateX(31%) rotate(70deg); }
.p-ground { fill: var(--turq); transition: fill .7s var(--ease); }
.sleeve:has(.choice-grid a:nth-child(4):is(:hover, :focus-visible)) .p-ground, .sleeve:has(.choice-grid a:nth-child(5):is(:hover, :focus-visible)) .p-ground { fill: var(--tang); }
.p-sun { fill: var(--white); }
.p-cord { stroke: var(--white); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.p-body, .p-handset, .p-cradle { fill: var(--ink); }
.p-dial { fill: var(--white); }
.p-hole { fill: var(--ink); }
.p-hub { fill: var(--tang); }
.p-pin { fill: var(--ink); }
.p-stop { stroke: var(--tang); stroke-width: 10; stroke-linecap: round; }
.wheel { transform-box: view-box; transform-origin: 200px 292px; transform: rotate(var(--turn)); transition: transform .8s var(--ease); }
.d-vinyl { fill: var(--ink); }
.d-groove { stroke: #4a2410; stroke-width: 3; }
.d-label { fill: var(--white); }
.d-ring { stroke: var(--tang); stroke-width: 10; }
.d-spindle { fill: var(--ink); }

.sleeve-text { position: relative; z-index: 2; display: flex; flex-direction: column; min-width: 0; }
.sleeve .site-header { padding: 0; }
.sleeve .header-inner { display: block; width: auto; }
.sleeve .brand { margin-bottom: 18px; }
.sleeve .header-link { display: block; min-height: 0; padding: 0; margin: 0 0 8px; border-radius: 0; background: none; color: var(--ink); font: 800 clamp(3.4rem, 7.2vw, 5.8rem)/.9 var(--display); letter-spacing: -.01em; white-space: normal; text-shadow: .05em .05em 0 var(--white); transition: text-shadow .4s var(--ease), transform .4s var(--ease); }
.sleeve .header-link:hover { background: none; color: var(--ink); text-shadow: .08em .08em 0 var(--white); transform: translate(-.02em, -.02em); }
.sleeve .header-link:focus-visible { outline-offset: 8px; }

.minimal-shell { width: auto; min-height: 0; margin: 0; padding: 0; display: block; }
.sleeve .minimal-shell { margin-top: auto; padding-top: 40px; max-width: 31rem; }
.minimal-shell h1 { margin: 0 0 14px; font: 800 clamp(1.7rem, 2.8vw, 2.3rem)/1.05 var(--display); letter-spacing: 0; color: var(--ink); }

/* the six choices are the track list: ranked, small, one corner */
.choice-grid { counter-reset: track; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; margin: 0; padding: 0; }
.choice-grid a { counter-increment: track; display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 52px; padding: 8px 20px 8px 8px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 -2px 0 rgba(38, 18, 10, .3); color: var(--ink); font-size: 1.1875rem; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.choice-grid a::before { content: counter(track, decimal-leading-zero); flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--white); font: 800 1.0625rem/1 var(--display); transition: background-color .25s var(--ease), color .25s var(--ease); }
.choice-grid a:visited { color: var(--played); }
.choice-grid a:hover, .choice-grid a:focus-visible, .choice-grid a:visited:hover { background: var(--white); color: var(--ink); box-shadow: none; }
.choice-grid a:hover::before, .choice-grid a:focus-visible::before { background: var(--hot); }
.choice-grid a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.choice-grid a:active { background: var(--ink); color: var(--white); }
.choice-grid a:active::before { background: var(--white); color: var(--ink); }
.choice-grid a[style] { justify-content: flex-start !important; text-align: left !important; }
.agency-line { margin: 22px 0 0; padding: 0; color: var(--ink); font-size: 1.0625rem; font-weight: 700; }
.agency-line a { display: inline-block; padding-block: 11px; color: var(--ink); }
.agency-line a:hover { background: var(--white); text-decoration-color: transparent; }

/* ---------- local board: liner notes on flat grounds, white cards ---------- */
.local-board { position: relative; isolation: isolate; border-top: 0; background: none; color: var(--ink); }
#local-board { overflow-x: clip; }
.local-wrap { max-width: 1240px; margin: auto; padding: 72px 16px 80px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 40px; padding: 0 0 8px; }
.local-kicker, .local-card-kicker, .local-small-label { color: var(--ink); font-size: .9375rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.local-kicker { margin: 0 0 12px; }
.local-kicker span { padding: 0 6px; }
.local-intro h2 { font: 800 clamp(2.8rem, 7vw, 5.2rem)/.95 var(--display); letter-spacing: -.01em; color: var(--ink); text-shadow: .05em .05em 0 var(--white); }
.local-intro > div > p:last-child { max-width: 44ch; margin: 22px 0 0; color: var(--ink); font-size: 1.1875rem; }
.local-generated { flex: none; margin: 0; color: var(--ink); font-size: .9375rem; font-weight: 700; text-align: right; }
.local-section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 72px 0 26px; }
.local-section-heading > span { padding: 4px 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .9375rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.local-section-heading h3 { font: 800 clamp(2.1rem, 4.6vw, 3.4rem)/1 var(--display); letter-spacing: -.005em; color: var(--ink); }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.local-grid:empty { display: none; }
.local-card { min-width: 0; padding: 28px; border: 0; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: none; }
.local-card h4 { margin: 4px 0 18px; font: 800 1.75rem/1.1 var(--display); letter-spacing: 0; color: var(--ink); }
.local-card-kicker { margin: 0; color: var(--muted); }
.local-card .local-copy { margin: 10px 0; color: var(--ink); }
.local-card .local-subtle, .local-subtle { display: block; color: var(--muted); font-size: 1rem; }
.local-source { margin: 22px 0 0; padding-top: 14px; border-top: 3px dotted var(--tang); color: var(--muted); font-size: .9375rem; font-weight: 700; letter-spacing: 0; }
.local-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: var(--link); font-size: 1.0625rem; font-weight: 700; text-underline-offset: .22em; }
.local-link:hover { background: var(--turq-tint); color: var(--ink); }
.local-wide { grid-column: 1 / -1; }

/* weather */
#local-now { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
#local-now > .local-wide { grid-column: 1; grid-row: 1 / span 2; }
.local-weather-lead { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 44px; padding: 0 0 26px; border: 0; }
.local-weather-lead > div:first-child { display: block; }
.local-big-temp { font: 800 clamp(5rem, 9vw, 7.5rem)/.85 var(--display); letter-spacing: -.02em; color: var(--hot); }
.local-weather-condition { margin-left: 12px; max-width: none; color: var(--ink); font-size: 1.3125rem; font-weight: 700; }
.local-weather-note { max-width: 36ch; padding: 0; display: block; color: var(--ink); font-size: 1.125rem; }
.local-weather-note strong { display: block; color: var(--ink); font-size: 1.1875rem; }
.local-day-strip, .local-hour-strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.local-day-strip { padding: 4px 0 14px; border: 0; margin-bottom: 18px; }
.local-hour-strip { padding: 4px 0 14px; }
.local-day, .local-hour { flex: 0 0 132px; display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 12px; border: 0; border-radius: 20px; background: var(--tang-tint); font-size: 1rem; line-height: 1.3; color: var(--ink); }
.local-hour { background: var(--turq-tint); flex-basis: 108px; }
.local-day:first-child { padding-left: 14px; }
.local-day strong { color: var(--ink); font-size: 1rem; }
.local-day-temp { color: var(--hot); font: 800 1.75rem/1.1 var(--display); }
.local-hour strong { color: var(--ink); font: 800 1.75rem/1.1 var(--display); }
.local-small-label { margin: 18px 0 10px; color: var(--ink); }
.local-big-number { margin: 0 0 8px; color: var(--hot); font: 800 4.5rem/.95 var(--display); letter-spacing: -.02em; }
.local-radar { margin: 20px 0 8px; overflow: hidden; border: 3px solid var(--ink); border-radius: 20px; background: var(--white); box-shadow: none; }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 8px 12px; background: var(--white); border-top: 3px solid var(--ink); color: var(--muted); font-size: .9375rem; }

/* alerts and advisory (filled at runtime) */
.local-alert, .local-advisory { display: flex; gap: 18px; padding: 22px 26px; margin: 0 0 22px; border: 0; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: none; }
.local-alert { box-shadow: inset 0 0 0 4px var(--ink); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; }
.local-alert h3, .local-advisory h3 { margin: 4px 0 8px; font: 800 1.5rem/1.15 var(--display); letter-spacing: 0; color: var(--ink); }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; }
.local-advisory-mark { flex: none; color: var(--hot); font-size: 2.5rem; line-height: 1; }
.local-advisory-alert { box-shadow: inset 0 0 0 4px var(--ink); }

/* rows, lists */
.local-row { padding: 10px 0 14px; border-bottom: 3px dotted var(--tang); }
.local-row:first-of-type { padding-top: 0; }
.local-row:last-of-type { border-bottom: 0; }
.local-row-title { display: block; padding-top: 4px; color: var(--link); font-size: 1.125rem; font-weight: 700; line-height: 1.3; text-decoration-color: currentColor; text-underline-offset: .22em; }
.local-row-title:hover { background: var(--turq-tint); color: var(--ink); }
a.local-row-title { display: flex; align-items: center; min-height: 44px; padding-top: 0; }
strong.local-row-title { color: var(--ink); text-decoration: none; }
.local-row-detail { display: block; margin-top: 2px; color: var(--muted); font-size: 1rem; line-height: 1.4; }
.local-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.local-market-name { display: block; font-size: 1.125rem; }
.local-lottery { padding: 14px 0 10px; border-top: 3px dotted var(--tang); display: flex; flex-direction: column; gap: 4px; }
.local-lottery a { display: inline-flex; align-items: center; min-height: 44px; color: var(--link); font-weight: 700; }
.local-lottery strong { color: var(--ink); font: 800 1.75rem/1.15 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .03em; }
#local-practical .local-card { max-width: 640px; }

/* releases: the turquoise sleeves (Closer to home, The neighborhood notes) are full-bleed bands */
.local-section-heading:has(+ #local-safety), .local-section-heading:has(+ #local-town) { position: relative; margin-top: 96px; padding: 56px 0 26px; }
.local-section-heading:has(+ #local-safety)::before, .local-section-heading:has(+ #local-town)::before, #local-safety::before, #local-town::before { content: ""; position: absolute; z-index: -1; left: -100vmax; right: -100vmax; background: var(--turq); }
.local-section-heading:has(+ #local-safety)::before, .local-section-heading:has(+ #local-town)::before { top: 0; bottom: -1px; }
#local-safety, #local-town { position: relative; margin: 0; padding: 0 0 64px; }
#local-safety::before, #local-town::before { top: -1px; bottom: 0; }
.local-section-heading:has(+ #local-safety) ~ .local-section-heading:not(:has(+ #local-town)), .local-section-heading:has(+ #local-town) ~ .local-section-heading:not(:has(+ #local-town)) { margin-top: 96px; }

/* the city note: the closing turquoise sleeve */
#city-notes { background: var(--turq); color: var(--ink); overflow-x: clip; }
#city-notes .local-wrap { padding: 64px 16px 72px; }
#city-notes .local-section-heading { margin: 0 0 26px !important; }
#city-notes .local-section-heading h3 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: .98; }
#city-notes .local-copy { max-width: 62ch; margin: 8px 0 0; color: var(--ink); font-size: 1.25rem; line-height: 1.6; }

/* ---------- subpages: quote and question forms ---------- */
.page-shell { width: min(100% - 32px, 1100px); max-width: none; margin: auto; padding: 48px 0 80px; }
.eyebrow { margin: 0 0 10px; color: var(--ink); font-size: .9375rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.intro { position: relative; isolation: isolate; }
.intro::after { content: ""; position: absolute; z-index: -1; right: 0; top: -6px; width: clamp(110px, 17vw, 190px); aspect-ratio: 1 / 1; border-radius: 50%; background: radial-gradient(circle, var(--ink) 0 8%, var(--white) 8.5% 26%, var(--ink) 26.5% 100%); box-shadow: -34px 0 0 -10px var(--ink); }
.intro h1 { font: 800 clamp(3rem, 8.4vw, 5.6rem)/.92 var(--display); letter-spacing: -.01em; color: var(--ink); text-shadow: .05em .05em 0 var(--white); }
.intro-copy { margin: 24px 0 0; max-width: 54ch; color: var(--ink); font-size: clamp(1.125rem, 2vw, 1.3125rem); }

.options { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.option { min-width: 0; min-height: 240px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; border: 0; border-radius: 28px; background: var(--white); }
.option-number { color: var(--muted); font-size: .9375rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.option h2 { margin: 16px 0 8px; font: 800 1.8rem/1.05 var(--display); color: var(--ink); }
.option p { margin: 0; color: var(--muted); font-size: 1.0625rem; max-width: 30ch; }
.option .option-action { margin-top: auto; padding: 12px 18px; min-height: 48px; width: 100%; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-radius: 999px; color: var(--white); background: var(--ink); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--hot); color: var(--white); }
.option-action span { font-size: 1.2rem; line-height: 1; }
.option .option-note { margin-top: 8px; font-size: .9375rem; color: var(--muted); }

.question-section { scroll-margin-top: 24px; margin-top: 48px; padding: 36px; border: 0; border-radius: 32px; background: var(--white); }
.question-heading h2 { font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--display); color: var(--ink); }
.question-heading > p:last-child { margin: 12px 0 0; color: var(--muted); }
.question-form { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; color: var(--ink); font-weight: 700; font-size: 1.0625rem; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 2px solid var(--ink); border-radius: 16px; padding: 12px 16px; color: var(--ink); background: var(--white); font-weight: 400; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 4px solid var(--turq); outline-offset: 1px; border-color: var(--ink); }
.form-grid input, .form-grid select { min-height: 50px; }
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid .message-field { grid-column: 1 / -1; }
.form-grid .checkbox-row, .quote-form > fieldset > .checkbox-row { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; }
.form-grid .checkbox-row { grid-column: 1 / -1; }
.form-grid .checkbox-row input, .quote-form > fieldset > .checkbox-row input { width: 24px; min-width: 24px; height: 24px; min-height: 24px; margin: 1px 0 0; accent-color: var(--ink); }
.quote-form > fieldset > .checkbox-row { margin-top: 22px; }
.honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.form-bottom { margin-top: 30px; }
.form-bottom button, .quote-submit button, .quote-results button { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; border: 0; border-radius: 999px; padding: 12px 30px; color: var(--white); background: var(--ink); font: 700 1.1875rem/1.2 var(--display); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.form-bottom button:hover, .quote-submit button:hover, .quote-results button:hover { background: var(--turq); color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
.form-bottom button:focus-visible, .quote-submit button:focus-visible, .quote-results button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .6; }
.submit-note { max-width: 610px; margin: 22px 0 0; color: var(--ink); font-size: 1.0625rem; }
.form-bottom .submit-note { color: var(--muted); }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--ink); font-weight: 700; font-size: 1.0625rem; }

.product-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 26px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; border: 3px solid var(--ink); border-radius: 999px; padding: 6px 22px; background: transparent; color: var(--ink); font-weight: 700; text-decoration: none; transition: background-color .25s var(--ease); }
.product-switch a:visited { color: var(--played); }
.product-switch a:hover { background: var(--white); color: var(--ink); }
.product-switch a[aria-current="page"] { border-color: var(--white); background: var(--white); color: var(--ink); }
.quote-form fieldset { min-width: 0; margin: 22px 0; padding: 30px; border: 0; border-radius: 32px; background: var(--white); }
.quote-form legend { padding: 0 12px; margin-left: -12px; border-radius: 999px; font: 800 1.75rem/1.1 var(--display); letter-spacing: 0; color: var(--ink); background: var(--white); }
.quote-form .form-grid { margin-top: 6px; }
.quote-submit { margin: 26px 0 48px; max-width: 720px; }
#quote-status { color: var(--ink); font-weight: 700; }
.quote-results { margin: 40px 0 64px; padding: 30px; border: 0; border-radius: 32px; background: var(--white); color: var(--ink); }
.quote-results h2 { margin: 0 0 16px; font: 800 2.3rem/1 var(--display); color: var(--ink); }
.quote-results article { border-top: 3px dotted var(--tang); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font: 800 1.5rem/1.1 var(--display); color: var(--ink); }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { width: min(100% - 32px, 1100px); max-width: none; margin: 0 auto; border-top: 3px dotted var(--ink); padding: 24px 0 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 26px; color: var(--ink); font-size: 1.0625rem; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { font-weight: 700; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-underline-offset: .22em; }
.site-footer a:hover { background: var(--white); }
.site-footer .footer-note { flex-basis: 100%; }

@media (max-width: 900px) {
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-intro { align-items: flex-start; flex-direction: column; }
  .local-generated { text-align: left; margin-top: 10px; }
  #local-now, .local-grid { grid-template-columns: minmax(0, 1fr); }
  #local-now > .local-wide { grid-column: 1; grid-row: auto; }
  .local-news-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .sleeve { grid-template-columns: minmax(0, 1fr); row-gap: 28px; padding-bottom: 44px; }
  .sleeve-art { width: calc(100% - 64px); max-width: 440px; margin-top: 20px; }
  .disc-art { transform: translateX(20%) rotate(0deg); }
  .sleeve:has(.choice-grid a:is(:hover, :focus-visible)) .disc-art { transform: translateX(22%) rotate(70deg); }
  .sleeve .header-link { font-size: clamp(3.2rem, 14vw, 5.4rem); }
  .sleeve .minimal-shell { margin-top: 0; padding-top: 4px; max-width: none; }
  .intro::after { display: none; }
}

@media (max-width: 590px) {
  .header-inner { gap: 6px 14px; }
  .brand { font-size: 1rem; gap: 10px; }
  .header-link { white-space: normal; }
  .page-shell { padding: 36px 0 60px; }
  .options { margin-top: 36px; grid-template-columns: 1fr; gap: 16px; }
  .option { min-height: 0; padding: 22px; }
  .question-section { margin-top: 36px; padding: 24px 18px; border-radius: 28px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .quote-form fieldset { padding: 22px 18px; border-radius: 28px; }
  .quote-results { padding: 22px 18px; border-radius: 28px; }
  .local-wrap { padding: 52px 16px 56px; }
  .local-section-heading { margin-top: 56px; }
  .local-section-heading:has(+ #local-safety), .local-section-heading:has(+ #local-town) { margin-top: 72px; padding-top: 44px; }
  #local-safety, #local-town { padding-bottom: 48px; }
  #city-notes .local-wrap { padding: 52px 16px 56px; }
  .local-card { padding: 22px 20px; border-radius: 24px; }
  .local-alert, .local-advisory { padding: 20px 18px; gap: 12px; border-radius: 24px; }
  .local-big-number { font-size: 3.75rem; }
  .site-footer { padding: 22px 0 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sleeve, .disc-art, .wheel, .p-ground, .sleeve .header-link, .choice-grid a, .choice-grid a::before,
  .form-bottom button, .quote-submit button, .quote-results button, .product-switch a { transition: none; }
}
