:root {
  color-scheme: light;
  --canvas:#f6f5f2;
  --paper:#fff;
  --ink:#24201e;
  --muted:#625d57;
  --line:#dedad4;
  --dark:#1d1b19;
  --red:#9f232e;
  --red-hover:#7f1822;
  --soft:#f7e9e9;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height:1.55;
}
*, *::before, *::after { box-sizing:border-box; }
body { margin:0; background:var(--canvas); color:var(--ink); }
a { color:var(--red); text-underline-offset:.18em; }
p { margin:.6em 0 1em; }
h1,h2,h3 { line-height:1.15; margin:0 0 .45em; }
h1 { font-size:clamp(2rem,6vw,4.4rem); letter-spacing:-.06em; }
h2 { font-size:clamp(1.3rem,3vw,1.8rem); letter-spacing:-.035em; }
h3 { font-size:1.12rem; }
img { max-width:100%; display:block; }
button,input,textarea,select { font:inherit; }
button,summary { cursor:pointer; }
[hidden] { display:none !important; }
:focus-visible { outline:3px solid #c1454e; outline-offset:3px; }
.skip { position:absolute; top:-80px; left:12px; background:white; padding:10px; z-index:20; }
.skip:focus { top:8px; }
.shell { width:min(1136px, calc(100% - 38px)); margin-inline:auto; }
.site-header { background:var(--dark); color:white; }
.header-layout,.footer-layout { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:14px 26px; }
.header-layout { min-height:76px; padding-block:12px; }
.brand { display:inline-flex; align-items:center; gap:12px; color:white; text-decoration:none; font-weight:700; font-size:1.04rem; letter-spacing:-.02em; }
.brand img { width:122px; }
.brand span { padding-inline-start:12px; border-left:1px solid #65605a; }
.header-layout nav { display:flex; flex-wrap:wrap; align-items:center; gap:4px 19px; }
.header-layout nav a { min-height:40px; display:inline-flex; align-items:center; color:white; text-decoration:none; font-size:.94rem; font-weight:650; }
.header-layout nav a:hover { text-decoration:underline; }
main { min-height:65vh; padding-bottom:65px; }
.hero { display:grid; grid-template-columns:1.12fr .88fr; margin-top:28px; background:var(--dark); color:#fff; border-radius:18px; overflow:hidden; }
.hero-copy { padding:clamp(25px,6vw,74px); }
.hero-copy p:not(.eyebrow) { color:#eee9e2; max-width:450px; font-size:1.1rem; }
.hero-image { width:100%; height:100%; object-fit:cover; aspect-ratio:5 / 4; }
.eyebrow { color:var(--red); font-weight:750; font-size:.88rem; letter-spacing:.075em; text-transform:uppercase; }
.hero .eyebrow { color:#f6a4ab; }
.section-head { display:flex; align-items:end; justify-content:space-between; flex-wrap:wrap; gap:12px; margin:35px 0 14px; }
.section-head h2 { margin:0; }
.grid { display:grid; gap:16px; }
.grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.panel { background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:clamp(16px,3vw,26px); min-width:0; }
.panel + .panel.stacked { margin-top:14px; }
.portal-card { display:flex; flex-direction:column; align-items:flex-start; border-top:3px solid #ad2d39; }
.portal-card p { color:var(--muted); flex:1; }
.portal-card .button { margin-top:4px; }
.page-head { margin:33px 0 22px; }
.page-head h1 { font-size:clamp(2rem,5vw,3.55rem); margin-bottom:.2em; }
.page-head p { color:var(--muted); max-width:700px; }
.page-head .eyebrow { color:var(--red); margin-bottom:8px; }
.page-head.with-side { display:flex; gap:10px 24px; flex-wrap:wrap; justify-content:space-between; align-items:center; }
.button, button.primary { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:9px 16px; border:1px solid var(--red); border-radius:8px; color:#fff; background:var(--red); text-decoration:none; font-weight:700; line-height:1.2; text-align:center; }
.button:hover, button.primary:hover { background:var(--red-hover); border-color:var(--red-hover); }
.button.secondary { border-color:var(--line); color:var(--ink); background:var(--paper); }
.button.secondary:hover { border-color:var(--red); color:var(--red); }
.button.compact { min-height:40px; padding:8px 12px; }
.button:disabled { opacity:.64; cursor:progress; }
.text-button { border:0; padding:0; font:inherit; background:none; color:var(--red); text-decoration:underline; text-underline-offset:.18em; }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; }
.help-links { display:flex; flex-wrap:wrap; gap:12px 22px; }
.muted,.loading { color:var(--muted); }
.loading { padding:32px 0; }
.small { font-size:.88rem; }
.auth-form { max-width:530px; }
.auth-form form { margin-top:16px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; }
form { display:grid; gap:13px; }
label { display:grid; gap:5px; font-weight:650; min-width:0; }
input,select,textarea { width:100%; min-width:0; background:#fff; color:var(--ink); border:1px solid #bdb7b0; border-radius:8px; padding:9px 11px; min-height:44px; }
input[type=checkbox] { width:18px; min-height:18px; height:18px; accent-color:var(--red); }
label.check { grid-template-columns:auto 1fr; align-items:start; gap:10px; }
input[type=file] { padding:8px; }
textarea { min-height:112px; resize:vertical; }
.form-feedback { margin:0; color:var(--red); font-weight:650; overflow-wrap:anywhere; }
.form-feedback:empty { display:none; }
.tabs { display:flex; align-items:center; flex-wrap:wrap; gap:5px 9px; border-bottom:1px solid var(--line); padding-bottom:8px; margin:0 0 20px; }
.tabs a { display:inline-flex; align-items:center; gap:5px; padding:8px 11px; text-decoration:none; color:var(--ink); border-radius:7px; min-height:42px; font-weight:650; }
.tabs a:hover,.tabs a[aria-current=page] { background:var(--soft); color:var(--red-hover); }
.badge { display:inline-flex; justify-content:center; align-items:center; padding:1px 7px; min-width:22px; border-radius:99px; color:white; background:var(--red); font-size:.81rem; font-weight:750; }
.pill { display:inline-block; padding:3px 9px; color:#6f2630; border-radius:99px; font-size:.84rem; font-weight:700; background:var(--soft); }
.pill.done { background:#e8f4ec; color:#23583a; }
.list { display:grid; gap:11px; }
.record { padding:14px 0; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.record:first-child { padding-top:0; }
.record:last-child { padding-bottom:0; border-bottom:0; }
.record-heading { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:6px 12px; }
.record-heading h3,.record-heading p { margin:0; }
.record p { margin:.35em 0; }
.record details { margin-top:10px; }
.record details[open] { padding-bottom:6px; }
.record summary { font-weight:700; color:var(--red); }
.record details form { padding-top:12px; }
.prewrap { white-space:pre-wrap; overflow-wrap:anywhere; }
.notice { padding:12px 14px; border-left:3px solid var(--red); background:var(--soft); border-radius:0 8px 8px 0; margin-bottom:16px; }
.document-list { margin:0; padding:0; list-style:none; }
.document-list li { padding:9px 0; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.document-list li:last-child { border-bottom:0; }
.gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr)); gap:10px; margin:11px 0; }
.gallery figure { margin:0; border:1px solid var(--line); border-radius:9px; padding:6px; overflow:hidden; }
.gallery img { width:100%; height:112px; object-fit:cover; border-radius:5px; background:#e9e5e0; }
.gallery figcaption { font-size:.85rem; padding:4px; overflow-wrap:anywhere; }
.table-wrap { overflow:auto; }
table { border-collapse:collapse; width:100%; min-width:500px; }
td,th { text-align:left; vertical-align:top; border-bottom:1px solid var(--line); padding:10px; }
.guide-section { margin:14px 0; scroll-margin-top:12px; }
.steps { padding-left:22px; }
.steps li { padding:0 0 10px 3px; }
.swatches { display:flex; flex-wrap:wrap; list-style:none; padding:0; gap:10px; margin:10px 0 21px; }
.swatches li { display:grid; gap:6px; min-width:94px; font-size:.86rem; }
.swatches span { height:38px; border:1px solid #c2b9af; border-radius:6px; }
.showroom { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.showroom-photo { width:100%; height:100%; min-height:280px; border-radius:14px; object-fit:cover; }
.contact-list { display:grid; gap:5px; max-width:100%; overflow-wrap:anywhere; }
.contact-list a { font-weight:700; }
.contact-list span { color:var(--muted); margin:0 0 8px; }
.footer { background:var(--dark); color:#eee9e2; }
.footer-layout { padding:24px 0; align-items:flex-start; font-size:.9rem; }
.footer a,.footer button { color:white; }
.toast { z-index:10; position:fixed; bottom:14px; right:14px; max-width:min(420px,calc(100% - 28px)); border:1px solid #fff; border-radius:9px; background:var(--dark); color:white; padding:12px 16px; box-shadow:0 5px 21px #0003; }
@media (max-width:760px) {
  .hero,.showroom,.grid.three { grid-template-columns:1fr; }
  .hero-image { max-height:250px; aspect-ratio:2 / 1; }
  .header-layout { gap:8px; }
  .header-layout nav { gap:5px 13px; }
  .footer-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-layout > div { overflow-wrap:anywhere; }
}
@media (max-width:540px) {
  .shell { width:calc(100% - 28px); }
  .header-layout nav a { font-size:.88rem; }
  .grid.two,.form-grid,.footer-layout { grid-template-columns:1fr; }
  .tabs a { padding-inline:8px; }
}

.home-hero .hero-copy { padding:clamp(22px,4vw,48px); }
.home-hero h1 { font-size:clamp(2rem,4.4vw,3.8rem); max-width:9.5em; }
.home-hero .hero-image { aspect-ratio:auto; max-height:350px; }
.services-section .section-head { margin-top:25px; }
.services-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.service-card {
  display:flex;
  flex-direction:column;
  gap:5px;
  min-height:104px;
  padding:15px;
  color:var(--ink);
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:11px;
  text-decoration:none;
}
.service-card strong { color:var(--red-hover); font-size:1.04rem; line-height:1.22; text-decoration:underline; text-underline-offset:.2em; }
.service-card span { font-size:.91rem; line-height:1.4; color:var(--muted); }
.service-card:hover { border-color:var(--red); background:#fffaf9; }
.service-choices { margin:0; border:1px solid var(--line); padding:12px; border-radius:8px; }
.service-choices legend { padding:0 6px; font-weight:700; }

@media (max-width:900px) {
  .services-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:660px) {
  .home-hero .hero-image { display:none; }
  .services-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .service-card { min-height:0; padding:11px; }
  .service-card span { font-size:.87rem; }
}

.install-home-link { color:#fff; font-weight:700; padding-block:8px; }
.install-head { display:flex; flex-wrap:wrap; align-items:center; gap:18px; }
.install-head p { margin-bottom:0; }
.install-icon { flex:none; border-radius:18px; }
.install-actions { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:18px; }

.install-primary { min-height:54px; padding-inline:23px; }
.install-help { max-width:620px; scroll-margin-top:16px; }
.install-help p:last-child { margin-bottom:0; }
.install-help summary { color:var(--red); }
.install-help details h2 { font-size:1.13rem; margin-top:12px; }
.iphone-share { display:inline-grid; place-items:center; width:19px; height:21px; border:1.5px solid currentColor; border-top:0; border-radius:3px; font-size:1.2em; line-height:1; vertical-align:middle; }
@media (max-width:540px) {
  .install-primary { width:100%; }
}
