/* Lucas Data Solutions brand tokens (see the brand kit README). */
:root {
  color-scheme: light;

  /* Brand palette */
  --forest: #0e2a24;
  --mint: #5fd3a0;
  --mist: #eaf4ef;
  --deep-green: #1f7a5c;
  --white: #ffffff;

  /* Sage theme: soft green-gray page and bands, mist cards, forest text */
  --page: #dde9e2;
  --band: #cfdfd6;
  --surface: var(--mist);
  --heading: var(--forest);
  /* Deep Green, shaded slightly so small text keeps 4.5:1 contrast on sage */
  --accent: #1a6b51;
  --body: #24433a;
  --muted: #4b6d60;
  --line: #bdd3c7;
  --line-strong: rgba(31, 122, 92, 0.5);
  --mint-soft: rgba(95, 211, 160, 0.18);
  --field: #f5faf7;

  /* Forest surfaces (footer, scorecard results) keep the dark palette */
  --forest-deep: #0a201b;
  --on-forest-body: #c4d8cf;
  --on-forest-muted: #8fb0a3;

  --radius: 12px;
  --radius-sm: 8px;
  --content: 1120px;
  --header-height: 80px;
  --shadow: 0 18px 40px rgba(14, 42, 36, 0.1);

  font-family: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Base */

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  overflow-x: clip;
  background-color: var(--page);
  color: var(--heading);
}

main {
  flex: 1;
}

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

img {
  max-width: 100%;
}

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

h1,
h2,
h3 {
  color: var(--heading);
  font-weight: 600;
  letter-spacing: -0.015em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.header-inner,
.footer-inner,
.container {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.page-section {
  scroll-margin-top: var(--header-height);
}

/* A full-width darker band behind a contained section. */
.band {
  position: relative;
  isolation: isolate;
}

.band::before {
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  margin-left: -50vw;
  border-block: 1px solid var(--line);
  background: var(--band);
  content: "";
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Header */

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(221, 233, 226, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  display: block;
  width: auto;
  height: 44px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--body);
  font-size: 16px;
  font-weight: 500;
}

.primary-nav a {
  padding-block: 14px;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="location"] {
  color: var(--accent);
}

.primary-nav .nav-contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--mint);
  border-radius: var(--radius-sm);
  background: var(--mint);
  color: var(--forest);
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.primary-nav .nav-contact:hover,
.primary-nav .nav-contact[aria-current="location"] {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--mint);
}

.primary-nav .nav-contact:hover {
  transform: translateY(-2px);
}

/* Services dropdown: opens on hover or keyboard focus, no script needed */
.nav-group {
  position: relative;
}

.nav-parent::after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-3px) rotate(45deg);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: -14px;
  display: grid;
  min-width: 270px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.primary-nav .nav-submenu a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  white-space: nowrap;
}

.primary-nav .nav-submenu a:hover,
.primary-nav .nav-submenu a[aria-current="page"] {
  background: var(--mint-soft);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--heading);
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

/* Buttons */

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--mint);
  border-radius: var(--radius-sm);
  background: var(--mint);
  color: var(--forest);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--forest);
  background: var(--forest);
  color: var(--mint);
}

.button-secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--forest);
}

.button-secondary:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--mint);
}

/* Hero */

.home-hero {
  position: relative;
  display: flex;
  min-height: min(720px, calc(100vh - var(--header-height)));
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 50% 38%, rgba(95, 211, 160, 0.22), transparent 70%),
    linear-gradient(rgba(31, 122, 92, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 122, 92, 0.07) 1px, transparent 1px),
    var(--page);
  background-size: auto, 64px 64px, 64px 64px, auto;
  background-position: center, center top, center top, center;
}

.home-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(transparent, var(--page));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: auto;
  padding-block: 96px 24px;
  text-align: center;
  animation: rise-in 650ms ease both;
}

.hero-mark {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 12px 28px rgba(31, 122, 92, 0.22));
}

