:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.happyAtlas {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 169, 64, .14), transparent 34%, rgba(52, 211, 153, .16)),
    #fffaf2;
  color: #172033;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.58;
}
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px max(18px, calc((100% - 1160px) / 2));
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(23, 32, 51, .12);
  backdrop-filter: blur(16px);
}
.brand, nav, .actions, .download { display: flex; align-items: center; }
.brand, nav a, .primary, .secondary { text-decoration: none; }
.brand { gap: 10px; color: #172033; font-weight: 900; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
nav { gap: 12px; flex-wrap: wrap; }
nav a { color: #5c6678; font-weight: 800; }
main { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 52px; }
section {
  margin: 22px 0;
  border: 1px solid rgba(23, 32, 51, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 18px 56px rgba(159, 90, 20, .09);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 310px;
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  min-height: 520px;
  background:
    radial-gradient(circle at 76% 18%, rgba(34, 197, 94, .24), transparent 230px),
    linear-gradient(135deg, #fff, #fff2d7);
}
.kicker { margin: 0 0 9px; color: #f97316; font-size: 12px; font-weight: 900; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(42px, 8vw, 86px); line-height: .95; letter-spacing: 0; }
h2 { margin-bottom: 12px; font-size: clamp(26px, 4vw, 44px); line-height: 1.06; letter-spacing: 0; }
h3 { margin-bottom: 8px; }
p { color: #465267; }
.lead { font-size: 19px; max-width: 760px; }
.actions { gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.primary, .secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  white-space: nowrap;
}
.primary { color: #fff; background: linear-gradient(135deg, #f97316, #24314f); }
.secondary { color: #24314f; background: #fff; border: 1px solid rgba(36, 49, 79, .2); }
.paint-card { border-radius: 8px; padding: 20px; background: #24314f; color: #fff; }
.paint-card img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 16px 34px rgba(0, 0, 0, .2); }
.paint-card dl, .fact-table { display: grid; gap: 10px; margin: 18px 0 0; }
.paint-card div, .fact-table div { border-radius: 8px; padding: 12px; background: rgba(255, 255, 255, .1); }
dt { color: #768197; font-size: 12px; font-weight: 900; text-transform: uppercase; }
dd { margin: 4px 0 0; font-weight: 900; overflow-wrap: anywhere; }
.paint-card dt { color: rgba(255,255,255,.68); }
.section-head { max-width: 760px; }
.ribbon { display: grid; grid-template-columns: 1.12fr repeat(3, .72fr); gap: 14px; align-items: stretch; }
figure { margin: 0; overflow: hidden; border-radius: 8px; background: #172033; }
figure:first-child { grid-row: span 2; }
img { max-width: 100%; }
figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
figcaption { padding: 11px 13px; color: #fff; font-size: 13px; font-weight: 800; }
.check-grid, .trouble-list, .qa { display: grid; gap: 14px; }
.check-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.check-grid article, .trouble-list article, details {
  border: 1px solid rgba(23, 32, 51, .12);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}
.check-grid b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; color: #fff; background: #22c55e; }
.facts { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr); gap: 28px; align-items: start; }
.fact-table { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.fact-table div { background: #fff7e6; border: 1px solid rgba(249, 115, 22, .18); }
.permissions ul, .install ol { display: grid; gap: 10px; padding-left: 22px; }
.trouble-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
summary { cursor: pointer; color: #172033; font-weight: 900; }
details p { margin: 10px 0 0; }
.download { justify-content: space-between; gap: 22px; background: linear-gradient(135deg, #24314f, #f97316); }
.download h2, .download p, .download .kicker { color: #fff; }
.download .primary { background: #fff; color: #24314f; }
footer { width: min(1160px, calc(100% - 32px)); margin: 0 auto 34px; color: #697589; }
@media (max-width: 880px) {
  .top { align-items: flex-start; flex-direction: column; }
  .hero, .facts, .download { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; }
  .ribbon, .check-grid, .trouble-list, .qa, .fact-table { grid-template-columns: 1fr; }
  figure:first-child { grid-row: auto; }
  h1 { font-size: clamp(38px, 14vw, 62px); }
  .primary, .secondary { width: 100%; }
}
