:root {
  --ink: #1b2a3a;
  --ink-soft: #3a4d63;
  --paper: #eef1f5;
  --paper-deep: #e2e7ee;
  --mist: #c5ced9;
  --line: #9aabc0;
  --accent: #e07a3d;
  --accent-deep: #c45c26;
  --accent-soft: #f3d0b8;
  --white: #fafbfc;
  --danger: #a33b2c;
  --success: #2f6b4f;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --space-xs: 0.4rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;
  --radius: 2px;
  --max: 72rem;
  --header-h: 4.25rem;
  --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.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(238, 241, 245, 0.92), rgba(226, 231, 238, 0.98)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(154, 171, 192, 0.18) 47px,
      rgba(154, 171, 192, 0.18) 48px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(154, 171, 192, 0.12) 47px,
      rgba(154, 171, 192, 0.12) 48px
    );
  background-attachment: fixed;
  min-height: 100vh;
}

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

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

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

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

h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 var(--space-md); }

ul, ol { margin: 0 0 var(--space-md); padding-left: 1.2rem; }

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

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

.section {
  padding: var(--space-2xl) 0;
}

.section--tight {
  padding: var(--space-xl) 0;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--space-sm);
}

.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(238, 241, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(154, 171, 192, 0.45);
}

.site-header__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.site-header__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.site-header__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.site-header__toggle span:not(.visually-hidden) {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

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

.site-nav__cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius);
}

.site-nav__cta:hover {
  background: var(--accent-deep);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

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

.btn--primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent-deep);
}

.btn--primary:hover {
  background: var(--accent-deep);
  color: var(--white);
}

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

.btn--secondary:hover {
  background: var(--ink);
  color: var(--white);
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(27, 42, 58, 0.88) 18%, rgba(27, 42, 58, 0.45) 62%, rgba(224, 122, 61, 0.28) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: var(--space-2xl) 0 calc(var(--space-2xl) + 0.5rem);
  animation: rise 0.9s var(--ease) both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 var(--space-md);
  max-width: 12ch;
}

.hero__headline {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 400;
  max-width: 28rem;
  margin: 0 0 var(--space-sm);
  color: rgba(250, 251, 252, 0.92);
}

.hero__support {
  max-width: 32rem;
  color: rgba(250, 251, 252, 0.78);
  margin-bottom: 0;
}

.hero .btn--primary {
  background: var(--accent);
  color: var(--ink);
}

.hero .btn--secondary {
  border-color: rgba(250, 251, 252, 0.65);
  color: var(--white);
}

.hero .btn--secondary:hover {
  background: var(--white);
  color: var(--ink);
}

@keyframes hero-drift {
  from { transform: scale(1.05) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}

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

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  animation: rise 0.8s var(--ease) both;
}

/* Page hero (inner) */
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid rgba(154, 171, 192, 0.4);
  background: linear-gradient(180deg, rgba(243, 208, 184, 0.25), transparent);
}

.page-hero h1 {
  max-width: 16ch;
}

/* Offer strip / listing */
.offer-list {
  display: grid;
  gap: var(--space-xl);
}

.offer-item {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: center;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(154, 171, 192, 0.45);
}

.offer-item:nth-child(even) {
  direction: rtl;
}

.offer-item:nth-child(even) > * {
  direction: ltr;
}

.offer-item__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.offer-item__meta {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.panel {
  background: rgba(250, 251, 252, 0.72);
  border: 1px solid rgba(154, 171, 192, 0.45);
  padding: var(--space-lg);
}

.panel + .panel {
  margin-top: var(--space-md);
}

.stat-note {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--accent);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
}

/* Evidence / quotes */
.quote-block {
  margin: 0 0 var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--mist);
}

.quote-block blockquote {
  margin: 0 0 var(--space-sm);
  font-size: 1.15rem;
  quotes: none;
}

