:root {
  --ink: #0b1c25;
  --ink-2: #122d3a;
  --blue: #276b8a;
  --accent: #72d5e8;
  --accent-soft: #c9f0f7;
  --warm: #f3f0ea;
  --paper: #f7f8f7;
  --white: #ffffff;
  --text: #354851;
  --muted: #71818a;
  --line: rgba(11, 28, 37, .12);
  --shadow: 0 22px 60px rgba(11, 28, 37, .12);
  --radius: 22px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.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: 100;
  background: rgba(247,248,247,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-inner {
  max-width: 1400px;
  min-height: 82px;
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand { width: 138px; flex: 0 0 138px; }
.brand img { width: 100%; max-height: 65px; object-fit: contain; }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 8px;
}
.desktop-nav a {
  color: #263b45;
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.desktop-nav a:hover { color: var(--blue); }
.header-quote { margin-left: auto; }
.menu-button, .mobile-menu { display: none; }

.button {
  min-height: 48px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 10px 18px; background: var(--ink); color: #fff; }
.button-accent { background: var(--accent); color: var(--ink); box-shadow: 0 12px 30px rgba(114,213,232,.2); }
.button-accent:hover { background: #99e4f1; }
.button-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.05); }
.button-light { background: #fff; color: var(--ink); }
.button-outline { border-color: var(--ink); color: var(--ink); background: transparent; }

.eyebrow {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--accent); }

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--ink);
}
.hero-background {
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero/window-cleaners.jpeg");
  background-size: cover;
  background-position: center 45%;
  filter: saturate(.82) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,20,27,.96) 0%, rgba(7,20,27,.77) 40%, rgba(7,20,27,.28) 72%, rgba(7,20,27,.22) 100%),
    linear-gradient(0deg, rgba(7,20,27,.4), transparent 55%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  min-height: 680px;
  margin: 0 auto;
  padding: 72px 28px;
  display: flex;
  align-items: center;
}
.hero-copy { width: min(640px, 58vw); color: #fff; }
.hero h1 {
  margin: 0;
  font-size: clamp(62px, 8vw, 102px);
  font-weight: 610;
  line-height: .84;
  letter-spacing: -.07em;
}
.hero-lede {
  max-width: 570px;
  margin: 28px 0 0;
  color: #d1dde2;
  font-size: 18px;
  line-height: 1.62;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.trust-strip {
  max-width: var(--max);
  margin: -38px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-strip div { padding: 25px 29px; border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { display: block; font-size: 14px; }
.trust-strip span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }

.section { padding: 112px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading h2,
.company-copy h2,
.about-copy h2,
.quote-banner h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 560;
  line-height: .98;
  letter-spacing: -.05em;
}
.split-heading {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 70px;
  align-items: end;
  margin-bottom: 46px;
}
.split-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.centered-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}
.centered-heading > p:last-child { color: var(--muted); }

.services-section { background: var(--paper); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 12px 35px rgba(11,28,37,.08);
}
.service-card img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  transition: transform .45s ease;
}
.service-card:hover img { transform: scale(1.035); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,18,24,.96), rgba(7,18,24,.58) 40%, rgba(7,18,24,.03) 72%);
}
.service-card-copy {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 27px;
  color: #fff;
}
.service-card-copy > span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
}
.service-card h3 {
  margin: 0 0 8px;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -.035em;
}
.service-card p { margin: 0; color: #c9d5da; font-size: 13px; line-height: 1.62; }
.section-action { margin-top: 34px; }
.section-action.centered { text-align: center; }
.text-link { color: var(--ink); font-weight: 800; text-decoration: none; }
.text-link span { color: var(--blue); margin-left: 5px; }

.company-band {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  background: var(--ink);
  color: #fff;
}
.company-image { min-height: 560px; }
.company-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
.company-copy {
  padding: 76px max(44px, calc((100vw - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, var(--ink), var(--ink-2));
}
.company-copy p:not(.eyebrow) {
  max-width: 530px;
  margin: 26px 0 31px;
  color: #c3d0d6;
  line-height: 1.78;
}
.company-copy .button { align-self: flex-start; }

.maintenance-preview { background: var(--warm); }
.plan-preview-grid, .plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.plan-card {
  padding: 29px;
  background: #fff;
  border: 1px solid rgba(11,28,37,.1);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(11,28,37,.04);
}
.plan-card .plan-price {
  color: var(--blue);
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -.04em;
}
.plan-card h3 { margin: 16px 0 8px; font-size: 21px; line-height: 1.2; }
.plan-card p { margin: 0; color: var(--muted); font-size: 13px; }

.about-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 78px;
  align-items: center;
  background: #eef2f2;
}
.about-mark {
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 45%, rgba(114,213,232,.22), transparent 34%),
    var(--ink);
}
.about-mark img { width: min(430px, 84%); }
.about-copy p:not(.eyebrow) { color: var(--text); line-height: 1.8; }
.about-points {
  margin-top: 29px;
  display: grid;
  gap: 13px;
}
.about-points div {
  padding-top: 13px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
}
.about-points strong { font-size: 13px; }
.about-points span { color: var(--muted); font-size: 13px; }

.quote-banner {
  padding: 74px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
  background: linear-gradient(120deg, #173845, #0c2029);
  color: #fff;
}
.quote-banner h2 { font-size: clamp(40px, 5vw, 62px); }
.quote-banner p:not(.eyebrow) { margin-bottom: 0; color: #c3d1d7; }

.site-footer { padding: 42px max(24px, calc((100vw - var(--max)) / 2)) 26px; background: #071219; color: #fff; }
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 44px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 72px; max-height: 58px; object-fit: contain; }
.footer-brand div { display: grid; }
.footer-brand strong { font-size: 13px; }
.footer-brand span { color: #82939b; font-size: 11px; }
.footer-contact, .footer-links { display: grid; gap: 5px; }
.footer-contact a, .footer-links a { color: #b7c5cb; font-size: 12px; text-decoration: none; }
.footer-links { text-align: right; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: #647781; font-size: 10px; }

.loading-card {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: #fff;
}

.page-hero {
  padding: 84px max(24px, calc((100vw - var(--max)) / 2)) 58px;
  background: linear-gradient(135deg, #edf3f3, #f8f9f8);
}
.page-hero p { max-width: 670px; color: var(--muted); }
.page-content { padding: 58px max(24px, calc((100vw - var(--max)) / 2)) 96px; }
.hours-card {
  max-width: 780px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(11,28,37,.05);
}
.hours-row {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row strong { font-size: 18px; }
.hours-row span { color: var(--blue); font-weight: 800; }
.closed-note { margin-top: 22px; color: var(--muted); }

.quote-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 60px;
  align-items: start;
}
.quote-info {
  position: sticky;
  top: 112px;
}
.quote-info h2 { margin: 0; font-size: 35px; letter-spacing: -.035em; }
.quote-info p { color: var(--muted); }
.quote-info-list { display: grid; gap: 12px; margin-top: 28px; }
.quote-info-list div { padding-top: 12px; border-top: 1px solid var(--line); }
.quote-info-list strong { display: block; font-size: 13px; }
.quote-info-list span { color: var(--muted); font-size: 12px; }

.form-card {
  padding: 32px;
  display: grid;
  gap: 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(11,28,37,.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
}
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c7d1d5;
  border-radius: 10px;
  background: #fbfcfc;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(39,107,138,.1);
}
textarea { resize: vertical; }
.form-status { min-height: 21px; margin: 0; font-size: 13px; }
.form-status.success { color: #177245; }
.form-status.error { color: #a72d2d; }

@media (max-width: 900px) {
  .header-inner { min-height: 68px; padding: 7px 15px; }
  .brand { width: 108px; flex-basis: 108px; }
  .brand img { max-height: 52px; }
  .desktop-nav, .header-quote { display: none; }
  .menu-button {
    width: 44px;
    height: 44px;
    margin-left: auto;
    display: block;
    border: 0;
    background: transparent;
  }
  .menu-button span:not(.sr-only) {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
  }
  .mobile-menu {
    position: fixed;
    z-index: 95;
    top: 68px;
    left: 10px;
    right: 10px;
    padding: 12px;
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 17px 17px;
    box-shadow: var(--shadow);
  }
  .mobile-menu.open { display: grid; }
  .mobile-menu a {
    padding: 13px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
  }
  .mobile-menu-cta { margin-top: 6px; background: var(--ink); color: #fff; text-align: center; }

  .hero { min-height: 660px; }
  .hero-background { background-position: 61% center; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7,20,27,.93), rgba(7,20,27,.68) 68%, rgba(7,20,27,.35)),
      linear-gradient(0deg, rgba(7,20,27,.34), transparent 50%);
  }
  .hero-inner { min-height: 660px; padding: 54px 20px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(54px, 14vw, 78px); }
  .hero-lede { max-width: 420px; font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; max-width: 430px; }

  .trust-strip {
    margin: 0;
    grid-template-columns: 1fr;
    border-radius: 0;
    box-shadow: none;
  }
  .trust-strip div { padding: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip div:last-child { border-bottom: 0; }

  .section { padding: 76px 18px; }
  .split-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 30px; }
  .section-heading h2, .company-copy h2, .about-copy h2, .quote-banner h2, .page-hero h1 {
    font-size: 43px;
  }
  .service-grid { grid-template-columns: 1fr; gap: 13px; }
  .service-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 132px 1fr;
    background: #fff;
    border: 1px solid var(--line);
  }
  .service-card img { width: 132px; height: 170px; min-height: 170px; }
  .service-card-overlay { display: none; }
  .service-card-copy {
    position: static;
    padding: 20px 18px;
    color: var(--ink);
  }
  .service-card-copy > span { color: var(--blue); }
  .service-card h3 { font-size: 22px; }
  .service-card p { color: var(--muted); font-size: 12.5px; }
  .service-card:hover img { transform: none; }

  .company-band { grid-template-columns: 1fr; }
  .company-image { min-height: 290px; max-height: 360px; }
  .company-copy { padding: 46px 20px 52px; }

  .plan-preview-grid, .plan-grid { grid-template-columns: 1fr; }

  .about-section { grid-template-columns: 1fr; gap: 31px; }
  .about-mark { min-height: 290px; }
  .about-points div { grid-template-columns: 1fr; gap: 2px; }

  .quote-banner { grid-template-columns: 1fr; gap: 27px; padding: 58px 20px; }
  .quote-banner .button { justify-self: start; }

  .footer-main { grid-template-columns: 1fr; gap: 25px; }
  .footer-links { text-align: left; }

  .page-hero { padding: 58px 18px 38px; }
  .page-content { padding: 42px 18px 76px; }
  .quote-layout { grid-template-columns: 1fr; gap: 28px; }
  .quote-info { position: static; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .hero { min-height: 610px; }
  .hero-inner { min-height: 610px; }
  .hero h1 { font-size: 52px; }
  .hero-actions { grid-template-columns: 1fr; }

  .service-card { grid-template-columns: 1fr; }
  .service-card img { width: 100%; height: 190px; min-height: 190px; }

  .form-card { padding: 24px 19px; }
}

/* Quote-page/mobile polish */
.site-footer {
  background: #dfe9ec;
  color: var(--ink);
  border-top: 1px solid rgba(11, 28, 37, .09);
}
.footer-brand strong {
  color: var(--ink);
}
.footer-brand span {
  color: #61747e;
}
.footer-contact a,
.footer-links a {
  color: #3f5965;
}
.footer-bottom {
  border-top-color: rgba(11, 28, 37, .10);
  color: #778890;
}

@media (max-width: 900px) {
  .site-header .header-inner {
    min-height: 62px;
    padding: 5px 16px;
  }

  .site-header .brand {
    width: 118px;
    flex-basis: 118px;
  }

  .site-header .brand img {
    max-height: 48px;
    object-fit: contain;
    object-position: left center;
  }

  .mobile-menu {
    top: 62px;
  }

  /* Quote page should read as one continuous section on phones. */
  .page-hero {
    padding: 50px 18px 20px;
  }

  .quote-layout.page-content {
    padding-top: 16px;
  }

  .quote-layout {
    gap: 24px;
  }

  .quote-info h2 {
    font-size: 34px;
    line-height: 1.05;
  }

  .quote-info > p {
    margin-top: 14px;
  }

  .site-footer {
    padding: 34px 20px 24px;
  }

  .footer-main {
    gap: 22px;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand img {
    width: 86px;
    max-height: 62px;
  }

  .footer-contact,
  .footer-links {
    gap: 9px;
  }

  .footer-contact a,
  .footer-links a {
    font-size: 13px;
  }

  .footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
  }
}

@media (max-width: 430px) {
  .site-header .header-inner {
    min-height: 58px;
  }

  .site-header .brand {
    width: 110px;
    flex-basis: 110px;
  }

  .site-header .brand img {
    max-height: 44px;
  }

  .mobile-menu {
    top: 58px;
  }

  .page-hero {
    padding-top: 44px;
    padding-bottom: 16px;
  }

  .quote-layout.page-content {
    padding-top: 10px;
  }

  .quote-layout {
    gap: 20px;
  }
}


/* CleanFreaks purple brand bands */
:root {
  --cf-purple: #4d3a7d;
  --cf-purple-mid: #39275f;
  --cf-purple-deep: #24183f;
  --cf-purple-dark: #171029;
}

.hero {
  background: var(--cf-purple-dark);
}

.hero-overlay {
  background:
    linear-gradient(90deg,
      rgba(23,16,41,.97) 0%,
      rgba(39,27,66,.84) 40%,
      rgba(59,43,91,.40) 72%,
      rgba(35,24,60,.28) 100%
    ),
    linear-gradient(0deg, rgba(23,16,41,.46), transparent 55%);
}

.company-band {
  background: var(--cf-purple-dark);
}

.company-copy {
  background:
    linear-gradient(145deg, #4a3676 0%, #302052 52%, #1d1435 100%);
}

.about-mark {
  background:
    radial-gradient(circle at 50% 45%, rgba(114,213,232,.22), transparent 34%),
    linear-gradient(145deg, #493673, #201634);
}

.quote-banner {
  background:
    linear-gradient(120deg, #523e82 0%, #3a285f 48%, #21163b 100%);
}

@media (max-width: 900px) {
  .hero-overlay {
    background:
      linear-gradient(90deg,
        rgba(23,16,41,.95),
        rgba(45,32,73,.73) 68%,
        rgba(59,43,91,.42)
      ),
      linear-gradient(0deg, rgba(23,16,41,.38), transparent 50%);
  }
}


/* Brand divider between Maintenance Plans and About */
.about-section {
  position: relative;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background:
    linear-gradient(
      90deg,
      #24183f 0%,
      #4d3a7d 34%,
      #72d5e8 50%,
      #4d3a7d 66%,
      #24183f 100%
    );
}

@media (max-width: 900px) {
  .about-section::before {
    height: 9px;
  }
}


/* Quote page brand hero */
.quote-page .page-hero {
  background: linear-gradient(135deg, #4d3a7d 0%, #39275f 55%, #24183f 100%);
  color: #ffffff;
}

.quote-page .page-hero .eyebrow {
  color: #72d5e8;
}

.quote-page .page-hero p:not(.eyebrow) {
  color: #ddd7eb;
}

@media (max-width: 900px) {
  .quote-page .page-hero {
    background: linear-gradient(145deg, #4d3a7d 0%, #34235a 100%);
  }
}


/* Legal pages and quote acknowledgment */
.legal-hero {
  background: linear-gradient(135deg, #4d3a7d 0%, #39275f 55%, #24183f 100%);
  color: #fff;
}

.legal-hero .eyebrow {
  color: #72d5e8;
}

.legal-hero p:not(.eyebrow) {
  color: #ddd7eb;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  margin: 34px 0 9px;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -.025em;
}

.legal-content p {
  color: var(--text);
  line-height: 1.8;
}

.legal-content a {
  color: #5b478e;
  font-weight: 750;
}

.legal-updated {
  margin-top: 0;
  color: var(--muted) !important;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.quote-consent {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.quote-consent a {
  color: #5b478e;
  font-weight: 750;
}

@media (max-width: 900px) {
  .legal-content h2 {
    margin-top: 29px;
    font-size: 20px;
  }
}


.quote-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}


/* SEO service landing pages */
.service-card {
  color: inherit;
  text-decoration: none;
}

.company-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.company-text-link {
  color: #e7e1f2;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.company-text-link:hover {
  text-decoration: underline;
}

.service-seo-hero {
  background: linear-gradient(135deg, #edf3f3, #f8f9f8);
}

.service-detail-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 58px;
  align-items: start;
}

.service-detail-image {
  position: sticky;
  top: 112px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-detail-image img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.service-detail-copy {
  display: grid;
  gap: 40px;
}

.service-detail-section {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.service-detail-section:last-child {
  border-bottom: 0;
}

.service-detail-section h2 {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -.04em;
}

.service-detail-section p,
.service-detail-section li {
  color: var(--text);
  line-height: 1.8;
}

.service-detail-section ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

@media (max-width: 900px) {
  .service-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail-image {
    position: static;
  }

  .service-detail-image img {
    min-height: 280px;
    max-height: 360px;
  }

  .company-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* FAQ */
.faq-page {
  max-width: 900px;
  margin: 0 auto;
}

.faq-page details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq-page details:first-child {
  border-top: 1px solid var(--line);
}

.faq-page summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

.faq-page summary::-webkit-details-marker {
  display: none;
}

.faq-page summary::after {
  content: "+";
  float: right;
  color: #5b478e;
  font-size: 22px;
}

.faq-page details[open] summary::after {
  content: "−";
}

.faq-page details p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--text);
  line-height: 1.75;
}


/* Desktop width fix for centered footer-linked content pages */
@media (min-width: 901px) {
  .page-content.legal-content,
  .page-content.faq-page {
    width: min(900px, calc(100% - 48px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
}


/* Careers */
.careers-hero {
  background: linear-gradient(135deg, #edf3f3, #f8f9f8);
}

.careers-page {
  display: grid;
  gap: 36px;
}

.careers-intro {
  max-width: 760px;
}

.careers-intro h2,
.careers-general h2 {
  margin: 5px 0 10px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.045em;
}

.careers-intro > p:last-child,
.careers-general p {
  color: var(--text);
  line-height: 1.75;
}

.career-openings {
  display: grid;
  gap: 18px;
}

.career-card {
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.career-card-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.career-card h2 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -.04em;
}

.career-meta {
  margin: 0;
  color: #5b478e;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.career-pay {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.career-summary {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}

.career-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.career-section h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
}

.career-section p,
.career-section li {
  color: var(--text);
  line-height: 1.75;
}

.career-section ul {
  margin: 0;
  padding-left: 20px;
}

.career-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.career-actions span {
  color: var(--muted);
  font-size: 11px;
}

.career-empty,
.career-loading {
  padding: 42px 24px;
  text-align: center;
  background: #f7f9f9;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--text);
}

.career-empty h2 {
  margin: 0 0 8px;
  color: var(--ink);
}

.careers-general {
  padding: 32px;
  background: #f1ecf8;
  border-radius: var(--radius);
}

@media (max-width: 700px) {
  .career-card {
    padding: 22px 18px;
  }

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

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

  .careers-general {
    padding: 24px 18px;
  }
}


/* Two-column footer links */
.footer-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 8px;
  text-align: left;
}

@media (max-width: 900px) {
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 9px;
  }
}

@media (max-width: 430px) {
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
  }
}


/* Career applications */
.career-application-form[hidden] {
  display: none !important;
}

.career-application-form {
  position: relative;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 32px);
  display: grid;
  gap: 18px;
  border: 1px solid #ded7e9;
  border-radius: 18px;
  background: #f8f6fb;
}

.career-application-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.career-application-heading h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.04em;
}

.career-application-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #ece7f3;
  color: #342655;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.career-application-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.career-application-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.career-application-form input,
.career-application-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid #c9d2d6;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.career-application-form textarea {
  resize: vertical;
  line-height: 1.55;
}

.career-application-form input:focus,
.career-application-form textarea:focus {
  outline: 2px solid rgba(91,71,142,.17);
  border-color: #665391;
}

.career-submit {
  justify-self: start;
}

.career-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 700px) {
  .career-application-grid {
    grid-template-columns: 1fr;
  }

  .career-submit {
    width: 100%;
  }
}


.career-privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.career-privacy-note a {
  color: #5b478e;
  font-weight: 750;
}
