:root {
  --ink: #0c1a24;
  --ink-soft: #2a3d4d;
  --muted: #5a6f7d;
  --paper: #f4f7f9;
  --paper-deep: #e6eef2;
  --line: #c9d6de;
  --teal: #1a6b72;
  --teal-deep: #0f4a50;
  --sand: #d8c4a8;
  --white: #ffffff;
  --hero-overlay: linear-gradient(
    105deg,
    rgba(12, 26, 36, 0.88) 0%,
    rgba(12, 26, 36, 0.55) 48%,
    rgba(15, 74, 80, 0.35) 100%
  );
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(26, 107, 114, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(216, 196, 168, 0.18), transparent 50%),
    var(--paper);
  line-height: 1.55;
  font-size: 1.05rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal);
}

.sample-banner {
  background: var(--ink);
  color: #c5d4dc;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.55rem 1rem;
  letter-spacing: 0.02em;
}

.sample-banner strong {
  color: var(--sand);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(244, 247, 249, 0.88);
  border-bottom: 1px solid rgba(201, 214, 222, 0.7);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand:hover {
  color: var(--teal-deep);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--teal-deep);
}

.nav-links .nav-cta,
.nav-links .nav-cta:link,
.nav-links .nav-cta:visited,
.nav-links .nav-cta:hover,
.nav-links .nav-cta:active,
.nav-links .nav-cta:focus {
  color: var(--white);
  background: var(--teal-deep);
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
  text-decoration: none;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus {
  background: var(--teal);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: min(92vh, 720px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    var(--hero-overlay),
    url("hero.jpg")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: heroSettle 1.4s var(--ease) forwards;
}

@keyframes heroSettle {
  to {
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.15s forwards;
}

.hero-line {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  max-width: 28ch;
  margin: 0 0 0.85rem;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.28s forwards;
}

.hero-support {
  max-width: 42ch;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.4s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.52s forwards;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn,
a.btn,
a.btn:link,
a.btn:visited,
a.btn:hover,
a.btn:active,
a.btn:focus,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:active,
button.btn-primary {
  background: var(--sand);
  color: var(--ink);
}

.btn-primary:hover,
a.btn-primary:hover,
a.btn-primary:focus,
button.btn-primary:hover,
button.btn-primary:focus {
  background: #e6d4bc;
  color: var(--ink);
}

.btn-ghost,
a.btn-ghost:link,
a.btn-ghost:visited,
a.btn-ghost:active {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover,
a.btn-ghost:hover,
a.btn-ghost:focus {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn-solid,
a.btn-solid:link,
a.btn-solid:visited,
a.btn-solid:active,
button.btn-solid {
  background: var(--teal-deep);
  color: var(--white);
}

.btn-solid:hover,
a.btn-solid:hover,
a.btn-solid:focus,
button.btn-solid:hover,
button.btn-solid:focus {
  background: var(--teal);
  color: var(--white);
}

.btn-outline,
a.btn-outline:link,
a.btn-outline:visited,
a.btn-outline:active {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal);
}

.btn-outline:hover,
a.btn-outline:hover,
a.btn-outline:focus {
  background: rgba(26, 107, 114, 0.08);
  color: var(--teal-deep);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.section-narrow {
  max-width: 720px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.55rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  letter-spacing: -0.015em;
}

.section .lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 52ch;
  margin: 0 0 2rem;
}

.band {
  background: linear-gradient(180deg, rgba(230, 238, 242, 0.7), rgba(244, 247, 249, 0.2));
  border-block: 1px solid var(--line);
}

.band-ink {
  background:
    linear-gradient(135deg, #0c1a24 0%, #14343a 55%, #0f4a50 100%);
  color: var(--white);
}

.band-ink .lede,
.band-ink p {
  color: rgba(255, 255, 255, 0.82);
}

.band-ink a:not(.btn) {
  color: var(--sand);
}

.band-ink a.btn-primary,
.band-ink a.btn-primary:link,
.band-ink a.btn-primary:visited,
.band-ink a.btn-primary:hover,
.band-ink a.btn-primary:active,
.band-ink a.btn-primary:focus {
  background: var(--sand);
  color: var(--ink);
}

.band-ink a.btn-primary:hover,
.band-ink a.btn-primary:focus {
  background: #e6d4bc;
  color: var(--ink);
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
}

.split-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.split-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .split-3,
  .split-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .split-2,
  .split-3,
  .split-4 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

.feature h3,
.path h3,
.service-item h3,
.step h3 {
  font-size: 1.12rem;
  margin: 0 0 0.45rem;
  color: var(--ink);
}

.feature p,
.path p,
.service-item p,
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.path {
  padding: 1.5rem 0;
  border-top: 2px solid var(--teal);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.service-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.25s var(--ease);
}

.service-item:hover {
  padding-left: 0.4rem;
}

.service-item span {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 600;
}

.page-hero {
  padding: 3.5rem 1.25rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.page-hero p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  overflow: hidden;
}

.compare > div {
  padding: 1.5rem 1.35rem;
}

.compare .was {
  background: rgba(90, 111, 125, 0.08);
}

.compare .is {
  background: rgba(26, 107, 114, 0.1);
}

.compare h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.compare ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.compare li + li {
  margin-top: 0.4rem;
}

@media (max-width: 640px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
}

.step {
  position: relative;
  padding-left: 3.2rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid var(--teal);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--white);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--teal);
  font-weight: 400;
  font-size: 1.25rem;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--muted);
}

.cta-band {
  text-align: center;
  padding: 3.5rem 1.25rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin: 0 0 0.6rem;
  font-weight: 400;
}

.cta-band p {
  margin: 0 auto 1.4rem;
  max-width: 42ch;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.25rem 3rem;
  background: #eef3f6;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.15rem;
}

.footer-expand {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: var(--teal-deep);
  letter-spacing: 0.01em;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--teal-deep);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form .hint {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

.form-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.checklist {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.checklist li + li {
  margin-top: 0.4rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 2px;
}

body.nav-open .nav-links {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: rgba(244, 247, 249, 0.98);
  padding: 1rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
  gap: 0.75rem;
}
