/* =========================================================
   ShipReady — shared design system
   Clean, trustworthy SaaS. Light. Indigo accent.
   Tokens up top → easy to expand / theme.
   ========================================================= */

:root {
  /* Color — warm-neutral light base */
  --bg:        #fafaf8;
  --bg-tint:   #f3f3f0;   /* alternating section bg */
  --surface:   #ffffff;
  --ink:       #16161a;   /* near-black, slightly warm */
  --ink-soft:  #3f4046;
  --muted:     #6b6c74;
  --faint:     #9a9ba3;
  --line:      #e7e6e1;   /* hairline borders */
  --line-soft: #efeeea;

  /* Accent — red (primary) */
  --accent:      #e0392b;
  --accent-ink:  #b91c1c;
  --accent-soft: #fdeceb;
  --accent-line: #f6cdc9;

  /* Highlight — yellow (secondary) */
  --yellow:      #f5b301;
  --yellow-ink:  #946400;
  --yellow-soft: #fff7e0;
  --yellow-line: #f3df9f;

  /* Status / semantic */
  --ok:    #1f8a5b;
  --ok-bg: #e8f5ee;
  --warn:  #b4540a;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(20,20,30,.04), 0 1px 1px rgba(20,20,30,.03);
  --shadow-md: 0 4px 14px rgba(20,20,30,.06), 0 1px 3px rgba(20,20,30,.04);
  --shadow-lg: 0 18px 50px rgba(30,30,60,.10), 0 4px 12px rgba(20,20,30,.05);

  /* Layout */
  --maxw: 1120px;
  --gut: 24px;

  /* Type */
  --sans: "General Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -0.022em; }
p { margin: 0; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: 92px 0; }
.section--tint { background: var(--bg-tint); }
.section--head { max-width: 640px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.h2 { font-size: clamp(28px, 4vw, 40px); }
.lead { font-size: 19px; color: var(--ink-soft); margin-top: 16px; max-width: 56ch; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  font-size: 15.5px; font-weight: 500;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-ink); box-shadow: var(--shadow-md); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--faint); }
.btn--lg { padding: 16px 28px; font-size: 16.5px; }
.btn--block { width: 100%; justify-content: center; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--yellow); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 14px; font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 15px; color: var(--ink-soft); transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 860px){ .nav__links .hide-sm { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 76px 0 64px; }
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.hero .sub { font-size: 20px; color: var(--ink-soft); margin-top: 22px; max-width: 58ch; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: var(--r-pill);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }

/* trust strip */
.trust { margin-top: 48px; }
.trust__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.trust__row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.tool {
  font-family: var(--mono); font-size: 14px; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 7px;
}
.tool .sep { color: var(--line); }

/* ---------- generic grid ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px){ .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* ---------- card ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--line); transform: translateY(-2px); }
.card h3 { font-size: 18px; margin-bottom: 9px; }
.card p { font-size: 15px; color: var(--muted); }
.card .ico {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: grid; place-items: center; margin-bottom: 16px;
  color: var(--accent-ink);
}
.card .ico svg { width: 19px; height: 19px; }

/* ---------- problem list ---------- */
.prob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 12px; }
@media (max-width: 700px){ .prob-grid { grid-template-columns: 1fr; } }
.prob {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 16px; color: var(--ink-soft);
}
.prob .x {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fdecec; color: #c0392b;
  display: grid; place-items: center; font-size: 13px; margin-top: 1px;
}

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 980px){ .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .price-grid { grid-template-columns: 1fr; } }
.tier {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 24px;
  display: flex; flex-direction: column;
}
.tier--feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); position: relative; }
.tier__tag {
  position: absolute; top: -11px; left: 24px;
  background: var(--yellow); color: var(--ink);
  font-size: 11.5px; font-weight: 600; letter-spacing: .03em;
  padding: 4px 11px; border-radius: var(--r-pill);
  font-family: var(--mono);
}
.tier h3 { font-size: 16.5px; }
.tier .price { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; margin: 14px 0 2px; }
.tier .price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier .from { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.tier .blurb { font-size: 14px; color: var(--muted); margin: 12px 0 18px; }
.tier ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.tier li { font-size: 14px; color: var(--ink-soft); display: flex; gap: 9px; align-items: flex-start; }
.tier li .ck { flex: none; color: var(--accent); margin-top: 2px; }
.tier .btn { margin-top: auto; }
.tier__note {
  font-size: 12.5px; color: var(--muted); line-height: 1.5;
  margin: -8px 0 16px; padding-top: 4px;
}
.pricing-disclaimer {
  max-width: 72ch; margin-top: 28px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-sm);
}
.pricing-disclaimer p {
  font-size: 14.5px; color: var(--muted); line-height: 1.65; margin: 0 0 10px;
}
.pricing-disclaimer p:last-child { margin-bottom: 0; }
.pricing-disclaimer strong { color: var(--ink-soft); font-weight: 600; }

