:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #eaf0f5;
  --surface: #ffffff;
  --surface-soft: #f7fafc;
  --text: #152331;
  --muted: #607181;
  --line: #d8e1e8;
  --blue: #0057a8;
  --blue-dark: #004787;
  --blue-soft: #e5f1fb;
  --green: #17643c;
  --green-soft: #e5f5eb;
  --wood: #6f4c2f;
  --wood-soft: #f0e7de;
  --focus: 0 0 0 3px #b9dcff;
  --max: 68rem;
  --measure: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.6;
}

body,
button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: .75rem;
  z-index: 10;
  padding: .65rem .85rem;
  color: #ffffff;
  background: var(--blue-dark);
  transform: translateY(-150%);
}

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

.content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 1.5rem, var(--max));
  min-height: 4.75rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 2.75rem;
  color: var(--text);
  font-weight: 760;
  line-height: 1.15;
  text-decoration: none;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .5rem;
  color: #ffffff;
  background: var(--blue);
  font-size: .78rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.site-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: .55rem .7rem;
  border-radius: .45rem;
  color: var(--muted);
  font-weight: 720;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.header-actions,
.action-row,
.action-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.phone-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 650;
}

.button {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .72rem 1rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  font-weight: 720;
  line-height: 1.1;
  text-decoration: none;
}

.button-primary {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button-secondary {
  color: var(--blue-dark);
  background: #ffffff;
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--blue-soft);
  border-color: #a9cce9;
}

.hero {
  padding: 4.75rem 0 4rem;
  background:
    linear-gradient(110deg, rgba(0, 87, 168, .10), rgba(229, 241, 251, 0) 48%),
    var(--surface);
}

.hero-grid,
.split,
.feature-grid,
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: var(--measure);
}

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--blue-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
}

p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.65rem, 4rem, 4rem);
  letter-spacing: 0;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 3rem, 3rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.12rem;
  letter-spacing: 0;
}

.hero-text {
  max-width: 39rem;
  margin: 1.2rem 0 1.5rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.bench-panel,
.photo-placeholder,
.system-board {
  width: 100%;
  max-width: 100%;
  min-height: 18rem;
  border: 1px solid #c7d5df;
  border-radius: .5rem;
  background:
    linear-gradient(135deg, rgba(0, 87, 168, .10), rgba(111, 76, 47, .12)),
    repeating-linear-gradient(90deg, transparent, transparent 22px, rgba(21, 35, 49, .05) 23px);
}

.bench-panel {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.site-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid #c7d5df;
  border-radius: .5rem;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(21, 35, 49, .12);
}

.site-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-photo figcaption {
  padding: .75rem .9rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.35;
}

.hero-photo {
  display: grid;
  justify-items: center;
  align-self: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-photo img {
  width: auto;
  max-width: 100%;
  max-height: min(72vh, 28rem);
  height: auto;
  object-fit: contain;
  object-position: 50% 50%;
  border: 1px solid #c7d5df;
  border-radius: .5rem;
  background: transparent;
  box-shadow: 0 18px 38px rgba(21, 35, 49, .12);
}

.service-photo {
  aspect-ratio: 3 / 2;
}

.service-photo img {
  object-position: 34% 50%;
}

.bench-card {
  width: min(100%, 22rem);
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid rgba(21, 35, 49, .16);
  border-radius: .5rem;
  background: rgba(255, 255, 255, .88);
}

.bench-card strong,
.photo-placeholder strong {
  display: block;
  margin-top: .45rem;
  font-size: 1.3rem;
  line-height: 1.15;
}

.bench-card p {
  margin: .45rem 0 .75rem;
  color: var(--muted);
}

.placeholder-label,
.aspect-note,
.photo-placeholder span,
.photo-placeholder small {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 680;
}

.service-hero h1 {
  max-width: 13ch;
}

.system-board {
  display: grid;
  align-content: start;
  gap: .85rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(0, 87, 168, .11), rgba(23, 100, 60, .12)),
    #ffffff;
}

.board-topline,
.board-row,
.status-strip,
.approval-box {
  border: 1px solid rgba(21, 35, 49, .14);
  border-radius: .5rem;
  background: rgba(255, 255, 255, .88);
}

.board-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem;
}

