:root {
  --bg: #f2f4f3;
  --bg-tint: #e6ebe8;
  --surface: #ffffff;
  --ink: #1a2420;
  --muted: #5c6a63;
  --line: #cfd7d2;
  --accent: #2f5d4a;
  --accent-hover: #244a3b;
  --accent-soft: #dce8e1;
  --danger: #8b3a3a;
  --shadow: 0 18px 40px rgba(26, 36, 32, 0.08);
  --radius: 4px;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --shell: min(1120px, calc(100% - 2.5rem));
  --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);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #dfe8e3 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #e8ebe6 0%, transparent 50%),
    var(--bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  background:
    linear-gradient(135deg, #d9e2dc 0%, #eef2ef 50%, #d5ddd8 100%);
}

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

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

h1, h2, h3, .brand-text, .brand-hero, .footer-brand, .price-tag, .step-num {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 0 0 0.85rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }

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

.narrow { max-width: 42rem; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(242, 244, 243, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(26, 36, 32, 0.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.brand-text {
  font-size: 1.05rem;
  font-weight: 700;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
  font-family: var(--font-display);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

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

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

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

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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

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

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 38rem;
}

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

.text-link {
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.hero {
  width: var(--shell);
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  min-height: min(84vh, 760px);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: rise 0.8s var(--ease) both;
}

.hero-copy {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-hero {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  margin-bottom: 1rem;
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.hero-visual img,
.media-frame img,
.offer-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  animation: fade-in 1.1s var(--ease) both;
}

.page-hero {
  padding: 4rem 0 2rem;
  animation: rise 0.7s var(--ease) both;
}

.page-hero--compact { padding-bottom: 0.5rem; }

.section {
  padding: 4.5rem 0;
}

.section--tint {
  background: color-mix(in srgb, var(--bg-tint) 80%, transparent);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-cta { margin-top: 2rem; }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.offer-item {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.offer-item img {
  aspect-ratio: 3 / 2;
}

.offer-item > *:not(img) {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.offer-item h2,
.offer-item h3 {
  padding-top: 1.1rem;
}

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

.offer-item .meta,
.offer-item .text-link {
  padding-bottom: 1.25rem;
}

.offer-item p {
  padding-bottom: 0;
}

.offer-grid--list {
  grid-template-columns: 1fr;
}

.offer-item--row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
}

.offer-item--row img {
  height: 100%;
  min-height: 200px;
}

.offer-item--row > div {
  padding: 1.5rem 1.75rem;
}

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.media-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-tint);
  aspect-ratio: 4 / 3;
}

.media-frame--wide {
  aspect-ratio: 16 / 9;
  margin: 1.5rem 0 2rem;
}

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

.quote-stack--page {
  grid-template-columns: 1fr 1fr;
}

blockquote {
  margin: 0;
  padding: 1.5rem 1.6rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

blockquote p {
  font-size: 1.08rem;
}

blockquote footer {
  color: var(--muted);
  font-size: 0.95rem;
  display: grid;
  gap: 0.2rem;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  background: var(--ink);
  color: #eef3f0;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: #c5d0ca; margin-bottom: 0; }
.cta-band .btn-primary {
  background: #e8efe9;
  color: var(--ink);
}
.cta-band .btn-ghost {
  border-color: #6d7c74;
  color: #eef3f0;
}

.pricing-list {
  display: grid;
  gap: 1rem;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.price-tag {
  font-size: 1.45rem;
  white-space: nowrap;
  color: var(--accent);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.details-grid > div {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.details-grid ul {
  margin: 0;
  padding-left: 1.1rem;
}

.steps {
  display: grid;
  gap: 1.5rem;
}

.steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.75rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.steps article h2,
.steps article p {
  grid-column: 2;
}

.step-num {
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
}

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

.contact-card h2 {
  font-size: 1.1rem;
  margin-top: 1.25rem;
}

.contact-card h2:first-child { margin-top: 0; }

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, white);
  border-color: var(--accent);
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}

.form-status.is-success {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.form-status.is-error {
  background: #f3e4e4;
  color: var(--danger);
}

.prose {
  max-width: 44rem;
}

.prose.legal { max-width: 48rem; }

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

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

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

th {
  font-family: var(--font-display);
  background: var(--bg-tint);
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: #17201c;
  color: #c9d3cd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  color: #f3f7f4;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-label {
  font-family: var(--font-display);
  color: #f3f7f4;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

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

.footer-links a,
.site-footer a {
  color: #c9d3cd;
  text-decoration: none;
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #2c3a34;
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(23, 32, 28, 0.96);
  color: #e7eee9;
  padding: 1.1rem 0;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.2);
  animation: slide-up 0.45s var(--ease);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-inner p {
  margin: 0;
  max-width: 46rem;
  font-size: 0.98rem;
}

.cookie-inner a { color: #b7d4c4; }

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

.cookie-banner .btn-ghost {
  border-color: #5a6b63;
  color: #e7eee9;
}

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

@keyframes fade-in {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (max-width: 960px) {
  .hero,
  .split-block,
  .contact-grid,
  .quote-stack--page,
  .details-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .offer-grid { grid-template-columns: 1fr; }

  .offer-item--row { grid-template-columns: 1fr; }

  .hero {
    min-height: 0;
  }

  .hero-visual {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .hero-visual img { position: relative; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-row {
    flex-direction: column;
  }
}

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