:root {
  color-scheme: dark;
  --brand-navy: #0B132B;
  --brand-slate: #64748B;
  --brand-emerald: #059669;
  --page: #0B132B;
  --surface: #111B35;
  --surface-raised: #172341;
  --ink: #F8FAFC;
  --muted: #C8D2E0;
  --border: rgba(248, 250, 252, .15);
  --font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 70px rgba(4, 10, 25, .32);
}

:root[data-palette="light"] {
  color-scheme: light;
  --page: #F8FAFC;
  --surface: #FFFFFF;
  --surface-raised: #EEF2F6;
  --ink: #0B132B;
  --muted: #64748B;
  --border: rgba(100, 116, 139, .24);
  --shadow: 0 24px 70px rgba(11, 19, 43, .12);
}

:root[data-type="serif"] {
  --font-family: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible + span {
  outline: 3px solid var(--brand-emerald);
  outline-offset: 4px;
}

button,
input,
textarea {
  font: inherit;
}

.preview-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 40;
  top: -80px;
  left: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--brand-navy);
  background: #F8FAFC;
  font-weight: 750;
}

.skip-link:focus {
  top: 12px;
}

.preview-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 34px;
  padding: 6px 14px;
  color: var(--ink);
  background: var(--surface-raised);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .09em;
  text-align: center;
  text-transform: uppercase;
}

.preview-notice-dot,
.eyebrow span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--brand-emerald);
}

.preview-header {
  border-bottom: 1px solid var(--border);
  background: var(--page);
}

.preview-header-inner,
.preview-nav,
.preview-brand,
.preview-footer-inner {
  display: flex;
  align-items: center;
}

.preview-header-inner {
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

.preview-brand {
  gap: 10px;
  min-width: max-content;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.preview-brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.preview-brand > span > span {
  padding-bottom: 2px;
  border-bottom: 2px solid var(--brand-emerald);
}

.preview-nav {
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.preview-nav a:not(.preview-nav-cta):hover,
.preview-nav a:not(.preview-nav-cta):focus-visible {
  color: var(--ink);
}

.preview-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 15px;
  border-radius: 99px;
  color: var(--brand-navy);
  background: var(--brand-emerald);
  font-weight: 800;
}

.preview-nav-cta:hover {
  box-shadow: 0 0 0 4px rgba(5, 150, 105, .2);
}

.hero {
  padding: 24px 0 100px;
  background: var(--page);
}

.design-controls {
  display: grid;
  grid-template-columns: minmax(180px, .74fr) minmax(0, 2fr);
  align-items: center;
  gap: 22px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.controls-heading {
  display: grid;
  gap: 3px;
}

.controls-heading strong {
  font-size: 13px;
  letter-spacing: -.02em;
}

.controls-heading > span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.control-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.control-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.control-group legend {
  margin: 0 0 5px;
  padding: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.control-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.control-options label {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.control-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.control-options label > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.control-options input:checked + span {
  color: var(--brand-navy);
  background: var(--brand-emerald);
}

.control-options input:focus-visible + span {
  outline-offset: 1px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  align-items: center;
  gap: clamp(38px, 7vw, 88px);
  padding-top: clamp(52px, 7vw, 90px);
}

.hero-copy {
  max-width: 700px;
}

.hero-audience {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 18px;
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--brand-emerald);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -.055em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6.2vw, 78px);
  font-weight: 760;
}

h1 em {
  color: inherit;
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--brand-emerald);
  text-decoration-thickness: 4px;
  text-underline-offset: 7px;
}

.hero-lead {
  max-width: 545px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button span {
  font-size: 17px;
  line-height: 1;
}

.button-primary {
  color: var(--brand-navy);
  background: var(--brand-emerald);
  box-shadow: 0 11px 23px rgba(5, 150, 105, .2);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(5, 150, 105, .28);
}

.button-secondary {
  border-color: var(--border);
  color: var(--ink);
  background: var(--surface);
}

.button-secondary:hover {
  transform: translateY(-2px);
  background: var(--surface-raised);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  color: var(--brand-navy);
  background: var(--brand-emerald);
  font-size: 9px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 450px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: 25% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 19, 43, .76) 100%);
  content: "";
  pointer-events: none;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  gap: 6px;
  padding: 17px 19px;
  border: 1px solid rgba(248, 250, 252, .2);
  border-left: 3px solid var(--brand-emerald);
  border-radius: 12px;
  color: #F8FAFC;
  background: rgba(11, 19, 43, .88);
  backdrop-filter: blur(10px);
}

.hero-visual figcaption > span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.hero-visual figcaption strong {
  font-size: 13px;
  line-height: 1.35;
}

:root[data-hero-layout="editorial"] .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

:root[data-hero-layout="editorial"] .hero-copy {
  max-width: 900px;
}

:root[data-hero-layout="editorial"] .hero-visual {
  min-height: 400px;
}

:root[data-hero-layout="editorial"] .hero-visual figcaption {
  right: 22px;
  bottom: 22px;
  left: auto;
  max-width: 390px;
}

.context-section {
  padding: 92px 0;
  color: var(--ink);
  background: var(--surface);
}

.solution-section {
  background: var(--page);
}

.solution-section .context-grid {
  align-items: start;
}

.context-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: end;
  gap: 70px;
}

