:root {
  color-scheme: light;
  --bg: #f7fbfb;
  --surface: #ffffff;
  --surface-muted: #edf6f5;
  --text: #102326;
  --muted: #5e7174;
  --border: #d7e6e5;
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --accent-soft: #d9f4f1;
  --blue: #2563eb;
  --blue-soft: #e6efff;
  --green: #15803d;
  --green-soft: #e7f6ed;
  --shadow: 0 24px 70px rgba(16, 35, 38, 0.1);
  --radius: 8px;
  --shell: min(1200px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(217, 244, 241, 0.5) 0, rgba(247, 251, 251, 0) 420px),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 251, 251, 0.86);
  border-bottom: 1px solid rgba(215, 230, 229, 0.72);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-soft) 100%);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.12);
}

.brand-name {
  color: #183234;
  font-size: 0.98rem;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  padding: 9px 12px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-dark);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 9px;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  min-height: min(620px, calc(100svh - 96px));
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  align-items: center;
  gap: clamp(30px, 4.5vw, 58px);
  padding: clamp(38px, 5.2vw, 60px) 0 clamp(34px, 4.8vw, 52px);
}

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

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

h1 {
  margin-bottom: 18px;
  color: #0c2023;
  font-size: clamp(2.4rem, 3.7vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 790;
}

.hero-copy p {
  max-width: 600px;
  margin-bottom: 24px;
  color: #405a5d;
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions,
.footer-links,
.resource-list,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-note {
  margin: 10px 0 0;
  color: #5c7174;
  font-size: 0.94rem;
  font-weight: 650;
}

.hero-support {
  margin: 18px 0 0;
  color: #315054;
  font-size: 0.96rem;
  font-weight: 760;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 740;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button:focus-visible,
.contact-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 32px rgba(15, 118, 110, 0.22);
}

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

.button.secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  color: #183234;
}

.button.secondary:hover {
  box-shadow: 0 12px 24px rgba(16, 35, 38, 0.08);
}

.hero-visual {
  margin: 0;
  justify-self: end;
  width: min(100%, 540px);
}

.hero-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 55px rgba(16, 35, 38, 0.12));
}

.about-section,
.automation-section,
.process-section,
.projects-section {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 7vw, 92px);
  padding: clamp(64px, 9vw, 104px) 0;
}

.section-label {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  color: #12282b;
  font-size: 3.1rem;
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 780;
}

h3 {
  margin-bottom: 10px;
  color: #132b2e;
  font-size: 1.08rem;
  line-height: 1.25;
}

.section-body p,
.section-heading p,
.service-card p,
.process-step p,
.project-card p,
.business-list p,
.intake-panel p,
.contact-panel p,
.policy-section p {
  color: var(--muted);
}

.section-body p:last-child,
.contact-panel p,
.policy-section p {
  margin-bottom: 0;
}

.services-section,
.business-section {
  padding: clamp(64px, 9vw, 108px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  font-size: 1.04rem;
}

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

.examples-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 30px;
}

.examples-list span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: #fbffff;
  color: #315054;
  font-size: 0.84rem;
  font-weight: 720;
  padding: 6px 11px;
}

.service-card,
.process-step,
.project-card,
.business-list > div {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(20px, 3vw, 26px);
  box-shadow: 0 16px 40px rgba(16, 35, 38, 0.05);
}

.process-section {
  padding: clamp(62px, 8vw, 96px) 0;
}

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

.process-step {
  background:
    linear-gradient(180deg, rgba(217, 244, 241, 0.45), rgba(255, 255, 255, 0) 60%),
    var(--surface);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 820;
}

.service-card {
  min-height: 184px;
  background:
    linear-gradient(180deg, rgba(230, 239, 255, 0.42), rgba(255, 255, 255, 0) 58%),
    var(--surface);
}

.service-card:nth-child(3n + 2) {
  background:
    linear-gradient(180deg, rgba(217, 244, 241, 0.48), rgba(255, 255, 255, 0) 58%),
    var(--surface);
}

.service-card:nth-child(3n + 3) {
  background:
    linear-gradient(180deg, rgba(231, 246, 237, 0.56), rgba(255, 255, 255, 0) 58%),
    var(--surface);
}

