/* ==========================================================================
   All Systems Digital — design tokens & base
   ========================================================================== */

/* Self-hosted (variable) fonts — no request to Google's servers, so no
   visitor IP is sent to a third party just to render the page. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/outfit-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/worksans-variable.woff2') format('woff2');
}

:root {
  /* color — "Deep Emerald": richer, more saturated brand hue; neutrals kept
     genuinely neutral (not mint-tinted) so panels/chips don't read as pale
     mint-on-white, which was landing closer to clinic/dental branding than
     intended. */
  --ink: #0d1a17;
  --teal-deep: #0a4a44;
  --teal: #0f6e63;
  --mint: #1fae8f;
  --mint-ink: #f3fbf8; /* text on mint — light, since mint is now a darker jewel tone */
  --paper: #f7f8f7;
  --surface: #ffffff;
  --mist: #eef0ef;
  --line: #dfe2e1;
  --slate: #4f5d5a;
  --slate-soft: #71807c;

  /* type */
  --font-head: 'Outfit', 'Segoe UI', sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;
  --fs-display: clamp(2.4rem, 4.4vw + 1rem, 4rem);
  --fs-h1: clamp(2rem, 2.6vw + 1rem, 2.75rem);
  --fs-h2: clamp(1.6rem, 1.6vw + 1rem, 2.1rem);
  --fs-h3: 1.25rem;
  --fs-lg: 1.15rem;
  --fs-body: 1rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.8rem;

  /* space */
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 3rem;
  --sp-7: 4.5rem;
  --sp-8: 7rem;

  --radius-sm: 10px;
  --radius-lg: 22px;
  --container: 1200px;
  --shadow-soft: 0 20px 45px -20px rgba(14, 27, 26, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 var(--sp-3);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }

p { margin: 0 0 var(--sp-3); max-width: 62ch; }
p.lede { font-size: var(--fs-lg); color: var(--slate); max-width: 52ch; }

a { color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

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

.skip-link {
  position: absolute; left: 1rem; top: -6rem;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.notice-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: var(--ink);
  color: rgba(246,250,249,0.9);
  padding: var(--sp-3) clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  box-shadow: 0 -12px 30px rgba(0,0,0,0.18);
}
.notice-bar p { margin: 0; max-width: 60ch; color: inherit; }
.notice-bar a { color: var(--mint); font-weight: 600; }
.notice-bar .btn { flex: none; }
.notice-bar-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; flex: none; }
body.has-notice { padding-bottom: 4.5rem; }
@media (max-width: 560px) { body.has-notice { padding-bottom: 7rem; } }

:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1.5px); }
.btn-primary { background: var(--mint); color: var(--mint-ink); }
.btn-primary:hover { background: #26cbae; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #16302d; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); background: var(--mist); }
.btn-on-dark { background: var(--mint); color: var(--mint-ink); }
.btn-on-dark.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(246,250,249,0.3); }
.btn-on-dark.btn-ghost:hover { border-color: var(--mint); background: rgba(31,174,143,0.08); }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--teal-deep);
  margin: 0 0 var(--sp-2);
}

/* ==========================================================================
   header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 250, 249, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-mark { width: auto; height: 34px; flex: none; }
.brand-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-desktop { display: flex; align-items: center; gap: var(--sp-6); }
.nav-links { display: flex; gap: var(--sp-5); }
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.97rem;
  padding-block: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s var(--ease), color .18s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--mint); color: var(--teal-deep); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-3) clamp(1.25rem, 4vw, 2.5rem) var(--sp-5);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.nav-mobile a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--line);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-mobile .btn { margin-top: var(--sp-3); }
.nav-mobile[data-open="true"] { display: flex; }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   hero
   ========================================================================== */
.hero {
  padding-block: var(--sp-7) var(--sp-8);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle at 30% 30%, rgba(31,174,143,0.22), transparent 65%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { font-size: var(--fs-display); }
.hero .lede { margin-bottom: var(--sp-5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.hero-trust {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: var(--slate);
}
.hero-trust strong { color: var(--ink); font-family: var(--font-head); }

/* hero visual card */
.chat-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: var(--sp-4);
  position: relative;
}
.chat-card-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--slate);
}
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(31,174,143,0.25); flex: none; }

.hero-visual-caption {
  margin: var(--sp-3) 0 0;
  font-size: var(--fs-xs);
  color: var(--slate-soft);
  text-align: center;
}

