:root {
  --prime-ink: var(--sif-ink);
  --prime-night: var(--sif-photo-ink);
  --prime-deep: var(--sif-link);
  --prime-paper: var(--sif-paper);
  --prime-stone: var(--sif-surface);
  --prime-lime: var(--sif-link);
  --prime-lavender: var(--sif-surface);
  --prime-muted: var(--sif-muted);
  --prime-section-space: clamp(82px, 8.9vw, 128px);
  --header-height: 86px;
  --gutter: clamp(16px, 3vw, 40px);
  color: var(--prime-ink);
  background: var(--prime-paper);
  scroll-padding-top: calc(var(--header-height) + 17px);
}

.wrap { width: min(1200px, calc(100% - 2 * var(--gutter))); }
.button { min-height: 52px; padding-inline: 26px; font-weight: 510; }

.site-header {
  border-bottom-color: var(--sif-line);
  background: var(--prime-paper);
  box-shadow: 0 2px 10px #23282b0c;
}
.header-inner { width: min(1300px, calc(100% - 2 * var(--gutter))); gap: clamp(12px, 1.45vw, 23px); }
.site-header .brand { width: clamp(242px, 21.7vw, 312px); }
.site-nav { margin-inline-start: auto; gap: clamp(12px, 1.85vw, 28px); }
.site-nav .nav-link,
.site-nav .header-group > summary {
  color: var(--prime-ink);
  font-size: .9rem;
  font-weight: 500;
}
.site-nav .nav-link:hover,
.site-nav .header-group[open] > summary,
.site-nav .nav-link[aria-current="page"] {
  color: var(--sif-link);
  text-decoration: underline;
  text-underline-offset: .27em;
}
.site-nav .header-group > summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.header-group > summary::-webkit-details-marker { display: none; }
.header-group[open] > summary .chevron { transform: translateY(3px) rotate(225deg); }
.header-group > summary .chevron { width: 5px; height: 5px; }
.site-header .nav-contact { min-height: 44px; padding-inline: 21px; }
.site-header .header-actions { gap: 24px; }
.mobile-phone { display: none; }

.audience-group { position: relative; }
.audience-menu {
  position: absolute;
  inset: calc(100% + 5px) auto auto -11px;
  z-index: 2;
  width: max-content;
  min-width: 220px;
  max-width: calc(100vw - 32px);
  padding: 7px;
  border-radius: 13px;
  list-style: none;
  background: var(--prime-paper);
  box-shadow: 0 12px 30px #23282b25;
}
.audience-menu a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 11px;
  border-radius: 7px;
  color: var(--prime-ink);
  font-size: .89rem;
  text-decoration: none;
}
.audience-menu a:hover,
.audience-menu a:focus-visible { background: var(--prime-stone); }
.mega-panel { background: var(--prime-paper); }

