/* PropYield 2026 — design refresh. Charcoal + PropYield orange (#f08701). */

:root {
  --ink: #23262b;
  --ink-soft: #5a6070;
  --ink-faint: #9aa1b0;
  --paper: #f6f7f9;
  --card: #ffffff;
  --line: #e4e7ec;
  --accent: #f08701;
  --accent-dark: #d97a00;
  --accent-soft: #fff3e2;
  --good: #1e7e4c;
  --bad: #b3362c;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 16px rgba(16, 24, 40, .06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
  padding: 10px 20px;
}
.brand { display: flex; align-items: baseline; gap: 2px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.brand em { color: var(--accent); font-style: normal; }
.topbar .spacer { flex: 1; }
.topbar nav { display: flex; gap: 4px; align-items: center; }

.btn {
  font: inherit; font-weight: 600; font-size: 14px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink);
  padding: 8px 14px; cursor: pointer;
  transition: background .12s, border-color .12s;
  white-space: nowrap;
}
.btn:hover { background: var(--paper); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { border-color: transparent; }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn.danger { color: var(--bad); border-color: #eecfcb; }
.btn:disabled { opacity: .5; cursor: default; }

/* ---------- layout ---------- */
.wrap { max-width: 1060px; margin: 0 auto; padding: 20px 16px 80px; }
.hero { text-align: center; padding: 28px 16px 6px; }
.hero h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { color: var(--ink-soft); max-width: 620px; margin: 0 auto; }
.hero-try { margin-top: 18px; }
.hero-try-label {
  display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 10px;
}
.hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-chip {
  font: inherit; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 1px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); padding: 10px 14px; min-width: 172px;
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
.hero-chip:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 6px 20px rgba(16,24,40,.12); }
.hero-chip .hc-title { font-weight: 800; font-size: 13.5px; color: var(--ink); }
.hero-chip .hc-line { font-size: 12px; color: var(--ink-soft); }
.hero-chip .hc-q { font-size: 12px; font-weight: 700; color: var(--accent-dark); margin-top: 3px; }
@media (max-width: 640px) {
  .hero-chips { flex-direction: column; align-items: stretch; }
  .hero-chip { min-width: 0; }
}
.answers.pulse { animation: anspulse .8s; }
@keyframes anspulse { 0% { box-shadow: 0 0 0 3px rgba(240,135,1,.65), 0 -2px 24px rgba(16,24,40,.18); } 100% { box-shadow: 0 -2px 24px rgba(16,24,40,.18); } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 16px;
  overflow: hidden;
}
.card > .card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  font-weight: 700; font-size: 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfc;
}
.card > .card-head .num {
  background: var(--ink); color: #fff;
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; flex: none;
}
.card-body { padding: 16px 18px; }

.card-head.clickable { cursor: pointer; user-select: none; }
.card-head.clickable .chev { margin-left: auto; transition: transform .15s; color: var(--ink-faint); }
.card.open .card-head.clickable .chev { transform: rotate(180deg); }
.card .collapsible { display: none; }
.card.open .collapsible { display: block; }
.card-head .head-summary { margin-left: auto; font-weight: 600; color: var(--ink-soft); font-size: 13px; }
.card.open .card-head .head-summary { display: none; }

/* ---------- tabs ---------- */
.mode-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px 18px; }
.mode-tab {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 6px; text-align: center; font-weight: 700; font-size: 14px;
  cursor: pointer; background: #fff; color: var(--ink-soft);
  transition: all .12s;
}
.mode-tab:hover { border-color: var(--accent); color: var(--ink); }
.mode-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.mode-tab.active em { color: var(--accent); font-style: normal; }

/* ---------- forms ---------- */
.grid { display: grid; gap: 14px 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 760px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 460px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .mode-tabs { grid-template-columns: repeat(2, 1fr); }
}