.pricing-scope {
  max-width: 72ch; margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.pricing-scope p {
  font-size: 14.5px; color: var(--muted); line-height: 1.65; margin: 0 0 12px;
}
.pricing-scope p:last-child { margin-bottom: 0; }
.pricing-scope strong { color: var(--ink-soft); font-weight: 600; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 860px){ .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step .num {
  font-family: var(--mono); font-size: 14px; font-weight: 500;
  width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- niche sections ---------- */
.niche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px){ .niche-grid { grid-template-columns: 1fr; } }
.niche {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px;
  display: flex; flex-direction: column;
}
.niche h3 { font-size: 20px; margin-bottom: 10px; }
.niche p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.niche a { font-size: 15px; font-weight: 500; color: var(--accent-ink); display: inline-flex; gap: 7px; align-items: center; margin-top: auto; }
.niche a:hover .arrow { transform: translateX(3px); }

/* ---------- customer success carousel ---------- */
.success-carousel { position: relative; }
.success-carousel__controls {
  display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 18px;
}
@media (min-width: 720px) {
  .success-carousel__controls { display: none; }
}
.success-carousel__btn {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-soft); display: grid; place-items: center;
  transition: border-color .15s, color .15s, box-shadow .15s, transform .12s;
  box-shadow: var(--shadow-sm);
}
.success-carousel__btn:hover:not(:disabled) {
  border-color: var(--accent-line); color: var(--accent-ink);
  box-shadow: var(--shadow-md);
}
.success-carousel__btn:active:not(:disabled) { transform: translateY(1px); }
.success-carousel__btn:disabled { opacity: .4; cursor: not-allowed; }
.success-carousel__btn svg { width: 18px; height: 18px; }

.success-carousel__viewport {
  overflow: hidden;
  margin: 0 calc(var(--gut) * -1);
  padding: 0 var(--gut);
}
.success-carousel__track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 4px;
}
.success-carousel__track::-webkit-scrollbar { display: none; }

.success-card {
  flex: 0 0 min(100%, 340px);
  scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
  display: flex; flex-direction: column;
}
@media (min-width: 720px) {
  .success-card { flex-basis: calc((100% - 40px) / 3); scroll-snap-align: none; }
}
.success-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.success-card--placeholder { opacity: .92; }
.success-card--placeholder:hover { transform: none; }

