/* Sunset Car Keys — visual system.
   Tokens, base, header and hero are inlined in every page from sck/critical.css.
   This file holds everything below the fold. Mobile first; breakpoints at 640px and 900px. */

/* ===== Type ===== */
h1,h2,h3{line-height:1.1;letter-spacing:-.02em;text-wrap:balance}
h2{font-size:clamp(1.6rem,5vw,2.4rem)}
h3{font-size:clamp(1.15rem,3vw,1.35rem)}
.eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1.4;color:var(--rust)}
.eyebrow a{text-decoration:none}.eyebrow a:hover{text-decoration:underline}
.intro{font-size:clamp(1.05rem,2.4vw,1.25rem);line-height:1.5;color:var(--muted);max-width:40rem}
.small-note{margin-top:1rem;font-size:.88rem;color:var(--muted)}
.hero .intro,.hero .small-note{color:#fff}

/* ===== Buttons and chips (tap targets >= 44px) ===== */
.button,.quiet-button{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:48px;padding:.75rem 1.2rem;border-radius:12px;font-weight:800;line-height:1.2;text-decoration:none}
.button{background:var(--plum);color:#fff;border:2px solid var(--plum)}
.button:hover{background:var(--plum-2)}
.quiet-button{background:#fff;color:var(--plum);border:2px solid var(--line)}
.quiet-button:hover{border-color:var(--plum)}
.hero .button{background:#fff;color:var(--plum);border-color:#fff;margin-top:1.25rem}
.hero .button:hover{background:var(--peach)}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;padding:0;margin:0;list-style:none}
.chip{display:inline-flex;align-items:center;min-height:32px;padding:.3rem .8rem;border-radius:999px;background:var(--peach);color:#7a3a1a;font-size:.86rem;font-weight:700}

/* ===== Hero extras =====
   Structure: section.hero > div.shell.hero-inner > (div.hero-copy + div.hero-side), then layout.palms_svg().
   Gradient, scrim, palms and the two-column desktop grid live in sck/critical.css. */
.pin{display:inline-block;width:.65rem;height:.65rem;margin-right:.4rem;border-radius:50%;background:var(--gold);vertical-align:middle}

/* ===== Quote block (sck/quote.py + quote.mjs) =====
   White card that reads the same on cream and on the hero gradient. On desktop the top block sits in .hero-side. */
.quote{display:grid;gap:.75rem;padding:1rem;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 14px 36px rgba(42,24,56,.18)}
.quote-toggle{display:flex;align-items:stretch;width:100%;min-height:56px;padding:0;border:0;border-radius:12px;background:var(--plum);color:#fff;font:inherit;font-size:1.08rem;font-weight:800;cursor:pointer;overflow:hidden}
.quote-toggle:hover{background:var(--plum-2)}
.quote-toggle-label{flex:1;display:flex;align-items:center;justify-content:center;padding:.8rem 1rem}
.quote-caret{display:flex;align-items:center;justify-content:center;width:3.25rem;background:rgba(255,255,255,.12);font-size:1.15rem}
.quote-toggle[aria-expanded="true"] .quote-caret{transform:rotate(180deg)}
.quote-caption{color:var(--muted);font-size:.95rem;text-align:center}
.quote-form{position:relative;display:grid;gap:.85rem;padding-top:.25rem}
.quote-form[hidden]{display:none}
.quote-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1fr);gap:.5rem}
.quote-field{display:grid;gap:.3rem;min-width:0}
.quote-field label,.quote-chips legend{font-size:.9rem;font-weight:700}
.quote-req{color:var(--muted);font-weight:400}
.quote input:not([type=radio]),.quote select,.quote textarea{width:100%;min-height:48px;padding:.55rem .7rem;border:2px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:16px}
.quote textarea{min-height:4.75rem;resize:vertical}
.quote input:focus,.quote select:focus,.quote textarea:focus{border-color:var(--plum)}
.quote [aria-invalid="true"]{border-color:var(--rust)}
.quote-chips{display:flex;flex-wrap:wrap;gap:.5rem;min-width:0;margin:0;padding:0;border:0}
.quote-chips legend{float:left;width:100%;margin-bottom:.35rem;padding:0}
.quote-chips input{position:absolute;width:1px;height:1px;opacity:0;margin:0}
.quote-chips label{display:inline-flex;align-items:center;min-height:44px;padding:.4rem 1rem;border-radius:999px;background:var(--peach);color:#7a3a1a;font-weight:700;cursor:pointer}
.quote-chips input:checked+label{background:var(--plum);color:#fff}
.quote-chips input:focus-visible+label{outline:3px solid var(--gold);outline-offset:2px}
.quote-notice:empty,.quote-error:empty,.quote-fail:empty{display:none}
.quote-notice{padding:.6rem .8rem;border-radius:10px;background:#fde4dc;color:#8a2a10;font-weight:700}
.quote-error{color:var(--rust);font-size:.88rem;font-weight:700}
.hp{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.quote-send{min-height:52px;width:100%;border:0;border-radius:12px;background:var(--rust);color:#fff;font:inherit;font-size:1.05rem;font-weight:800;cursor:pointer}
.quote-send:hover{background:#8f2e14}
.quote-send:disabled{opacity:.55;cursor:not-allowed}
.quote-legal{margin-top:-.4rem;color:var(--muted);font-size:.78rem;line-height:1.45}
.quote-legal a,.quote-fail a{color:var(--rust)}
.quote-fail{display:grid;gap:.1rem;padding:.6rem .9rem;border-radius:10px;background:var(--peach);color:#7a3a1a;font-weight:700}
.quote-fail a{display:inline-flex;align-items:center;min-height:44px}
.quote-done{padding:1rem;border-radius:10px;background:var(--peach);color:var(--plum);font-size:1.05rem;font-weight:800}
.quote-call{display:flex;align-items:center;justify-content:center;min-height:52px;border:2px solid var(--line);border-radius:12px;background:#fff;color:var(--plum);font-weight:800;text-decoration:none}
.quote-call:hover{border-color:var(--plum)}
.quote-slot{padding-bottom:1.5rem}
.quote-slot .quote{max-width:34rem}
.quote-end .quote{max-width:34rem;margin-inline:auto}

/* ===== Sections ===== */
.section{padding-block:clamp(2.5rem,6vw,5rem)}
.section-top{display:grid;gap:.6rem;margin-bottom:1.5rem}
.section-top .eyebrow{margin-bottom:.35rem}
.section-top>p{color:var(--muted);max-width:30rem}
.page-head,.article-head{padding-block:clamp(2rem,5vw,4rem) 1.5rem}
.page-head .eyebrow,.article-head .eyebrow{margin-bottom:.75rem}
.page-head h1,.article-head h1{font-size:clamp(2.1rem,7vw,3.8rem);line-height:1.05;letter-spacing:-.025em;max-width:52rem;margin-bottom:.9rem}
.index-section{padding-top:.5rem}

/* Topic strip (plum band of situation links) */
.topic-strip{background:var(--plum);color:#fff}
.strip-layout{display:grid;gap:.6rem;padding-block:1.4rem}
.strip-layout .eyebrow{color:var(--gold);margin-bottom:.3rem}
.strip-layout h2{font-size:1.5rem}
.strip-layout a{display:flex;align-items:center;gap:.6rem;min-height:52px;padding:.7rem .9rem;border:1px solid rgba(255,255,255,.25);border-radius:12px;font-weight:700;text-decoration:none}
.strip-layout a:hover{border-color:var(--gold)}
.strip-layout a span{color:var(--gold);font-size:.78rem}
.strip-layout a b{margin-left:auto;color:var(--gold)}

/* ===== Cards ===== */
.guide-grid,.tile-grid{display:grid;gap:1rem;grid-template-columns:1fr}
.guide-card,.tile{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.guide-link{display:flex;flex-direction:column;height:100%;text-decoration:none}
.guide-link:focus-visible{outline-offset:-4px}
.thumb{position:relative;height:10rem;overflow:hidden;background:var(--peach)}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb-fob img{object-position:center 52%}
.thumb-cost{background:#ffe1c7}.thumb-check{background:#f7e3ee}
.card-no{position:absolute;right:.6rem;top:.6rem;padding:.15rem .5rem;border-radius:999px;background:#fff;color:var(--plum);font-size:.78rem;font-weight:800}
.card-art{position:absolute;inset:0;display:grid;place-content:center;color:var(--violet)}
.card-art svg{width:4.5rem;height:4.5rem}
.card-copy{display:flex;flex:1;flex-direction:column;gap:.6rem;padding:1rem 1.1rem 1.2rem}
.card-copy .eyebrow span{color:var(--muted);font-weight:600;letter-spacing:.03em}
.card-copy>p:not(.eyebrow){color:var(--muted);font-size:.95rem}
.read{display:block;margin-top:auto;padding-top:.3rem;font-weight:800;color:var(--rust)}
.guide-link:hover .read{text-decoration:underline}
.tile{display:block;padding:1rem 1.1rem;min-height:64px;font-weight:800;text-decoration:none}
.tile small{display:block;margin-top:.2rem;color:var(--muted);font-weight:400;font-size:.88rem}
.tile:hover{border-color:var(--coral)}

/* Note / callout box */
.launch{display:grid;gap:1rem;align-items:center;margin-bottom:3rem;padding:1.25rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.launch-icon{display:grid;place-content:center;width:3.5rem;height:3.5rem;border-radius:12px;background:var(--plum);color:#fff;font-size:2rem;font-weight:900}
.launch-icon span{color:var(--gold)}
.launch h2{font-size:clamp(1.4rem,3vw,2rem);margin-bottom:.4rem}
.launch p:not(.eyebrow){color:var(--muted);max-width:38rem}

/* ===== Articles and prose ===== */
.byline{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;margin-top:1rem;color:var(--muted);font-size:.9rem}
.article-layout,.about{display:grid;gap:1.25rem;align-items:start;padding-bottom:2rem}
.prose{max-width:44rem;font-size:1.06rem;line-height:1.7}
.prose p,.prose ul,.prose ol,.prose aside{margin:0 0 1.1rem}
.prose h2{font-size:clamp(1.45rem,3.5vw,2rem);margin:2rem 0 .7rem;scroll-margin-top:1rem}
.prose li{margin:.45rem 0}
.prose a{color:var(--rust)}
.scenario{padding:1rem 1.2rem;border-left:4px solid var(--coral);border-radius:0 12px 12px 0;background:var(--peach)}
.contents,.about-aside{padding:1rem 1.1rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.contents ul{margin:.5rem 0 0;padding:0;list-style:none;font-size:.95rem}
.contents a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.contents a:hover{text-decoration:underline}
.about-aside h2{font-size:1.6rem;margin:.5rem 0 1rem}
.article-photo{margin-bottom:1.3rem}
.article-photo img{width:100%;max-height:23rem;object-fit:cover;border-radius:12px}
.article-photo figcaption{margin-top:.35rem;color:var(--muted);font-size:.8rem}
.related{border-top:1px solid var(--line)}

/* Guide search (guides.js) */
.guide-search{max-width:34rem;margin:0 0 1.5rem}
.guide-search label{display:block;margin-bottom:.35rem;font-weight:800}
.search-field{position:relative}
.search-field img{position:absolute;left:.85rem;top:.9rem;width:1.25rem;height:1.25rem;pointer-events:none}
.search-field input{width:100%;min-height:48px;padding:.6rem 1rem .6rem 2.7rem;border:2px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:inherit}
.search-field input:focus{border-color:var(--plum)}
.guide-search .small-note{margin-top:.35rem}

/* ===== Footer ===== */
.site-footer{margin-top:2rem;background:var(--plum);color:#fff;padding-block:2.25rem 1.5rem;font-size:.95rem}
.footer-grid{display:grid;gap:1.5rem}
.footer-brand p{margin-top:.4rem;color:#f1dcea;max-width:22rem}
.footer-h{margin-bottom:.25rem;color:var(--gold);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.footer-list,.footer-links{margin:0;padding:0;list-style:none}
.footer-list li{display:flex;align-items:center;min-height:44px}
.footer-list a,.footer-links a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.footer-list a:hover,.footer-links a:hover{text-decoration:underline}
.footer-h a{display:inline-block;padding:.2rem 0;color:inherit;text-underline-offset:.2em}
.footer-legal{display:grid;gap:.25rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.18);color:#f1dcea;font-size:.88rem}
.footer-links{display:flex;flex-wrap:wrap;gap:0 1.25rem}
.footer-license{color:#fff;font-weight:700}

/* ===== Breakpoints ===== */
@media(min-width:640px){
.guide-grid,.tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.strip-layout{grid-template-columns:repeat(3,minmax(0,1fr))}
.strip-layout>div{grid-column:1/-1}
.launch{grid-template-columns:4rem minmax(0,1fr)}
.launch>a{grid-column:2;justify-self:start}
.footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.footer-legal{grid-column:1/-1}
}
@media(min-width:900px){
.section-top{grid-template-columns:1fr auto;align-items:end}
.guide-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.tile-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.strip-layout{grid-template-columns:.9fr 1fr 1fr 1fr}
.strip-layout>div{grid-column:auto}
.launch{grid-template-columns:4rem minmax(0,1fr) auto}
.launch>a{grid-column:auto}
.article-layout,.about{grid-template-columns:minmax(0,44rem) minmax(12rem,1fr);gap:clamp(2rem,5vw,4rem)}
.contents,.about-aside{position:sticky;top:1rem}
.footer-grid{grid-template-columns:1.4fr 1fr 1fr}
}
@media(max-width:899px){.contents{grid-row:1}}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* ===== Home, services hub, service pages ===== */
.trust-chips{margin-top:1.25rem}
.crumbs{margin-bottom:.5rem;color:var(--muted);font-size:.9rem;font-weight:700}
.crumbs a{display:inline-flex;align-items:center;min-height:44px;color:var(--rust)}
.section-top a{display:inline-flex;align-items:center;min-height:44px;color:var(--rust);font-weight:800}
.how{background:#fff;border-block:1px solid var(--line)}
.how h2{margin-top:.35rem}
.steps{display:grid;gap:1.1rem;margin:1.5rem 0 0;padding:0;list-style:none;counter-reset:step}
.steps li{counter-increment:step;display:grid;grid-template-columns:2.6rem minmax(0,1fr);gap:.2rem .9rem;align-items:start}
.steps li::before{content:counter(step);grid-row:span 2;display:grid;place-content:center;width:2.6rem;height:2.6rem;border-radius:50%;background:var(--plum);color:#fff;font-weight:900}
.steps b{font-size:1.1rem;line-height:1.3}
.steps span{color:var(--muted)}
.area-strip{background:var(--plum);color:#fff}
.area-layout{display:grid;gap:1rem;padding-block:2rem}
.area-layout .eyebrow{color:var(--gold)}
.area-layout h2{font-size:clamp(1.5rem,4vw,2rem);margin:.3rem 0 .5rem}
.area-layout p{color:#f1dcea}
.area-list{display:flex;flex-wrap:wrap;gap:.5rem;margin:0;padding:0;list-style:none}
.chip-area{padding:.35rem .85rem;border:1px solid rgba(255,255,255,.3);border-radius:999px;font-weight:700;font-size:.92rem}
.area-link{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;color:var(--gold);font-weight:800}
.notes{display:grid;gap:1rem}
.note{padding:1.1rem 1.2rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.note h2{font-size:1.3rem;margin-bottom:.4rem}
.note p{color:var(--muted)}
.service-layout{display:grid;gap:1.25rem;align-items:start;padding-bottom:1rem}
.jump{padding:.9rem 1.1rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.jump ul{margin:.3rem 0 0;padding:0;list-style:none}
.jump a{display:flex;align-items:center;min-height:44px;color:var(--plum);font-weight:700;text-decoration:none}
.jump a:hover{text-decoration:underline}
.price-line{padding:.9rem 1.1rem;border-radius:12px;background:var(--peach);color:#7a3a1a}
.price-line strong{color:var(--plum)}
.faq h3{margin:1.3rem 0 .35rem}
.service-list{display:grid;gap:1rem}
.service-card{padding:1rem 1.2rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.service-card h2{font-size:1.35rem}
.service-card h2 a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.service-card h2 a:hover{text-decoration:underline}
.service-card>p{color:var(--muted)}
.sub-links{margin:.4rem 0 0;padding:0;list-style:none}
.sub-links a{display:inline-flex;align-items:center;min-height:44px;color:var(--rust);font-weight:600}
.hub-notes{display:grid;gap:.75rem;max-width:44rem;margin-top:1.5rem}
.hub-notes p:not(.price-line){color:var(--muted)}
@media(min-width:640px){
.notes,.service-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.steps{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:900px){
.service-layout{grid-template-columns:minmax(0,44rem) minmax(12rem,1fr);gap:clamp(2rem,5vw,4rem)}
.jump{order:2;position:sticky;top:1rem}
.area-layout{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.area-layout .area-list{grid-column:1}
.area-link{grid-column:2;grid-row:1}
}

/* Guide pages: middle quote block and "how we handle this" box */
.quote-mid{margin:2rem 0}
.quote-mid .quote{max-width:34rem}
.handles{margin:2rem 0 0;padding:1.1rem 1.3rem;border-radius:var(--radius);background:var(--peach);border:1px solid var(--line)}
.handles-title{margin:0 0 .5rem;font-size:1.15rem}
.handles p{margin:.4rem 0}
.guide-service{margin-top:2rem;font-weight:700}
/* Plain pages: service area, about, contact, policies, 404 */
.hood-list{display:grid;gap:.75rem;margin:0 0 1.5rem}
.note h3{font-size:1.15rem;margin-bottom:.3rem}
.prose .note p{margin:0}
.note p+p{margin-top:.35rem}
.note a{color:var(--rust);font-weight:700}
.glance{margin:.5rem 0 1rem;padding-left:1.1rem}
.glance li{margin:.3rem 0}
.about-photo{margin:0 0 1.5rem}
.about-photo img{width:100%;max-width:20rem;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:var(--radius)}
.link-list{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;margin:1rem 0 0;padding:0;list-style:none}
.link-list a{display:inline-flex;align-items:center;min-height:44px;color:var(--rust);font-weight:700}
.policy{padding-bottom:3rem}