.hero-content h1 {
  max-width: 780px;
  margin: 0 auto 22px;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.06;
}

.hero-copy {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--body);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.65;
}

/* Partner strip: official Snowflake and dbt Labs logos, unaltered and optically the same size */

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 84px;
}

.partner-strip-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-list a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--heading);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 160ms ease;
}

.partner-list a:hover {
  border-color: var(--line-strong);
}

/* Snowflake's color logo is approved on white, with clear space of at least its x-height */
.partner-list .partner-logo {
  padding: 0 20px;
  border-color: var(--line);
  background: var(--white);
}

.partner-list .partner-logo img {
  display: block;
  width: 114px;
  height: auto;
}

/* The dbt logo is squarer, so it gets a fixed height to match Snowflake's visual weight */
.partner-list .partner-logo .partner-logo-dbt {
  width: auto;
  height: 32px;
}

/* Section intros */

.page-intro {
  max-width: 760px;
  padding-top: 96px;
  padding-bottom: 44px;
}

.page-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.15;
}

.page-intro p {
  margin-bottom: 0;
  color: var(--body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
}

.services-intro {
  max-width: 900px;
  /* Services sits right under the hero, which already has its own space. */
  padding-top: 64px;
}

/* Cards shared by process and blog; service offerings reuse the hover */

.step-item,
.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.step-item:hover,
.blog-card:hover,
.offering:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.step-number {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-bottom: 96px;
  padding: 24px 30px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--mint-soft);
}

.inline-cta p {
  max-width: 680px;
  margin: 0;
  color: var(--body);
  font-size: 17px;
  line-height: 1.6;
}

.inline-cta strong {
  color: var(--accent);
  font-weight: 600;
}

.inline-cta a {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 600;
}

.inline-cta a::after {
  margin-left: 8px;
  content: "\2192";
  transition: margin-left 160ms ease;
}

.inline-cta a:hover::after {
  margin-left: 12px;
}

/* Process */

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

.step-item {
  padding: 28px;
}

.step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.step-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: var(--mint);
  color: var(--forest);
  transition: transform 200ms ease;
}

.step-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.step-item:hover .step-icon {
  transform: translateY(-2px);
}

.step-item p {
  margin-bottom: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
}

/* Blog */

.blog-intro {
  padding-bottom: 36px;
}

/* Posts run oldest to newest, left to right, and scroll sideways once there are more than fit */
.blog-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  margin-bottom: 96px;
  padding: 8px 2px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--line-strong) transparent;
}

.blog-grid > .blog-card {
  scroll-snap-align: start;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
}

.blog-meta {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.25;
}

.blog-card p {
  margin: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
}

.blog-card a {
  align-self: flex-start;
  margin-top: 4px;
  color: var(--accent);
  font-weight: 600;
}

/* The whole card is clickable through the "Read article" link. */
.blog-card a::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
}

.blog-card a::after {
  margin-left: 8px;
  content: "\2192";
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
  gap: 72px;
  align-items: start;
  padding-block: 96px;
}

.contact-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.15;
}

.contact-intro > p {
  color: var(--body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
}

.response-note {
  margin-top: 28px;
  padding-left: 16px;
  border-left: 4px solid var(--mint);
  color: var(--forest);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--heading);
  font-size: 14px;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c6ddd2;
  border-radius: var(--radius-sm);
  background: var(--field);
  color: var(--heading);
  font: inherit;
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(95, 211, 160, 0.3);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
}

.field textarea {
  min-height: 144px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7f9c90;
}

.contact-form .button {
  justify-self: start;
  cursor: pointer;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--accent);
  font-size: 15px;
  line-height: 1.6;
}

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

