:root {
  --bg: #f3f2ef;
  --bg-elevated: #fafaf8;
  --ink: #1a1b1d;
  --muted: #5c6068;
  --line: #d8d6d0;
  --accent: #245348;
  --accent-soft: #dce8e3;
  --focus: #1f6b5a;
  --danger: #8a2f2f;
  --radius: 2px;
  --shadow: 0 18px 40px rgba(26, 27, 29, 0.06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --shell: min(1120px, calc(100% - 2.5rem));
}

*,
*::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%, #e7ece8 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #ebe7df 0%, transparent 50%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

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

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  max-width: 14rem;
  line-height: 1.25;
}

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

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

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

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

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

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

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 0.35rem 0;
}

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

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

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

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

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

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

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

.section-tight {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.125rem;
  max-width: 40rem;
}

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

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 27, 29, 0.15) 0%, rgba(26, 27, 29, 0.62) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: clamp(3rem, 8vw, 5rem) 0;
  max-width: 38rem;
  animation: rise 0.9s ease both;
}

.hero-copy h1,
.hero-copy p {
  color: #fff;
}

.hero-copy p {
  opacity: 0.92;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 1rem;
  animation: rise 0.7s ease both;
}

.page-hero.with-image {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .page-hero.with-image {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.page-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .split-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

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

@media (min-width: 760px) {
  .offer-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.offer-item {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.25rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: rise 0.8s ease both;
}

.offer-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

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

.offer-item h3 a {
  color: var(--ink);
  text-decoration: none;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1rem 0;
}

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

.quote {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.1rem;
}

.quote p {
  color: var(--ink);
  font-size: 1.05rem;
}

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

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1rem 1rem 1rem 3.5rem;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.price-block {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.price-block + .price-block {
  margin-top: 1rem;
}

.price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  margin: 0.35rem 0 0.75rem;
}

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

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.field-error {
  color: var(--danger);
  font-size: 0.875rem;
  min-height: 1.1em;
}

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

.form-status[data-state="error"] {
  background: #f6e8e8;
  border-color: #e2bcbc;
  color: var(--danger);
}

.legal {
  max-width: 48rem;
}

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

.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-elevated);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: #ebe9e4;
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.footer-label {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.footer-text,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.06);
  animation: rise 0.45s ease both;
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.cookie-inner p {
  margin: 0;
  max-width: 42rem;
  color: var(--ink);
}

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

.prose-list {
  color: var(--muted);
  padding-left: 1.2rem;
}

.prose-list li {
  margin-bottom: 0.4rem;
}

.cta-band {
  background: var(--accent);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

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

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

@keyframes drift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 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;
  }
}

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