/*
Theme Name: NextGen Smart Home Apple Style
Theme URI: https://ng-home.ru/
Author: NextGen
Description: NextGen smart home site styled as a clean product landing page.
Version: 1.0.18
Text Domain: nextgen-apple-style
*/

:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --surface-dark: #1d1d1f;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --subtle: #86868b;
  --line: rgba(29, 29, 31, 0.12);
  --line-strong: rgba(29, 29, 31, 0.22);
  --accent: #0071e3;
  --accent-dark: #005bb8;
  --accent-soft: #e8f2ff;
  --success: #2d7d5f;
  --danger: #b42318;
  --radius-lg: 8px;
  --radius-md: 6px;
  --shadow-soft: 0 22px 70px rgba(0, 0, 0, 0.08);
  --shadow-tight: 0 12px 30px rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(29, 29, 31, 0.035) 1px, transparent 1px);
  background-size: 100% 52px;
  opacity: 0.34;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 0 max(18px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: saturate(180%) blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-logo {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  filter: invert(1);
  transition: filter 0.24s var(--ease), opacity 0.24s var(--ease);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  line-height: 1.1;
  font-weight: 700;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #3d3d40;
  font-size: 12px;
  line-height: 1;
  transition: color 0.28s var(--ease), background 0.28s var(--ease), transform 0.28s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.theme-switcher {
  padding: 3px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
}

.theme-switcher button {
  min-height: 28px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
  font-weight: 650;
  transition: color 0.24s var(--ease), background 0.24s var(--ease), transform 0.24s var(--ease);
}

.theme-switcher button:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.theme-switcher button.is-active {
  color: #fff;
  background: var(--text);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

main {
  position: relative;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 112px 0;
  scroll-margin-top: 96px;
}

.hero {
  width: min(var(--max), calc(100% - 36px));
  min-height: calc(100dvh - 58px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(650px, 1.85fr);
  align-items: center;
  justify-items: stretch;
  gap: 34px;
  padding: 72px 0 80px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 560px;
  margin: 0 0 22px;
  font-size: 62px;
  line-height: 0.96;
  font-weight: 760;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 58px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 720;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 540px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.48;
}

.hero-tagline {
  max-width: 540px;
  margin: -8px 0 22px;
  color: var(--accent);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.12;
  font-weight: 720;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 700px;
}

.section-heading p,
.why-intro p,
.request-copy p,
.wiring-card p,
.service-card p,
.proof-copy p,
.article-content p,
.case-details p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.2;
  transition:
    color 0.28s var(--ease),
    background 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    transform 0.28s var(--ease);
  will-change: transform;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(0, 113, 227, 0.22);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--accent);
  border-color: rgba(0, 113, 227, 0.24);
  background: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover {
  border-color: rgba(0, 113, 227, 0.42);
  background: #fff;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 340px);
  align-items: center;
  gap: 34px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: relative;
  z-index: 0;
  grid-column: 1;
  width: 100%;
  min-height: 600px;
  background: url("assets/preza-images/cards/nextgen-panel-transparent-card.webp") center / contain no-repeat;
  filter: drop-shadow(0 38px 60px rgba(29, 29, 31, 0.18));
  animation: productFloat 7s var(--ease) infinite;
}

.hero-visual::after {
  display: none;
}

.visual-panel {
  position: relative;
  right: auto;
  top: auto;
  bottom: auto;
  grid-column: 2;
  width: 100%;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: saturate(180%) blur(28px);
  box-shadow: var(--shadow-soft);
  transform: none;
}

.wb-info-card {
  grid-column: 1;
  grid-row: 2;
  width: min(520px, 100%);
  margin-top: -72px;
  justify-self: center;
  border-radius: var(--radius-lg);
  color: var(--text);
  z-index: 2;
}

.wb-info-card summary {
  width: fit-content;
  min-height: 46px;
  margin: 0 auto;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 113, 227, 0.26);
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(0, 113, 227, 0.22);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease);
}

.wb-info-card summary::-webkit-details-marker {
  display: none;
}

.wb-info-card summary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.wb-info-card summary:active {
  transform: translateY(1px) scale(0.98);
}

.wb-info-content {
  margin-top: 16px;
  max-height: min(520px, 62vh);
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: saturate(180%) blur(22px);
  animation: revealDetails 0.36s var(--ease);
}

.wb-info-content h3 {
  margin-bottom: 16px;
  font-size: 25px;
}

.wb-info-content p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.wb-info-content p:last-child {
  margin-bottom: 0;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: breathe 2.5s var(--ease) infinite;
}

.solution-flow {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.flow-step {
  padding: 16px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), background 0.28s var(--ease);
}

.flow-step:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 113, 227, 0.24);
  background: #fff;
}

