:root {
  --bg: #f5f4f1;
  --bg-deep: #ebe8e2;
  --surface: #ffffff;
  --ink: #1a1a18;
  --muted: #5e5c57;
  --line: #d6d2c9;
  --accent: #2f5d50;
  --accent-hover: #244a40;
  --accent-soft: #e2ece8;
  --warn: #8a4b2f;
  --radius: 4px;
  --shadow: 0 18px 40px rgba(26, 26, 24, 0.06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --wide: 1120px;
  --measure: 68ch;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(47, 93, 80, 0.08), transparent 55%),
    linear-gradient(180deg, #f8f7f4 0%, var(--bg) 38%, #f1efe9 100%);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

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

.container {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(245, 244, 241, 0.86);
  border-bottom: 1px solid rgba(214, 210, 201, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), #6f9588);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 560;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff !important;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  content: "";
  position: relative;
}

.nav-toggle-bar::before {
  top: -6px;
  position: absolute;
}

.nav-toggle-bar::after {
  top: 6px;
  position: absolute;
}

main {
  display: block;
}

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: end;
  color: #f7f6f2;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 24, 22, 0.78) 0%, rgba(18, 24, 22, 0.45) 48%, rgba(18, 24, 22, 0.2) 100%),
    linear-gradient(180deg, rgba(18, 24, 22, 0.15) 0%, rgba(18, 24, 22, 0.72) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  max-width: 34rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  animation: rise 0.9s ease both;
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 34ch;
  color: rgba(247, 246, 242, 0.9);
  margin: 0 0 1.6rem;
  animation: rise 0.9s ease 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s ease 0.22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: #f5f4f1;
  color: var(--ink);
}

.btn-primary:hover {
  background: #fff;
  color: var(--ink);
}

.btn-ghost {
  border-color: rgba(245, 244, 241, 0.55);
  color: #f5f4f1;
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(245, 244, 241, 0.1);
  color: #fff;
}

.btn-solid {
  background: var(--accent);
  color: #fff;
}

.btn-solid:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-line {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-line:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

h1,
h2,
h3,
.h-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 560;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
}

.lede,
.prose p {
  color: var(--muted);
}

.lede {
  font-size: 1.08rem;
  max-width: var(--measure);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.proof-item {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.feature-split img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 1px;
  background: var(--accent);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
}

.panel p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.quote-block {
  border-left: 3px solid var(--accent);
  padding: 0.2rem 0 0.2rem 1.2rem;
  margin: 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 0 0 0.8rem;
  color: var(--ink);
}

.quote-block cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

.stack > * + * {
  margin-top: 1rem;
}

.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.page-hero .lede {
  margin-bottom: 0;
}

.band {
  background: var(--accent);
  color: #f5f4f1;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.band h2,
.band p {
  color: inherit;
}

.band p {
  opacity: 0.9;
  max-width: 48ch;
}

.band .btn-primary {
  margin-top: 1rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-0.4rem);
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0.6rem 0;
}

.price-card ul {
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1;
}

.price-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form label {
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
}

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

.field-error {
  color: var(--warn);
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: #f6ebe6;
  border-color: #e2c2b3;
  color: var(--warn);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.contact-card address {
  font-style: normal;
  color: var(--muted);
  margin-bottom: 1rem;
}

.legal {
  max-width: 72ch;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 0.7rem;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--bg-deep);
}

.module-list {
  counter-reset: module;
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-list li {
  counter-increment: module;
  border-top: 1px solid var(--line);
  padding: 1rem 0 1rem 3rem;
  position: relative;
}

.module-list li::before {
  content: counter(module, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-display);
  color: var(--accent);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: var(--muted);
  margin: 0.6rem 0 0;
}

.site-footer {
  margin-top: 2rem;
  background: #171816;
  color: #d8d5ce;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #f5f4f1;
  margin: 0 0 0.6rem;
}

.footer-tag,
.footer-address {
  color: #b9b5ac;
  font-style: normal;
}

.footer-heading {
  color: #f5f4f1;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: #d8d5ce;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 720px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise 0.35s ease both;
}

.cookie-banner p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.inline-error {
  margin: 0.75rem 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid #e2c2b3;
  background: #f6ebe6;
  color: var(--warn);
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
}

.review-list {
  display: grid;
  gap: 1.25rem;
}

.stars {
  letter-spacing: 0.08em;
  color: var(--accent);
  font-size: 0.9rem;
}

.case-study {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 900px) {
  .proof-row,
  .feature-split,
  .grid-3,
  .grid-2,
  .price-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(245, 244, 241, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

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

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .header-inner {
    position: relative;
  }
}
