:root {
  --ink: #1d2633;
  --ink-2: #334155;
  --muted: #687487;
  --line: #dfe6e8;
  --paper: #f7f8f4;
  --white: #ffffff;
  --mist: #eef6f2;
  --teal: #087b78;
  --teal-dark: #075f5c;
  --coral: #dd684b;
  --coral-dark: #bd5139;
  --gold: #f2bf5e;
  --blue: #5478b8;
  --shadow: 0 18px 44px rgba(29, 38, 51, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

p,
ul,
ol {
  margin: 0;
}

ul {
  padding-left: 1.1rem;
}

li + li {
  margin-top: 0.45rem;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

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

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.topbar {
  background: var(--ink);
  color: #f7fbf8;
  font-size: 0.84rem;
}

.topbar__inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar__inner strong {
  white-space: nowrap;
}

.topbar__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  color: rgba(247, 251, 248, 0.78);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(223, 230, 232, 0.9);
  background: rgba(247, 248, 244, 0.96);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--coral));
  box-shadow: 0 12px 24px rgba(8, 123, 120, 0.2);
  font-size: 0.86rem;
}

.brand__text {
  display: grid;
  line-height: 1.12;
}

.brand__text span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 680;
}

.nav-panel {
  flex: 1;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  margin: 0;
}

.nav-item > a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 9px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
}

.nav-item:hover > a,
.nav-item:focus-within > a,
.nav-item.is-active > a {
  background: var(--mist);
  color: var(--teal-dark);
}

.nav-list > .nav-item:last-child > a {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 12px 22px rgba(221, 104, 75, 0.22);
}

.nav-list > .nav-item:last-child:hover > a,
.nav-list > .nav-item:last-child:focus-within > a,
.nav-list > .nav-item:last-child.is-active > a {
  background: var(--coral-dark);
  color: var(--white);
}

.chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.mega-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  width: min(1160px, calc(100vw - 32px));
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mega-group__title {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mega-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-group li {
  margin: 0;
}

.mega-link {
  display: inline-flex;
  padding: 6px 0;
  color: var(--ink);
  font-weight: 820;
}

.mega-link:hover,
.mega-children a:hover {
  color: var(--coral-dark);
}

.mega-children {
  display: grid;
  gap: 2px;
  margin: 0 0 10px 0;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.mega-children a {
  display: inline-flex;
  padding: 3px 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--coral);
  font-weight: 850;
  box-shadow: 0 12px 22px rgba(221, 104, 75, 0.25);
}

.nav__cta:hover {
  background: var(--coral-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  padding: 78px 0 58px;
  background: linear-gradient(135deg, #f7f8f4 0%, #eef6f2 58%, #f9efe9 100%);
}

.hero__inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 42px;
  align-items: center;
}

.hero__content {
  min-width: 0;
}

.hero h1 {
  max-width: 900px;
}

.hero__copy {
  max-width: 760px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
}

.hero__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__media img {
  width: 100%;
  aspect-ratio: 5 / 3.25;
  object-fit: contain;
  background: var(--white);
}

.section {
  padding: 78px 0;
}

.section--tight {
  padding: 54px 0;
}

.section--mist {
  background: var(--mist);
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}

.section__inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.section__head {
  max-width: 820px;
  margin-bottom: 30px;
}

.eyebrow {
  margin-bottom: 11px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section--ink .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.25rem, 4.6vw, 4.65rem);
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
}

h3 {
  font-size: 1.1rem;
}

.text-nowrap {
  white-space: nowrap;
}

.lead {
  max-width: 820px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.section--ink .lead,
.section--ink .feature p,
.section--ink .process__item p {
  color: rgba(255, 255, 255, 0.76);
}

.hero__actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button--primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 15px 26px rgba(221, 104, 75, 0.24);
}

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

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

.button--secondary:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.button--light {
  background: var(--white);
  color: var(--ink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.stat {
  min-height: 108px;
  padding: 18px;
  border: 1px solid rgba(223, 230, 232, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
}

.stat strong {
  display: block;
  font-size: clamp(1.18rem, 2vw, 1.72rem);
  line-height: 1.05;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(29, 38, 51, 0.05);
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9efee;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 22px;
}

.card__body p {
  margin-top: 10px;
  color: var(--muted);
}

.card__link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 900;
}

.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.section--ink .feature,
.section--ink .process__item {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.feature p {
  margin-top: 9px;
  color: var(--muted);
}

.feature ul {
  margin-top: 12px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.92fr);
  gap: 42px;
  align-items: start;
}

.split--wide {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.split__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.process {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.process__item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.process__item::before {
  content: counter(step, decimal-leading-zero);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
}

.process__item p {
  margin-top: 6px;
  color: var(--muted);
}

.page-hero {
  padding: 64px 0 60px;
  background: linear-gradient(135deg, #f7f8f4 0%, #eef6f2 100%);
}

.page-hero__inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
  gap: 42px;
  align-items: center;
}

.page-hero__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-hero__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.breadcrumb {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--teal-dark);
  font-weight: 800;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #edf4f1;
  color: var(--ink);
  font-size: 0.9rem;
}

tr:last-child td {
  border-bottom: 0;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

.faq details p {
  padding: 0 20px 20px;
  color: var(--muted);
}

.cta-band {
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ink), #273b45 58%, var(--teal-dark));
  color: var(--white);
  overflow: hidden;
}

.cta-band p {
  max-width: 780px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
}

.form {
  align-self: start;
}

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

.field {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

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

.form__grid .field {
  margin-top: 0;
}

label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 123, 120, 0.12);
}

textarea {
  min-height: 128px;
  resize: vertical;
}

small,
.trust-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.trust-note {
  margin: 14px 0 18px;
}

.form-status {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--teal-dark);
  font-weight: 760;
}

.form-status.is-visible {
  display: block;
}

.notice {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(8, 123, 120, 0.22);
  border-radius: var(--radius);
  background: rgba(8, 123, 120, 0.08);
  color: var(--ink-2);
}

.article-body {
  max-width: 830px;
  color: var(--ink-2);
  font-size: 1.04rem;
}

.article-body h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  color: var(--ink);
}

.article-body p {
  margin-top: 14px;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.quote-panel {
  position: sticky;
  top: 108px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(29, 38, 51, 0.06);
}

.quote-panel ul {
  margin-top: 12px;
  color: var(--muted);
}

.quote-panel .button {
  width: 100%;
  margin-top: 18px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  color: var(--ink-2);
}

.site-footer {
  background: #16202b;
  color: rgba(255, 255, 255, 0.78);
}

.footer__inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: 32px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer p {
  margin-top: 10px;
}

.footer-note {
  font-size: 0.9rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

@media (max-width: 1120px) {
  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav__cta {
    order: 2;
  }

  .nav-panel {
    order: 3;
    flex-basis: 100%;
    display: none;
  }

  .nav-panel.is-open {
    display: block;
  }

  .nav-list {
    display: grid;
    gap: 6px;
    align-items: stretch;
    justify-content: stretch;
    padding: 10px 0 4px;
  }

  .nav-item > a {
    width: 100%;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.72);
  }

  .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .nav-item:hover .mega-menu,
  .nav-item:focus-within .mega-menu {
    transform: none;
  }

  .nav-item.is-expanded .mega-menu {
    display: block;
  }

  .mega-menu__inner {
    grid-template-columns: 1fr;
    margin-top: 6px;
    padding: 16px;
    box-shadow: none;
  }

  .hero__inner,
  .page-hero__inner,
  .split,
  .split--wide,
  .case-layout {
    grid-template-columns: 1fr;
  }

  .quote-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 9px 0;
  }

  .topbar__meta {
    justify-content: flex-start;
    gap: 8px 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand__text span {
    max-width: 190px;
  }

  .hero,
  .page-hero {
    padding: 48px 0;
  }

  h1 {
    font-size: clamp(1.38rem, 6.4vw, 2.25rem);
  }

  h2 {
    font-size: clamp(1.28rem, 5.6vw, 1.8rem);
  }

  .section {
    padding: 56px 0;
  }

  .stats,
  .grid--3,
  .footer__grid,
  .form__grid {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 0;
  }

  .hero__media img,
  .page-hero__media img,
  .split__media img {
    aspect-ratio: 4 / 3;
  }

  .process__item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .process__item::before {
    width: 40px;
    height: 40px;
    font-size: 0.82rem;
  }

  .button,
  .nav__cta {
    width: 100%;
  }

  .nav__cta {
    max-width: 112px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}