/* system diagram (hero) */
.system-diagram { display: flex; flex-direction: column; align-items: center; padding-top: 0.25rem; }
.sys-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  width: 100%;
}
.sys-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--mist);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--teal-deep);
}
.sys-chip svg { width: 16px; height: 16px; flex: none; }
.sys-connector { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.sys-connector-line { width: 2px; height: 10px; background: var(--line); }
.sys-connector-badge {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--mist);
  border: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.66rem;
  color: var(--teal-deep);
}
.sys-connector-badge svg { width: 11px; height: 11px; flex: none; }
.sys-hub {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.4rem;
}
.sys-hub img { width: auto; height: 30px; flex: none; }
.sys-hub span { font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; }
.sys-outcome {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(31, 174, 143, 0.14);
  border: 1px solid var(--mint);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.1rem;
  font-size: 0.88rem;
  color: var(--teal-deep);
  font-weight: 600;
  text-align: center;
}
.sys-outcome svg { width: 18px; height: 18px; flex: none; color: var(--teal); }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding-block: var(--sp-6) var(--sp-7); }
}

/* ==========================================================================
   founder note
   ========================================================================== */
.founder-note {
  padding-block: var(--sp-6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.founder-note-inner { display: flex; gap: var(--sp-4); align-items: flex-start; }
.founder-mark {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.founder-note-text p { margin: 0 0 0.6rem; color: var(--slate); font-size: 1.02rem; max-width: 60ch; }
.founder-note-text p:last-child { margin: 0; }
.founder-sig { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.founder-sig span { display: block; font-family: var(--font-body); font-weight: 400; color: var(--slate-soft); font-size: 0.82rem; margin-top: 0.1rem; }
@media (max-width: 560px) { .founder-note-inner { flex-direction: column; } }

/* ==========================================================================
   sections generic
   ========================================================================== */
section { padding-block: var(--sp-7); }
.section-head { max-width: 640px; margin-bottom: var(--sp-6); }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark p { color: rgba(246,250,249,0.78); }
.section-dark .eyebrow { color: var(--mint); }

/* problem rows */
.row-list { display: flex; flex-direction: column; }
.row-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--sp-3);
  padding-block: var(--sp-4);
  border-top: 1px solid var(--line);
}
.row-item:last-child { border-bottom: 1px solid var(--line); }
.row-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--mist);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-deep);
}
.row-icon svg { width: 20px; height: 20px; }
.row-item h3 { margin-bottom: 0.35rem; }
.row-item p { margin: 0; color: var(--slate); max-width: 56ch; }

/* steps (justified sequence) */
.steps { position: relative; display: grid; gap: var(--sp-5); grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding-top: var(--sp-5); }
.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--mint-ink);
  background: var(--mint);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-3);
}
.step::before {
  content: "";
  position: absolute;
  top: 17px; left: 34px;
  width: calc(100% - 34px);
  height: 2px;
  background: var(--line);
}
.step:last-child::before { display: none; }
.step p { color: var(--slate); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: var(--sp-6); }
  .step::before { display: none; }
}

/* services cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
}
.service-card:nth-child(2) { border-top-color: var(--mint); }
.service-card:nth-child(3) { border-top-color: var(--ink); }
.service-card h3 { margin-bottom: var(--sp-2); }
.service-card p { color: var(--slate); margin-bottom: var(--sp-3); }
.service-card ul { margin-top: auto; display: flex; flex-direction: column; gap: 0.5rem; }
.service-card li { display: flex; gap: 0.55rem; font-size: var(--fs-sm); color: var(--ink); align-items: flex-start; }
.service-card li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--teal); }
.service-card .card-link {
  margin-top: var(--sp-4);
  font-weight: 600;
  font-family: var(--font-head);
  text-decoration: none;
  color: var(--teal-deep);
  border-bottom: 2px solid var(--mint);
  align-self: flex-start;
  padding-bottom: 2px;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* checklist (why us) */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4) var(--sp-6); }
.check-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-item svg { width: 22px; height: 22px; flex: none; color: var(--mint); margin-top: 2px; }
.check-item h3 { font-size: 1.05rem; margin-bottom: 0.25rem; color: var(--paper); }
.check-item p { color: rgba(246,250,249,0.75); margin: 0; }
@media (max-width: 760px) { .check-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding-block: var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { width: 22px; height: 22px; flex: none; position: relative; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--ink);
  transition: transform 0.2s var(--ease);
}
.faq-plus::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.faq-plus::after { width: 2px; height: 14px; top: 4px; left: 10px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item p { color: var(--slate); padding-bottom: var(--sp-4); margin: 0; max-width: 68ch; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--teal-deep), var(--teal) 60%, var(--mint));
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--paper); margin-bottom: 0.4rem; }
.cta-band p { color: rgba(246,250,249,0.85); margin: 0; }

