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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1, h2, h3, h4, p { overflow-wrap: break-word; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 620;
  letter-spacing: -.045em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.65rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1rem; }

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.narrow { width: min(780px, 100%); }
.eyebrow {
  display: flex;
  margin: 0 0 18px;
  align-items: center;
  gap: 12px;
  color: #0b657c;
  font-size: .72rem;
  font-weight: 780;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #d3e1e9;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 11vw, 150px) 0;
  color: #fff;
  background: var(--ink);
}

.page-hero::after {
  position: absolute;
  top: -35%;
  right: -12%;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(157, 216, 199, .22), transparent 63%);
  pointer-events: none;
}

.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1000px; color: #fff; }
.page-hero h1 em { color: var(--aqua); font-style: normal; }
.page-hero .eyebrow { color: var(--aqua); }

.hero-actions,
.actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: .78rem 1.05rem;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  font-size: .85rem;
  font-weight: 760;
  text-decoration: none;
}

.button:hover { color: var(--ink); background: var(--aqua); border-color: var(--aqua); }
.button--light { color: var(--ink); background: #fff; border-color: #fff; }
.button--light:hover { color: #fff; background: transparent; border-color: rgba(255,255,255,.55); }
.button--outline { color: var(--ink); background: transparent; }
.button--outline:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.button--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.45); }
.button--ghost:hover { color: var(--ink); background: var(--aqua); border-color: var(--aqua); }