.flow-step span {
  grid-row: span 2;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.flow-step h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.12;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.44;
}

.result-card {
  margin-top: 10px;
  padding: 18px;
  border-radius: var(--radius-md);
  color: #f5f5f7;
  background: var(--surface-dark);
}

.result-card p {
  margin: 0 0 8px;
  color: rgba(245, 245, 247, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.result-card strong {
  display: block;
  font-size: 23px;
  line-height: 1.08;
  font-weight: 720;
}

.result-card ul {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.result-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(245, 245, 247, 0.78);
  font-size: 13px;
  line-height: 1.42;
}

.result-card li::before,
.article-content li::before,
.article-body li::before,
.audience-panel li::before,
.aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.scenario-strip {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scenario-strip span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #3d3d40;
  font-size: 11px;
  font-weight: 650;
}

.services-section {
  padding-top: 78px;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-auto-rows: minmax(260px, auto);
  gap: 16px;
}

.service-card {
  padding: 30px;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.22);
  box-shadow: var(--shadow-soft);
}

.service-card.tall {
  grid-row: span 2;
}

.service-card.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(290px, 0.76fr) minmax(0, 1fr);
  align-items: end;
  gap: 0 32px;
}

.accent-card {
  background: #eef6ff;
}

.service-media {
  height: 230px;
  margin: -30px -30px 26px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: #f0f0f2;
}

.service-card.tall .service-media {
  height: 420px;
}

.service-card.wide .service-media {
  grid-row: span 3;
  height: 260px;
  margin: -30px 0 -30px -30px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.service-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--pos, 50%) center;
  transition: transform 0.48s var(--ease);
}

.service-card:hover .service-media img {
  transform: scale(1.035);
}

.service-media-contain {
  padding: 18px;
  background: #f7f7f9;
}

.service-media-contain img {
  object-fit: contain;
  object-position: center;
}

.card-index {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
}

.why-section,
.audience-tabs-section,
.proof-section,
.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: start;
}

.audience-tabs-section {
  display: block;
}

.why-intro,
.request-copy {
  position: sticky;
  top: 92px;
}

.why-intro p,
.request-copy p,
.proof-copy p {
  margin-top: 22px;
}

.benefit-list {
  border-top: 1px solid var(--line);
}

.benefit-item {
  min-height: 88px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.benefit-item span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
}

.benefit-item p {
  margin: 0;
  font-size: 30px;
  line-height: 1.14;
  font-weight: 700;
}

.process-section {
  width: min(var(--max), calc(100% - 36px));
}

.process-section .section-heading {
  width: 100%;
}

.process-layout {
  overflow: visible;
  padding: 0;
}

.process-list {
  min-width: 0;
  counter-reset: item;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-list li {
  min-height: 298px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-tight);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.process-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.process-list figure {
  width: 100%;
  aspect-ratio: 16 / 11;
  margin: 0;
  overflow: hidden;
  background: #f0f0f2;
}

.process-list img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.48s var(--ease);
}

.process-list li:hover img {
  transform: scale(1.035);
}

.process-list span {
  padding: 16px 16px 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
}

.process-list p {
  margin: auto 0 0;
  padding: 10px 16px 18px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.18;
  font-weight: 700;
}

.audience-tabs {
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.audience-tab-list {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  background: #f9f9fb;
}

.audience-tab {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  transition: color 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease), transform 0.28s var(--ease);
}

.audience-tab:hover {
  transform: translateY(-1px);
  color: var(--text);
  background: #fff;
}

.audience-tab.is-active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.audience-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 48px;
  padding: 42px;
}

.audience-panel.is-active {
  display: grid;
}

.audience-panel > div:first-child > span,
.article-aside > span,
.comparison-card span,
.planning-grid span,
.article-steps span,
.article-note strong,
.case-details span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
}

.audience-panel h3 {
  max-width: 760px;
  margin: 18px 0 22px;
  font-size: 44px;
  line-height: 1.02;
}