/* ==========================================================================
   contact form
   ========================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-6);
  align-items: start;
}
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }

.info-list { display: flex; flex-direction: column; gap: var(--sp-4); margin-top: var(--sp-5); }
.info-item { display: flex; gap: 0.75rem; }
.info-item svg { width: 22px; height: 22px; color: var(--teal-deep); flex: none; margin-top: 2px; }
.info-item h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.info-item p { margin: 0; color: var(--slate); }

form.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-bottom: 0.4rem;
  font-family: var(--font-head);
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.16s var(--ease), box-shadow .16s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15,110,99,0.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-hint { font-size: var(--fs-xs); color: var(--slate-soft); margin-top: 0.35rem; }
.field-error {
  font-size: var(--fs-xs);
  color: #b3261e;
  margin-top: 0.35rem;
  display: none;
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #b3261e; }
.field.has-error .field-error { display: block; }

.form-status {
  margin-top: var(--sp-3);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { background: rgba(31,174,143,0.15); color: var(--teal-deep); }
.form-status.error { background: rgba(179,38,30,0.1); color: #8f1f19; }

.form-fallback {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--slate);
}
.form-fallback a { color: var(--teal-deep); font-weight: 600; }

/* honeypot */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.field-checkbox { margin-bottom: var(--sp-4); }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  margin: 0.15rem 0 0;
  accent-color: var(--teal);
  flex: none;
  cursor: pointer;
}
.checkbox-label a { color: var(--teal-deep); font-weight: 600; }
.field-checkbox.has-error .checkbox-label { color: #b3261e; }

/* ==========================================================================
   page intro (services/about/contact headers)
   ========================================================================== */
.page-intro { padding-block: var(--sp-7) var(--sp-6); }
.page-intro h1 { font-size: var(--fs-h1); max-width: 18ch; }

/* legal pages */
.legal-content { max-width: 68ch; }
.legal-content h2 { margin-top: var(--sp-6); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--slate); max-width: none; }
.legal-content code {
  font-family: var(--font-body);
  font-style: italic;
  background: var(--mist);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  color: var(--ink);
}

/* about page bits */
.principle-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
@media (max-width: 760px) { .principle-list { grid-template-columns: 1fr; } }
.principle {
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.principle h3 { margin-bottom: 0.35rem; }
.principle p { color: var(--slate); margin: 0; }

/* two-col text/media */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-figure {
  background: var(--mist);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  border: 1px solid var(--line);
}

/* service detail sections */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: var(--sp-7);
  border-top: 1px solid var(--line);
  align-items: start;
}
.service-detail:first-of-type { border-top: none; }
@media (max-width: 900px) { .service-detail { grid-template-columns: 1fr; } }
.service-detail .tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--teal-deep);
  background: var(--mist);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: var(--sp-3);
}
.service-detail .example {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--sp-4);
  margin-top: var(--sp-4);
}
.service-detail .example h3 { font-size: 0.95rem; color: var(--slate-soft); margin-bottom: 0.5rem; font-family: var(--font-body); font-weight: 600; }
.service-detail .example p { color: var(--ink); margin: 0; }
.included { display: flex; flex-direction: column; gap: 0.6rem; margin-top: var(--sp-3); }
.included li { display: flex; gap: 0.6rem; font-size: 0.95rem; }
.included svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }

/* ==========================================================================
   footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(246,250,249,0.75);
  padding-block: var(--sp-6) var(--sp-5);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(246,250,249,0.12);
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand .brand-word { color: var(--paper); }
.footer-brand p { color: rgba(246,250,249,0.65); margin-top: var(--sp-3); max-width: 32ch; }
.footer-col h3 { color: var(--paper); font-size: 0.95rem; margin-bottom: var(--sp-3); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { text-decoration: none; color: rgba(246,250,249,0.7); font-size: 0.92rem; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  padding-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: rgba(246,250,249,0.5);
}
.footer-legal { display: flex; gap: var(--sp-4); }
.footer-legal a {
  color: rgba(246,250,249,0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(246,250,249,0.25);
}
.footer-legal a:hover { color: var(--mint); text-decoration-color: var(--mint); }