.trust-row {
  display: flex;
  margin-top: 52px;
  padding-top: 18px;
  flex-wrap: wrap;
  gap: 12px 36px;
  color: #c3d3dd;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trust-row span::before { margin-right: 8px; color: var(--aqua); content: "✓"; }

.section { padding: clamp(68px, 9vw, 120px) 0; }
.section--mist { background: var(--mist); }
.section--white { background: var(--paper-strong); }
.section--ink { color: #fff; background: var(--ink); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .eyebrow { color: var(--aqua); }
.section--ink .intro, .section--ink .card p, .section--ink .card li { color: #c5d3dc; }
.section--ink .step small { color: #b9e4d7; }
.section--ink .step p { color: #dbe5eb; }
.section--ink .prose p, .section--ink .prose li { color: #dbe5eb; }

.section-heading {
  display: grid;
  margin-bottom: clamp(38px, 6vw, 68px);
  grid-template-columns: minmax(220px, .7fr) minmax(300px, 1.3fr);
  gap: 40px;
  align-items: end;
}

.section-heading > p { margin: 0; }

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

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

.card {
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper-strong);
  border: 1px solid var(--line);
}

.card h3 { margin-bottom: 14px; }
.card p, .card li { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 18px 0 0; padding: 0; list-style: none; }
.card li { position: relative; padding: 7px 0 7px 22px; }
.card li::before { position: absolute; left: 0; color: #5d917d; content: "✓"; }
.card__label {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section--ink .card { background: transparent; border-color: rgba(255,255,255,.2); }

.link-card {
  display: flex;
  min-height: 230px;
  padding: 28px;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  text-decoration: none;
}

.link-card:hover { color: var(--ink); border-color: var(--blue); transform: translateY(-2px); }
.link-card small { color: var(--blue); font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.link-card span { color: var(--muted); }
.link-card b { font-size: 1.35rem; letter-spacing: -.035em; line-height: 1.25; }

.split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(42px, 9vw, 120px);
  align-items: start;
}

.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .45rem 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.step {
  min-height: 260px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step small { color: var(--blue); font-weight: 780; letter-spacing: .1em; }
.step h3 { margin: 46px 0 12px; }
.step p { color: var(--muted); font-size: .92rem; }

.case-study {
  display: grid;
  overflow: hidden;
  grid-template-columns: .72fr 1.28fr;
  color: #fff;
  background: var(--ink);
}

.case-study__aside {
  min-height: 420px;
  padding: clamp(30px, 5vw, 66px);
  background: linear-gradient(150deg, rgba(157,216,199,.28), rgba(21,127,155,.12));
}

.case-study__aside p { color: #d2e0e8; }
.case-study__body { padding: clamp(30px, 6vw, 72px); }
.case-study h2, .case-study h3 { color: #fff; }
.case-study .eyebrow { color: var(--aqua); }
.case-facts {
  display: grid;
  margin: 32px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.2);
  border-left: 1px solid rgba(255,255,255,.2);
}
.case-facts div { padding: 18px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.case-facts strong { display: block; color: var(--aqua); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.case-facts span { color: #d2e0e8; }

.price-card { display: flex; flex-direction: column; }
.price-card .price { margin: 14px 0 4px; color: var(--ink); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 650; letter-spacing: -.06em; }
.price-card .recurring { color: var(--muted); font-size: .85rem; }
.price-card ul { margin-bottom: 24px; }
.price-card .button { margin-top: auto; }
.price-note { margin-top: 24px; padding: 20px; color: var(--muted); border-left: 3px solid var(--aqua); background: var(--paper-strong); }

.comparison {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-strong);
}
.comparison th, .comparison td { padding: 15px; text-align: left; border: 1px solid var(--line); vertical-align: top; }
.comparison th { color: var(--ink); background: var(--mist); }
.table-scroll { overflow-x: auto; }

.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--paper-strong); border: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 55px 22px 22px; color: var(--ink); cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 19px; right: 22px; color: var(--blue); content: "+"; font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "–"; }
.faq-answer { padding: 0 22px 22px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.person { overflow: hidden; background: var(--paper-strong); border: 1px solid var(--line); }
.person img { display: block; width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; object-position: center top; filter: saturate(.88) contrast(.98); }
.person__body { padding: 24px; }
.person__role { margin: 8px 0 16px; color: var(--blue); font-size: .8rem; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.person__body p { color: var(--muted); }

.contact-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-options .card { display: flex; flex-direction: column; }
.contact-options .button { margin-top: auto; }
.notice { padding: 20px; border: 1px solid #d8b79a; background: #fff4e8; color: #65492f; }

.breadcrumbs { margin: 0 0 28px; color: #bdccd6; font-size: .78rem; }
.breadcrumbs a { color: #dce7ed; }

.cta {
  padding: clamp(70px, 10vw, 125px) 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(120deg, var(--blue), var(--ink));
}
.cta h2 { max-width: 850px; margin: 0 auto; color: #fff; }
.cta p { max-width: 620px; margin: 22px auto 0; color: #d5e4eb; }
.cta .actions { justify-content: center; }

.site-footer { padding: 72px 0 24px; color: #fff; background: var(--ink-deep); }
.site-footer__inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; }
.site-footer__intro p { max-width: 390px; margin: 22px 0; color: #afc1ce; }
.footer-email { color: var(--aqua); text-decoration: none; }
.site-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.site-footer__links a { display: block; margin: 0 0 10px; color: #d2dee6; font-size: .86rem; text-decoration: none; }
.site-footer__links a:hover { color: var(--aqua); }
.footer-label { color: #7895aa; font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.site-footer__bottom { display: flex; margin-top: 58px; padding-top: 20px; justify-content: space-between; gap: 20px; color: #7895aa; border-top: 1px solid rgba(255,255,255,.14); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 900px) {
  .section-heading, .split, .case-study, .site-footer__inner { grid-template-columns: 1fr; }
  .grid-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .team-grid, .contact-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-study__aside { min-height: 0; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(2.45rem, 13vw, 3.8rem); }
  .shell { width: min(100% - 32px, 1180px); }
  .page-hero { padding: 64px 0 72px; }
  .grid-2, .grid-3, .grid-4, .steps, .team-grid, .contact-options, .case-facts { grid-template-columns: 1fr; }
  .step { min-height: 200px; }
  .step h3 { margin-top: 28px; }
  .site-footer__links { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; }
  .hero-actions .button, .actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