.board-topline span,
.board-row span,
.approval-box span,
.demo-label {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 720;
}

.board-row {
  display: grid;
  gap: .2rem;
  padding: .85rem;
}

.board-row strong,
.approval-box strong {
  line-height: 1.25;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .4rem;
  padding: .65rem;
}

.stage-option {
  min-height: 2.5rem;
  display: grid;
  place-items: center;
  padding: .35rem .45rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: .76rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.stage-option:hover,
.stage-option:focus-visible,
.stage-option[aria-checked="true"] {
  color: #ffffff;
  background: var(--blue);
}

.stage-option[aria-checked="true"] {
  border-color: var(--blue-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

.demo-label {
  margin: 0;
}

.section {
  padding: 4rem 0;
  background: var(--surface);
}

.section-soft {
  background: var(--surface-soft);
}

.section-document {
  overflow: hidden;
  background: linear-gradient(180deg, #f7fafc, #ffffff);
}

.section-heading {
  max-width: var(--measure);
  margin-bottom: 1.5rem;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
  padding: 0;
  margin: 0;
}

.steps li {
  min-height: 15rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #ffffff;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: .45rem;
  color: #ffffff;
  background: var(--blue);
  font-weight: 800;
}

.steps p,
.text-stack p,
.feature-grid p,
.school-band p,
.final-grid p,
.trust-note p {
  max-width: var(--measure);
}

.steps p,
.text-stack p,
.timeline span,
.mock-screen p {
  color: var(--muted);
}

.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  margin: 0;
  padding: 0;
  counter-reset: stage;
}

.timeline li {
  min-height: 8.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #ffffff;
  counter-increment: stage;
}

.timeline li::before {
  content: counter(stage);
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  margin-bottom: .8rem;
  border-radius: .4rem;
  color: #ffffff;
  background: var(--blue);
  font-size: .82rem;
  font-weight: 800;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  margin-bottom: .35rem;
  line-height: 1.15;
}

.principle-list {
  display: grid;
  gap: .7rem;
}

.principle-list span {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  padding: .75rem .9rem;
  border-left: .24rem solid var(--green);
  border-radius: .5rem;
  background: var(--green-soft);
  font-weight: 680;
}

.mock-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}

.mock-screen {
  min-height: 18rem;
  display: grid;
  align-content: start;
  gap: .85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #ffffff;
}

.mock-screen-header {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: start;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}

.mock-screen-header span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 760;
}

.mock-screen-header strong {
  color: var(--blue-dark);
  font-size: .9rem;
  line-height: 1.2;
  text-align: right;
}

.mini-columns {
  min-height: 7.5rem;
  display: flex;
  align-items: end;
  gap: .55rem;
  padding: .75rem;
  border-radius: .5rem;
  background: var(--surface-soft);
}

.mini-columns span {
  flex: 1;
  min-height: 2rem;
  border-radius: .35rem .35rem 0 0;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
}

.mini-columns .bar-62 {
  height: 62%;
}

.mini-columns .bar-82 {
  height: 82%;
}

.mini-columns .bar-48 {
  height: 48%;
}

.mini-columns .bar-70 {
  height: 70%;
}

.mock-checklist {
  display: grid;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mock-checklist li {
  padding: .55rem .65rem;
  border-radius: .4rem;
  background: var(--surface-soft);
  font-weight: 680;
}

.approval-box {
  display: grid;
  gap: .2rem;
  padding: 1rem;
  background: var(--wood-soft);
}

.history-lines {
  display: grid;
  gap: .55rem;
  padding: .85rem;
  border-radius: .5rem;
  background: var(--surface-soft);
}

.history-lines span {
  display: block;
  height: .7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), rgba(0, 87, 168, .18));
}

.history-lines span:nth-child(2) {
  width: 82%;
}

.history-lines span:nth-child(3) {
  width: 64%;
}

.document-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.document-grid .section-heading {
  margin-bottom: 0;
}

.document-grid .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.document-note {
  padding: .7rem .85rem;
  border-left: .24rem solid var(--wood);
  border-radius: .5rem;
  color: var(--text) !important;
  background: var(--wood-soft);
  font-weight: 680;
}

.document-preview {
  position: relative;
  display: block;
  min-height: 26rem;
  text-decoration: none;
}