.projects-section {
  padding: clamp(62px, 8vw, 96px) 0;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
}

.project-card {
  min-height: 250px;
}

.featured-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.11), rgba(37, 99, 235, 0.08)),
    var(--surface);
}

.resource-list {
  margin-top: 22px;
}

.resource-list span,
.resource-list a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fbffff;
  color: #4a6366;
  font-size: 0.84rem;
  font-weight: 680;
  padding: 6px 10px;
  text-decoration: none;
}

.resource-list a:hover,
.resource-list a:focus-visible {
  border-color: rgba(15, 118, 110, 0.35);
  color: var(--accent-dark);
  outline: none;
}

.business-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intake-section {
  padding: clamp(64px, 9vw, 108px) 0 24px;
}

.intake-panel {
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.intake-panel .section-heading {
  margin-bottom: 28px;
}

.intake-form {
  display: grid;
  gap: 20px;
}

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

.intake-form label {
  display: grid;
  gap: 7px;
  color: #183234;
  font-size: 0.9rem;
  font-weight: 760;
}

.intake-form label span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbffff;
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  padding: 12px 13px;
}

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

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  border-color: rgba(15, 118, 110, 0.68);
  outline: 3px solid rgba(15, 118, 110, 0.16);
}

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

.form-note {
  max-width: 760px;
  margin: 0;
  font-size: 0.92rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-message {
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 700;
}

.form-message.success {
  border: 1px solid rgba(21, 128, 61, 0.2);
  background: var(--green-soft);
  color: #14532d;
}

.form-message.error {
  border: 1px solid rgba(185, 28, 28, 0.2);
  background: #fef2f2;
  color: #991b1b;
}

.intake-result {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.intake-result textarea {
  min-height: 220px;
  background: #f8fcfc;
  color: #315054;
}

.contact-section {
  padding: clamp(64px, 9vw, 108px) 0 24px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(37, 99, 235, 0.06)),
    var(--surface);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 8px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 1rem;
  font-weight: 780;
  padding: 13px 18px;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(16, 35, 38, 0.09);
}

.policy-section {
  padding: 22px 0 clamp(64px, 8vw, 96px);
}

.content-page {
  padding: clamp(56px, 8vw, 92px) 0 clamp(72px, 10vw, 120px);
}

.content-header {
  max-width: 820px;
  margin-bottom: 36px;
}

.content-header h1 {
  max-width: 780px;
  margin-bottom: 18px;
}

.content-header p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 28px;
  align-items: start;
}

.content-panel,
.side-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(16, 35, 38, 0.05);
}

.content-panel {
  padding: clamp(24px, 4vw, 42px);
}

.side-panel {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.content-panel h2,
.side-panel h2 {
  margin: 34px 0 10px;
  font-size: 1.55rem;
  line-height: 1.18;
}

.content-panel h2:first-child,
.side-panel h2:first-child {
  margin-top: 0;
}

.content-panel p,
.content-panel li,
.side-panel p {
  color: var(--muted);
}

.content-panel ul {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding-left: 20px;
}

.content-panel .last-updated {
  color: #315054;
  font-weight: 760;
}

.page-actions {
  margin-top: 22px;
}

.policy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.policy-grid h2 {
  margin-bottom: 6px;
  font-size: 1.65rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a {
  color: #284246;
  font-size: 0.92rem;
  font-weight: 680;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent-dark);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100vw - 28px, 720px);
  }

  .brand-name {
    white-space: normal;
  }

  .hero,
  .split-section,
  .contact-panel,
  .policy-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  .hero-visual {
    justify-self: start;
    max-width: 680px;
    width: 100%;
  }

  .service-grid,
  .process-grid,
  .project-grid,
  .business-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-link,
  .policy-grid .button {
    justify-self: start;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .nav {
    min-height: 68px;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    inset: calc(100% + 1px) 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 8px;
    box-shadow: 0 18px 40px rgba(16, 35, 38, 0.12);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .policy-grid h2 {
    font-size: 1.55rem;
  }

  .contact-link {
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