.success-card__browser { border-bottom: 1px solid var(--line-soft); }
.success-card__chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--bg-tint);
  border-bottom: 1px solid var(--line-soft);
}
.success-card__traffic {
  display: inline-flex; gap: 5px; flex: none;
}
.success-card__traffic i {
  width: 9px; height: 9px; border-radius: 50%; display: block;
  background: var(--line);
}
.success-card__traffic i:nth-child(1) { background: #f87171; }
.success-card__traffic i:nth-child(2) { background: #fbbf24; }
.success-card__traffic i:nth-child(3) { background: #4ade80; }
.success-card__url {
  flex: 1; min-width: 0;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 6px; padding: 5px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.success-card__preview {
  aspect-ratio: 16 / 10;
  display: grid; place-items: center; padding: 20px;
  position: relative; overflow: hidden;
}
.success-card__preview--aivis {
  background:
    radial-gradient(circle at 20% 20%, rgba(224,57,43,.18), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(245,179,1,.22), transparent 40%),
    linear-gradient(145deg, #fff7f6 0%, #fff9eb 100%);
}
.success-card__preview--skypatrol {
  background:
    radial-gradient(circle at 75% 25%, rgba(59,130,246,.2), transparent 45%),
    radial-gradient(circle at 25% 75%, rgba(30,64,175,.15), transparent 40%),
    linear-gradient(145deg, #f0f6ff 0%, #eef4fb 100%);
}
.success-card__preview--soon {
  background:
    repeating-linear-gradient(
      -45deg,
      var(--bg-tint),
      var(--bg-tint) 8px,
      var(--line-soft) 8px,
      var(--line-soft) 9px
    );
}
.success-card__preview-in {
  text-align: center; display: grid; gap: 6px;
  position: relative; z-index: 1;
}
.success-card__preview-in strong {
  font-size: 18px; letter-spacing: -0.02em;
}
.success-card__preview-in span:last-child {
  font-size: 13px; color: var(--muted);
}
.success-card__badge {
  display: inline-block; justify-self: center;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--ok-bg); color: var(--ok);
  padding: 4px 10px; border-radius: var(--r-pill);
  margin-bottom: 4px;
}
.success-card__badge--muted {
  background: var(--bg); color: var(--faint);
  border: 1px dashed var(--line);
}

.success-card__body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column; flex: 1;
}
.success-card__body h3 { font-size: 18px; margin-bottom: 8px; }
.success-card__body p {
  font-size: 14.5px; color: var(--muted); margin-bottom: 16px; flex: 1;
}
.success-card__body a {
  font-size: 15px; font-weight: 500; color: var(--accent-ink);
  display: inline-flex; gap: 7px; align-items: center; margin-top: auto;
}
.success-card__body a:hover .arrow { transform: translateX(3px); }

.success-carousel__dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 24px;
}
@media (min-width: 720px) {
  .success-carousel__dots { display: none; }
}
.success-carousel__dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; padding: 0; background: var(--line);
  transition: background .15s, transform .15s;
}
.success-carousel__dot.is-active {
  background: var(--accent); transform: scale(1.2);
}
.success-carousel__dot:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

@media (max-width: 719px) {
  .success-carousel__controls { margin-bottom: 14px; }
  .success-card { flex-basis: calc(100% - 48px); scroll-snap-align: center; }
  .success-carousel__viewport { scroll-padding-inline: var(--gut); }
}

/* ---------- form ---------- */
.form-shell {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 38px; max-width: 720px; margin: 0 auto;
}
.field { margin-bottom: 20px; }
.field > label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--ink-soft); }
.field .req { color: var(--accent); }
.input, .select, .textarea {
  width: 100%; font-family: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { resize: vertical; min-height: 96px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .row2 { grid-template-columns: 1fr; } }
.opts { display: flex; flex-wrap: wrap; gap: 9px; }
.opt {
  position: relative; user-select: none;
}
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; color: var(--ink-soft);
  border: 1px solid var(--line); background: var(--bg);
  padding: 8px 14px; border-radius: var(--r-pill);
  transition: all .14s ease;
}
.opt input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }
.opt input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft); }
.opt--plan span strong { font-weight: 600; color: var(--ink); }