.document-page {
  display: block;
  width: min(64%, 22rem);
  height: auto;
  border: 1px solid rgba(21, 35, 49, .22);
  border-radius: .35rem;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(21, 35, 49, .14);
}

.document-page-main {
  position: relative;
  z-index: 3;
}

.document-page-side {
  position: absolute;
  top: 2.1rem;
}

.page-two {
  left: 28%;
  z-index: 2;
  transform: rotate(2deg);
}

.page-three {
  left: 48%;
  z-index: 1;
  transform: rotate(4deg);
}

.text-stack p:first-child {
  margin-top: 0;
}

.text-stack p:last-child {
  margin-bottom: 0;
}

.feature-grid {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, .55fr);
  align-items: start;
}

.detail-list {
  display: grid;
  gap: .7rem;
}

.detail-list span {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  padding: .75rem .9rem;
  border-left: .24rem solid var(--blue);
  border-radius: .5rem;
  background: var(--blue-soft);
  font-weight: 680;
}

.photo-placeholder {
  aspect-ratio: 3 / 2;
  display: grid;
  align-content: center;
  gap: .35rem;
  padding: 1.5rem;
}

.school-band {
  color: #123222;
  background: var(--green-soft);
}

.school-band .eyebrow {
  color: var(--green);
}

.faq-list {
  display: grid;
  gap: .75rem;
  max-width: 52rem;
}

details {
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #ffffff;
}

summary {
  min-height: 2.75rem;
  padding: 1rem;
  cursor: pointer;
  font-weight: 760;
}

details p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.final-cta {
  color: #ffffff;
  background: var(--blue-dark);
}

.trust-note {
  color: #ffffff;
  background: var(--blue-dark);
}

.final-cta .eyebrow,
.trust-note .eyebrow,
.final-cta a,
.trust-note a,
.final-cta p,
.trust-note p {
  color: #ffffff;
}

.final-cta .button-secondary,
.trust-note .button-secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, .38);
}

.action-card {
  justify-content: flex-start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: .5rem;
}

.contact-grid {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: .85rem;
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: .5rem;
  background: rgba(255, 255, 255, .08);
}

.contact-form-light {
  border-color: var(--line);
  background: #ffffff;
}

.field-pair {
  display: grid;
  gap: .3rem;
}

.field-pair label {
  font-size: .86rem;
  font-weight: 760;
}

.field-pair input,
.field-pair select,
.field-pair textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: .68rem .75rem;
  border: 1px solid rgba(21, 35, 49, .22);
  border-radius: .45rem;
  color: var(--text);
  background: #ffffff;
}

.field-pair textarea {
  min-height: 8rem;
  resize: vertical;
}

.field-pair input:focus-visible,
.field-pair select:focus-visible,
.field-pair textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
}

.contact-form-light .form-note {
  color: var(--muted);
}

.footer {
  padding: 2rem 0;
  color: #d9e6ef;
  background: #152331;
}

.footer a {
  color: #ffffff;
}

.footer-inner {
  display: grid;
  gap: .45rem;
}

.footer p {
  margin: 0;
}

.privacy {
  max-width: var(--measure);
  color: #b8c8d4;
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: minmax(0, .95fr) minmax(20rem, .75fr);
  }

  .split,
  .document-grid,
  .final-grid {
    grid-template-columns: minmax(14rem, .45fr) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .steps,
  .timeline,
  .mock-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-inner,
  .site-nav,
  .header-actions,
  .action-row,
  .action-card {
    align-items: stretch;
  }

  .header-inner {
    padding: .8rem 0;
    flex-direction: column;
  }

  .wordmark,
  .site-nav,
  .phone-link,
  .button {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 9rem;
    justify-content: center;
  }

  .header-actions,
  .action-row,
  .action-card {
    width: 100%;
    flex-direction: column;
  }

  .hero {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .steps,
  .timeline,
  .mock-gallery {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: 0;
  }

  .bench-panel,
  .photo-placeholder {
    min-height: 0;
  }

  .bench-card {
    padding: 1rem;
  }

  .document-preview {
    min-height: 22rem;
  }

  .document-page {
    width: 69%;
  }

  .page-two {
    left: 22%;
  }

  .page-three {
    left: 36%;
  }

  .status-strip {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