/* Section intro paragraph styles would otherwise restyle the eyebrow. */
.page-intro .eyebrow,
.contact-about {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-about img {
  flex: none;
  width: 72px;
  height: 72px;
  border: 2px solid var(--mint);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
}

.contact-about p {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.contact-about .contact-about-name {
  margin-bottom: 6px;
  color: var(--forest);
  font-weight: 600;
}

.contact-intro > .eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  line-height: normal;
}

/* Blog article page: light reading surface, secondary-palette text */

.article-page {
  padding-block: 48px 96px;
  background: var(--page);
  color: var(--body);
}

.article-shell {
  max-width: 820px;
}

.article-back-link,
.article-footer a {
  color: var(--deep-green);
  font-size: 15px;
  font-weight: 600;
}

.article-back-link:hover,
.article-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-header {
  padding-block: 36px 28px;
  border-bottom: 1px solid #c6ddd2;
}

.article-header h1 {
  margin-bottom: 22px;
  color: var(--forest);
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  color: #557a6c;
  font-size: 15px;
}

.article-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-weight: 600;
}

.article-author img {
  width: 48px;
  height: 48px;
  border: 2px solid var(--mint);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
}

.article-content {
  margin-top: 36px;
  color: #2a4a40;
  font-size: 18px;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 24px;
}

.article-content .article-lead {
  padding-left: 20px;
  border-left: 4px solid var(--mint);
  color: var(--forest);
  font-size: 22px;
  font-weight: 500;
}

.article-cover { display: block; width: 100%; height: auto; margin-top: 32px; border-radius: var(--radius); }

