:root {
  color-scheme: light;
  --paper: #f7f7ee;
  --white: #fffefa;
  --ink: #122e27;
  --muted: #486057;
  --accent: #0b5d50;
  --header: #092f29;
  --line: #dce5d9;
  font: 100%/1.55 "DM Sans", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 3px solid #118071; outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible { outline-color: #b1e9b3; }
.shell { width: min(1120px, calc(100% - 88px)); margin-inline: auto; }
.skip {
  position: fixed;
  inset: 8px auto auto 8px;
  z-index: 4;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
}
.skip:focus { transform: none; }

.site-header { background: var(--header); color: #f2f7ef; }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.28rem; letter-spacing: -.04em; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: #cbeba9; position: relative; flex: none; }
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  width: 12px;
  height: 5px;
  border-radius: 6px 6px 6px 1px;
  background: var(--header);
  transform: skewY(-30deg);
}
.brand-mark::before { top: 8px; }
.brand-mark::after { top: 15px; width: 9px; }
.top-nav { display: flex; align-items: center; gap: 30px; font-size: .89rem; }
.top-nav a { display: inline-flex; align-items: center; gap: 6px; color: #d5e6df; padding: 8px 0; }
.top-nav a:hover, .top-nav .is-current { color: #fff; }
.top-nav .is-current { box-shadow: inset 0 -2px #cbeba9; }
.top-nav img { filter: brightness(0) invert(1); opacity: .85; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  margin-top: 37px;
  padding: clamp(36px, 5.1vw, 69px);
  min-height: 422px;
  border-radius: 29px;
  background: radial-gradient(ellipse at 90% 50%, #226c5a, transparent 59%), #0c463a;
  color: #f8fbf5;
}
.hero-copy { position: relative; z-index: 1; max-width: 650px; }
.eyebrow { display: flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .13em; font-size: .74rem; font-weight: 750; }
.eyebrow span { width: 8px; height: 8px; background: #c9ebad; border-radius: 50%; }
.hero .eyebrow { color: #e0f5d2; }
h1 { font-size: clamp(2.2rem, 5.05vw, 4.25rem); line-height: 1.02; font-weight: 750; letter-spacing: -.063em; }
.hero h1 { margin: 17px 0 20px; }
.hero-copy > p:not(.eyebrow) { max-width: 26rem; color: #e2f0e9; font-size: 1.035rem; }
.hero-art {
  position: absolute;
  z-index: 0;
  right: 3.5%;
  top: 50%;
  width: min(47%, 490px);
  height: auto;
  transform: translateY(-50%);
  object-fit: contain;
}
.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 11px 19px;
  border-radius: 11px;
  font-size: .95rem;
  font-weight: 720;
}
.button-light { margin-top: 27px; color: #153f30; background: #d7efb9; }
.button-light:hover { background: #e8f8d7; }
.button-dark { color: #fff; background: #0a604e; }
.button-dark:hover { background: #084b3d; }
.button-dark img { filter: brightness(0) invert(1); }

.services { margin: 43px 0 36px; scroll-margin-top: 22px; }
.section-heading { margin-bottom: 19px; }
h2 { font-size: clamp(1.45rem, 3vw, 2.06rem); line-height: 1.18; letter-spacing: -.042em; }
.section-heading p { margin-top: 5px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; list-style: none; }
.service-grid li { min-width: 0; }
.service {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  min-height: 100px;
  padding: 17px 19px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
}
.service:hover { background: #f3faf2; border-color: #91b6a4; }
.service-icon { display: grid; flex: none; width: 53px; height: 53px; place-items: center; border-radius: 50%; }
.mint { background: #e6f2e6; }
.cream { background: #f4eedb; }
.service-text { display: grid; gap: 3px; min-width: 0; }
.service-text strong { font-size: 1.04rem; line-height: 1.22; letter-spacing: -.02em; }
.service-text span { color: var(--muted); font-size: .86rem; line-height: 1.42; }
.service-arrow { flex: none; margin-left: auto; opacity: .8; }

.site-footer {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 19px 30px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted);
}
.footer-brand { color: var(--ink); font-weight: 730; font-size: .99rem; }
.bottom-nav { display: none; }

.detail { max-width: 770px; margin-top: 34px; margin-bottom: 35px; }
.back, .text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: .92rem; font-weight: 680; }
.back:hover, .text-link:hover { text-decoration: underline; }
.detail-panel { margin-top: 13px; padding: clamp(25px, 5.6vw, 55px); background: var(--white); border: 1px solid var(--line); border-radius: 23px; }
.detail-heading { margin-bottom: 24px; }
.detail-heading h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); margin: 7px 0 9px; }
.detail-heading .service-icon { margin-bottom: 16px; }
.detail-eyebrow { color: var(--accent); }
.detail-heading p:not(.eyebrow) { color: var(--muted); }
.requirements { padding: 17px 20px; border-radius: 12px; background: #edf5e9; }
.requirements h2 { font-size: 1.14rem; }
.requirements ul { padding-left: 19px; margin-top: 7px; }
.handoff { color: var(--muted); margin-top: 15px; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 19px; margin-top: 23px; }
.compact-grid .service { padding: 16px; }

@media (max-width: 830px) {
  .shell { width: calc(100% - 48px); }
  .hero { min-height: 365px; }
  .hero-art { right: 1%; }
}

@media (max-width: 660px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .shell { width: calc(100% - 30px); }
  .header-inner { min-height: 62px; }
  .top-nav { display: none; }
  .hero { margin-top: 17px; padding: 24px 19px; min-height: 312px; border-radius: 20px; }
  .hero h1 { font-size: clamp(2.07rem, 7.1vw, 3rem); margin-block: 13px 12px; }
  .hero .eyebrow { font-size: .66rem; }
  .hero-copy > p:not(.eyebrow) { font-size: .93rem; max-width: 22rem; }
  .hero-art { width: min(42%, 210px); right: -9%; top: 27%; opacity: .36; }
  .button-light { margin-top: 19px; }
  .services { margin-top: 26px; }
  .section-heading { margin-bottom: 13px; }
  .section-heading p { font-size: .9rem; }
  .service-grid { gap: 9px; }
  .service { position: relative; align-items: flex-start; flex-direction: column; min-height: 131px; gap: 8px; padding: 12px; border-radius: 13px; }
  .service-icon { width: 43px; height: 43px; }
  .service-icon img { width: 26px; height: 26px; }
  .service-text strong { font-size: .94rem; }
  .service-text span { font-size: .76rem; }
  .service-arrow { position: absolute; top: 13px; right: 10px; width: 13px; height: 13px; }
  .site-footer { flex-direction: column; gap: 3px; padding-block: 13px 21px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; z-index: 3; inset: auto 0 0; padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); background: #fffefa; border-top: 1px solid var(--line); }
  .bottom-nav a { min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: .73rem; font-weight: 700; text-align: center; border-radius: 7px; }
  .bottom-nav .is-current { color: #075448; background: #e9f3e9; }
  .bottom-nav :focus-visible { outline-offset: -3px; }
  .detail { margin-top: 24px; }
  .detail-panel { border-radius: 17px; }
  .compact-grid { grid-template-columns: 1fr; }
  .compact-grid .service { min-height: 78px; padding-right: 36px; justify-content: center; }
}

@media (max-width: 350px) {
  .hero { padding-inline: 16px; }
  .service { padding-inline: 10px; }
}
