@import url("./koolah-page-header.css");

:root {
  color-scheme: light;
  --paper: #fff;
  --surface: #f4f8fb;
  --ink: #2f4156;
  --muted: #46586a;
  --line: #c8d9e6;
  --accent: var(--ink);
  --accent-hover: #243342;
  --focus: #567c8d;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 Manrope, system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3 { margin: 0; font-family: Outfit, system-ui, sans-serif; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
p + p { margin-top: .65em; }
.shell { width: min(100% - 2.5rem, 66rem); margin-inline: auto; }

.order-link { display: inline-flex; align-items: center; min-height: 44px; }
.cta:not(.koolah-action) { justify-content: center; padding: .66rem 1rem; border-radius: 999px; background: var(--accent); color: white; font-weight: 700; text-align: center; text-decoration: none; }
.cta:not(.koolah-action):hover, .cta:not(.koolah-action):active { background: var(--accent-hover); }

.content, .end { border-top: 1px solid var(--line); padding-block: clamp(1.75rem, 4.5vw, 3.4rem); }
.content h2, .end h2 { max-width: 22ch; font-size: clamp(1.75rem, 1.53rem + .94vw, 2.375rem); }
.article, .end, .faq { display: grid; gap: .9rem; }
.guide-copy { max-width: 58ch; color: var(--muted); }
.price { margin-top: .55rem; font-size: 1.45rem; font-weight: 700; }
.price span { font-size: 1rem; font-weight: 400; }
.bulk, .buy-facts { color: var(--muted); }
.bulk, .buy { margin-top: .15rem; }
.order-link { font-weight: 700; }
details + details { border-top: 1px solid var(--line); }
summary { min-height: 44px; padding-block: .6rem; cursor: pointer; font-weight: 700; }
summary:hover { color: var(--accent); }
.buy-facts, .faq details p { max-width: 58ch; padding-bottom: .75rem; color: var(--muted); }

.site-footer { padding-block: .8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 48rem) {
  .shell { width: min(100% - 5rem, 66rem); }
  .article, .end, .faq { grid-template-columns: 1fr 1.55fr; gap: 2.5rem; }
}

.guide-hero {
  background: var(--surface);
}
.guide-hero-inner {
  display: grid;
  gap: clamp(1.25rem, 4vw, 3rem);
  padding-block: clamp(1.5rem, 5vw, 4rem);
}
.guide-hero h1 { max-width: 20ch; font-size: clamp(1.875rem, 1.3rem + 2.6vw, 3.625rem); }
.guide-lead { max-width: 43ch; margin-top: .85rem; color: var(--muted); }
.guide-hero .cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 1rem;
}
.guide-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem 1rem; margin-top:1rem; }
.guide-hero-actions .cta { margin-top:0; }
.guide-handoff { margin-top: .5rem; color: var(--muted); font-size: .875rem; }
.guide-product, .guide-scene {
  width: min(100%, 24rem);
  margin: 0;
}
.guide-product img, .guide-scene img { border-radius: .65rem; }
.guide-product img, .guide-scene img { width: 100%; height: auto; }
.guide-product img { aspect-ratio: 2 / 3; object-fit: contain; }
.guide-scene img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 58%; }
.guide-room-scene img { object-position: center 60%; }
.guide-scene.guide-showroom-lineup { width: 100%; }
.guide-scene.guide-showroom-lineup img { aspect-ratio: auto; }
.guide-scene.guide-showroom-exterior { width: 100%; margin-top: 1rem; }
.guide-scene.guide-showroom-exterior img { aspect-ratio: 640 / 328; }
.guide-product figcaption, .guide-scene figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .3rem .8rem;
  padding-top: .55rem;
  color: var(--muted);
  font-size: .875rem;
}
.guide-product figcaption strong, .guide-scene figcaption strong { color: var(--ink); }
.guide-hero-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.65rem, 2vw, 1.1rem);
}
.guide-hero-comparison .guide-product figcaption { flex-direction: column; }
.guide-content > :first-child { border-top: 0; }
.guide-details { display: grid; grid-template-columns: repeat(2, minmax(0, 15rem)); gap: clamp(.65rem, 3vw, 1.5rem); margin-top: 1rem; }
.guide-details figure { margin: 0; }
.guide-details img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; border-radius: .65rem; }
.guide-details figcaption { padding-top: .55rem; color: var(--muted); font-size: .875rem; }
.guide-fit h2 { max-width: 30ch; }
.guide-fit dl { display: grid; margin: 1.25rem 0 0; }
.guide-fit dl div { padding-block: .85rem; border-top: 1px solid var(--line); }
.guide-fit dt { font-weight: 700; }
.guide-fit dd { margin: .15rem 0 0; color: var(--muted); }
.guide-fit .guide-copy { margin-top: 1rem; }
.guide-fit .guide-copy a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.guide-transport { margin-top: 1.25rem; }
.guide-transport img { object-position: center 70%; }
.guide-content > .end {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 0;
  border-radius: .65rem;
  background: var(--surface);
}
.guide-content > .faq { border-top: 0; }
.guide-content > .guide-comparison { grid-template-columns: 1fr; gap: 1.25rem; }
.guide-comparison .guide-offers { display: grid; gap: 1rem; }
.guide-comparison .guide-offer {
  display: grid;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
}
.guide-comparison .guide-offer img { width: 100%; max-width: 8rem; height: auto; aspect-ratio: 2 / 3; object-fit: contain; border-radius: .35rem; }
.guide-offer:has(> img) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.guide-offer h3 { font-size: 1.375rem; }
.showroom-range .product-volume-price { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.showroom-range .volume-quote-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.guide-model { margin-top: .45rem; color: var(--muted); }
.guide-delivery p { color: var(--muted); }

.showroom-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; margin-top: 1rem; }
.showroom-actions .cta { margin-top: 0; }
.showroom-arrival { margin-top: .85rem; }
.showroom-visit .showroom-actions { gap: .2rem .85rem; font-size: .875rem; }
.showroom-visit .cta { display: inline-flex; align-items: center; min-height: 44px; }
.showroom-directions { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

@media (max-width: 47.99rem) {
  .showroom-actions { column-gap: .7rem; }
  .showroom-actions .cta:not(.koolah-action) { padding-inline: .75rem; }
  .showroom-actions .showroom-directions { font-size: .875rem; }
}

@media (min-width: 48rem) {
  .guide-hero-inner { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .guide-product, .guide-hero .guide-scene { justify-self: end; width: min(100%, 28rem); }
  .guide-comparison .guide-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-fit dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .showroom-visit {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
    gap: 1rem clamp(1.5rem, 4vw, 3rem);
  }
  .showroom-visit .guide-showroom-exterior { margin-top: 0; }
  .showroom-visit dl { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
}

.support-hero { width: min(100% - 2.5rem, 42rem); padding-block: clamp(2rem, 6vw, 4rem); }
.support-steps {
  margin-top: 1.25rem;
  padding: clamp(1rem, 4vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--paper);
}
.support-steps h2 { font-size: clamp(1.25rem, 1.15rem + .65vw, 1.65rem); }
.support-steps ol { display: grid; gap: .65rem; padding-inline-start: 1.4rem; margin: .85rem 0; }
.support-steps li { padding-inline-start: .2rem; }
.support-steps li::marker { font-weight: 700; }
.support-steps .cta { margin-top: .35rem; }
.support-actions { display: grid; margin-top: 1.25rem; border-bottom: 1px solid var(--line); }
.support-actions a {
  position: relative;
  display: grid;
  gap: .12rem;
  padding: .75rem 2rem .75rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.support-actions a::after { position: absolute; right: .35rem; top: 1rem; content: "→"; }
.support-actions a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.support-actions a span { color: var(--muted); font-size: .875rem; }

.factory-measurement { align-items: center; }
.factory-measurement h2 { margin-bottom: .6rem; }
.factory-measurement .order-link { margin-top: .3rem; }
.factory-measurement-plan {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .3rem .55rem;
  width: min(100%, 26rem);
  margin: 0;
  padding: clamp(.85rem, 3vw, 1.3rem);
  border-radius: .65rem;
  background: var(--surface);
  color: var(--ink);
}
.factory-measurement-length { grid-column: 2; text-align: center; }
.factory-measurement-width, .factory-measurement-length { font-weight: 700; font-size: .875rem; }
.factory-measurement-zone {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 6rem;
  padding: .6rem;
  border: 1px dashed var(--focus);
  border-radius: .25rem;
  background: var(--paper);
}
.factory-measurement-zone strong { font: 700 1.65rem/1.15 Outfit, system-ui, sans-serif; }
.factory-measurement-plan figcaption { grid-column: 1 / -1; margin-top: .35rem; color: var(--muted); font-size: .875rem; }

.rental-paths h2 { max-width: 26ch; }
.guide-choice-grid, .guide-steps { display: grid; gap: 1rem; margin: 1rem 0; }
.guide-choice-grid > article, .guide-flow > li {
  padding: clamp(1rem, 3vw, 1.5rem);
  border-radius: .65rem;
  border: 1px solid var(--line);
  background: var(--surface);
}
.guide-choice-grid p { margin: .55rem 0 .35rem; color: var(--muted); }
.guide-steps { max-width: 63ch; padding-inline-start: 1.4rem; }
.guide-flow { max-width: none; list-style: none; padding: 0; }
.guide-flow strong { display: block; margin-bottom: .3rem; }
.guide-demo { max-width: 28rem; margin: 0 0 1rem; }
.guide-demo video { display: block; width: 100%; max-height: 25rem; border-radius: .65rem; background: var(--ink); }
.guide-demo figcaption { margin-top: .3rem; color: var(--muted); font-size: .875rem; }
.guide-chat { display: inline-flex; align-items: center; min-height: 44px; margin-block: .55rem; }
.support-shortcuts { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.repair-symptoms { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: .65rem 0; }
.repair-symptoms li { background: var(--surface); border-radius: .4rem; padding: .3rem .55rem; font-weight: 700; }
.care-layout { margin-top: 1rem; }
.guide-flow > li { position: relative; }
.guide-flow > li:not(:last-child)::after {
  content: '';
  position: absolute;
  inset: auto auto -.72rem 1.55rem;
  width: .55rem;
  height: .55rem;
  border: solid var(--focus);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (min-width: 48rem) {
  .guide-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-choice-grid > article { display: flex; flex-direction: column; align-items: flex-start; }
  .guide-choice-grid .guide-chat { margin-top: auto; }
  .guide-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-flow > li:not(:last-child)::after { inset: 50% -.72rem auto auto; transform: rotate(-45deg); }
  .care-layout { display: grid; grid-template-columns: minmax(0, 22rem) 1fr; gap: 1.5rem; align-items: start; }
  .care-layout .guide-steps { margin-top: 0; }
}

.guide-comparison[aria-labelledby="industrial-model-links"] .guide-offers { margin-block: 1rem; }
.guide-comparison[aria-labelledby="industrial-model-links"] .guide-offer img { aspect-ratio: 3 / 4; }