.article-content a { color: var(--deep-green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.article-content ul { display: grid; gap: 14px; margin: 0 0 24px; padding-left: 22px; }

.article-content li::marker { color: var(--deep-green); }

.article-content li strong { color: var(--forest); }

.article-content .article-reference { margin-top: 36px; padding-top: 18px; border-top: 1px solid #c6ddd2; color: #557a6c; font-size: 14px; }

.article-content h2 {
  margin: 44px 0 16px;
  color: var(--forest);
  font-size: 28px;
  line-height: 1.3;
}

.article-footer {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #c6ddd2;
}

/* Service offerings: four cards, each with who it's for and what it delivers */

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

.offering {
  display: flex;
  flex-direction: column;
  padding: 32px;
  scroll-margin-top: calc(var(--header-height) + 16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.offering-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.offering h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

/* The buyer's pain sits beside the title */
.offering-head > div {
  flex: 1 1 0;
  min-width: 0;
}

.offering-pain {
  flex: 0 0 40%;
  margin: 0;
  color: var(--accent);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
}

.offering-summary {
  margin-bottom: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
}

.offering-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  flex: 1;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.offering h4 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offering ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offering li {
  position: relative;
  padding-left: 18px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.55;
}

.offering li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  content: "";
}

.offering-link {
  align-self: flex-start;
  margin-top: 24px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.offering-link::after {
  margin-left: 8px;
  content: "\2192";
  transition: margin-left 160ms ease;
}

.offering-link:hover::after {
  margin-left: 12px;
}

.services-faq {
  max-width: 860px;
  padding-block: 64px 36px;
}

.services-faq > h3 {
  margin-bottom: 20px;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.2;
}

.faq-list {
  display: grid;
  gap: 10px;
}

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

.faq-item summary {
  position: relative;
  padding: 20px 60px 20px 24px;
  color: var(--heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
  content: "+";
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary:focus-visible {
  border-radius: var(--radius);
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Newsletter signup: advertises the scorecard; the link itself arrives in the welcome email */

.newsletter-section {
  padding-bottom: 96px;
}

.newsletter-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--mint-soft);
}

.newsletter-copy {
  flex: 1 1 520px;
  max-width: 680px;
}

.newsletter-cta h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
}

.newsletter-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--body);
  font-size: 17px;
  line-height: 1.7;
}

.newsletter-copy strong {
  color: var(--heading);
  font-weight: 600;
}

.newsletter-action {
  flex: 0 0 auto;
}

.newsletter-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* Light variant for the blog's reading surface */
.newsletter-cta-light {
  margin-top: 48px;
  padding: 32px;
  border-color: #c6ddd2;
  background: var(--mist);
}

.newsletter-cta-light h2 {
  color: var(--forest);
  font-size: 26px;
}

.newsletter-cta-light .newsletter-copy p:not(.eyebrow) {
  color: #2a4a40;
}

.newsletter-cta-light .newsletter-copy strong {
  color: var(--forest);
}

.newsletter-cta-light .newsletter-note {
  color: #557a6c;
}

/* Scorecard page: interactive version of the newsletter's signup reward */

.scorecard-page {
  padding-bottom: 140px;
}

.scorecard-page .article-header h1 {
  margin-bottom: 14px;
}

.scorecard-intro {
  color: var(--deep-green);
  font-size: 16px;
  line-height: 1.6;
}

.scorecard-howto {
  margin-bottom: 0;
  color: #2a4a40;
  font-size: 17px;
  line-height: 1.6;
}

.scorecard {
  margin-top: 28px;
}

.scorecard-section {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.scorecard-section legend {
  margin-bottom: 12px;
  padding: 0;
  color: var(--forest);
  font-size: 22px;
  font-weight: 600;
}

.scorecard-section legend span {
  color: #557a6c;
  font-size: 16px;
  font-weight: 400;
}

.scorecard-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1px solid #c6ddd2;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: #2a4a40;
  font-size: 17px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.scorecard-item:hover {
  border-color: var(--deep-green);
}

.scorecard-item:has(input:checked) {
  border-color: var(--mint);
  background: #dff3e9;
}

.scorecard-item input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--deep-green);
  cursor: pointer;
}

.scorecard-item code {
  padding: 1px 6px;
  border-radius: 4px;
  background: #e3efe9;
  font-size: 15px;
}

.scorecard-results,
.scorecard-review {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #c6ddd2;
}

.scorecard-results h2,
.scorecard-review h2 {
  color: var(--forest);
  font-size: 26px;
  line-height: 1.3;
}

.scorecard-review > p {
  color: #2a4a40;
  font-size: 17px;
  line-height: 1.7;
}

.scorecard-total {
  color: var(--forest);
  font-size: 22px;
}

.scorecard-bands {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scorecard-bands li {
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1px solid #c6ddd2;
  border-radius: var(--radius-sm);
  color: #557a6c;
  font-size: 16px;
  line-height: 1.6;
}

.scorecard-bands li strong {
  color: inherit;
}

.scorecard-bands li.is-current {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--mist);
}

.scorecard-bands li.is-current strong {
  color: var(--mint);
}

.scorecard-review .contact-form {
  margin-top: 20px;
}

.scorecard-footer p {
  color: #2a4a40;
  font-size: 16px;
  line-height: 1.6;
}

.scorecard-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.scorecard-bio {
  color: #557a6c;
  font-style: italic;
}

.scorecard-bar {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--forest);
  box-shadow: var(--shadow);
  color: var(--mist);
  font-size: 15px;
}

.scorecard-bar strong {
  color: var(--mint);
  font-size: 22px;
}

.scorecard-bar-band {
  color: var(--on-forest-body);
}

/* Footer */

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

.footer-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--on-forest-muted);
  font-size: 13px;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 40px;
}

.footer-inner p {
  margin: 0;
}

.footer-legal {
  display: grid;
  gap: 6px;
  max-width: 640px;
  text-align: right;
}

.trademark-notice {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.8;
}

/* Motion */

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service pages: one page per offering */

.service-page {
  padding-top: 48px;
}

.service-hero {
  max-width: 820px;
  padding-bottom: 24px;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}

.service-title h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.08;
}

.service-quote {
  margin: 24px 0 0;
  color: var(--accent);
  font-size: 21px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
}

.service-lead {
  margin: 18px 0 32px;
  color: var(--body);
  font-size: 18px;
  line-height: 1.75;
}

