* { box-sizing: border-box; }
:root {
  --ink: #161b21;
  --muted: #626970;
  --line: #dce0e4;
  --surface: #f1f2f4;
  --blue: #006cb5;
  --nav-height: 80px;
  font-family: "Pretendard Variable", Pretendard, Inter, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
}
body { margin: 0; min-width: 280px; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #289df6; outline-offset: 3px; }
.sr-only, .skip:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 20; top: 8px; left: 8px; background: white; padding: 12px 16px; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 clamp(22px, 4vw, 60px);
  background: #fff;
}
.dark-header .site-header { position: fixed; inset: 0 0 auto; color: #fff; background: transparent; transition: background .2s; }
.dark-header .site-header.scrolled { background: rgba(12, 15, 20, .95); }
.brand { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.brand-mark { display: block; width: 76px; height: auto; }
.dark-header .brand-mark { filter: invert(1); }
.brand .wordmark { font: 17px Georgia, "Times New Roman", serif; }
.brand-times { opacity: .72; }
.menu-toggle { color: inherit; border: 0; background: transparent; font-weight: 700; padding: 10px 12px; }
.site-menu {
  position: absolute;
  top: calc(100% - 6px);
  right: clamp(22px, 4vw, 60px);
  min-width: 208px;
  padding: 6px;
  color: var(--ink);
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px #1113;
}
.site-menu a { display: block; padding: 12px 14px; border-radius: 4px; font-weight: 650; }
.site-menu a:hover { background: var(--surface); }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: max(520px, 88svh);
  padding: 46px 24px 40px;
  overflow: hidden;
  text-align: center;
  color: white;
  background: #222;
}
.hero:first-child { padding-top: calc(var(--nav-height) + 32px); }
.hero-media { display: contents; }
.hero-photo, .model-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after, .model-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #06101c72, #060a1214 55%, #080c1272);
}
.hero h1, .hero h2 { margin: 0; font-size: clamp(30px, 4.1vw, 60px); line-height: 1.1; letter-spacing: -.035em; }
.hero p { margin: 8px 0 0; font-size: clamp(16px, 1.5vw, 21px); font-weight: 650; }
.hero small { display: block; font-size: clamp(13px, 1.12vw, 16px); margin-top: 3px; font-weight: 500; color: #fffe; }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border: 1px solid transparent; border-radius: 4px; font-weight: 700; text-align: center; }
.action.light { background: #f4f4f4eb; color: #222; min-width: min(220px, 100%); }
.action.light:hover { background: white; }
.action.primary { background: #15191e; color: white; }
.action.primary:hover { background: #303944; }
.action.outline { background: white; border-color: var(--line); color: var(--ink); }
.action.outline:hover { background: #f5f8fa; border-color: #98a2ae; }
.action.small { min-height: 34px; padding: 4px 11px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.site-footer { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 14px 40px; padding: 26px clamp(22px, 4vw, 60px); background: white; font-size: 14px; color: #3c444d; }
.site-footer p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 17px; }
.site-footer a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.shell { width: min(100%, 1250px); margin: auto; padding: 24px clamp(18px, 4vw, 46px) 54px; min-height: calc(100svh - 176px); }
.shell h1 { font-size: clamp(27px, 3.5vw, 40px); line-height: 1.15; letter-spacing: -.04em; margin: 0 0 18px; }
.shell h2 { letter-spacing: -.025em; }
.lede { color: #454d56; margin: 0 0 22px; }
.note { color: var(--muted); font-size: 14px; }
.text-link { color: #005994; }
input[type="search"], input[type="number"], select { min-height: 43px; width: 100%; border: 1px solid var(--line); border-radius: 5px; padding: 8px 11px; background: white; color: var(--ink); }
.count { margin: 15px 0 25px; }
.model-group { margin: 24px 0; }
.model-group h2 { font-size: 14px; color: var(--muted); letter-spacing: .12em; margin: 0 0 9px; }
.model-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.model-grid li { min-width: 0; }
.model-card { width: 100%; height: 100%; text-align: left; padding: 0; display: flex; flex-direction: column; border: 1px solid var(--line); background: white; border-radius: 8px; overflow: hidden; color: var(--ink); }
.model-card:hover { border-color: #7c8995; }
.model-card img { display: block; width: 100%; height: clamp(105px, 15vw, 190px); object-fit: cover; }
.card-inner { padding: 16px; display: grid; gap: 4px; }
.card-inner strong { font-size: 20px; }
.card-inner b { font-size: 14px; }
.card-trims, .card-inner small { color: var(--muted); font-size: 13px; }
dialog { border: 0; border-radius: 10px; width: min(94vw, 860px); max-height: 87svh; padding: 0; color: var(--ink); }
dialog::backdrop { background: #111a; }
.phone-dialog { width: min(calc(100% - 32px), 370px); background: #fff; padding: 22px; }
.phone-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.phone-dialog h2 { margin: 0; font-size: 22px; }
.phone-dialog label { display: block; margin: 16px 0 5px; font-size: 14px; color: var(--muted); }
.phone-dialog input { display: block; width: 100%; margin-bottom: 14px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); font-size: 23px; font-weight: 700; }
.phone-dialog .actions > * { flex: 1; }
.phone-dialog [role="status"]:not(:empty) { margin: 10px 0 0; font-size: 14px; }
.phone-dialog [role="status"]:empty { margin: 0; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; position: sticky; top: 0; z-index: 1; background: white; border-bottom: 1px solid var(--line); }
.dialog-top h2 { margin: 0; font-size: 22px; }
#dialog-content { padding: 14px 20px 20px; }
#dialog-content label, .compare-controls label { display: grid; gap: 4px; font-size: 14px; font-weight: 650; }
#dialog-content .actions { margin-top: 14px; }

.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; background: white; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: #e8ebef; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 650; }
.details table { min-width: 560px; }
.compare-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 12px; }
.compare-controls section { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.compare-controls h2 { margin: 0; font-size: 17px; }
.compare-controls .action { justify-self: start; }
.compare-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0; }
.compare-bar label { display: inline-flex; align-items: center; gap: 5px; }
#compare-table table { min-width: 440px; }
#compare-table th:first-child { min-width: 112px; }

.model-hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: min(680px, 83svh); background: #252a2e; color: white; padding: 110px 20px 40px; text-align: center; }
.model-hero h1 { margin: 0; font-size: clamp(33px, 6vw, 80px); line-height: 1.05; letter-spacing: -.04em; }
.model-hero p { font-size: clamp(16px, 2vw, 24px); font-weight: 600; margin: 12px 0 23px; }
.model-hero::after { background: #1116; }
.section-nav { position: sticky; z-index: 4; top: var(--nav-height); display: flex; justify-content: center; gap: clamp(12px, 4vw, 38px); padding: 12px 8px; background: white; border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 700; font-size: 14px; }
.section-nav a:hover { color: var(--blue); }
.details > section { margin: 20px 0 37px; scroll-margin-top: calc(var(--nav-height) + 66px); }
.details h2 { font-size: clamp(24px, 3.3vw, 36px); margin: 0 0 12px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.features article, .contact-panel { background: white; border: 1px solid var(--line); padding: clamp(15px, 3vw, 26px); border-radius: 7px; }
.features h3, .features p { margin: 0; }
.features p { color: #48515b; margin-top: 5px; }
.colors { display: flex; flex-wrap: wrap; gap: 12px; }
.colors span { display: inline-flex; align-items: center; gap: 8px; background: white; border: 1px solid var(--line); padding: 8px 12px; border-radius: 5px; }
.colors i { height: 24px; width: 24px; border-radius: 50%; border: 1px solid #1113; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.quote-form, .quote-result { background: white; border: 1px solid var(--line); border-radius: 8px; padding: clamp(15px, 3vw, 24px); }
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quote-form label { display: grid; gap: 5px; font-weight: 650; font-size: 14px; }
.quote-form label:nth-child(-n+2), .quote-form .primary, #quote-error { grid-column: 1 / -1; }
.quote-form p:empty { display: none; }
#quote-error { color: #a12823; margin: 0; }
.quote-result h2 { margin-top: 0; }
.quote-result dl { margin: 0; }
.quote-result dl > div { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 9px 0; }
.quote-result dd { margin: 0; font-weight: 750; }

@media (max-width: 730px) {
  .hero { min-height: max(380px, 57svh); padding: 24px 16px 22px; }
  .hero:first-child { padding-top: calc(var(--nav-height) + 12px); }
  .hero h1, .hero h2 { font-size: clamp(25px, 6.6vw, 32px); }
  .hero p { margin-top: 5px; }
  .site-header { padding-inline: 22px; }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .model-grid, .features { grid-template-columns: 1fr; }
  .model-card img { height: 172px; }
  .site-footer { gap: 12px; }
  .compare-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-controls section { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
.desktop-menu { display: none; }
.home .site-header { padding-inline: 16px; }
.home .hero::after { background: linear-gradient(90deg, #060a1278, #080c1236 55%, #080c124d); }
.home .hero p { font-weight: 650; }
@media (min-width: 761px) {
  .site-header { padding-inline: 16px; height: 68px; }
  .desktop-menu {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    gap: clamp(18px, 2.15vw, 33px);
    white-space: nowrap;
    font-size: 16px;
    font-weight: 700;
  }
  .desktop-menu a:hover { text-decoration: underline; text-underline-offset: 5px; }
  .site-header .menu-toggle { display: none; }
  .site-header .brand-mark { width: 90px; }
  .site-header .brand .wordmark { font-size: 20px; }
  .home .hero {
    min-height: 300px;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    padding: 26px max(32px, 5.6vw);
    text-align: left;
  }
  .home .hero:first-child { min-height: 294px; padding-top: 98px; }
  .home .hero h1, .home .hero h2 { font-size: clamp(28px, 2.8vw, 34px); line-height: 1.13; letter-spacing: -.028em; }
  .home .hero p { margin-top: 8px; font-size: 18px; }
  .home .hero small { margin-top: 2px; font-size: 14px; color: #fffd; }
  .home .hero .action { flex: 0 0 220px; font-size: 16px; font-weight: 650; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .desktop-menu { left: auto; right: 20px; transform: none; }
  .home .hero .action { flex-basis: 175px; min-width: 175px; }
}
@media (max-width: 760px) {
  .home .site-header { padding-inline: 20px; }
  .home .hero { min-height: 380px; padding: 24px 16px 22px; }
  .home .hero:first-child { padding-top: 92px; }
  .home .hero h1, .home .hero h2 { font-size: clamp(25px, 6.6vw, 32px); }
  .home .hero .action { min-width: min(220px, 100%); }
  .home .hero::after { background: linear-gradient(180deg, #06101c72, #060a122a 55%, #080c1272); }
}


