:root {
  --ink: #111614;
  --ink-soft: #5d6662;
  --line: #e6e4df;
  --paper: #ffffff;
  --cream: #f5f3ee;
  --sage: #dfe6dc;
  --sand: #ece5da;
  --green: #1f6b55;
  --green-dark: #17523f;
  --on-green: #ffffff;
  --amber: #f2a541;
  --radius: 10px;
  --radius-sm: 5px;
  --max: 1320px;
  --font: "Jost", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0 0; }
.lead { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 15px; border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2b322f; }
.btn-outline { border-color: var(--line); background: var(--paper); }
.btn-outline:hover { border-color: var(--ink); }
.btn svg { width: 14px; height: 14px; }
.play { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; }
.play span {
  width: 36px; height: 36px; border: 2px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center;
}
.play span svg { width: 12px; height: 12px; margin-left: 2px; }

/* Top bar */
.topbar { background: #f7f7f7; font-size: 16px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
.topbar a, .topbar p { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 18px; height: 18px; }
.topbar .social { display: flex; gap: 24px; }
.topbar .social a { color: #000; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-color: var(--line); }
.header-main { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.logo-mark { display: none; } /* hidden for now; was 34px square */
.wordmark { font-family: "Outfit", var(--font); font-weight: 800; font-size: 30px; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.wordmark b { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-style: italic; font-size: 1.04em; letter-spacing: -0.02em; font-variation-settings: "opsz" 72; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-actions .hotline { margin-right: 20px; }
.hotline { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.hotline .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.hotline .icon svg { width: 20px; height: 20px; }
.hotline strong { font-weight: 500; display: block; }
.hotline small { color: var(--ink-soft); font-size: 14px; }
.icon-btn { position: relative; background: none; border: 0; padding: 4px; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .count {
  position: absolute; top: -6px; right: -8px; min-width: 17px; height: 17px; border-radius: 9px;
  background: var(--green); color: var(--on-green); font-size: 11px; display: grid; place-items: center;
}
.header-nav { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.menu-btn { width: 36px; height: 36px; border-radius: var(--radius-sm); border: 0; background: var(--cream); display: grid; place-items: center; }
.menu-btn svg { width: 18px; height: 18px; }
.primary-nav { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.primary-nav a:hover, .utility-nav a:hover { color: var(--green); }
.utility-nav { display: flex; gap: 24px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Mega menu */
.nav-item { position: relative; display: flex; align-items: center; gap: 2px; }
.mega-toggle { background: none; border: 0; padding: 6px 2px; display: grid; place-items: center; color: var(--ink-soft); }
.mega-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
/* Invisible bridge across the gap down to the panel, so moving the pointer there keeps the menu open */
.nav-item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.nav-item.open > a { color: var(--green); }
.nav-item.open .mega-toggle svg { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--paper);
  border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(17, 22, 20, .08);
  max-height: calc(100vh - 190px); overflow-y: auto; /* short screens scroll the menu, so nothing is cut off */
}
.mega-inner { display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
.mega-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px 28px; align-content: start; padding: 24px 0 28px; }
.mega-col h4 { margin: 0 0 12px; font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.mega-col h4 a { font-size: inherit; }
.mega-col li { margin-bottom: 8px; }
.mega-col a { font-size: 15px; transition: color .15s; }
.mega-col a:hover, .mega-col a:focus-visible { color: var(--green); }
.mega-side { position: relative; background: var(--cream); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.mega-side::before { content: ''; position: absolute; top: 0; bottom: 0; right: 100%; width: 100vw; background: var(--cream); } /* runs the colour to the screen's left edge */
.mega-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-quick-card { display: block; background: var(--paper); border-radius: var(--radius-sm); overflow: hidden; font-size: 13px; font-weight: 500; line-height: 1.25; transition: color .15s; }
.mega-quick-card:hover, .mega-quick-card:focus-visible { color: var(--green); }
.mega-quick-card img { display: block; width: 100%; height: 56px; object-fit: cover; }
.mega-quick-card span { display: block; padding: 5px 9px 6px; }
.mega-quick-card:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.mega-feature { font-size: 14px; }
.mega-feature img { height: 130px; }
.mega-from { font-size: 14px; color: var(--ink-soft); }
.mega-from b { color: var(--ink); font-weight: 500; font-size: 17px; }

/* Drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(17, 22, 20, .4); opacity: 0; transition: opacity .25s; }
.drawer {
  position: fixed; z-index: 100; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: var(--paper);
  overflow-y: auto; transform: translateX(-100%); transition: transform .25s ease; padding: 0 20px 30px;
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 68px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.drawer-close { width: 40px; height: 40px; border: 0; border-radius: var(--radius-sm); background: var(--cream); display: grid; place-items: center; }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-section { padding: 10px 0 14px; border-bottom: 1px solid var(--line); }
.drawer-hub { display: flex; align-items: center; justify-content: space-between; font-size: 20px; font-weight: 500; padding: 8px 0; }
.drawer-hub svg { width: 14px; height: 14px; }
.drawer details { border-top: 1px solid var(--line); }
.drawer details:first-of-type { border-top: 0; }
.drawer summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-weight: 500; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 14px; height: 14px; transition: transform .2s; }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer details ul { padding: 0 0 12px 12px; display: grid; gap: 10px; }
.drawer details a { color: var(--ink-soft); }
.drawer-link { display: block; font-size: 18px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-phone { display: inline-block; margin-top: 20px; color: var(--green); font-weight: 500; }
/* Mini cart: the same drawer, sliding in from the right */
.cart-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(17, 22, 20, .4); opacity: 0; transition: opacity .25s; }
.cart-drawer {
  position: fixed; z-index: 100; top: 0; bottom: 0; right: 0; width: min(420px, 92vw); background: var(--paper);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease;
}
body.cart-open { overflow: hidden; }
body.cart-open .cart-drawer { transform: none; }
body.cart-open .cart-backdrop { opacity: 1; }
.cart-drawer .drawer-head { padding: 0 20px; flex: none; margin: 0; }
.cart-drawer h2 { font-size: 20px; }
.cart-drawer h2 span { color: var(--ink-soft); font-weight: 400; }
.cart-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cart-items { flex: 1; overflow-y: auto; padding: 4px 20px; }
.cart-group { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 0; }
.cart-thumb.is-quote { background: var(--cream); }
.quote-tag { display: inline-block; font-size: 12px; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: #fff4dc; color: #6b4a00; }
.cart-quote-intro { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.cart-quote-link { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--green); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--sage); display: grid; place-items: center; }
.cart-thumb svg { width: 44px; height: 44px; }
.cart-item strong { font-weight: 500; display: block; line-height: 1.3; }
.cart-item a:hover strong { color: var(--green); }
.cart-item small { display: block; color: var(--ink-soft); font-size: 13px; line-height: 1.45; margin-top: 3px; }
.cart-item b { font-weight: 500; white-space: nowrap; }
.cart-remove { background: none; border: 0; padding: 0; margin-top: 6px; font-size: 13px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.cart-remove:hover { color: var(--ink); }
.cart-foot { flex: none; padding: 18px 20px 22px; border-top: 1px solid var(--line); background: var(--cream); }
.cart-foot dl { margin: 0 0 16px; display: grid; gap: 4px; font-size: 14px; }
.cart-foot dl div { display: flex; justify-content: space-between; gap: 16px; }
.cart-foot dt { color: var(--ink-soft); }
.cart-foot dd { margin: 0; }
.cart-foot .cart-total { font-size: 17px; font-weight: 500; }
.cart-foot .cart-total dt { color: var(--ink); }
.cart-checkout { width: 100%; justify-content: center; font-size: 16px; padding: 15px; }
.cart-note:not(:empty) { margin-top: 10px; font-size: 13px; background: #fff4dc; color: #6b4a00; border-radius: var(--radius-sm); padding: 10px 12px; }
.cart-continue { display: block; margin: 12px auto 0; background: none; border: 0; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.cart-empty { padding: 40px 20px; display: grid; gap: 18px; justify-items: start; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) { .drawer, .drawer-backdrop, .cart-drawer, .cart-backdrop, .mega-toggle svg { transition: none; } }

/* Hero */
.hero { padding-top: 10px; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 40px;
  background: var(--cream); border-radius: var(--radius); padding: 70px 60px; overflow: hidden;
}
.hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; margin: 0 0 18px; }
.hero .lead { font-size: 18px; max-width: 480px; }
.checks { margin: 28px 0 36px; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 14px; }
.checks svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.hero-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-art { position: relative; aspect-ratio: 1 / 0.9; }
.hero-art svg { width: 100%; height: 100%; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }

/* Slim hero for category and hub pages. The homepage keeps the full hero. */
.hero--slim { padding-top: 0; }
.hero--slim .hero-inner { grid-template-columns: 1fr auto; gap: 40px; padding: 30px 48px; }
.hero--slim h1 { font-size: clamp(34px, 3.2vw, 42px); margin: 0 0 6px; }
.hero--slim .lead { font-size: 17px; max-width: 760px; margin-bottom: 18px; }
.hero--slim .hero-cta { gap: 22px; }
.hero--slim .btn { padding: 11px 22px; }
.hero--slim .play span { width: 32px; height: 32px; }
.hero--slim .hero-art { aspect-ratio: 4 / 3; height: 180px; width: auto; align-self: center; }

/* Section heads */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.section-head .lead { max-width: 520px; }
.arrows { display: flex; gap: 10px; }
.arrows button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  display: grid; place-items: center;
}
.arrows button:hover { border-color: var(--ink); }
.arrows svg { width: 14px; height: 14px; }

/* Product range */
.range { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.range a { display: block; }
.thumb { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; transition: transform .3s; }
.thumb svg { width: 72%; height: 72%; transition: transform .4s; }
.range a:hover .thumb svg, .product:hover .thumb svg { transform: scale(1.06); }
.range .thumb img, .product .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.range a:hover .thumb img, .product:hover .thumb img { transform: scale(1.04); }
.range h3 { font-size: 18px; margin-top: 16px; }
.range span { color: var(--ink-soft); font-size: 14px; }
.t-cream { background: var(--cream); }
.t-sage { background: var(--sage); }
.t-sand { background: var(--sand); }
.t-mist { background: #e4e9ee; }
.t-blush { background: #f1e3df; }

/* Hub and category grids, crumbs and footer spacing for inner pages */
.hub-grid .thumb, .cat-grid .thumb { aspect-ratio: 4 / 3; }
.hub-grid .thumb svg, .cat-grid .thumb svg { width: 86%; height: 86%; }
.hub-grid .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hub-grid h3 { font-size: 18px; }
#hub-sections .section:first-child { padding-top: 60px; }
#hub-sections .section-head { margin-bottom: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 14px; font-size: 14px; color: var(--ink-soft); }
.crumbs a:hover { color: var(--green); }
.crumbs [aria-current] { color: var(--ink); }
.footer-gap { height: 90px; }
@media (max-width: 760px) { .footer-gap { height: 60px; } }

/* Promo panels */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.promo { border-radius: var(--radius); padding: 50px; display: grid; grid-template-columns: 1fr 0.8fr; gap: 20px; align-items: center; min-height: 360px; }
.promo.sand { background: var(--sand); }
.promo.sage { background: var(--sage); }
.promo h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 0 0 24px; }
.promo ul { display: grid; gap: 10px; margin-bottom: 28px; }
.promo li { display: flex; align-items: center; gap: 12px; }
.promo li svg { width: 16px; height: 16px; color: var(--green); }
.promo .art svg { width: 100%; }

/* Quote band */
.quote-band { text-align: center; }
.quote-band blockquote { margin: 0 auto 40px; max-width: 720px; font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.4; }
.materials { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.materials span {
  padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--ink-soft);
}

/* How it works */
.how { background: var(--cream); border-radius: var(--radius); padding: 70px 60px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.how h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 36px; }
.steps { position: relative; display: grid; gap: 30px; margin-bottom: 40px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; position: relative; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 50px; bottom: -26px; width: 1px; background: #cfccc4;
}
.steps .num {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #cfccc4; background: var(--paper);
  display: grid; place-items: center; font-weight: 500;
}
.steps li.active .num { background: var(--green); border-color: var(--green); color: var(--on-green); }
.steps h3 { font-size: 20px; margin: 8px 0 6px; }
.steps p { color: var(--ink-soft); font-size: 15px; }
.how-cta { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.how-art { background: var(--paper); border-radius: var(--radius); padding: 24px; }

/* Services carousel */
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.track::-webkit-scrollbar { display: none; }
.service { scroll-snap-align: start; background: var(--cream); border-radius: var(--radius); padding: 36px 30px; display: flex; flex-direction: column; }
.service .ic { width: 84px; height: 84px; margin-bottom: 28px; }
.service h3 { font-size: 21px; margin-bottom: 10px; }
.service p { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; flex: 1; }
.service a { font-weight: 500; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); align-self: flex-start; }
.service a svg { width: 12px; height: 12px; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.industries a {
  display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s;
}
.industries a:hover { border-color: var(--green); }
.industries .ico { width: 52px; height: 52px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.industries .ico svg { width: 26px; height: 26px; color: var(--green); }
.industries strong { font-weight: 500; display: block; line-height: 1.3; }
.industries small { color: var(--ink-soft); font-size: 13px; }
.center { text-align: center; margin-top: 36px; }

/* Testimonials */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { border: 1px dashed #cfccc4; border-radius: var(--radius); padding: 34px; background: var(--paper); }
.review .stars { display: flex; gap: 3px; color: var(--amber); margin-bottom: 18px; }
.review .stars svg { width: 16px; height: 16px; }
.review blockquote { margin: 0 0 26px; font-size: 18px; line-height: 1.5; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); }
.review strong { display: block; font-weight: 500; }
.review small { color: var(--ink-soft); }
.placeholder-note { font-size: 13px; color: var(--ink-soft); margin-top: 20px; text-align: center; }

/* Products */
.tabs { display: flex; gap: 30px; justify-content: center; margin-bottom: 40px; }
.tabs button {
  background: none; border: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; color: #b5b2aa; padding: 0 0 6px;
  border-bottom: 2px solid transparent;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 24px; }
.product { position: relative; }
.product .badge {
  position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px;
  background: var(--paper);
}
.product .badge.hot { background: var(--amber); color: var(--ink); }
.product h3 { font-size: 17px; margin: 16px 0 4px; }
.product .price { color: var(--ink-soft); }
.product .price b { color: var(--ink); font-weight: 500; }
.product .media { position: relative; }
.product .quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px; opacity: 0; transform: translateY(8px);
  transition: opacity .2s, transform .2s; justify-content: center;
}
.product:hover .quick, .product:focus-within .quick { opacity: 1; transform: none; }
.products[hidden] { display: none; }

/* App + features */
.app-band { background: var(--green); color: var(--on-green); border-radius: var(--radius); padding: 50px 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.app-band h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 6px; }
.app-band p { opacity: .8; }
.app-band .btn { background: var(--paper); color: var(--ink); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 60px 0; border-bottom: 1px solid var(--line); }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature svg { width: 36px; height: 36px; color: var(--green); flex: none; }
.feature strong { display: block; font-weight: 500; font-size: 17px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* Footer */
.footer { padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 30px; }
.footer h4 { font-size: 16px; font-weight: 500; margin: 0 0 16px; }
.footer li { margin-bottom: 10px; color: var(--ink-soft); font-size: 15px; }
.footer li a:hover { color: var(--green); }
.footer .about p { color: var(--ink-soft); font-size: 15px; margin: 16px 0; max-width: 300px; }
.newsletter { display: flex; gap: 8px; margin-top: 8px; }
.newsletter input {
  flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit;
}
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }

/* Responsive */
@media (max-width: 1100px) {
  .hotline, .utility-nav { display: none; }
  .range, .products { grid-template-columns: repeat(2, 1fr); }
  .promos { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .track { grid-auto-columns: calc((100% - 24px) / 2); }
  .industries { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar .social, .topbar .store { display: none; }
  .topbar { font-size: 14px; }
  .topbar .wrap { justify-content: center; }
  .topbar p { white-space: nowrap; }
  .primary-nav { display: none; }
  .header-main { height: 68px; }
  .hero-inner { grid-template-columns: 1fr; padding: 40px 24px; }
  .hero-art { order: -1; max-width: 420px; }
  .hero--slim .hero-inner { grid-template-columns: 1fr; padding: 26px 22px; }
  .hero--slim .hero-art { display: none; }
  .section { padding-top: 64px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .range { gap: 14px; }
  .promo { grid-template-columns: 1fr; padding: 34px 24px; }
  .promo .art { max-width: 240px; }
  .how { padding: 40px 24px; }
  .track { grid-auto-columns: 82%; }
  .industries { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .products { gap: 24px 14px; }
  .tabs { gap: 18px; }
  .app-band { padding: 36px 24px; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Illustration fills */
.f-g { fill: var(--green); }
.f-gd { fill: var(--green-dark); }
.f-gl { fill: #8fb5a4; }
.f-w { fill: #ffffff; }
.f-k { fill: var(--ink); }
.f-a { fill: var(--amber); }
.f-r { fill: #e0705a; }
.f-b { fill: #5b8bd0; }
.f-c { fill: #faf8f4; }
.f-kr { fill: #c79f6e; }
.f-krl { fill: #dcbb8f; }
.f-krd { fill: #a9814f; }
.f-sh { fill: rgba(17, 22, 20, 0.08); }
.f-line { fill: #d9d6cf; }

/* Design tool mock */
.editor { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.editor .canvas { background: var(--cream); border-radius: 8px; display: grid; place-items: center; aspect-ratio: 1; }
.editor .canvas svg { width: 80%; }
.editor .panel { display: grid; gap: 14px; align-content: start; font-size: 13px; }
.editor .panel label { color: var(--ink-soft); display: block; margin-bottom: 6px; }
.editor .field { border: 1px solid var(--line); border-radius: 6px; padding: 9px 12px; display: flex; justify-content: space-between; }
.editor .swatches { display: flex; gap: 8px; }
.editor .swatches i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }
.editor .swatches i.on { box-shadow: 0 0 0 2px var(--green); }
.editor .finish { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.editor .finish span { border: 1px solid var(--line); border-radius: 6px; padding: 10px; text-align: center; }
.editor .finish span.on { border-color: var(--green); color: var(--green); }
.editor .btn { justify-content: center; padding: 11px; }

/* Anchor jumps land with the section title just under the sticky header.
   The offset itself is scroll-padding-top on html, further down this file.
   A negative margin here cancels the section's own top padding. */
section.section[id] { scroll-margin-top: -90px; }
@media (max-width: 760px) { section.section[id] { scroll-margin-top: -64px; } }
#hub-sections { scroll-margin-top: -60px; }

/* Mobile fixes */
.logo { white-space: nowrap; }
.how > div, .hero-inner > div, .promo > div { min-width: 0; }
@media (max-width: 760px) {
  .logo { font-size: 20px; }
  .wordmark { font-size: 25px; }
  .header-actions { gap: 4px; }
  .editor { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr; }
}

/* From prices are hidden for now (2026-11-07). Delete this block to bring them back. */
.from-line:not(.from-quote), .price, .mega-from { display: none !important; }
.compare[id]:not(#compare-table) th:last-child, .compare[id]:not(#compare-table) td:last-child { display: none; }
#compare-table tbody tr:last-child { display: none; }

/* Consistent space around titles across the site */
html { scroll-padding-top: 157px; }
main h1 + p, main .hero h1 + p, main .config h1 + p { margin-top: 8px; }
main h1:has(+ p), main .hero h1:has(+ p), main .config h1:has(+ p) { margin-bottom: 0; }
main h2 + p { margin-top: 16px; }
main h3 + p { margin-top: 8px; }
main a > h3 + span { display: block; margin-top: 8px; }
main .service h3 + p { margin-top: 0; }
main .ag-specs h3 + p { margin-top: 8px; }
main details[open] > summary + * { margin-top: 8px; }

/* Space between the description and the first option box on order pages (the hidden From line used to provide it) */
.config .steps-form, .config form { margin-top: 32px; }