.prime-home { background: var(--prime-paper); }
.prime-block { padding-block: var(--prime-section-space); }
.prime-title {
  max-width: 610px;
  color: inherit;
  font-size: clamp(2.21rem, 2.85vw, 2.65rem);
  font-weight: 720;
  line-height: 1.055;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.prime-head { margin-bottom: 47px; }
.prime-head p {
  max-width: 740px;
  margin-top: 25px;
  color: var(--prime-muted);
  font-size: clamp(1.03rem, 1.42vw, 1.23rem);
  line-height: 1.53;
}
.prime-head--split { display: flex; justify-content: space-between; align-items: end; gap: 22px; }
.prime-link {
  display: inline-flex;
  width: fit-content;
  min-height: 33px;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-weight: 520;
  line-height: 1.35;
  text-decoration: none;
}
.prime-link:hover { text-decoration: underline; text-underline-offset: .23em; }
.prime-link .catalog-arrow { transition: transform .18s ease; }
.prime-link:hover .catalog-arrow { transform: translateX(3px); }
.prime-section-action { margin-top: 47px; }

.prime-hero { min-height: max(610px, 82svh); }
.prime-hero::after {
  background: linear-gradient(90deg, rgb(23 28 31 / .89), rgb(23 28 31 / .76) min(100%, max(57%, 660px)), rgb(23 28 31 / .13));
}
.prime-hero .button.button--visit { border-color: var(--sif-paper); }
.prime-hero .hero-inner { padding-block: 80px; }
.prime-hero .hero-copy { width: min(100%, 640px); }
.prime-hero h1 {
  max-width: 640px;
  font-size: clamp(2.65rem, 3.62vw, 3.55rem);
  font-weight: 740;
  line-height: 1.04;
  letter-spacing: -.043em;
  text-wrap: wrap;
}
.prime-hero .hero-lead {
  max-width: 645px;
  gap: 5px;
  margin-top: 24px;
  color: var(--sif-paper);
  font-size: clamp(1.01rem, 1.45vw, 1.22rem);
  line-height: 1.52;
}
.prime-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 31px;
  margin-top: 31px;
}
.prime-hero-actions .prime-link { color: #fff; }
.prime-hero-tertiary { flex-basis: 100%; }

.prime-figures { padding-block: clamp(27px, 4vw, 55px); background: var(--prime-stone); }
.prime-figures-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; padding: 0; list-style: none; }
.prime-figures-grid li { display: grid; align-content: start; justify-items: center; gap: 8px; padding: 3px 12px; text-align: center; }
.prime-figures-grid li + li { border-inline-start: 1px solid var(--sif-line); }
.prime-figures-grid strong { font-size: clamp(1.75rem, 6vw, 4.3rem); font-weight: 680; letter-spacing: -.052em; line-height: 1; white-space: nowrap; }
.prime-figures-grid small { font-size: .55em; letter-spacing: -.025em; }
.prime-figures-grid span { color: var(--prime-muted); font-size: clamp(.84rem, 2.4vw, 1.1rem); line-height: 1.32; }

.prime-solutions .prime-head--split > a { flex: none; }
.prime-solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.prime-solution-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 22px;
  color: var(--prime-ink);
  background: var(--prime-stone);
  text-decoration: none;
  transition: box-shadow .22s ease, translate .22s ease;
}
.prime-solution-card:hover { box-shadow: 0 15px 24px #23282b18; translate: 0 -4px; }
.prime-solution-card img { width: 100%; height: auto; aspect-ratio: 1.47; object-fit: cover; }
.prime-solution-card > div { display: flex; flex-direction: column; min-height: 196px; padding: 22px 24px 24px; }
.prime-solution-card h3 { color: inherit; font-size: clamp(1.22rem, 1.65vw, 1.47rem); font-weight: 720; line-height: 1.13; letter-spacing: -.024em; }
.prime-solution-card p { margin: 8px 0 20px; color: var(--prime-muted); font-size: .91rem; line-height: 1.5; }
.prime-solution-card > div > span { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; font-size: .88rem; font-weight: 520; }
.prime-solution-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 900px;
  margin-top: 46px;
  padding-top: 29px;
  border-top: 1px solid var(--sif-line);
  color: var(--prime-muted);
  font-size: .94rem;
  line-height: 1.55;
}
.prime-solution-note svg { flex: none; color: var(--prime-ink); }
.prime-solution-note strong { color: var(--prime-ink); }
.prime-solution-note .prime-link { display: inline-flex; min-height: 26px; color: var(--prime-ink); }

.prime-regulation,
.prime-operator { background: var(--prime-lavender); }
.prime-regulation .prime-head p,
.prime-operator p { color: var(--sif-muted); }
.prime-targets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; list-style: none; }
.prime-targets li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 191px;
  padding: 24px;
  border-radius: 22px;
  color: var(--prime-ink);
  background: #fff9;
}
.prime-targets li:first-child { color: var(--sif-ink); background: var(--sif-paper); }
.prime-targets strong { font-size: clamp(2.5rem, 5.2vw, 4.65rem); font-weight: 670; line-height: 1; letter-spacing: -.066em; }
.prime-targets li:first-child strong { color: var(--prime-lime); }
.prime-targets span { font-size: 1.02rem; font-weight: 580; }
.prime-targets p { font-size: .93rem; line-height: 1.4; }