.field label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 5px; text-transform: uppercase; letter-spacing: .02em;
}
.help {
  display: inline-flex; width: 15px; height: 15px; border-radius: 50%;
  background: var(--line); color: var(--ink-soft);
  align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; cursor: help; flex: none;
}
.control { position: relative; display: flex; }
.control .affix {
  display: flex; align-items: center; padding: 0 10px;
  border: 1px solid var(--line); background: #fbfbfc; color: var(--ink-soft);
  font-size: 13px; font-weight: 600;
}
.control .affix.pre { border-right: 0; border-radius: 8px 0 0 8px; }
.control .affix.post { border-left: 0; border-radius: 0 8px 8px 0; }
.control input, .control select {
  flex: 1; width: 100%; min-width: 0;
  font: inherit; font-size: 15px; color: var(--ink);
  padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff;
  transition: border-color .12s, box-shadow .12s;
}
.control input:focus, .control select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240, 135, 1, .15);
}
.control .affix.pre + input { border-radius: 0 8px 8px 0; }
.control input.has-post { border-radius: 8px 0 0 8px; }
.control .affix.pre + input.has-post { border-radius: 0; }
.control input[readonly] { background: #f2f3f5; color: var(--ink-soft); }
.control input.derived { background: #fbfbfc; }
input.flash { animation: flashbg .5s; }
@keyframes flashbg { 0% { background: var(--accent-soft); } 100% { background: #fff; } }

.checkline { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.checkline input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); }
.checkline select { font: inherit; font-size: 13px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; }

/* ---------- toolbar ---------- */
.toolbar { display: flex; gap: 6px; margin-left: auto; }
@media (max-width: 620px) {
  .card-head { flex-wrap: wrap; }
  .toolbar { width: 100%; margin-left: 0; justify-content: flex-end; }
}
.toolbar .btn { padding: 6px 10px; font-size: 13px; }
.toolbar .btn svg { width: 15px; height: 15px; vertical-align: -2px; }

/* ---------- answers ---------- */
.answers {
  position: sticky; bottom: 0; z-index: 40;
  margin-top: 18px;
  background: var(--ink); color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 -2px 24px rgba(16,24,40,.18);
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.answer { padding: 12px 16px; border-right: 1px solid rgba(255,255,255,.08); min-width: 0; }
.answer:last-child { border-right: 0; }
.answer .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #b9bec9; }
.answer .val { font-size: clamp(15px, 2.2vw, 21px); font-weight: 800; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.answer.hot .val { color: var(--accent); }
.answer .sub { font-size: 11.5px; color: #b9bec9; }
@media (max-width: 620px) {
  .answers { grid-template-columns: repeat(2, 1fr); }
  .answer:nth-child(2) { border-right: 0; }
}

/* ---------- yield range strip ---------- */
.ys-strip { display: grid; grid-template-columns: 34px repeat(5, 1fr) 34px; gap: 8px; align-items: center; }
.ys-cell { text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 8px 4px; background: #fbfbfc; }
.ys-cell.centre { background: var(--accent-soft); border-color: var(--accent); }
.ys-cell .p { font-weight: 700; font-size: 14px; }
.ys-cell .m { font-size: 12.5px; color: var(--ink-soft); }
.ys-arrow { border: none; background: none; cursor: pointer; font-size: 18px; color: var(--ink-soft); padding: 4px; }
.ys-arrow:hover { color: var(--accent); }
@media (max-width: 620px) { .ys-cell.edge { display: none; } .ys-strip { grid-template-columns: 34px repeat(3, 1fr) 34px; } }

/* ---------- loan table ---------- */
.loan-scroll { overflow-x: auto; }
table.loan { border-collapse: collapse; width: 100%; font-size: 13px; }
table.loan th, table.loan td { padding: 6px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.loan th:first-child, table.loan td:first-child { text-align: left; position: sticky; left: 0; background: #fff; font-weight: 700; }
table.loan thead th { color: var(--ink-soft); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- stat rows ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fbfbfc; }
.stat .lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.stat .val { font-size: 17px; font-weight: 800; margin-top: 2px; }
.stat .sub { font-size: 12px; color: var(--ink-soft); }

/* ---------- goal seek ---------- */
.gs-row { display: grid; grid-template-columns: minmax(150px, 1.4fr) 1fr 1fr auto; gap: 10px; align-items: end; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.gs-row:last-child { border-bottom: 0; }
.gs-row .gs-name { font-weight: 600; font-size: 13.5px; padding-bottom: 9px; }
@media (max-width: 640px) { .gs-row { grid-template-columns: 1fr 1fr; } .gs-row .gs-name { grid-column: 1 / -1; padding-bottom: 0; } }

/* ---------- modals ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(16, 20, 28, .5);
  display: none; align-items: flex-start; justify-content: center;
  padding: 6vh 16px;
}
.modal-back.show { display: flex; }
.modal {
  background: #fff; border-radius: 14px; box-shadow: 0 12px 48px rgba(0,0,0,.25);
  width: 100%; max-width: 420px; padding: 22px;
  max-height: 86vh; overflow-y: auto;
}
.modal.wide { max-width: 640px; }
.modal h3 { font-size: 18px; margin-bottom: 14px; }
.modal .field { margin-bottom: 12px; }
.modal .row-btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.modal .swap { font-size: 13px; color: var(--ink-soft); margin-top: 14px; text-align: center; }

.alert { border-radius: 8px; padding: 9px 12px; font-size: 13.5px; margin: 10px 0; display: none; }
.alert.err { background: #fdeceb; color: var(--bad); }
.alert.ok { background: #e8f5ee; color: var(--good); }
.alert.show { display: block; }

/* ---------- saved calcs ---------- */
.saved-item { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.saved-item:last-child { border-bottom: 0; }
.saved-item .meta { flex: 1; min-width: 0; }
.saved-item .meta .t { font-weight: 700; font-size: 14px; }
.saved-item .meta .s { font-size: 12.5px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-dark); }
.muted { color: var(--ink-soft); font-size: 13px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  padding: 10px 18px; border-radius: 99px; box-shadow: var(--shadow);
  z-index: 200; display: none;
}
.toast.show { display: block; animation: toastin .2s; }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 8px); } }

footer.site { text-align: center; color: var(--ink-faint); font-size: 13px; padding: 30px 16px; }
footer.site a { color: var(--ink-soft); margin: 0 8px; }

/* ---------- print ---------- */
@media print {
  .topbar, .toolbar, .mode-tabs, .btn, .answers, .gs-card, .modal-back, .toast, footer.site, .hero p, .noprint { display: none !important; }
  body { background: #fff; font-size: 12px; }
  .card { box-shadow: none; border-color: #bbb; break-inside: avoid; margin-top: 10px; }
  .card .collapsible { display: block !important; }
  .print-head { display: block !important; }
}
.print-head { display: none; padding: 4px 0 10px; border-bottom: 2px solid var(--accent); margin-bottom: 8px; }
.print-head .ph-brand { font-size: 20px; font-weight: 800; }
.print-head .ph-brand em { color: var(--accent); font-style: normal; }

/* password visibility toggle */
.py-pass-wrap { position: relative; flex: 1; display: flex; }
.py-pass-wrap input { width: 100%; padding-right: 40px; }
.py-eye { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); cursor: pointer; opacity: .55; user-select: none; }
.py-eye:hover { opacity: 1; }

/* ---------- save-modal deal sheet ---------- */
.sp-tag { font-size: 12px; font-weight: 600; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .05em; }
.save-preview { margin: 2px 0 18px; }
.sp-photos { display: flex; gap: 6px; margin-bottom: 8px; }
.sp-photos img { flex: 1; min-width: 0; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.sp-pdf { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin-bottom: 10px; min-width: 0; }
.sp-pdf b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink); border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(16,24,40,.18);
}
.sp-stat { padding: 11px 13px; border-right: 1px solid rgba(255,255,255,.08); min-width: 0; }
.sp-stat:last-child { border-right: 0; }
.sp-stat .lbl { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #b9bec9; }
.sp-stat .val { display: block; font-size: clamp(14px, 1.6vw, 18px); font-weight: 800; color: #fff; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-stat:first-child .val { color: var(--accent); }
.sp-sub { font-size: 12px; color: var(--ink-soft); margin-top: 9px; }
.sp-included {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--good);
  background: #e8f5ee; border-radius: 99px; padding: 4px 12px; margin-top: 8px;
}
@media (max-width: 520px) {
  .sp-stats { grid-template-columns: repeat(2, 1fr); }
  .sp-stat { border-bottom: 1px solid rgba(255,255,255,.08); }
  .sp-photos img { height: 70px; }
}

/* ---------- parsed-deal card ---------- */
.deal-card {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--good);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 16px 16px; color: var(--ink); font-size: inherit;
  /* [E2E-FIX 16 Aug] no display here: .alert hides it, .alert.show reveals it.
     A hard-coded display:block was overriding .alert's none — the EMPTY deal
     card was rendering on the homepage for everyone. */
}
.deal-media { display: flex; gap: 8px; margin-bottom: 12px; }
.deal-photo { flex: 1; min-width: 0; height: 158px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: none; }
.deal-photo.on { display: block; }
.deal-info { min-width: 0; }
.deal-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.deal-pdf { display: inline-flex; align-items: center; gap: 7px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; max-width: 100%; }
.deal-pdf-ico { background: #d93025; color: #fff; font-size: 10px; font-weight: 800; padding: 2px 5px; border-radius: 4px; letter-spacing: .04em; flex: none; }
.deal-pdf-name { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deal-pdf-size { font-size: 11px; color: var(--ink-faint); flex: none; }
.deal-read { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--good); }
.deal-title { font-size: 17px; font-weight: 800; margin-top: 8px; }
.deal-facts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.deal-fact { background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 4px 11px; font-size: 12.5px; }
.deal-fact b { font-weight: 800; }
.deal-actions { margin-top: 12px; display: flex; gap: 12px; align-items: center; }
@media (max-width: 640px) {
  .deal-photo { height: 84px; }
  .deal-photo:nth-child(3) { display: none !important; }
}

/* saved-list thumbnails */
.saved-thumb { width: 58px; height: 44px; object-fit: cover; border-radius: 6px; flex: none; }

/* ---------- PDF brochure drag-and-drop ---------- */
.hero-drop-hint { margin-top: 12px; font-size: 12.5px; color: var(--ink-faint); }
.hero-drop-link { color: var(--accent-dark); font-weight: 700; cursor: pointer; text-decoration: underline; }
.drop-overlay {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(35, 38, 43, .55); backdrop-filter: blur(2px);
  align-items: center; justify-content: center;
}
.drop-overlay.on { display: flex; }
.drop-card {
  background: var(--card); border: 2px dashed var(--accent); border-radius: 16px;
  padding: 42px 56px; text-align: center; pointer-events: none;
  box-shadow: 0 12px 48px rgba(16,24,40,.35);
}
.drop-icon { font-size: 40px; color: var(--accent); line-height: 1; }
.drop-title { font-size: 20px; font-weight: 800; margin-top: 10px; }
.drop-sub { font-size: 13px; color: var(--ink-soft); margin-top: 6px; max-width: 320px; }
.drop-overlay.busy .drop-icon { animation: dropspin 1s linear infinite; }
@keyframes dropspin { to { transform: rotate(360deg); } }

/* ---------- fee rows (one row per fee: % = £) ---------- */
.fee-rows { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.fee-row { display: grid; grid-template-columns: 118px 1fr; gap: 4px 14px; align-items: center; }
.fee-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .02em;
}
.fee-duo { display: grid; grid-template-columns: minmax(90px, 1fr) auto minmax(120px, 1.4fr); gap: 8px; align-items: center; }
.fee-eq { color: var(--ink-faint); font-weight: 700; }
@media (max-width: 460px) {
  .fee-row { grid-template-columns: 1fr; }
}

/* ---------- owner adverts ---------- */
/* Side rails: full-length skyscrapers, shown from normal laptop widths up. */
.ad-rail { display: none; position: fixed; top: 96px; bottom: 22px; width: 122px; z-index: 30; }
@media (min-width: 1360px) {
  .ad-rail { display: block; }
  .ad-left  { left:  max(10px, calc(50% - 664px)); }
  .ad-right { right: max(10px, calc(50% - 664px)); }
}
@media (min-width: 1500px) {
  .ad-rail { width: 200px; }
  .ad-left  { left:  max(12px, calc(50% - 744px)); }
  .ad-right { right: max(12px, calc(50% - 744px)); }
}
.ad-card {
  height: 100%; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 16px 16px; text-decoration: none; color: var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.ad-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.ad-card-ks::before { background: #677471; }   /* King Street sage */
.ad-card-ed::before { background: #FEDF00; }   /* Edwards yellow */
.ad-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(16,24,40,.12); text-decoration: none; }
.ad-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 10px; }
.ad-logo { display: block; max-width: 100%; max-height: 68px; margin: 2px 0 10px; object-fit: contain; object-position: left; }
.ad-brand { font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.ad-sub { font-size: 12px; color: var(--ink-soft); font-weight: 600; margin-bottom: 8px; }
.ad-copy { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; margin: 8px 0; }
.ad-tags { font-size: 11px; color: var(--ink-faint); margin: 8px 0; }
.ad-cta {
  display: inline-block; margin-top: auto; padding-top: 12px;
  font-size: 12.5px; font-weight: 700; color: var(--accent-dark);
  border-top: 1px solid var(--line);
}
.ad-card:hover .ad-cta { text-decoration: underline; }

/* Inline strip: laptops below the rail breakpoint, tablets and phones. */
.ad-strip { margin: 26px 0 4px; }
@media (min-width: 1360px) { .ad-strip { display: none; } }
.ad-strip-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin: 0 2px 8px; }
.ad-strip-cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ad-strip-cards { grid-template-columns: 1fr 1fr; } }
.ad-strip-card {
  display: flex; gap: 14px; align-items: center;
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px; text-decoration: none; color: var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.ad-strip-card:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(16,24,40,.12); text-decoration: none; }
.ad-strip-logo { flex: 0 0 auto; max-width: 96px; max-height: 44px; object-fit: contain; }
.ad-strip-text { min-width: 0; }
.ad-strip-title { display: block; font-weight: 800; font-size: 14px; }
.ad-strip-copy { display: block; font-size: 12px; color: var(--ink-soft); line-height: 1.4; margin: 3px 0 5px; }
.ad-strip-card .ad-cta { margin-top: 0; padding-top: 0; border-top: 0; }