.audience-panel p,
.audience-panel li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.audience-panel ul {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.audience-panel li {
  position: relative;
  padding-left: 20px;
}

.audience-summary {
  min-height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  border-radius: var(--radius-lg);
  background: #f5f5f7;
}

.audience-summary p {
  margin: 0;
  color: var(--text);
  font-size: 21px;
  line-height: 1.36;
  font-weight: 650;
}

.wiring-card {
  min-height: 520px;
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 60px;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(29, 29, 31, 0.88), rgba(29, 29, 31, 0.46)),
    url("assets/generated/wiring-section-realistic-panel.webp") center / cover no-repeat;
  box-shadow: var(--shadow-soft);
}

.wiring-card .eyebrow {
  color: #9ecbff;
}

.wiring-card h2 {
  color: #fff;
}

.wiring-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.proof-section {
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  align-items: center;
}

.case-card {
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.case-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f0f0f2;
}

.case-details {
  padding: 30px;
}

.case-details span {
  display: inline-flex;
  margin-bottom: 14px;
}

.expand-card {
  margin-top: 18px;
}

.expand-card summary {
  width: fit-content;
  min-height: 42px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 113, 227, 0.24);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease);
}

.expand-card summary::-webkit-details-marker {
  display: none;
}

.expand-card summary:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(0, 113, 227, 0.42);
}

.expand-card summary:active {
  transform: translateY(1px) scale(0.98);
}

.expand-content {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  animation: revealDetails 0.42s var(--ease);
}

.expand-content p {
  margin-bottom: 16px;
}

.expand-content p:last-child {
  margin-bottom: 0;
}

.expand-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 23px;
}

.expand-content h3:first-child {
  margin-top: 0;
}

.article-card {
  min-height: 560px;
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 58px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(29, 29, 31, 0.94), rgba(29, 29, 31, 0.58)),
    url("assets/preza-images/web/nextgen-15-054-08-764-large.webp") center / cover no-repeat;
  box-shadow: var(--shadow-soft);
}

.article-card h2,
.article-card h3 {
  color: #fff;
}

.article-card .eyebrow {
  color: #9ecbff;
}

.article-content p,
.article-content li {
  color: rgba(255, 255, 255, 0.78);
}