.context-section h2,
.section-heading h2,
.method-intro h2,
.next-step-panel h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 760;
}

h2 span {
  color: var(--brand-emerald);
  text-decoration: underline;
  text-decoration-color: var(--brand-emerald);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.section-copy {
  max-width: 500px;
  color: var(--muted);
  font-size: 16px;
}

.section-copy p {
  margin-bottom: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.text-link span {
  color: var(--brand-emerald);
  font-size: 17px;
}

.services-section {
  padding: 102px 0 112px;
  color: var(--ink);
  background: var(--page);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 42px;
}

.section-heading > p {
  max-width: 355px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
}

.featured-service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  margin-bottom: 15px;
  padding: clamp(29px, 5vw, 54px);
  border: 1px solid rgba(5, 150, 105, .42);
  border-radius: 22px;
  color: #F8FAFC;
  background: var(--brand-navy);
}

.featured-service-copy {
  max-width: 760px;
}

.featured-service-kicker {
  margin: 0 0 16px;
  color: var(--brand-emerald);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
}

.featured-service h3 {
  margin: 0 0 17px;
  color: #F8FAFC;
  font-size: clamp(30px, 4vw, 46px);
}

.featured-service-copy > p:not(.featured-service-kicker) {
  max-width: 690px;
  margin-bottom: 25px;
  color: #D3DBE6;
  font-size: 15px;
}

.featured-service-graphic {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(100, 116, 139, .65);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 150, 105, .14), transparent 68%);
}

.featured-service-graphic::before,
.featured-service-graphic::after {
  position: absolute;
  inset: 22%;
  border: 1px solid rgba(100, 116, 139, .55);
  border-radius: 50%;
  content: "";
}

.featured-service-graphic::after {
  inset: 41%;
  border-color: var(--brand-emerald);
  background: var(--brand-emerald);
  box-shadow: 0 0 30px rgba(5, 150, 105, .38);
}

.featured-service-graphic span {
  z-index: 1;
  width: 13px;
  height: 13px;
  border: 2px solid var(--brand-navy);
  border-radius: 50%;
  background: var(--brand-slate);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: var(--surface);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 150, 105, .58);
  box-shadow: var(--shadow);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 28px;
  border-radius: 11px;
  color: var(--brand-navy);
  background: var(--brand-emerald);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 900;
}

.service-card h3 {
  max-width: 280px;
  margin-bottom: 11px;
  font-size: 22px;
  font-weight: 750;
}

.service-card p {
  max-width: 330px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.service-card a span {
  color: var(--brand-emerald);
  font-size: 16px;
}

.method-section {
  padding: 100px 0 112px;
  color: var(--ink);
  background: var(--surface);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(50px, 8vw, 110px);
}

.method-intro {
  align-self: start;
}

.method-intro h2 {
  margin-bottom: 23px;
}

.method-intro > p:last-child {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.method-steps {
  border-top: 1px solid var(--border);
}

.method-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 19px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.method-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--brand-slate);
  border-radius: 50%;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
}

.method-step h3 {
  margin: 0 0 7px;
  font-size: 21px;
}

