:root {
  --ink: #141414;
  --ink-soft: #3f3f46;
  --muted: #71717a;
  --line: rgba(20, 20, 20, 0.09);
  --canvas: #fff3ea;
  --paper: #ffffff;
  --accent: #ea580c;
  --accent-soft: #fff4eb;
  --dark: #0a0a0a;
  --max: 1120px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --r: 12px;
  --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);
  color: var(--ink);
  background-color: #fff3ea;
  background-image:
    radial-gradient(rgba(234, 88, 12, 0.11) 1.15px, transparent 1.15px),
    radial-gradient(1000px 480px at 8% -8%, rgba(251, 146, 60, 0.22), transparent 55%),
    radial-gradient(800px 420px at 95% 0%, rgba(253, 186, 116, 0.28), transparent 52%),
    radial-gradient(700px 380px at 50% 100%, rgba(254, 215, 170, 0.35), transparent 50%);
  background-size:
    20px 20px,
    auto,
    auto,
    auto;
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* ——— Header (Crucible-like flat bar) ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 243, 234, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(20, 20, 20, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  justify-self: start;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.header-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}

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

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

.header-inner > .btn {
  justify-self: end;
}

.ad-note {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.ad-note span,
.meta-pill {
  display: inline-block;
  margin-right: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 650;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px 13px 20px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.28s var(--ease),
    background-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease),
    filter 0.28s var(--ease);
}

.btn--sm {
  padding: 10px 14px;
  font-size: 0.88rem;
  border-radius: 9px;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background-color: #f97316;
  background-image: none;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.22);
}

.btn--primary:hover {
  background-color: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.28);
  filter: none;
}

.btn--primary:active {
  transform: translateY(0);
  background-color: #c2410c;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.22);
}

.btn--secondary {
  background-color: #fff;
  color: var(--ink);
  border-color: rgba(20, 20, 20, 0.1);
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.05);
}

.btn--secondary:hover {
  background-color: #fff;
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.1);
}

.btn__icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background-color 0.28s var(--ease), transform 0.28s var(--ease);
}

.btn--primary .btn__icon {
  background-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn--secondary .btn__icon {
  background-color: #f97316;
  color: #fff;
}

.btn--secondary:hover .btn__icon {
  background-color: #ea580c;
}

.btn-row {
  margin: 18px 0;
}

/* ——— Layout ——— */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  padding: 18px 0 64px;
}

.article {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 32px 34px 38px;
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.05);
}

.meta {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.meta time {
  color: var(--ink-soft);
  font-weight: 650;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 800;
}

h2 {
  margin: 34px 0 12px;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 750;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.article p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

/* Images: no forced crop */
.hero,
.figure img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 18px;
  margin: 8px 0 20px;
  background: #f3f3f3;
  border: 1px solid var(--line);
}

.figure { margin: 0; width: 100%; }

.checks {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
}

.checks li {
  position: relative;
  padding: 7px 0 7px 26px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(234, 88, 12, 0.22);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.steps {
  margin: 10px 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 10px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 52px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--dark);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 750;
  display: grid;
  place-items: center;
}

/* Final CTA */
.final-cta {
  margin: 30px 0 18px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%);
  border: 1px solid rgba(234, 88, 12, 0.12);
  box-shadow: 0 16px 36px rgba(20, 20, 20, 0.05);
}

.final-cta__media { background: #111; }

.final-cta__media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.final-cta__body { padding: 24px; }

.final-cta__eyebrow {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.final-cta h2 { margin-top: 0; }

.final-cta__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.final-cta__chips li {
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.final-cta__hint {
  margin: 12px 0 0 !important;
  font-size: 0.84rem !important;
  color: var(--muted) !important;
}

.disclaimer {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fafafa;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.disclaimer strong { color: var(--ink-soft); }

/* ——— Sidebar: CTA always visible ——— */
.side {
  position: sticky;
  top: 84px;
  align-self: start;
}

.side-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 100px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.06);
  overflow: hidden;
}

.side-card__top {
  overflow: auto;
  min-height: 0;
  padding-right: 2px;
  margin-bottom: 12px;
}

.side-card__label {
  margin: 0 0 2px;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.side-card h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.tp-stars { display: inline-flex; line-height: 0; }
.tp-stars svg { display: block; }

.stars__meta strong {
  color: var(--ink);
  font-weight: 750;
}

.side-card .product {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 8px;
  background: #fafafa;
}

.side-card .checks {
  margin: 0;
}

.side-card .checks li {
  font-size: 0.9rem;
  padding-top: 5px;
  padding-bottom: 5px;
}

.side-card > .btn {
  flex-shrink: 0;
  margin-top: auto;
}

.mobile-offer {
  display: none;
  margin: 16px 0;
}

/* ——— Footer ——— */
.site-footer {
  background: #111111;
  color: #a1a1aa;
  padding: 56px 0 40px;
  margin-top: 8px;
}

.site-footer a { color: #f4f4f5; text-decoration: none; }
.site-footer a:hover { color: #fdba74; }

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand--footer .brand-name { color: #fff; }
.brand--footer { margin-bottom: 14px; }

.footer-brand p {
  margin: 0;
  max-width: 34ch;
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer-cols h3,
.footer-company h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-cols a {
  display: block;
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: #d4d4d8;
}

.footer-mid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-company {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-company__grid {
  display: grid;
  gap: 8px;
}

.footer-company__grid p {
  margin: 0;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  font-size: 0.9rem;
  color: #d4d4d8;
}

.footer-company__grid span {
  color: #71717a;
}

.footer-legal-stack details {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0 14px;
  margin: 0 0 10px;
}

.footer-legal-stack summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}

.footer-legal-stack summary::-webkit-details-marker { display: none; }

.footer-legal-stack details p {
  margin: 0 0 14px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #a1a1aa;
}

.footer-bottom {
  display: grid;
  gap: 12px;
  padding-top: 24px;
}

.footer-bottom > p:first-child {
  margin: 0;
  color: #e4e4e7;
  font-weight: 650;
}

.footer-disclaimer {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #a1a1aa;
}

.footer-disclaimer strong { color: #fff; }

/* Cookie */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.14);
  backdrop-filter: blur(12px);
}

.cookie.is-open { display: flex; }

.cookie p {
  margin: 0;
  flex: 1 1 240px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cookie-actions { display: flex; gap: 8px; }

.reveal { opacity: 1; transform: none; }

.has-reveal .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

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

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-nav { display: none; }

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

  .side { display: none; }

  .mobile-offer { display: block; }

  .article {
    padding: 22px 16px 28px;
    border-radius: 22px;
  }

  .footer-top,
  .footer-mid,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .btn-row .btn { width: 100%; }
}

@media (max-width: 560px) {
  .header-inner { min-height: 60px; }
  .footer-company__grid p { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .has-reveal .reveal { transition: none; }
}