.quote-block cite {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.story {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: rgba(27, 42, 58, 0.04);
  border-left: 3px solid var(--ink);
}

/* Method steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-md);
}

.steps li {
  position: relative;
  padding: var(--space-md) var(--space-md) var(--space-md) 4.5rem;
  background: rgba(250, 251, 252, 0.7);
  border: 1px solid rgba(154, 171, 192, 0.4);
  animation: fade-in 0.7s var(--ease) both;
}

.steps li:nth-child(2) { animation-delay: 0.08s; }
.steps li:nth-child(3) { animation-delay: 0.16s; }
.steps li:nth-child(4) { animation-delay: 0.24s; }
.steps li:nth-child(5) { animation-delay: 0.32s; }

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: var(--space-md);
  top: var(--space-md);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent-deep);
}

/* Blog */
.post-list {
  display: grid;
  gap: var(--space-xl);
}

.post-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: var(--space-lg);
  align-items: center;
}

.post-teaser__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-teaser__date {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: var(--space-xs);
}

.article-body {
  max-width: 42rem;
}

.article-body h2 {
  margin-top: var(--space-xl);
}

.article-hero img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  margin: var(--space-lg) 0 var(--space-xl);
}

/* Rates */
.rate-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: var(--space-md);
  align-items: baseline;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(154, 171, 192, 0.45);
}

.rate-row__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  white-space: nowrap;
}

.rate-factors {
  margin-top: var(--space-xl);
}

/* Forms */
.form {
  display: grid;
  gap: var(--space-md);
  max-width: 36rem;
}

.form__field {
  display: grid;
  gap: 0.35rem;
}

.form__field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}

.form__field input,
.form__field select,
.form__field textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.form__field textarea {
  min-height: 9rem;
  resize: vertical;
}

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

.form__error {
  color: var(--danger);
  font-size: 0.88rem;
  min-height: 1.2em;
}

.form__status {
  padding: var(--space-md);
  border: 1px solid var(--mist);
  background: rgba(250, 251, 252, 0.85);
  display: none;
}

.form__status.is-visible {
  display: block;
}

.form__status.is-success {
  border-color: var(--success);
  color: var(--success);
}

.form__status.is-error {
  border-color: var(--danger);
  color: var(--danger);
}

.contact-aside p {
  margin-bottom: var(--space-sm);
}

.legal {
  max-width: 46rem;
}

.legal h2 {
  margin-top: var(--space-xl);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: var(--space-md) 0 var(--space-lg);
}

.legal th,
.legal td {
  border: 1px solid var(--mist);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  background: rgba(250, 251, 252, 0.65);
}

.legal th {
  font-family: var(--font-display);
  background: rgba(27, 42, 58, 0.06);
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: var(--space-2xl) 1rem;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--accent);
  margin: 0;
}

/* Footer */
.site-footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--ink);
  color: rgba(250, 251, 252, 0.82);
}

.site-footer a {
  color: rgba(250, 251, 252, 0.88);
}

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

.site-footer__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-lg);
}

.site-footer__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.site-footer__tag {
  color: rgba(250, 251, 252, 0.65);
}

.site-footer__nav {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.site-footer__nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.site-footer__copy {
  width: min(100% - 2rem, var(--max));
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(250, 251, 252, 0.15);
  font-size: 0.88rem;
  color: rgba(250, 251, 252, 0.55);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  padding: 1rem;
  animation: rise 0.45s var(--ease);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  width: min(100%, 48rem);
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(27, 42, 58, 0.12);
  padding: var(--space-md);
  display: grid;
  gap: var(--space-md);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: flex-end;
}

/* Home sections */
.home-flagship {
  background: linear-gradient(135deg, rgba(27, 42, 58, 0.95), rgba(58, 77, 99, 0.92));
  color: var(--white);
}

.home-flagship a {
  color: var(--accent-soft);
}

.home-flagship .btn--primary {
  color: var(--ink);
}

.home-flagship h2,
.home-flagship .lead {
  color: var(--white);
}

.home-flagship .lead {
  opacity: 0.85;
}

.cta-band {
  padding: var(--space-2xl) 0;
  background:
    linear-gradient(120deg, rgba(224, 122, 61, 0.18), rgba(238, 241, 245, 0.2)),
    var(--paper-deep);
  text-align: left;
}

.detail-cover {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  margin: var(--space-lg) 0;
}

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

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
}

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

@media (max-width: 900px) {
  .site-header__toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--mist);
    padding: var(--space-md);
    display: none;
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-item,
  .offer-item:nth-child(even),
  .split,
  .split--reverse,
  .post-teaser,
  .site-footer__inner {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hero {
    min-height: 85vh;
  }

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