.method-step p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.solution-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 26px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.solution-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.why-section {
  padding: 100px 0 108px;
  color: var(--ink);
  background: var(--page);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.reason-card {
  min-height: 226px;
  padding: 25px 23px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.reason-card::before {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 27px;
  border-radius: 4px;
  background: var(--brand-emerald);
  content: "";
}

.reason-card h3 {
  margin-bottom: 11px;
  font-size: 19px;
}

.reason-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.next-step-section {
  padding: 0 0 104px;
  background: var(--surface);
}

.next-step-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: clamp(30px, 5.5vw, 66px);
  border: 1px solid rgba(5, 150, 105, .4);
  border-radius: 24px;
  color: #F8FAFC;
  background: var(--brand-navy);
}

.next-step-panel > div {
  max-width: 660px;
}

.next-step-panel .section-kicker {
  color: #F8FAFC;
}

.next-step-panel h2 {
  margin-bottom: 19px;
}

.next-step-panel h2 span {
  text-decoration-color: var(--brand-emerald);
}

.next-step-panel > div > p:last-child {
  max-width: 500px;
  margin: 0;
  color: #D3DBE6;
  font-size: 15px;
}

.next-step-panel > .button {
  flex: 0 0 auto;
}

.contact-section {
  padding: 108px 0 116px;
  color: var(--ink);
  background: var(--surface-raised);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: clamp(44px, 7vw, 88px);
}

.contact-copy {
  padding-top: 12px;
}

.contact-copy h2 {
  max-width: 480px;
  margin-bottom: 23px;
  font-size: clamp(39px, 4.6vw, 59px);
}

.contact-copy > p:not(.section-kicker) {
  max-width: 465px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 16px;
}

.contact-line {
  display: grid;
  gap: 7px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.contact-line a:hover,
.contact-line a:focus-visible {
  color: var(--brand-emerald);
}

.form-card {
  padding: clamp(24px, 3.3vw, 36px);
  border: 1px solid rgba(100, 116, 139, .3);
  border-radius: 22px;
  color: var(--brand-navy);
  background: #F8FAFC;
  box-shadow: var(--shadow);
}

.form-card h3 {
  margin: 0 0 8px;
  color: var(--brand-navy);
  font-size: 25px;
}

.form-helper {
  margin: 0 0 23px;
  color: var(--brand-slate);
  font-size: 13px;
}

.form-card form {
  display: grid;
  gap: 17px;
}

.form-row {
  display: grid;
  gap: 13px;
}

.form-row-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  min-width: 0;
}

.field label,
.consent-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-navy);
  font-size: 11px;
  font-weight: 750;
}

.field label span:not(.optional),
.consent-field label span {
  color: var(--brand-emerald);
}

.optional {
  float: right;
  color: var(--brand-slate);
  font-size: 10px;
  font-weight: 500;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 45px;
  padding: 11px 12px;
  border: 1px solid rgba(100, 116, 139, .35);
  border-radius: 10px;
  outline: none;
  color: var(--brand-navy);
  background: #F8FAFC;
  font-size: 13px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #64748B;
  opacity: .8;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid rgba(5, 150, 105, .45);
  outline-offset: 2px;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 1px 0;
}

.consent-field input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 1px 0 0;
  accent-color: var(--brand-emerald);
}

.consent-field label {
  margin: 0;
  color: var(--brand-slate);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.45;
}

.button-submit {
  width: 100%;
  border: 0;
}

.form-footnote {
  margin: -5px 0 0;
  color: var(--brand-slate);
  font-size: 10px;
  text-align: center;
}

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.preview-footer {
  padding: 24px 0;
  color: #F8FAFC;
  background: var(--brand-navy);
}

.preview-footer-inner {
  flex-wrap: wrap;
  gap: 16px 24px;
}

.preview-footer .preview-brand img {
  width: 32px;
  height: 32px;
}

.preview-footer .preview-brand {
  font-size: 14px;
}

.preview-footer-inner > p {
  margin: 0;
  color: #D3DBE6;
  font-size: 11px;
}

.preview-footer-inner > p:last-child {
  margin-left: auto;
  color: #CAD4E1;
}

:root[data-type="serif"] h1,
:root[data-type="serif"] h2,
:root[data-type="serif"] h3 {
  letter-spacing: -.035em;
  font-weight: 700;
}

