/* Homepage layout on top of ds-industry.css. Fluid at any width: grids use
   minmax(0,1fr)/min(100%,…) tracks, text wraps, media never exceeds its box. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-size: 19px; line-height: 1.6; min-height: 100vh; }
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-800); }
img { height: auto; }
main h1, main h2, main h3, main h4, main p, main li, main span, main label, main summary, footer p, footer a { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.anchor { display: block; position: relative; top: -80px; height: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 24px); min-width: 0; }
.wrap--narrow { max-width: 900px; }
.section { padding-block: clamp(56px, 9vw, 88px); }
.section--rule { border-top: 1px solid var(--color-divider); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 56px); }
.split > * { min-width: 0; }
.eyebrow { display: inline-flex; font-size: 15px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; margin-bottom: 18px; }
.h-section { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; margin: 0 0 20px; }
.lede { font-size: clamp(18px, 2vw, 20px); max-width: 42em; margin: 0 0 40px; text-wrap: pretty; }
.muted { color: var(--color-neutral-800); }
.ic { display: block; flex: none; }

/* Buttons (DS .btn look; .mg-btn hooks kept for tests and the referral script) */
.mg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; max-width: 100%;
  min-height: 56px; padding: 14px 26px; font-family: var(--font-heading); font-weight: 600; font-size: clamp(19px, 2vw, 22px);
  line-height: 1.2; text-align: center; text-decoration: none; border: 1px solid var(--color-divider); border-radius: 0;
  color: var(--color-text); background: transparent; cursor: pointer; }
.mg-btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.mg-btn--primary:hover { background: var(--color-accent-600); color: #fff; }
.mg-btn--primary:active { background: var(--color-accent-700); }
.mg-btn--quiet:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.mg-btn--sm { min-height: 48px; padding: 10px 16px; font-size: 19px; }
.mg-btn--block { width: 100%; }
.mg-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.mg-tel::before { content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn-mark { display: inline-flex; max-width: 100%; }
.btn-mark > .mg-btn { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.actions > * { min-width: 0; }

/* Header + section nav */
.site-header { background: var(--color-bg); border-bottom: 1px solid var(--color-divider); }
@media (min-width: 768px) { .site-header { position: sticky; top: 0; z-index: 10; } }
.site-header__row { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 16px; padding-block: 10px; }
.site-header__logo { display: flex; align-items: center; margin-right: auto; }
.site-header__logo img { height: 52px; width: auto; }
.site-header__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; min-width: 0; }
.section-nav { border-bottom: 1px solid var(--color-divider); }
.section-nav__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; min-height: 52px; padding-block: 8px; font-size: 19px; font-weight: 500; }
.section-nav a { color: var(--color-text); text-decoration: none; padding-block: 4px; }
.section-nav a:hover { color: var(--color-accent); text-decoration: underline; }

/* Hero */
.hero { align-items: center; padding-block: clamp(48px, 8vw, 72px) clamp(40px, 6vw, 56px); }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.04; margin: 0 0 24px; text-wrap: balance; }
.hero__sub { font-size: clamp(19px, 2vw, 21px); margin: 0 0 32px; max-width: 34em; text-wrap: pretty; }
.hero .actions { margin-bottom: 20px; }
.hero__link { font-size: 19px; font-weight: 500; }
.hero__art { margin: 0; padding: clamp(16px, 3vw, 32px); display: grid; place-items: center; }
.hero__art img { width: 100%; }

/* Kit strip */
.kit__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 20px; }
.kit__head h2 { font-size: 30px; margin: 0; }
.kit__head span { color: var(--color-neutral-700); }
.kit__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  border-top: 1px solid var(--color-divider); border-left: 1px solid var(--color-divider); }
.kit__grid li { min-width: 0; padding: 24px 12px; border-right: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider);
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-weight: 500; }
.kit__grid img { height: 96px; width: 100%; object-fit: contain; }
.kit__note { font-size: 18px; margin: 16px 0 0; color: var(--color-neutral-800); }