.service-section {
  padding-block: 56px 0;
}

.service-section h2,
.related-services h2 {
  margin-bottom: 24px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}

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

.value-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--mint);
  border-radius: var(--radius);
  background: var(--surface);
}

.value-card h3,
.scope-item h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

.value-card p,
.scope-item p {
  margin: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.65;
}

.service-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 20px 40px;
}

.signs-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signs-list li {
  position: relative;
  padding: 18px 20px 18px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--heading);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.signs-list li::before {
  position: absolute;
  top: 21px;
  left: 20px;
  width: 14px;
  height: 8px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  content: "";
  transform: rotate(-45deg);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--line);
}

.scope-item {
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.service-faq {
  max-width: 860px;
  padding-bottom: 56px;
}

.service-page .inline-cta {
  margin-bottom: 56px;
}

.related-services {
  padding-bottom: 96px;
}

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

.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.related-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

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

/* Tablet */

@media (max-width: 960px) {
  .value-grid,
  .related-grid,
  .service-split {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

  .offerings {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Mobile */

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .header-inner,
  .footer-inner,
  .container {
    width: min(var(--content), calc(100% - 32px));
  }

  .brand img {
    height: 38px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--page);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav .nav-contact {
    margin-top: 14px;
    border: 1px solid var(--mint);
  }

  .nav-group {
    display: flex;
    flex-direction: column;
  }

  .nav-parent::after {
    display: none;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    padding: 0 0 0 16px;
    border: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-nav .nav-submenu a {
    padding: 12px 4px;
    border-radius: 0;
    white-space: normal;
  }

  .primary-nav .nav-submenu a:hover,
  .primary-nav .nav-submenu a[aria-current="page"] {
    background: none;
  }

  .signs-list,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .service-title .step-icon {
    display: none;
  }

  .hero-content {
    padding-block: 72px 24px;
  }

  .hero-mark {
    width: 60px;
    height: 60px;
  }

  .partner-strip {
    margin-top: 56px;
  }

  .page-intro {
    padding-top: 72px;
    padding-bottom: 32px;
  }

  .services-intro {
    padding-top: 48px;
  }

  .step-item,
  .blog-card {
    padding: 24px;
  }

  .offering {
    padding: 24px;
  }

  .offering-head {
    flex-wrap: wrap;
  }

  .offering-pain {
    flex-basis: 100%;
  }

  .offering-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-faq {
    padding-block: 48px 28px;
  }

  .faq-item summary {
    padding: 18px 52px 18px 20px;
    font-size: 16px;
  }

  .faq-item summary::after {
    right: 20px;
  }

  .faq-item p {
    padding: 0 20px 20px;
  }

  .inline-cta {
    margin-bottom: 72px;
    padding: 22px;
  }

  .newsletter-section {
    padding-bottom: 72px;
  }

  .newsletter-cta {
    padding: 24px;
  }

  .newsletter-action,
  .newsletter-action .button {
    width: 100%;
  }

  .process-grid {
    padding-bottom: 72px;
  }

  .blog-grid {
    grid-auto-columns: 85%;
    margin-bottom: 72px;
  }

  .contact-layout {
    padding-block: 72px;
  }

  .contact-form {
    padding: 22px;
  }

  .article-page {
    padding-block: 32px 72px;
  }

  .article-content {
    font-size: 17px;
  }

  .article-content h2 {
    margin-top: 36px;
    font-size: 24px;
  }

  .article-content .article-lead {
    font-size: 19px;
  }

  .scorecard-item {
    font-size: 16px;
  }

  .scorecard-bar {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: center;
  }

  .footer-inner {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding-block: 24px;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .hero-copy,
  .page-intro p {
    font-size: 17px;
  }

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

  .contact-form {
    grid-template-columns: 1fr;
  }

  .field-full,
  .form-status {
    grid-column: auto;
  }
}