@media (max-width: 980px) {
  .design-controls {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .controls-heading {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 12px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
    gap: 36px;
  }

  .hero-visual {
    min-height: 395px;
  }

  .featured-service {
    grid-template-columns: minmax(0, 1fr) 150px;
  }

  .featured-service-graphic {
    width: 142px;
    height: 142px;
  }

  .context-grid,
  .method-grid,
  .contact-grid {
    gap: 48px;
  }

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

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

@media (max-width: 720px) {
  .preview-container {
    width: min(100% - 32px, 560px);
  }

  .preview-notice {
    font-size: 9px;
  }

  .preview-header-inner {
    min-height: 68px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .preview-brand {
    gap: 8px;
    font-size: 15px;
  }

  .preview-brand img {
    width: 36px;
    height: 36px;
  }

  .preview-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 10px;
    font-size: 10px;
  }

  .preview-nav-cta {
    min-height: 40px;
    padding: 7px 11px;
    flex: 1 1 100%;
  }

  .design-controls {
    gap: 12px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 15px;
  }

  .controls-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .controls-heading > span {
    font-size: 11px;
    line-height: 1.45;
  }

  .control-groups {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .control-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .control-group legend {
    float: left;
    width: 82px;
    margin: 0;
  }

  .control-options {
    justify-content: flex-end;
  }

  .control-options label > span {
    min-height: 40px;
    padding-inline: 9px;
    font-size: 10px;
  }

  .hero {
    padding: 14px 0 72px;
  }

  .hero-grid,
  :root[data-hero-layout="editorial"] .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
    padding-top: 40px;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    margin-bottom: 20px;
    font-size: clamp(40px, 11vw, 60px);
  }

  .hero-lead {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-note {
    align-items: flex-start;
    margin-top: 24px;
  }

  .hero-note span {
    margin-top: -2px;
  }

  .hero-visual,
  :root[data-hero-layout="editorial"] .hero-visual {
    min-height: 310px;
    border-radius: 20px;
  }

  :root[data-hero-layout="editorial"] .hero-visual {
    order: -1;
  }

  .hero-visual figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 13px 14px;
  }

  :root[data-hero-layout="editorial"] .hero-visual figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }

  .context-section,
  .services-section,
  .method-section,
  .why-section,
  .contact-section {
    padding: 76px 0;
  }

  .context-grid,
  .section-heading,
  .method-grid,
  .contact-grid {
    display: block;
  }

  .section-copy,
  .section-heading > p {
    margin-top: 24px;
  }

  .context-section h2,
  .section-heading h2,
  .method-intro h2,
  .next-step-panel h2 {
    font-size: clamp(35px, 9vw, 49px);
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .featured-service {
    display: block;
    padding: 28px 23px;
  }

  .featured-service-graphic {
    display: none;
  }

  .featured-service .button {
    width: 100%;
  }

  .service-card {
    grid-column: auto;
    min-height: 250px;
  }

  .reason-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .reason-card {
    min-height: 0;
  }

  .service-number {
    margin-bottom: 22px;
  }

  .method-intro {
    margin-bottom: 35px;
  }

  .method-step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    padding: 19px 0;
  }

  .method-step > span {
    width: 33px;
    height: 33px;
  }

  .next-step-section {
    padding-bottom: 72px;
  }

  .contact-copy {
    margin-bottom: 35px;
  }

  .contact-copy h2 {
    font-size: clamp(37px, 10vw, 49px);
  }

  .contact-copy .button {
    width: 100%;
  }

  .contact-line {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 23px 19px;
    border-radius: 18px;
  }

  .form-row-two {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .next-step-panel {
    display: block;
    padding: 30px 24px;
    border-radius: 20px;
  }

  .next-step-panel > .button {
    width: 100%;
    margin-top: 24px;
  }

  .preview-footer-inner {
    gap: 13px 16px;
  }

  .preview-footer-inner > p:nth-child(2) {
    width: 100%;
    order: 3;
  }
}

@media (max-width: 390px) {
  .preview-header-inner {
    flex-wrap: wrap;
    padding: 11px 0;
  }

  .preview-nav { padding-bottom: 2px; }

  .control-group legend {
    width: 72px;
  }

  .control-options {
    gap: 4px;
  }

  .control-options label > span {
    min-height: 40px;
    padding-inline: 7px;
    font-size: 10px;
  }

  .hero-visual,
  :root[data-hero-layout="editorial"] .hero-visual {
    min-height: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