/* BarTab band */
.band { background: var(--color-accent-900); color: var(--color-neutral-100); }
.band__kicker { font-size: 16px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent-200); margin-bottom: 14px; }
.band h2 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.05; margin: 0 0 24px; max-width: 18em; text-wrap: balance; }
.band .lede { max-width: 40em; margin-bottom: 48px; }
.band__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  --line: color-mix(in srgb, var(--color-neutral-100) 22%, transparent); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.band__grid li { min-width: 0; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.band__grid .ic { color: var(--color-accent-200); }
.band__grid h3 { font-size: 26px; margin: 0; }
.band__grid p { margin: 0; font-size: 18px; }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 20px); list-style: none; margin: 0; padding: 0; }
.creds li { min-width: 0; padding: 28px 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.creds .ic { color: var(--color-accent); }
.creds span { font-family: var(--font-heading); font-weight: 600; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.1; }
.creds-copy p { font-size: clamp(18px, 2vw, 20px); margin: 0 0 20px; text-wrap: pretty; }
.creds-copy p.muted { font-size: 18px; margin: 0; }

/* Portal */
.cards4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; margin-bottom: 64px; }
.cards4 .card { padding: 28px; gap: 12px; min-width: 0; }
.cards4 .ic { color: var(--color-accent); }
.cards4 h3 { font-size: 26px; margin: 0; }
.cards4 p { margin: 0; font-size: 18px; }
.tour h3 { font-size: 32px; margin: 0 0 8px; }
.tour > p { font-size: 19px; margin: 0 0 24px; max-width: 42em; }
.tabs { display: flex; flex-wrap: wrap; border-top: 1px solid var(--color-divider); border-left: 1px solid var(--color-divider); margin-bottom: 24px; }
.tabs button { flex: 1 1 160px; min-width: 0; min-height: 56px; padding: 12px 18px; font-family: var(--font-heading); font-weight: 600; font-size: 21px;
  border: 0; border-right: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); border-radius: 0; cursor: pointer;
  background: transparent; color: var(--color-text); }