/* stripe / payment block */
.pay-block {
  margin-top: 6px; border: 1px dashed var(--accent-line); background: var(--accent-soft);
  border-radius: var(--r-md); padding: 18px 20px;
}
.pay-block .ptxt { font-size: 13.5px; color: var(--accent-ink); }
.pay-block .ptxt strong { font-weight: 600; }
.btn--stripe { background: #635bff; color: #fff; }
.btn--stripe:hover { background: #534dd6; }
.btn--stripe:disabled { opacity: .55; cursor: not-allowed; }
.stripe-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  margin-top: 16px; justify-content: center; width: 100%;
}
.stripe-badge .lock { color: var(--ok); }

/* success state */
.form-success {
  text-align: center; padding: 30px 10px;
}
.form-success .ok-ico {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ok-bg); color: var(--ok);
  display: grid; place-items: center; margin: 0 auto 20px;
}
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 44ch; margin: 0 auto; }
.hidden { display: none !important; }

.form-notice {
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 14.5px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}
.form-notice--info { background: var(--yellow-soft); border-color: var(--yellow-line); color: var(--yellow-ink); }
.form-notice--error { background: #fdecec; border-color: #f6cdc9; color: #b91c1c; }
.form-notice--ok { background: var(--ok-bg); border-color: #c6e9d8; color: var(--ok); }
.form-shell.is-loading { opacity: .65; pointer-events: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 4px; font-size: 17px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  flex: none; width: 22px; height: 22px; position: relative; color: var(--muted);
  transition: transform .2s ease;
}
.faq summary .pm::before, .faq summary .pm::after {
  content: ""; position: absolute; background: currentColor;
  left: 50%; top: 50%; transform: translate(-50%,-50%);
}
.faq summary .pm::before { width: 13px; height: 1.5px; }
.faq summary .pm::after { width: 1.5px; height: 13px; transition: transform .2s ease; }
.faq details[open] summary .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq details[open] summary { color: var(--accent-ink); }
.faq .ans { padding: 0 4px 22px; font-size: 15.5px; color: var(--muted); max-width: 64ch; }
.faq .ans p { margin: 0 0 0.85em; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.band {
  background: var(--ink); color: #fff;
  border-radius: var(--r-lg); padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.band h2 { font-size: clamp(24px, 3.4vw, 34px); max-width: 18ch; color:#fff; }
.band p { color: #b9b9c2; margin-top: 10px; font-size: 16px; }
.band .btn--primary { background: #fff; color: var(--ink); }
.band .btn--primary:hover { background: #ececf3; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer__grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__pos { max-width: 40ch; }
.footer__pos p { font-size: 15px; color: var(--muted); margin-top: 12px; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; font-weight: 500; }
.footer__col a { display: block; font-size: 15px; color: var(--ink-soft); padding: 5px 0; }
.footer__col a:hover { color: var(--accent-ink); }
.footer__base { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--faint); }

/* ---------- reveal anim ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- back link (ad pages) ---------- */
.backlink { font-size: 14px; color: var(--muted); display: inline-flex; gap: 7px; align-items: center; }
.backlink:hover { color: var(--ink); }

/* ---------- cookie consent ---------- */
.cookie-banner {
  position: fixed; inset: auto 0 0 0; z-index: 9999;
  padding: 16px 20px 20px;
  pointer-events: none;
  transform: translateY(110%);
  transition: transform .35s ease;
}
.cookie-banner--visible {
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner__panel {
  max-width: var(--wrap, 1120px); margin: 0 auto;
  background: var(--surface, #fff);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 12px 40px rgba(18, 18, 22, .14);
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.cookie-banner__copy { flex: 1 1 280px; max-width: 58ch; }
.cookie-banner__title {
  font-weight: 600; font-size: 16px; color: var(--ink);
  margin: 0 0 6px;
}
.cookie-banner__copy p {
  margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted);
}
.cookie-banner__actions {
  display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0;
}
.cookie-banner__btn { white-space: nowrap; }
.cookie-settings {
  color: inherit; text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-settings:hover { color: var(--accent-ink); }
html.cookie-banner-open body { padding-bottom: 0; }
@media (max-width: 640px) {
  .cookie-banner__panel { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { flex-direction: column; }
  .cookie-banner__actions .btn { width: 100%; justify-content: center; }
}
