/* ==========================================================
   Monetory Studio — main stylesheet
   ========================================================== */
:root {
  --ink: #0b1b3f;          /* headings, primary text */
  --text: #3d4a63;         /* body text */
  --muted: #6b7690;
  --brand: #059669;        /* emerald */
  --brand-dark: #047857;
  --brand-light: #10b981;
  --brand-soft: #ecfdf5;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --border: #e5e9f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 27, 63, .04), 0 8px 24px rgba(11, 27, 63, .06);
  --shadow-lg: 0 2px 6px rgba(11, 27, 63, .05), 0 24px 48px rgba(11, 27, 63, .12);
  --container: 1160px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* Smooth cross-page transitions (supported browsers; others just navigate normally) */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .22s; animation-timing-function: ease-out; }
.header { view-transition-name: site-header; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__head p { font-size: 1.08rem; color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.text-brand { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(5, 150, 105, .28); }
.btn--primary:hover { color: #fff; }
@media (hover: hover) { .btn--primary:not([disabled]):not(.is-reset):hover { border-color: var(--ink); } }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn--ghost:not(.is-reset):hover { border-color: var(--brand); color: #fff; }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn[hidden] { display: none; }

/* Button effects: liquid fill on hover; on click the fill opens from the centre */
.btn { position: relative; overflow: hidden; isolation: isolate; --fill: var(--ink); }
.btn--ghost { --fill: var(--brand); }
@media (hover: hover) { .btn--ghost:not(.is-reset):hover { transition-delay: 0s, .22s, .22s, 0s, 0s; } }
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  /* centred on the point where the cursor entered (set in main.js) */
  left: var(--x, 0px); top: var(--y, 50%);
  width: var(--d, 600px); height: var(--d, 600px);
  border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  background: var(--fill);
  transform: translate(-50%, -50%) scale(0) rotate(0deg);
  transition: transform .45s cubic-bezier(.4, .2, .2, 1);
  pointer-events: none;
}
@keyframes btn-morph {
  50% { border-radius: 54% 46% 44% 56% / 46% 56% 44% 54%; }
}
@media (hover: hover) {
  .btn:not([disabled]):not(.is-reset):hover::before { transform: translate(-50%, -50%) scale(1) rotate(140deg); animation: btn-morph 1.6s ease-in-out infinite; }
}
.btn:active { transform: scale(.96); }
/* Click: the liquid fill splits open from the centre and the button's own colour returns */
@property --hole { syntax: "<length>"; inherits: false; initial-value: 0px; }
.btn.is-reset::before { transition: none; animation: none; }
.btn--ghost.is-reset { color: var(--ink); }
.btn__burst {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fill);
  -webkit-mask: radial-gradient(circle at center, transparent var(--hole), #000 calc(var(--hole) + 1px));
          mask: radial-gradient(circle at center, transparent var(--hole), #000 calc(var(--hole) + 1px));
  animation: btn-burst .5s cubic-bezier(.3, .7, .2, 1) forwards;
  pointer-events: none;
}
@keyframes btn-burst { to { --hole: var(--hole-end, 300px); } }
@media (prefers-reduced-motion: reduce) {
  .btn::before { transition: none; }
  .btn__burst { display: none; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo img { width: 36px; height: 36px; }
.logo span { color: var(--brand); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a.is-active { color: var(--brand); }
.nav .btn { margin-left: 10px; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--brand); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(16, 185, 129, .14), transparent);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--ink);
}
.pill svg { width: 16px; height: 16px; stroke: var(--brand); }
.tagline { font-family: var(--font-head); font-weight: 600; color: var(--brand); margin-bottom: 14px; display: block; }

.hero__visual { position: relative; height: 500px; }
.hero__card {
  position: absolute;
  width: 62%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: #fff;
}
.hero__card img { width: 100%; height: auto; }
.hero__card--1 { left: 0; top: 40px; transform: rotate(-7deg); }
.hero__card--2 { right: 0; top: 0; transform: rotate(6deg); }
.hero__card--3 { left: 19%; top: 70px; z-index: 2; }
.hero__badge {
  position: absolute; z-index: 3;
  bottom: 24px; right: 4%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.hero__badge strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; line-height: 1.2; }
.hero__badge small { color: var(--muted); font-size: .85rem; }
.hero__badge .icon-circle { width: 42px; height: 42px; }

@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: 400px; max-width: 420px; margin: 0 auto; width: 100%; }
}

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: 80px 0 56px; text-align: center; background: linear-gradient(180deg, var(--brand-soft), #fff); }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.12rem; color: var(--muted); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); border-color: #d6dce7; }
.card p { margin: 0; color: var(--muted); }
.icon-circle {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.hero__badge .icon-circle { margin: 0; }
.icon-circle svg { width: 24px; height: 24px; stroke: var(--brand); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.step__num {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.step:last-child .step__num { background: var(--brand); }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Samples ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
@media (max-width: 640px) {
  .filters {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scrollbar-width: none;
    margin: 0 -20px 32px; padding: 0 20px 4px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; white-space: nowrap; }
}
.filter {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.sample {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.sample:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.sample__cover {
  position: relative;
  aspect-ratio: 595 / 842;
  background: var(--bg-soft);
  overflow: hidden;
  cursor: pointer;
}
.sample__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.sample:hover .sample__cover img { transform: scale(1.03); }
.sample__tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  font-size: .75rem; font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}
.sample__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.sample__body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.sample__meta { font-size: .87rem; color: var(--muted); margin-bottom: 16px; }
.sample__body .btn { margin-top: auto; width: 100%; }
@media (max-width: 560px) {
  .samples { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sample__body { padding: 14px; }
  .sample__body h3 { font-size: .95rem; }
  .sample__meta { font-size: .78rem; margin-bottom: 12px; }
}

/* ---------- Preview modal ---------- */
.viewer {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(11, 27, 63, .78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.viewer.is-open { display: flex; }
.viewer__box {
  background: #fff;
  border-radius: 20px;
  width: 100%; max-width: 980px;
  max-height: calc(100vh - 40px);
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.viewer__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.viewer__top h3 { margin: 0; font-size: 1.05rem; }
.viewer__top small { color: var(--muted); }
.viewer__close {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.viewer__close svg { width: 20px; height: 20px; stroke: var(--ink); }
.viewer__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  padding: 20px 64px;
  overflow: hidden;
}
.viewer__page {
  position: relative;
  height: 100%;
  max-height: calc(100vh - 230px);
  aspect-ratio: 595 / 842;
  max-width: 100%;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.viewer__page canvas { width: 100%; height: 100%; display: block; }
.viewer__shield { position: absolute; inset: 0; }   /* blocks direct interaction with the canvas */
.viewer__lock {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 32px;
  background: #fff;
}
.viewer__lock.is-visible { display: flex; }
.viewer__lock .icon-circle { width: 64px; height: 64px; }
.viewer__lock .icon-circle svg { width: 30px; height: 30px; }
.viewer__lock p { color: var(--muted); max-width: 380px; white-space: pre-line; }
.viewer__lock p strong { color: var(--ink); font-weight: 600; }
.viewer__arrow {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.viewer__arrow svg { width: 20px; height: 20px; stroke: var(--ink); }
.viewer__arrow[disabled] { opacity: .35; cursor: default; }
.viewer__arrow--prev { left: 12px; }
.viewer__arrow--next { right: 12px; }
.viewer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.viewer__dots { display: flex; gap: 6px; }
.viewer__dot {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: .85rem; font-weight: 600; color: var(--text);
  cursor: pointer;
}
.viewer__dot.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.viewer__dot--lock { color: var(--muted); }
.viewer__note { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) {
  .viewer { padding: 0; }
  .viewer__box { border-radius: 0; max-height: 100vh; height: 100%; }
  .viewer__stage { padding: 16px 12px 64px; }
  .viewer__page { max-height: calc(100vh - 260px); }
  .viewer__arrow { top: auto; bottom: 12px; transform: none; }
  .viewer__arrow--prev { left: calc(50% - 54px); }
  .viewer__arrow--next { right: calc(50% - 54px); }
  .viewer__note { display: none; }
}
body.no-scroll { overflow: hidden; }

/* ---------- Commission ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.share {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.share__bar {
  display: flex;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0 24px;
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff;
}
.share__bar div { display: flex; align-items: center; justify-content: center; }
.share__you { background: var(--brand); flex: 1; }
.share__us { background: var(--ink); flex: 1; }
.share__row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--border); }
.share__row:first-of-type { border-top: 0; }
.share__row span { color: var(--muted); }
.share__row strong { color: var(--ink); font-family: var(--font-head); }
.share__row--total strong { color: var(--brand); font-size: 1.15rem; }
.share small { display: block; margin-top: 16px; color: var(--muted); font-size: .85rem; }
/* Earnings calculator */
.calc h3 { margin-bottom: 24px; }
.calc__field { margin-bottom: 22px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.calc__label label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.calc__label output { font-family: var(--font-head); font-weight: 700; color: var(--brand); font-size: 1.25rem; }
.calc__scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.calc__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.calc__chips button {
  flex: 1 1 0;
  min-width: 52px;
  padding: 7px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all .15s;
}
.calc__chips button:hover { border-color: var(--brand); color: var(--brand); }
.calc__chips button.is-active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); }
.calc input[type=range] { touch-action: pan-y; position: relative; z-index: 1; display: block; margin: 0; }
.calc__track { position: relative; padding: 8px 0; }
.calc__ticks { position: absolute; left: 0; right: 0; top: 50%; height: 0; pointer-events: none; z-index: 2; }
.calc__ticks span {
  position: absolute; top: -2px;
  width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 1px rgba(11, 27, 63, .12);
}
.calc input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--brand) 0, var(--brand) var(--fill, 50%), var(--border) var(--fill, 50%));
  outline: none;
  cursor: pointer;
}
.calc input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 2px 8px rgba(5, 150, 105, .35);
  transition: transform .15s;
}
.calc input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.1); }
.calc input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 2px 8px rgba(5, 150, 105, .35);
}
.calc input[type=range]:focus-visible { box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }
.calc .share__bar { height: 44px; margin: 8px 0 16px; font-size: .9rem; }
.calc__result {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 12px;
}
.calc__result div { background: var(--brand-soft); border-radius: 12px; padding: 16px; }
.calc__result span { display: block; font-size: .85rem; color: var(--brand-dark); font-weight: 500; }
.calc__result strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); line-height: 1.3; }
.calc__result div:first-child { background: var(--brand); }
.calc__result div:first-child span { color: rgba(255,255,255,.85); }
.calc__result div:first-child strong { color: #fff; }
@media (max-width: 420px) { .calc__result { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex-shrink: 0; stroke: var(--brand); margin-top: 2px; }
.checklist strong { color: var(--ink); }

.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: .95rem; }
.compare th { font-family: var(--font-head); color: var(--ink); background: var(--bg-soft); font-weight: 600; }
.compare td:last-child { color: var(--brand-dark); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 24px;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: #cfd6e3; box-shadow: var(--shadow); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem; font-weight: 400;
  color: var(--brand);
  transition: transform .2s;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; box-sizing: border-box; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--ink);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  color: #c9d2e3;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -160px; top: -220px;
  background: radial-gradient(closest-side, rgba(16, 185, 129, .35), transparent);
}
.cta h2 { color: #fff; position: relative; }
.cta p { max-width: 560px; margin: 0 auto 28px; position: relative; font-size: 1.08rem; }
.cta .btn { position: relative; }
.cta .btn--primary { --fill: #fff; }
@media (hover: hover) { .cta .btn--primary:not([disabled]):not(.is-reset):hover { color: var(--ink); border-color: #fff; } }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; gap: 40px; } }
.form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow);
}
@media (max-width: 560px) { .form { padding: 24px; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; margin-bottom: 8px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
.field.has-error input, .field.has-error textarea { border-color: #dc2626; }
.field__error { display: none; color: #dc2626; font-size: .85rem; margin-top: 6px; }
.field.has-error .field__error { display: block; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 500; }
.input-prefix input { padding-left: 34px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form__legal { font-size: .82rem; color: var(--muted); text-align: center; margin: 14px 0 0; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .95rem; display: none; }
.alert.is-visible { display: block; }
.alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.success { text-align: center; padding: 24px 0; display: none; }
.success.is-visible { display: block; }
.success .icon-circle { width: 72px; height: 72px; }
.success .icon-circle svg { width: 34px; height: 34px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 32px; margin-top: 96px; }
.footer--flush { margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer ul a[href^="mailto:"] { overflow-wrap: anywhere; }
.form-contact { margin-top: 28px; color: var(--muted); }
.form-contact a { font-weight: 600; overflow-wrap: anywhere; }
.footer__grid p { color: var(--muted); max-width: 320px; margin-top: 14px; }
.footer h4 { font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--text); }
.footer ul a:hover { color: var(--brand); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .88rem; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child, .footer__grid > :last-child { grid-column: 1 / -1; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-48 { margin-top: 48px; }
@media (max-width: 640px) { .section { padding: 72px 0; } .cta { padding: 48px 24px; } }