.article-content ul {
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.article-content li {
  position: relative;
  padding-left: 22px;
  line-height: 1.55;
}

.article-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.request-section {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
}

.request-form {
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 0;
  color: var(--success);
  font-size: 15px;
  line-height: 1.45;
}

.form-status:not(:empty) {
  padding: 13px 15px;
  border: 1px solid rgba(45, 125, 95, 0.22);
  border-radius: var(--radius-md);
  background: rgba(45, 125, 95, 0.08);
}

.form-status.is-error {
  color: var(--danger);
  border-color: rgba(180, 35, 24, 0.22);
  background: rgba(180, 35, 24, 0.08);
}

.field {
  display: grid;
  gap: 8px;
}

.field-full,
.form-submit {
  grid-column: 1 / -1;
}

.field span {
  font-size: 14px;
  font-weight: 650;
}

.field small {
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.field-error {
  min-height: 18px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(29, 29, 31, 0.16);
  border-radius: var(--radius-md);
  background: #f5f5f7;
  color: var(--text);
  outline: none;
  transition: border-color 0.28s var(--ease), background 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

input,
select {
  height: 52px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  min-height: 126px;
  padding: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 113, 227, 0.48);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: rgba(180, 35, 24, 0.46);
}

.form-submit {
  position: relative;
  margin-top: 4px;
  width: 100%;
}

.button-loader {
  display: none;
  width: 52px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  background-size: 220% 100%;
  animation: shimmer 1.1s linear infinite;
}

.request-form.is-loading .button-text {
  opacity: 0.58;
}

.request-form.is-loading .button-loader {
  display: inline-block;
}

.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 26px;
  padding: 28px 0 10px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.footer-contacts {
  margin-top: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.footer-contacts a {
  width: fit-content;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 20px;
}

.site-footer a:not(.brand) {
  color: var(--muted);
  transition: color 0.28s var(--ease);
}

.site-footer a:not(.brand):hover {
  color: var(--text);
}

.inner-page main {
  padding-top: 34px;
}

.page-hero {
  width: min(var(--max), calc(100% - 36px));
  min-height: 690px;
  padding: 96px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 58px;
  align-items: center;
}

.page-hero-copy {
  max-width: 820px;
}

.page-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.5;
}

.page-hero-copy .page-hero-company {
  max-width: 660px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 19px;
  line-height: 1.55;
  font-weight: 620;
}

.page-hero-media {
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.article-hero .page-hero-copy h1 {
  max-width: 760px;
  font-size: 70px;
}

.article-hero .page-hero-media {
  max-width: 520px;
  justify-self: end;
}

.longread {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.88fr);
  gap: 72px;
  align-items: start;
  padding-top: 48px;
}

.article-aside {
  position: sticky;
  top: 92px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.article-aside p {
  margin: 16px 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.56;
}

.aside-list {
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.aside-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.article-body {
  max-width: 930px;
}

.article-body .lead {
  color: var(--text);
  font-size: 32px;
  line-height: 1.18;
  font-weight: 650;
}

.article-body h2 {
  margin-top: 68px;
  font-size: 46px;
  line-height: 1.04;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.article-body ul {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.article-body li {
  position: relative;
  padding-left: 20px;
}

.article-note,
.comparison-card,
.planning-grid article,
.article-steps article,
.article-result {
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.article-note {
  margin: 42px 0 0;
  padding: 32px;
  background: var(--accent-soft);
}

.article-note p {
  margin: 14px 0 0;
}

.planning-grid,
.article-steps,
.comparison-grid {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}

.planning-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comparison-grid,
.article-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.planning-grid article,
.article-steps article,
.comparison-card {
  min-height: 236px;
  padding: 28px;
}

.comparison-card h3,
.planning-grid h3,
.article-steps h3 {
  margin: 16px 0 14px;
  font-size: 24px;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.planning-grid p,
.article-steps p,
.comparison-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.58;
}

.article-body figure {
  margin: 44px 0 8px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.article-body figure img {
  width: 100%;
  max-height: 680px;
  display: block;
  object-fit: contain;
}

.article-body figcaption {
  margin-top: 16px;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.45;
}

.longread-cta,
.article-result {
  margin-top: 68px;
  padding: 42px;
}

.longread-cta h2,
.article-result h2 {
  margin-top: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
  transition-delay: calc(var(--index, 0) * 70ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.longread .article-aside[data-reveal],
.longread .article-body[data-reveal] {
  opacity: 1;
  transform: none;
}

html[data-resolved-theme="dark"] {
  color-scheme: dark;
  --bg: #121316;
  --surface: #1d1f24;
  --surface-soft: #17191d;
  --surface-dark: #f5f5f7;
  --text: #f5f5f7;
  --muted: #a9adb7;
  --subtle: #7f8490;
  --line: rgba(245, 245, 247, 0.13);
  --line-strong: rgba(245, 245, 247, 0.24);
  --accent: #6bb6ff;
  --accent-dark: #9dccff;
  --accent-soft: rgba(107, 182, 255, 0.14);
  --success: #77d0a1;
  --danger: #ff9b8d;
  --shadow-soft: 0 26px 80px rgba(0, 0, 0, 0.34);
  --shadow-tight: 0 16px 42px rgba(0, 0, 0, 0.24);
}

html[data-resolved-theme="dark"] body {
  background:
    radial-gradient(circle at 72% 0%, rgba(107, 182, 255, 0.14), transparent 32rem),
    linear-gradient(180deg, #15171b 0%, #101114 54%, #15171b 100%);
  color: var(--text);
}

html[data-resolved-theme="dark"] body::before {
  background-image: linear-gradient(rgba(245, 245, 247, 0.05) 1px, transparent 1px);
  opacity: 0.28;
}

html[data-resolved-theme="dark"] .site-header {
  border-bottom-color: rgba(245, 245, 247, 0.09);
  background: rgba(18, 19, 22, 0.78);
}

html[data-resolved-theme="dark"] .brand-logo {
  filter: none;
}

html[data-resolved-theme="dark"] .brand strong,
html[data-resolved-theme="dark"] .site-nav a:hover,
html[data-resolved-theme="dark"] .site-nav a[aria-current="page"],
html[data-resolved-theme="dark"] .theme-switcher button:hover,
html[data-resolved-theme="dark"] .benefit-item p,
html[data-resolved-theme="dark"] .process-list p,
html[data-resolved-theme="dark"] .audience-summary p,
html[data-resolved-theme="dark"] .article-body .lead {
  color: var(--text);
}

html[data-resolved-theme="dark"] .site-nav a {
  color: rgba(245, 245, 247, 0.72);
}

html[data-resolved-theme="dark"] .site-nav a:hover,
html[data-resolved-theme="dark"] .site-nav a[aria-current="page"] {
  background: rgba(245, 245, 247, 0.09);
}

html[data-resolved-theme="dark"] .theme-switcher {
  border-color: rgba(245, 245, 247, 0.12);
  background: rgba(245, 245, 247, 0.07);
}

html[data-resolved-theme="dark"] .theme-switcher button.is-active {
  color: #121316;
  background: #f5f5f7;
}

html[data-resolved-theme="dark"] .menu-toggle,
html[data-resolved-theme="dark"] .site-nav a,
html[data-resolved-theme="dark"] .button-secondary,
html[data-resolved-theme="dark"] .scenario-strip span,
html[data-resolved-theme="dark"] .flow-step,
html[data-resolved-theme="dark"] .service-card,
html[data-resolved-theme="dark"] .process-list li,
html[data-resolved-theme="dark"] .audience-tabs,
html[data-resolved-theme="dark"] .case-card,
html[data-resolved-theme="dark"] .request-form,
html[data-resolved-theme="dark"] .article-aside,
html[data-resolved-theme="dark"] .article-note,
html[data-resolved-theme="dark"] .comparison-card,
html[data-resolved-theme="dark"] .planning-grid article,
html[data-resolved-theme="dark"] .article-steps article,
html[data-resolved-theme="dark"] .article-result,
html[data-resolved-theme="dark"] .article-body figure {
  border-color: rgba(245, 245, 247, 0.12);
  background: rgba(245, 245, 247, 0.055);
}

html[data-resolved-theme="dark"] .menu-toggle span:not(.sr-only) {
  background: var(--text);
}

html[data-resolved-theme="dark"] .visual-panel {
  border-color: rgba(245, 245, 247, 0.14);
  background: rgba(29, 31, 36, 0.72);
  box-shadow: var(--shadow-soft);
}

html[data-resolved-theme="dark"] .wb-info-card summary {
  color: #121316;
}

html[data-resolved-theme="dark"] .wb-info-content {
  border-color: rgba(245, 245, 247, 0.12);
  background: rgba(29, 31, 36, 0.88);
  box-shadow: var(--shadow-soft);
}

html[data-resolved-theme="dark"] .wb-info-content p {
  color: rgba(245, 245, 247, 0.76);
}

html[data-resolved-theme="dark"] .hero-visual::before {
  filter: drop-shadow(0 38px 70px rgba(0, 0, 0, 0.42)) brightness(0.9) saturate(0.94);
}

html[data-resolved-theme="dark"] .hero-visual::after {
  background: rgba(0, 0, 0, 0.36);
}

html[data-resolved-theme="dark"] .flow-step:hover,
html[data-resolved-theme="dark"] .service-card:hover,
html[data-resolved-theme="dark"] .process-list li:hover,
html[data-resolved-theme="dark"] .expand-card summary:hover {
  border-color: rgba(107, 182, 255, 0.32);
  background: rgba(245, 245, 247, 0.085);
}

html[data-resolved-theme="dark"] .result-card {
  color: #121316;
  background: #f5f5f7;
}

html[data-resolved-theme="dark"] .result-card p,
html[data-resolved-theme="dark"] .result-card li {
  color: rgba(18, 19, 22, 0.68);
}

html[data-resolved-theme="dark"] .service-media,
html[data-resolved-theme="dark"] .service-media-contain,
html[data-resolved-theme="dark"] .process-list figure,
html[data-resolved-theme="dark"] .case-card img,
html[data-resolved-theme="dark"] .page-hero-media {
  background: #17191d;
}

html[data-resolved-theme="dark"] .service-media img,
html[data-resolved-theme="dark"] .process-list img,
html[data-resolved-theme="dark"] .case-card img,
html[data-resolved-theme="dark"] .page-hero-media img,
html[data-resolved-theme="dark"] .article-body figure img {
  filter: brightness(0.82) saturate(0.9) contrast(1.04);
}

html[data-resolved-theme="dark"] .accent-card {
  background: rgba(107, 182, 255, 0.12);
}

html[data-resolved-theme="dark"] .audience-tab-list {
  border-bottom-color: rgba(245, 245, 247, 0.1);
  background: rgba(245, 245, 247, 0.035);
}

html[data-resolved-theme="dark"] .audience-tab {
  color: var(--muted);
}

html[data-resolved-theme="dark"] .audience-tab:hover {
  color: var(--text);
  background: rgba(245, 245, 247, 0.075);
}

html[data-resolved-theme="dark"] .audience-tab.is-active,
html[data-resolved-theme="dark"] .button-primary {
  color: #121316;
  background: var(--accent);
}

html[data-resolved-theme="dark"] .audience-summary {
  background: rgba(107, 182, 255, 0.12);
}

html[data-resolved-theme="dark"] .wiring-card {
  background:
    linear-gradient(90deg, rgba(18, 19, 22, 0.92), rgba(18, 19, 22, 0.54)),
    url("assets/generated/wiring-section-realistic-panel.webp") center / cover no-repeat;
}

html[data-resolved-theme="dark"] .article-card {
  background:
    linear-gradient(90deg, rgba(18, 19, 22, 0.94), rgba(18, 19, 22, 0.62)),
    url("assets/preza-images/web/nextgen-15-054-08-764-large.webp") center / cover no-repeat;
}

html[data-resolved-theme="dark"] .wiring-card h2,
html[data-resolved-theme="dark"] .article-card h2,
html[data-resolved-theme="dark"] .article-card h3 {
  color: #f5f5f7;
}

html[data-resolved-theme="dark"] .wiring-card p,
html[data-resolved-theme="dark"] .article-content p,
html[data-resolved-theme="dark"] .article-content li {
  color: rgba(245, 245, 247, 0.78);
}

html[data-resolved-theme="dark"] .expand-card summary {
  border-color: rgba(107, 182, 255, 0.28);
  color: var(--accent);
  background: rgba(245, 245, 247, 0.06);
}

html[data-resolved-theme="dark"] input,
html[data-resolved-theme="dark"] select,
html[data-resolved-theme="dark"] textarea {
  border-color: rgba(245, 245, 247, 0.15);
  background: rgba(245, 245, 247, 0.065);
  color: var(--text);
}

html[data-resolved-theme="dark"] input::placeholder,
html[data-resolved-theme="dark"] textarea::placeholder {
  color: rgba(245, 245, 247, 0.42);
}

html[data-resolved-theme="dark"] input:focus,
html[data-resolved-theme="dark"] select:focus,
html[data-resolved-theme="dark"] textarea:focus {
  border-color: rgba(107, 182, 255, 0.52);
  background: rgba(245, 245, 247, 0.09);
  box-shadow: 0 0 0 4px rgba(107, 182, 255, 0.12);
}

html[data-resolved-theme="dark"] select option {
  color: #121316;
}

html[data-resolved-theme="dark"] .form-status:not(:empty) {
  border-color: rgba(119, 208, 161, 0.22);
  background: rgba(119, 208, 161, 0.1);
}

html[data-resolved-theme="dark"] .form-status.is-error {
  border-color: rgba(255, 155, 141, 0.22);
  background: rgba(255, 155, 141, 0.1);
}

html[data-resolved-theme="dark"] .site-footer {
  border-top-color: rgba(245, 245, 247, 0.12);
}

@keyframes productFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(45, 125, 95, 0.22);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 0 8px rgba(45, 125, 95, 0);
  }
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

@keyframes revealDetails {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 46px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 42px;
    padding-top: 72px;
  }

  .hero-copy {
    width: min(840px, 100%);
    text-align: center;
  }

  .hero-copy h1,
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: min(760px, 100%);
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-visual::before {
    width: 100%;
    min-height: clamp(280px, 52vw, 430px);
  }

  .hero-visual::after {
    display: none;
  }

  .visual-panel {
    grid-column: auto;
    justify-self: center;
    left: auto;
    right: auto;
    width: min(430px, 86%);
    transform: none;
  }

  .wb-info-card {
    grid-column: auto;
    grid-row: auto;
    width: min(520px, 100%);
    margin-top: 0;
  }

  .wb-info-content {
    max-height: none;
  }

  .service-grid,
  .why-section,
  .proof-section,
  .article-card,
  .request-section,
  .page-hero,
  .longread {
    grid-template-columns: 1fr;
  }

  .service-card.tall,
  .service-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .service-card.wide {
    display: flex;
  }

  .service-card.wide .service-media {
    height: 230px;
    margin: -30px -30px 26px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .process-section {
    width: min(var(--max), calc(100% - 36px));
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-intro,
  .request-copy,
  .article-aside {
    position: static;
  }

  .audience-panel {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: auto;
    padding-top: 76px;
  }

  .article-hero .page-hero-media {
    max-width: none;
    justify-self: stretch;
  }

  .planning-grid,
  .comparison-grid,
  .article-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 84px;
  }

  .site-header {
    min-height: 58px;
    padding: 8px 12px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.34s var(--ease);
  }

  .site-nav.is-open {
    max-height: 260px;
  }

  .site-nav a {
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.68);
  }

  html[data-resolved-theme="dark"] .site-nav a {
    background: rgba(245, 245, 247, 0.07);
  }

  .theme-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .theme-switcher button {
    flex: 1 1 0;
  }

  .section {
    width: min(var(--max), calc(100% - 28px));
    padding: 74px 0;
    scroll-margin-top: 84px;
  }

  .hero {
    padding: 56px 14px 24px;
    gap: 20px;
  }

  h1 {
    font-size: 42px;
    line-height: 1;
  }

  h2 {
    font-size: 34px;
    line-height: 1.04;
  }

  h3 {
    font-size: 23px;
  }

  .hero-lead,
  .section-heading p,
  .why-intro p,
  .request-copy p,
  .wiring-card p,
  .service-card p,
  .proof-copy p,
  .article-content p,
  .case-details p {
    font-size: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual::before {
    min-height: 290px;
  }

  .hero-visual::after {
    display: none;
  }

  .visual-panel {
    width: 100%;
    padding: 14px;
  }

  .wb-info-card {
    width: 100%;
  }

  .wb-info-card summary {
    width: 100%;
  }

  .wb-info-content {
    padding: 22px;
  }

  .flow-step {
    grid-template-columns: 1fr;
  }

  .flow-step span {
    grid-row: auto;
  }

  .service-card,
  .request-form,
  .audience-panel,
  .article-card,
  .wiring-card,
  .case-details {
    padding: 22px;
  }

  .service-media,
  .service-card.tall .service-media,
  .service-card.wide .service-media {
    height: 190px;
    margin: -22px -22px 22px;
  }

  .service-card.wide .service-media {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .process-section {
    width: min(var(--max), calc(100% - 28px));
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .benefit-item {
    min-height: 76px;
  }

  .benefit-item p {
    font-size: 22px;
  }

  .audience-tab-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .audience-tab {
    width: 100%;
  }

  .audience-panel h3 {
    font-size: 30px;
  }

  .audience-summary p {
    font-size: 18px;
  }

  .wiring-card {
    min-height: 560px;
    grid-template-columns: 1fr;
    align-content: end;
    background:
      linear-gradient(180deg, rgba(29, 29, 31, 0.9), rgba(29, 29, 31, 0.54)),
      url("assets/generated/wiring-section-realistic-panel.webp") 56% center / cover no-repeat;
  }

  .request-form {
    grid-template-columns: 1fr;
  }

  .field-full,
  .form-submit {
    grid-column: auto;
  }

  .site-footer {
    width: min(var(--max), calc(100% - 28px));
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .inner-page main {
    padding-top: 10px;
  }

  .page-hero {
    width: min(var(--max), calc(100% - 28px));
    padding-top: 52px;
    padding-bottom: 34px;
  }

  .page-hero-copy p:not(.eyebrow) {
    font-size: 18px;
  }

  .page-hero-copy .page-hero-company {
    margin-top: 24px;
    padding-top: 18px;
    font-size: 16px;
  }

  .page-hero-media,
  .article-hero .page-hero-media {
    min-height: 260px;
  }

  .article-hero .page-hero-copy h1 {
    font-size: 42px;
  }

  .longread {
    width: min(var(--max), calc(100% - 28px));
    gap: 28px;
    padding-top: 18px;
  }

  .article-body .lead {
    font-size: 23px;
  }

  .article-body h2 {
    margin-top: 48px;
    font-size: 31px;
  }

  .article-body p,
  .article-body li {
    font-size: 16px;
  }

  .article-note,
  .comparison-card,
  .planning-grid article,
  .article-steps article,
  .article-result,
  .longread-cta,
  .article-body figure {
    padding: 22px;
  }
}

@media (max-width: 430px) {
  .hero-visual {
    min-height: auto;
  }

  .hero-visual::before {
    min-height: 260px;
  }

  .hero-visual::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