.tabs button:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.tabs button[aria-selected="true"] { background: var(--color-accent); color: #fff; }
.tabs button:focus-visible { outline-offset: -4px; outline-color: var(--color-accent-900); }
.shot { margin: 0; padding: clamp(8px, 2vw, 16px); }
.shot img { width: 100%; aspect-ratio: 1493 / 1035; object-fit: contain; background: var(--color-surface); }
.shot__caption { font-size: 19px; margin: 16px 0 0; }
.tour__more { margin: 24px 0 0; font-size: 20px; font-weight: 500; }

/* Install */
.install { align-items: stretch; }
.install__photo { margin: 0; min-height: clamp(260px, 60vw, 420px); }
.install__photo img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.install p.body { font-size: clamp(18px, 2vw, 20px); margin: 0 0 28px; text-wrap: pretty; }
.checks { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 14px; }
.checks li > span { min-width: 0; }
.checks .ic { color: var(--color-accent); margin-top: 2px; }
.note { border: 1px solid var(--color-accent); padding: 20px 22px; font-size: 18px; background: var(--color-accent-100); margin: 0; }

/* Pricing */
.mgprice { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.mgprice > :not(.corner) { min-width: 0; }
.mgprice__main { padding: clamp(24px, 4vw, 40px); background: var(--color-accent-100); display: flex; flex-direction: column; gap: 16px; }
.mgprice__name { font-size: 32px; margin: 0; }
.mgprice__name span { display: block; margin-top: 8px; font-family: var(--font-body); font-weight: 400; font-size: 18px; letter-spacing: 0; color: var(--color-neutral-800); }
.mgprice__amt { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-family: var(--font-heading); font-weight: 600; font-size: clamp(56px, 8vw, 76px); line-height: 1; }
.mgprice__amt small { font-family: var(--font-body); font-weight: 400; font-size: 20px; }
.mgprice__then { margin: 0; font-size: 20px; }
.mgprice__more { margin: 0; font-size: 20px; padding-top: 16px; border-top: 1px solid var(--color-divider); }
.mgprice__main .actions { flex-direction: column; gap: 12px; margin-top: 8px; }
.mgprice__main .mg-btn--quiet { background: var(--color-bg); }
.mgprice__list { padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; align-content: start; }
.mgprice__list > div { min-width: 0; }
.mgprice__list h4 { font-size: 22px; margin: 0 0 14px; color: var(--color-accent-700); }
.mgprice__list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 1.45; }
.fine { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; margin-top: 32px; font-size: 18px; }
.fine p { margin: 0; min-width: 0; }
.mgsoon { margin-top: 64px; }
.mgsoon__title { font-size: 28px; margin: 0 0 6px; }
.mgsoon__lede { font-size: 18px; margin: 0 0 24px; color: var(--color-neutral-800); }
.mgsoon__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.mgsoon__card { min-width: 0; border: 1px dashed var(--color-neutral-500); padding: 28px; display: flex; flex-direction: column; gap: 10px;
  color: var(--color-neutral-700); background: color-mix(in srgb, var(--color-neutral-300) 25%, transparent); cursor: default; user-select: none; }
.mgsoon__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.mgsoon__name { font-family: var(--font-heading); font-weight: 600; font-size: 24px; line-height: 1.12; margin: 0; color: var(--color-neutral-800); }
.mgsoon__card .tag { font-size: 14px; font-weight: 500; letter-spacing: 0.06em; color: var(--color-neutral-800); background: var(--color-neutral-200); }
.mgsoon__price { margin: 0; font-size: 16px; font-weight: 500; }
.mgsoon__desc { margin: 0; font-size: 18px; }
.mgsoon__icon { color: var(--color-neutral-600); }

/* FAQ */
.faq { border-top: 1px solid var(--color-divider); }
.faq details { border-bottom: 1px solid var(--color-divider); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: clamp(19px, 2.2vw, 22px); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--color-accent); font-size: 30px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary > span { min-width: 0; }
.faq details p { margin: 0 0 24px; font-size: 19px; max-width: 40em; }

/* Contact + form */
.contact h2 { font-size: clamp(34px, 4.5vw, 52px); margin: 0 0 20px; }
.contact p.intro { font-size: 20px; margin: 0 0 12px; }
.trust { font-size: 19px; margin: 0 0 32px; color: var(--color-accent-700); font-weight: 500; }
.bignum { display: inline-block; font-family: var(--font-heading); font-weight: 600; font-size: clamp(36px, 6vw, 48px); line-height: 1.1; color: var(--color-text); text-decoration: none; margin-bottom: 28px; }
.bignum:hover { color: var(--color-accent-700); }
.label-caps { font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-700); margin-bottom: 6px; }
.lead-form { padding: clamp(20px, 4vw, 36px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; margin: 0; }
.lead-form > :not(.corner) { min-width: 0; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form .field > label { font-size: 17px; color: var(--color-text); margin-bottom: 8px; }
.lead-form .input { min-height: 54px; font-size: 19px; background: var(--color-neutral-100); }
.lead-form textarea.input { min-height: 140px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-status { margin: 0; font-size: 17px; }
.lead-status:empty { display: none; }
.text-error { color: #a1110a; }
.text-primary { color: var(--color-accent-700); }

/* Referral */
.referral { padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: center; border-color: var(--color-accent); }
.referral__amt { font-family: var(--font-heading); font-weight: 600; font-size: 64px; line-height: 1; color: var(--color-accent); }
.referral__body { flex: 1 1 360px; min-width: 0; }
.referral__body h2 { font-size: 30px; margin: 0 0 8px; }
.referral__body p { margin: 0; }

/* Footer */
.site-footer { background: var(--color-accent-900); color: var(--color-neutral-200); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; padding-block: 56px 32px; }
.site-footer__grid > * { min-width: 0; }
@media (min-width: 720px) { .site-footer__brand { grid-column: span 2; } }
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer__logo { background: var(--color-bg); padding: 10px; width: fit-content; }
.site-footer__logo img { height: 56px; width: auto; }
.site-footer__brand p { margin: 0; font-size: 18px; max-width: 26em; }
.site-footer__tel { color: var(--color-neutral-100); font-size: 22px; font-weight: 500; text-decoration: none; }
.site-footer h2 { font-size: 20px; color: var(--color-neutral-100); margin: 0 0 4px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--color-accent-200); }
.site-footer__legal { padding-block: 20px 32px; border-top: 1px solid color-mix(in srgb, var(--color-neutral-100) 18%, transparent); font-size: 15px; }
.site-footer__legal p { margin: 0; }
#credentials, .contact { align-items: start; }