.prime-process {
  color: var(--sif-ink);
  background: var(--sif-surface);
}
.prime-steps {
  --trajectory: 0%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 33px 0 0;
  list-style: none;
}
.prime-steps::before {
  position: absolute;
  inset: 0 calc(25% - 24px) auto 33px;
  height: 2px;
  background: linear-gradient(to right, var(--sif-control) var(--trajectory), var(--sif-line) var(--trajectory));
  content: "";
}
.prime-steps li {
  position: relative;
  min-height: 234px;
  padding: 24px;
  border: 1px solid var(--sif-line);
  border-radius: 22px;
  background: var(--sif-paper);
}
.prime-steps li::before {
  position: absolute;
  top: -40px;
  left: 25px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--sif-control);
  border-radius: 50%;
  background: var(--sif-paper);
  content: "";
}
.prime-steps li.is-reached::before {
  border-color: var(--sif-control);
  background: var(--sif-control);
}
.prime-step-number { display: block; margin-bottom: 18px; color: var(--sif-muted); font-size: clamp(2.45rem, 3.75vw, 3.85rem); font-weight: 300; line-height: 1; letter-spacing: -.045em; }
.prime-steps h3 { margin-bottom: 8px; font-size: 1.36rem; font-weight: 680; line-height: 1.16; }
.prime-steps p { color: var(--sif-muted); font-size: .94rem; line-height: 1.51; }
.visit-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; }
.visit-steps::before, .visit-steps li::before { content: none; }
.visit-steps li { min-height: 0; }
.visit-prep ul { display: grid; gap: 10px; max-width: 68ch; padding-inline-start: 1.2em; }
.visit-prep > p { margin-top: 22px; }

.prime-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: min(724px, 58vw); background: var(--prime-stone); }
.prime-split-copy {
  align-self: center;
  padding-block: var(--prime-section-space);
  padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2)) clamp(25px, 5.4vw, 78px);
}
.prime-split-copy .prime-title { text-wrap: wrap; }
.prime-split-photo { position: relative; min-height: 390px; }
.prime-split-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prime-split-points { display: grid; gap: 17px; margin: 29px 0 21px; padding: 0; color: var(--prime-muted); line-height: 1.52; list-style: none; }
.prime-split-points li { position: relative; padding-left: 25px; }
.prime-split-points li::before {
  position: absolute;
  top: .42em;
  left: 5px;
  width: 7px;
  height: 11px;
  transform: rotate(43deg);
  border: solid var(--sif-link);
  border-width: 0 2px 2px 0;
  content: "";
}
.prime-split-points strong { display: block; color: var(--prime-ink); font-weight: 690; }

.prime-operator-grid { display: grid; grid-template-columns: minmax(160px, 200px) minmax(0, 1fr); gap: 20px; align-items: center; padding-block: 61px; }
.prime-operator-mark { font-size: clamp(2rem, 3vw, 2.9rem); font-weight: 380; letter-spacing: -.044em; }
.prime-operator h2 { font-size: clamp(1.45rem, 2.16vw, 1.97rem); font-weight: 710; line-height: 1.15; letter-spacing: -.026em; }
.prime-operator p { max-width: 720px; margin-top: 12px; font-size: .99rem; line-height: 1.56; }
.prime-operator .button { margin-top: 22px; }

.prime-faq-grid { display: grid; grid-template-columns: minmax(0, .58fr) minmax(0, 1fr); gap: clamp(25px, 6vw, 85px); }
.prime-faq-grid > div:first-child p { max-width: 330px; margin-top: 22px; color: var(--prime-muted); font-size: 1rem; line-height: 1.55; }
.prime-faq p a { text-underline-offset: .2em; }
.prime-faq-list details { border-bottom: 1px solid var(--sif-line); }
.prime-faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
  padding: 13px 5px 13px 0;
  color: var(--prime-ink);
  font-size: 1.14rem;
  font-weight: 530;
  line-height: 1.34;
  list-style: none;
  cursor: pointer;
}
.prime-faq-list summary::-webkit-details-marker { display: none; }
.prime-faq-list summary::after {
  display: block;
  flex: 0 0 36px;
  height: 36px;
  border: 1px solid var(--sif-line);
  border-radius: 50%;
  background: linear-gradient(var(--prime-ink), var(--prime-ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--prime-ink), var(--prime-ink)) center / 1.5px 12px no-repeat, white;
  box-shadow: 0 3px 7px #23282b14;
  content: "";
}
.prime-faq-list details[open] summary::after { background-size: 12px 1.5px, 0 0, auto; }
.prime-faq-list details p { max-width: 640px; margin: 0 30px 23px 0; color: var(--prime-muted); line-height: 1.6; }

