:root {
  color-scheme: light;
  --np-ink: #171923;
  --np-green: #171923;
  --np-green-2: #35363c;
  --np-lime: #ffd83d;
  --np-canvas: #fffdf5;
  --np-paper: #fff;
  --np-mist: #f3eedc;
  --np-line: #d9d5c8;
  --np-muted: #696961;
  --np-gold: #f27b32;
  --np-cream: #fff7d2;
  --np-radius: 16px;
  --np-shadow: 0 10px 28px #17192316;
}

body.nopro { background: var(--np-canvas); color: var(--np-ink); font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif; }
.mobile-only-break { display: none; }
body.nopro a:focus-visible, body.nopro button:focus-visible, body.nopro input:focus-visible, body.nopro select:focus-visible { outline: 3px solid var(--np-gold); outline-offset: 3px; }
.prototype-note { min-height: 34px; background: var(--np-lime); color: var(--np-ink); font-weight: 800; }
.note-dot, .eyebrow-dot { background: var(--np-ink); }
.site-header { max-width: 1280px; height: 76px; }
.wordmark { gap: 5px; color: var(--np-ink) !important; font-size: 22px; letter-spacing: -1.3px; }
.wordmark b { color: #d85821; }
.brand-mark { border-radius: 3px; background: var(--np-ink); color: var(--np-lime); }
.site-header nav a { color: #56565a; }
.site-header nav a:hover, .vehicle-link:hover { color: #d85821; }
.header-cta { border-radius: 4px; background: var(--np-lime); color: var(--np-ink) !important; }
.header-cta span { color: var(--np-ink); }
.hero-section { max-width: none; min-height: 590px; grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); gap: 58px; padding: 66px max(28px, calc((100vw - 1224px) / 2)) 72px; background: var(--np-ink); color: #fff; }
.hero-copy { max-width: 590px; }
.eyebrow { color: #b44b20; font-size: 11px; letter-spacing: 1.2px; }
.hero-copy .eyebrow { color: var(--np-lime); }
.hero-copy h1 { color: #fff; font-size: clamp(48px, 5.2vw, 70px); line-height: 1.14; letter-spacing: -3.8px; }
.hero-copy h1 em { color: var(--np-lime); }
.hero-lede { max-width: 470px; margin-top: 20px; color: #e1e1de; font-size: 16px; line-height: 1.75; }
.hero-actions { gap: 17px; margin-top: 28px; }
.button-primary { min-height: 54px; border-radius: 4px; background: var(--np-lime); color: var(--np-ink) !important; box-shadow: 4px 4px 0 #d85821; }
.button-primary:hover { background: #ffe36c; }
.button-primary span { color: var(--np-ink); }
.button-quiet { color: #fff !important; }
.button-quiet strong { color: var(--np-lime); }
.hero-footnote { color: #c9c9c5; }
.footnote-check { border-radius: 2px; background: var(--np-lime); color: var(--np-ink); }
.hero-photo-wrap { position: relative; width: min(100%, 530px); margin: 0; padding: 10px; background: #fff; box-shadow: 10px 10px 0 var(--np-lime); transform: rotate(1deg); }
.hero-photo { display: block; width: 100%; height: clamp(310px, 35vw, 430px); object-fit: contain; object-position: center; background: var(--np-lime); }
.hero-photo-wrap figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 4px 0; color: var(--np-ink); font-size: 10px; font-weight: 800; }
.hero-photo-wrap figcaption span:first-child { font-size: 12px; }
.hero-photo-wrap figcaption span:last-child { color: #6c6c67; }
.photo-stamp { position: absolute; top: 22px; right: 22px; display: grid; place-content: center; width: 58px; height: 58px; border: 2px solid var(--np-ink); border-radius: 50%; background: var(--np-lime); color: var(--np-ink); font-size: 12px; font-weight: 1000; line-height: 1; text-align: center; transform: rotate(9deg); }
.service-ribbon { display: flex; align-items: center; gap: 25px; min-height: 84px; padding: 15px max(24px, calc((100vw - 1224px) / 2)); background: var(--np-lime); color: var(--np-ink); }
.service-ribbon div { display: grid; gap: 2px; }
.service-ribbon div b { font-size: 14px; }
.service-ribbon div span { color: #58564c; font-size: 10px; }
.service-ribbon>i { width: 1px; height: 34px; background: #17192345; }
.service-ribbon>a { display: inline-flex; align-items: center; gap: 14px; margin-left: auto; padding: 12px 15px; background: var(--np-ink); color: #fff !important; font-size: 11px; font-weight: 900; }
.service-ribbon>a span { color: var(--np-lime); font-size: 17px; }
.content-section { max-width: 1264px; padding: 84px 20px; }
.section-heading { align-items: end; }
.section-heading h2, .process-intro h2, .rewards-section h2, .final-cta h2 { color: var(--np-ink); letter-spacing: -2px; }
.section-heading>p { color: #62625d; }
.vehicle-grid { gap: 13px; margin-top: 30px; }
.vehicle-card { padding: 10px 10px 14px; border: 1px solid #d5d0c2; border-radius: 3px; background: #fff; }
.vehicle-card:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 #171923; }
.vehicle-art { height: 162px; border-radius: 0; background: #fff7d2; }
.vehicle-art:after { bottom: 23px; background: #d9c878; }
.vehicle-art img { width: 94%; height: 138px; }
.vehicle-number { color: #ad4b24; }
.vehicle-type-art { display: grid; place-items: center; border-bottom: 4px solid var(--np-ink); background: var(--np-cream); }
.vehicle-type-art::after { display: none; }
.vehicle-type-name { color: var(--np-ink); font-size: clamp(25px, 2.3vw, 34px); font-weight: 950; letter-spacing: -1.8px; }
.vehicle-kicker { color: #777369; }
.vehicle-copy h3 { color: var(--np-ink); }
.vehicle-arrow, .vehicle-link { color: var(--np-ink) !important; }
.vehicle-link { border-top-color: #e5e0d4; }
.vehicle-link span { color: #d85821; }
.vehicle-desc, .vehicle-legal { color: #64645e; }
.process-band { gap: 64px; background: #f0ebdc; }
.process-intro>p:not(.eyebrow) { color: #5e5d55; }
.process-intro .button-primary { color: var(--np-ink) !important; }
.process-list article { border-color: #d0c9b7; }
.process-list article>span { border-radius: 2px; background: var(--np-lime); color: var(--np-ink); }
.process-list h3 { color: var(--np-ink); }
.process-list p { color: #65645d; }
.local-section { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr); align-items: center; gap: 54px; }
.local-copy h2 { margin: 0; color: var(--np-ink); font-size: clamp(32px, 4vw, 48px); line-height: 1.18; letter-spacing: -2px; }
.local-copy>p:not(.eyebrow) { max-width: 610px; margin: 17px 0 13px; color: #62625d; font-size: 13px; line-height: 1.8; word-break: keep-all; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: #a9411c !important; font-size: 12px; font-weight: 900; }
.local-contact { display: grid; gap: 8px; padding: 24px; border: 1px solid var(--np-ink); background: #fff; box-shadow: 6px 6px 0 var(--np-lime); }
.contact-label { color: #6d6b61; font-size: 10px; font-weight: 900; }
.local-contact>a:not(.contact-button) { font-size: 30px; font-weight: 1000; letter-spacing: -1px; }
.local-contact small { color: #66665f; font-size: 10px; }
.contact-button { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; padding: 13px 14px; background: var(--np-ink); color: #fff !important; font-size: 11px; font-weight: 900; }
.contact-button span { color: var(--np-lime); }
.rewards-section { max-width: 1224px; display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 25px; margin: 0 auto 62px; padding: 25px 30px; border: 1px solid #d5d0c2; background: #fff; }
.rewards-icon { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 75px; height: 75px; border-radius: 2px; background: var(--np-lime); color: var(--np-ink); font-size: 25px; font-weight: 1000; }
.rewards-icon span { font-size: 11px; }
.rewards-section h2 { font-size: 23px; letter-spacing: -.8px; }
.rewards-section>div:nth-child(2)>p:last-child { margin: 7px 0 0; color: #64645e; font-size: 11px; }
.final-cta { padding: 65px 20px 73px; background: var(--np-ink); color: #fff; text-align: center; }
.final-cta .eyebrow { color: var(--np-lime); }
.final-cta h2 { color: #fff; font-size: clamp(34px, 4vw, 48px); }
.final-cta>p:not(.eyebrow) { margin: 13px 0 23px; color: #deded9; font-size: 12px; }
.final-cta .button-primary { display: inline-flex; }
.site-footer { max-width: 1224px; min-height: 72px; padding: 18px 20px; }
.site-footer p, .site-footer>span { color: #77766e; font-size: 10px; }
.floating-order { border-radius: 4px; background: #fff; box-shadow: 0 4px 25px #17192330; }
.floating-order a { border-radius: 2px; background: var(--np-lime); color: var(--np-ink) !important; }
.floating-order a b { color: var(--np-ink); }

/* Order route: keep ordinary form controls familiar and high contrast. */
.order-header { border-bottom: 1px solid #e4dfd2; }
.order-heading h1 { color: var(--np-ink); }
.order-heading h1 em { color: #c44b1f; }
.order-steps b { border-radius: 2px; background: #ebe8de; color: #626159; }
.order-steps .step-active b { background: var(--np-lime); color: var(--np-ink); }
.form-panel { border: 1px solid #d8d3c7; border-radius: 4px; background: #fff; }
.panel-step { border-radius: 2px; background: var(--np-lime); color: var(--np-ink); }
.address-marker { border-radius: 2px; background: var(--np-ink); color: var(--np-lime); }
.address-search { border-radius: 2px; background: var(--np-ink); }
.quote-card { border-radius: 4px; background: var(--np-ink); }
.quote-icon { border-radius: 2px; background: var(--np-lime); color: var(--np-ink); }
.quote-status { border-radius: 2px; border-color: #777777; color: #fff; }
.quote-route { border-color: #55565c; border-radius: 3px; background: #252630; }
.quote-route>div>i { border-radius: 2px; background: var(--np-lime); color: var(--np-ink); }
.quote-vehicle, .quote-amount { border-color: #55565c; }
.quote-amount strong { color: var(--np-lime); }
.notice-card { border-radius: 3px; background: #fff7d2; }
.notice-icon { border-radius: 2px; background: var(--np-lime); color: var(--np-ink); }
.membership-callout { border-color: #d7d1c2; border-radius: 3px; background: #fff; }
.membership-mark { border-radius: 2px; background: var(--np-lime); color: var(--np-ink); }
.submit-preview { border-radius: 3px; }
.order-footer { border-color: #ded9cd; }
.login-dialog { border-color: #d8d3c7; border-radius: 5px; }
.login-dialog::backdrop { background: #171923bb; backdrop-filter: none; }
.provider-buttons button { border-radius: 3px; }
.provider-buttons button:not(:disabled) { cursor: pointer; background: #fff; color: var(--np-ink); }
.provider-buttons button:not(:disabled):hover { border-color: var(--np-ink); background: #fff7d2; }
.provider-buttons button:disabled { cursor: not-allowed; opacity: .62; }
.provider-icon.google { color: #4285f4; font-size: 14px; }
.provider-icon.email { background: var(--np-lime); color: var(--np-ink); }
.email-auth-panel { display: grid; gap: 10px; margin-top: 12px; }
.email-auth-panel label { display: grid; gap: 5px; color: var(--np-ink); font-size: 10px; font-weight: 800; }
.email-auth-panel input { min-height: 42px; padding: 0 11px; border: 1px solid #c9c5b8; border-radius: 3px; background: #fff; font-size: 14px; }
.email-auth-actions, .auth-verification-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.email-auth-actions button, .auth-verification-actions button { min-height: 38px; padding: 0 11px; border: 1px solid var(--np-ink); border-radius: 3px; background: var(--np-ink); color: #fff; font-size: 10px; font-weight: 900; cursor: pointer; }
.email-auth-actions button[type="button"], .auth-verification-actions button { background: #fff; color: var(--np-ink); }
.auth-feedback { min-height: 16px; margin: 10px 0 0; color: #5d5d56; font-size: 10px; line-height: 1.6; }
.auth-feedback[data-state="success"] { color: #23643c; }
.auth-feedback[data-state="error"] { color: #b73820; }
.auth-feedback[data-state="pending"] { color: #76550d; }
.future-providers { margin: 9px 0 0; color: #77766f; font-size: 9px; }
.guest-button { border-radius: 3px; background: var(--np-ink); }
.guest-button span { color: var(--np-lime); }
.dialog-wordmark { margin-bottom: 18px; }
.privacy-consent { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 10px; align-items: start; padding: 14px; border: 1px solid #d8d3c7; border-radius: 3px; background: #fff7d2; cursor: pointer; }
.privacy-consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--np-ink); }
.privacy-consent span { display: grid; gap: 6px; }
.privacy-consent strong { color: var(--np-ink); font-size: 10px; }
.privacy-consent small { color: #62625d; font-size: 9px; line-height: 1.6; }
.submit-preview:disabled { cursor: not-allowed; opacity: .5; box-shadow: none; }
.form-feedback[data-state="error"] { border-color: #da9b8e; background: #fff1ec; color: #8b2e1b; }
.form-feedback[data-state="pending"] { border-color: #e4d897; background: #fff9db; color: #665211; }
.form-feedback[data-state="success"] { border-color: #b7d4ad; background: #f1f8eb; color: #285b2c; }

/* Generated vehicle cutouts: keep each transparent image intact inside a clear black/yellow frame. */
.vehicle-generated-art {
  display: block;
  border-bottom: 4px solid var(--np-ink);
  background: var(--np-cream);
}
.vehicle-generated-art::after { display: none; }
.vehicle-generated-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 2px;
  object-fit: contain;
}
.vehicle-generated-art .vehicle-number {
  z-index: 2;
  top: 9px;
  left: 9px;
  padding: 3px 6px;
  border: 1px solid var(--np-ink);
  background: var(--np-paper);
  color: var(--np-ink);
}
.vehicle-generated-art .vehicle-type-name {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  display: inline-block;
  padding: 4px 7px;
  border: 1px solid var(--np-ink);
  background: var(--np-lime);
  color: var(--np-ink);
  box-shadow: 2px 2px 0 var(--np-ink);
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 950;
  letter-spacing: -.7px;
}
@media (max-width: 720px) {
  .vehicle-generated-art img { padding: 0; }
  .vehicle-generated-art .vehicle-type-name { font-size: 15px; }
}
@media (max-width: 370px) {
  .vehicle-generated-art { height: 170px; }
}

@media (max-width: 900px) {
  .hero-section { gap: 30px; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); }
  .hero-photo { height: 340px; }
  .service-ribbon { gap: 16px; }
  .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-header { height: 64px; gap: 10px; padding: 0 15px; }
  .site-header nav { display: none; }
  .wordmark { font-size: 19px; }
  .header-cta { gap: 8px; padding: 10px 12px; font-size: 11px; }
  .hero-section { display: flex; flex-direction: column; align-items: stretch; gap: 25px; padding: 42px 18px 35px; }
  .hero-copy, .hero-photo-wrap { min-width: 0; max-width: 100%; }
  .mobile-only-break { display: block; }
  .hero-copy h1 { font-size: clamp(41px, 10.3vw, 58px); letter-spacing: -2.7px; }
  .hero-lede { font-size: 14px; }
  .hero-photo-wrap { width: calc(100% - 7px); margin: 0 7px 7px 0; }
  .hero-photo { height: 260px; }
  .service-ribbon { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 10px; padding: 15px 16px; }
  .service-ribbon div b { font-size: 11px; }
  .service-ribbon div span { font-size: 9px; }
  .service-ribbon>a { grid-column: 1 / -1; justify-content: space-between; margin: 3px 0 0; }
  .content-section { padding: 62px 17px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 34px; }
  .section-heading>p { margin-top: 12px; font-size: 11px; }
  .section-heading>p br { display: none; }
  .vehicle-grid { gap: 9px; margin-top: 23px; }
  .vehicle-card { padding: 7px 7px 10px; }
  .vehicle-art { height: 123px; }
  .vehicle-art img { height: 105px; }
  .vehicle-type-name { font-size: 22px; letter-spacing: -1.1px; }
  .vehicle-copy { margin: 10px 3px 0; }
  .vehicle-kicker { font-size: 8px; }
  .vehicle-copy h3 { font-size: 14px; }
  .vehicle-desc { min-height: 35px; font-size: 9px; }
  .vehicle-link { font-size: 9px; }
  .vehicle-legal { font-size: 9px; }
  .process-band { display: block; padding: 55px 19px; }
  .process-intro>p:not(.eyebrow) { font-size: 12px; }
  .process-list { margin-top: 26px; }
  .process-list h3 { font-size: 13px; }
  .process-list p { font-size: 10px; }
  .local-section { display: grid; grid-template-columns: 1fr; gap: 25px; }
  .local-copy h2 { font-size: 33px; }
  .local-contact { padding: 19px; }
  .rewards-section { grid-template-columns: 58px 1fr; gap: 13px; margin: 0 17px 48px; padding: 17px; }
  .rewards-icon { width: 54px; height: 54px; font-size: 19px; }
  .rewards-section h2 { font-size: 18px; }
  .rewards-section>div:nth-child(2)>p:last-child { font-size: 9px; line-height: 1.6; }
  .rewards-section>.text-link { grid-column: 2; }
  .final-cta { padding: 55px 17px 62px; }
  .final-cta h2 { font-size: 34px; }
  .site-footer { display: grid; grid-template-columns: 1fr; gap: 5px; padding: 18px 17px 88px; }
  .site-footer p, .site-footer>span { margin: 0; }
  .floating-order { width: calc(100% - 18px); bottom: 8px; min-height: 56px; padding: 6px 7px 6px 12px; }
  .floating-order>span { font-size: 9px; }
  .floating-order a { min-height: 43px; padding: 0 11px; font-size: 10px; }
  .order-page { padding: 25px 14px 55px; }
  .email-auth-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .privacy-consent { padding: 12px; }
}
@media (max-width: 370px) {
  .hero-copy h1 { font-size: 39px; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .vehicle-art { height: 170px; }
  .vehicle-art img { height: 145px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Larger landing CTA with a reserved bottom area and device safe inset. */
body.landing-page { padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px)); }
.landing-page .floating-order { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); min-height: 88px; padding: 10px 12px 10px 24px; gap: 24px; max-width: calc(100% - 32px); }
.landing-page .floating-order > span { font-size: 13px; color: var(--np-muted); }
.landing-page .floating-order a { min-height: 64px; padding: 0 30px; font-size: 18px; gap: 22px; white-space: nowrap; }
.landing-page .floating-order b { font-size: 24px; }
@media (max-width: 720px) {
  .landing-page .floating-order { width: calc(100% - 32px); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); min-height: 82px; padding: 9px 10px 9px 16px; gap: 10px; }
  .landing-page .floating-order > span { font-size: 11px; max-width: 120px; }
  .landing-page .floating-order a { min-height: 64px; padding: 0 22px; font-size: 17px; gap: 16px; }
}
@media (max-width: 380px) {
  .landing-page .floating-order > span { display: none; }
  .landing-page .floating-order a { width: 100%; justify-content: center; }
}

/* Auth forms remain hidden until their existing controller selects them. */
.login-dialog [hidden] { display: none !important; }

.email-auth-panel h3 { margin: 0; font-size: 14px; }
.email-mode-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.email-mode-actions button { padding: 5px 0; border: 0; background: transparent; color: var(--np-ink); font-size: 11px; text-decoration: underline; cursor: pointer; }
.email-auth-actions button:disabled { opacity: .55; cursor: not-allowed; }