.contact-section { --section-space: var(--prime-section-space); }
.contact-section .contact-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(27px, 5vw, 72px); }
.contact-section h2 { font-size: clamp(2.21rem, 2.85vw, 2.65rem); font-weight: 720; line-height: 1.06; letter-spacing: -.038em; }
.contact-copy .eyebrow { color: var(--prime-lime); }
.prime-home .contact-copy .eyebrow { display: none; }
.prime-home .contact-copy h2 { margin-top: 0; }
.contact-section .contact-copy > p:not(.eyebrow) { margin-top: 24px; }
.contact-section .contact-details { gap: 10px; margin-top: 35px; }
.contact-section .contact-details a {
  color: var(--prime-lime);
  font-size: clamp(1.16rem, 2.15vw, 1.78rem);
  font-weight: 690;
  text-decoration: none;
}
.contact-section .contact-details a:hover { text-decoration: underline; }
.contact-form { border-radius: 22px; background: var(--sif-paper); }
.contact-form :is(input, textarea, select) { width: 100%; min-height: 47px; padding: 9px 11px; border: 1px solid var(--sif-control); border-radius: 9px; color: var(--prime-ink); background: #fff; font-family: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form select { cursor: pointer; }
.contact-form-privacy { margin-top: 15px; color: var(--prime-muted); font-size: .83rem; line-height: 1.5; }
.contact-form-status:empty { display: none; }
.contact-form-status:not(:empty) { margin-top: 15px; padding: 12px; border-radius: 8px; background: var(--prime-stone); }
.contact-form-status[data-state="sent"] { color: var(--prime-deep); }
.contact-form-status[data-state="error"] { color: #782918; background: #fff0e8; }

.prime-about .about h1 { font-size: clamp(2.55rem, 4.25vw, 4.7rem); font-weight: 670; line-height: 1.05; letter-spacing: -.049em; }

.site-footer { padding-top: 67px; color: var(--sif-ink); background: var(--sif-surface); }
.site-footer .footer-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .88fr) minmax(0, .96fr) minmax(0, 1.04fr); gap: 28px clamp(20px, 4vw, 58px); }
.site-footer .footer-logo { max-width: 213px; padding: 6px 10px; border-radius: 7px; background: var(--prime-paper); }
.site-footer h2 { margin-bottom: 15px; font-size: .78rem; font-weight: 680; letter-spacing: .085em; text-transform: uppercase; }
.site-footer .footer-brand p,
.site-footer address,
.site-footer .footer-bottom { color: var(--sif-muted); }
.site-footer .footer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-color: var(--sif-line); }
.site-footer .footer-bottom ul { display: flex; gap: 8px 18px; flex-wrap: wrap; padding: 0; list-style: none; }
.site-footer .footer-contact { display: inline-block; margin-top: 13px; font-size: .87rem; text-underline-offset: .23em; }
.site-footer address { font-size: .87rem; overflow-wrap: anywhere; }

@media (1060px < width <= 1220px) {
  .header-inner { gap: 12px; }
  .site-nav { gap: clamp(8px, calc(8vw - 77px), 22px); }
  .site-header .nav-contact { padding-inline: 16px; }
}

@media (max-width: 1060px) {
  :root { --header-height: 76px; }
  .header-inner { gap: 10px; }
  .site-header .brand { width: min(clamp(204px, 58vw, 263px), calc(100% - 121px)); }
  .site-header .nav-contact { display: none; }
  .site-header .header-actions { gap: clamp(10px, 3.6vw, 24px); }
  .site-header .mobile-phone,
  .site-header .menu-toggle { display: grid; width: 47px; height: 47px; place-content: center; border-radius: 50%; }
  .site-header .mobile-phone { color: var(--sif-paper); background: var(--sif-visit); }
  .site-header .mobile-phone:hover { background: var(--sif-visit-hover); }
  .site-header .menu-toggle:hover { background: var(--sif-line); }
  .site-header .menu-toggle { background: var(--prime-stone); }
  .site-nav { margin: 0; padding: 19px var(--gutter) 23px; background: var(--prime-paper); }
  .site-nav .header-group,
  .site-nav .nav-link { border-bottom: 1px solid var(--sif-line); }
  .site-nav .header-group > summary,
  .site-nav .nav-link { min-height: 59px; justify-content: space-between; font-size: 1.17rem; font-weight: 690; }
  .audience-menu { position: static; width: auto; min-width: 0; padding: 0 0 12px; border-radius: 0; background: transparent; box-shadow: none; }
  .audience-menu a { min-height: 43px; padding-inline: 6px; font-size: .97rem; }
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-brand { grid-column: auto; }
}

@media (max-width: 650px) {
  :root { --gutter: 16px; --prime-section-space: 70px; }
  .prime-title { font-size: clamp(1.88rem, 8.1vw, 2.31rem); }
  .prime-head { margin-bottom: 29px; }
  .prime-head p { margin-top: 15px; }
  .prime-head--split { flex-direction: column; align-items: flex-start; gap: 12px; }
  .prime-section-action { margin-top: 29px; }
  .prime-hero { min-height: clamp(435px, calc(100svh - var(--header-height) - 32px), 620px); }
  .prime-hero .hero-inner { align-items: end; padding-block: 80px 32px; }
  .prime-hero h1 { max-width: 19ch; font-size: clamp(1.92rem, 8.3vw, 2.65rem); }
  .prime-hero .hero-lead { gap: 6px; margin-top: 16px; font-size: 1.01rem; line-height: 1.49; }
  .prime-hero-actions { display: grid; gap: 9px; margin-top: 24px; }
  .prime-hero-actions .button { width: 100%; }
  .prime-solution-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .prime-solution-card { border-radius: 18px; }
  .prime-solution-card img { aspect-ratio: 1.73; }
  .prime-solution-card > div { min-height: 0; padding: 19px; }
  .prime-solution-note { margin-top: 28px; padding-top: 20px; }
  .prime-targets { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .prime-targets li { min-height: 0; padding: 18px; border-radius: 16px; }
  .prime-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 0 0 26px; }
  .prime-steps::before { inset: 23px auto 24px 6px; width: 2px; height: auto; background: linear-gradient(to bottom, var(--sif-control) var(--trajectory), var(--sif-line) var(--trajectory)); }
  .prime-steps li { min-height: 0; padding: 19px; border-radius: 17px; }
  .prime-steps li::before { top: 16px; left: -27px; }
  .visit-steps { padding: 0; }
  .prime-step-number { margin-bottom: 9px; }
  .prime-split { grid-template-columns: minmax(0, 1fr); }
  .prime-split-copy { padding: 56px var(--gutter); }
  .prime-split-photo { min-height: 275px; }
  .prime-operator-grid { grid-template-columns: minmax(0, 1fr); gap: 7px; padding-block: 40px; }
  .prime-operator-mark { font-size: 1.38rem; }
  .prime-operator .button { margin-top: 17px; }
  .prime-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .prime-faq-grid br { display: none; }
  .prime-faq-grid > div:first-child p { margin-top: 11px; }
  .prime-faq-list summary { min-height: 66px; gap: 11px; font-size: 1rem; }
  .prime-faq-list summary::after { flex-basis: 32px; height: 32px; }
  .contact-section .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .contact-section .contact-details { margin-top: 19px; }
  .contact-form { border-radius: 18px; }
  .site-footer .footer-grid { gap: 27px 16px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-bottom { flex-direction: column; }
  .prime-about .testimonials-grid .review { grid-column: 1 / -1; }
}

@media (max-width: 350px) {
  .site-header .brand { width: min(192px, calc(100% - 106px)); }
  .site-header .header-actions { gap: 9px; }
  .site-header .menu-toggle,
  .site-header .mobile-phone { width: 43px; height: 43px; }
  .prime-hero .hero-inner { padding-top: 65px; }
}
