:root {
  --bg: #0b1020;
  --bg2: #121a2e;
  --card: #151e35;
  --text: #e8eef9;
  --muted: #94a3b8;
  --gold: #e8c547;
  --gold2: #f0d76a;
  --line: rgba(148, 163, 184, 0.18);
  --ok: #34d399;
  --max: 1120px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1000px 500px at 10% -10%, #1a2744 0%, var(--bg) 50%);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--gold2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0; gap: 1rem; flex-wrap: wrap;
}
.logo {
  font-family: var(--display); font-weight: 600; font-size: 1.35rem;
  letter-spacing: -0.02em; color: var(--text); text-decoration: none;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; font-size: 0.95rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border-radius: 999px; padding: 0.7rem 1.25rem; font-weight: 700; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
}
.btn-gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1a1405 !important; }
.btn-gold:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text) !important; }
.btn-ghost:hover { border-color: var(--muted); }
.hero { padding: 2.5rem 0 3.5rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold); background: rgba(232, 197, 71, 0.1); border: 1px solid rgba(232, 197, 71, 0.25);
  border-radius: 999px; padding: 0.35rem 0.75rem; margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--display); font-weight: 560; font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 1rem; max-width: 16ch;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 38rem; margin: 0 0 1.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.fine { font-size: 0.88rem; color: var(--muted); }
.grid-3 { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1.1fr 0.9fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem 1.35rem;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.section { padding: 2.75rem 0; }
.section h2 {
  font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em; margin: 0 0 0.5rem;
}
.section .sub { color: var(--muted); margin: 0 0 1.5rem; max-width: 40rem; }
.track {
  border-radius: 1rem; overflow: hidden; border: 1px solid var(--line); background: var(--bg2);
  min-height: 160px; display: flex; flex-direction: column;
}
.track-bar { height: 8px; }
.track-modern .track-bar { background: linear-gradient(90deg, #38bdf8, #a78bfa); }
.track-classic .track-bar { background: linear-gradient(90deg, #b45309, #e8c547); }
.track-techy .track-bar { background: linear-gradient(90deg, #22d3ee, #4ade80); }
.track-body { padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.track-body h3 { margin: 0 0 0.35rem; }
.track-body p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.price-table { display: grid; gap: 1rem; }
@media (min-width: 800px) { .price-table { grid-template-columns: 1fr 1fr; } }
.price-card { position: relative; }
.price-card.featured { border-color: rgba(232, 197, 71, 0.45); box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.15); }
.price-card .amount { font-family: var(--display); font-size: 2.2rem; margin: 0.4rem 0; }
.price-card ul { margin: 0.75rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.price-card li { margin: 0.35rem 0; }
.badge-member {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em;
  text-transform: uppercase; background: rgba(52, 211, 153, 0.15); color: var(--ok);
  border: 1px solid rgba(52, 211, 153, 0.35); border-radius: 999px; padding: 0.2rem 0.55rem;
}
.steps { counter-reset: step; display: grid; gap: 0.85rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 0.9rem; padding: 1rem 1.15rem;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 1.75rem; height: 1.75rem; border-radius: 999px; background: var(--gold); color: #1a1405;
  font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center;
}
.examples { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .examples { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .examples { grid-template-columns: repeat(3, 1fr); } }
.ex {
  border-radius: 0.9rem; border: 1px solid var(--line); overflow: hidden; background: var(--bg2);
  text-decoration: none; color: inherit; display: block; transition: transform 0.15s ease, border-color 0.15s;
}
.ex:hover { transform: translateY(-3px); border-color: rgba(232, 197, 71, 0.35); text-decoration: none; }
.ex-visual {
  height: 140px; display: flex; align-items: flex-end; padding: 0.85rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.ex-modern { background: linear-gradient(145deg, #0f172a, #1e3a5f 50%, #38bdf8); color: #e0f2fe; }
.ex-classic { background: linear-gradient(145deg, #1c1410, #3d2914 45%, #c4a35a); color: #fef3c7; }
.ex-techy { background: linear-gradient(145deg, #020617, #0f172a 40%, #22d3ee 90%); color: #a5f3fc; }
.ex-body { padding: 0.9rem 1rem 1.1rem; }
.ex-body strong { display: block; margin-bottom: 0.2rem; }
.ex-body span { color: var(--muted); font-size: 0.88rem; }
.form-card label { display: block; font-size: 0.85rem; font-weight: 600; margin: 0.75rem 0 0.3rem; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; border-radius: 0.6rem; border: 1px solid var(--line); background: #0c1222;
  color: var(--text); padding: 0.65rem 0.75rem; font: inherit;
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  outline: 2px solid rgba(232, 197, 71, 0.45); border-color: transparent;
}
.form-card .row2 { display: grid; gap: 0.75rem; }
@media (min-width: 600px) { .form-card .row2 { grid-template-columns: 1fr 1fr; } }
.note {
  background: rgba(232, 197, 71, 0.08); border: 1px solid rgba(232, 197, 71, 0.22);
  border-radius: 0.75rem; padding: 0.85rem 1rem; color: var(--muted); font-size: 0.9rem; margin-top: 1rem;
}
footer {
  border-top: 1px solid var(--line); margin-top: 3rem; padding: 2rem 0 2.5rem; color: var(--muted); font-size: 0.9rem;
}
footer .logo { font-size: 1.1rem; display: inline-block; margin-bottom: 0.5rem; }
.compare {
  width: 100%; border-collapse: collapse; font-size: 0.92rem;
}
.compare th, .compare td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { color: var(--muted); font-weight: 600; }
.compare td:first-child { color: var(--muted); width: 38%; }
.tag-drop {
  display: inline-block; font-size: 0.72rem; font-weight: 700; color: #fca5a5;
  background: rgba(248, 113, 113, 0.12); border-radius: 0.3rem; padding: 0.1rem 0.4rem; margin-left: 0.35rem;
}

/* Value / compare strip */
.value-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .value-grid { grid-template-columns: repeat(4, 1fr); }
}
.value-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem 1.15rem 1.2rem;
  min-height: 100%;
}
.value-topic {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}
.value-row {
  border-radius: 0.65rem;
  padding: 0.7rem 0.8rem;
}
.value-was {
  background: rgba(248, 113, 113, 0.07);
  border: 1px solid rgba(248, 113, 113, 0.18);
}
.value-now {
  background: rgba(52, 211, 153, 0.07);
  border: 1px solid rgba(52, 211, 153, 0.2);
  margin-top: auto;
}
.value-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.value-was .value-label { color: #fca5a5; }
.value-now .value-label { color: #6ee7b7; }
.value-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.value-row strong { color: var(--text); font-weight: 700; }
/* legacy class names if any remain */
.value-card .was,
.value-card .now { display: none; }

/* Drag & drop zones */
.dropzone {
  position: relative;
  border: 1.5px dashed rgba(148, 163, 184, 0.35);
  border-radius: 0.85rem;
  background: #0c1222;
  padding: 1.15rem 1rem;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  cursor: pointer;
  margin-top: 0.35rem;
}
.dropzone:hover,
.dropzone:focus-within {
  border-color: rgba(232, 197, 71, 0.55);
  background: rgba(232, 197, 71, 0.04);
}
.dropzone.is-dragover {
  border-color: var(--gold);
  background: rgba(232, 197, 71, 0.1);
  box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.15);
}
.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  padding: 0;
  border: 0;
  background: transparent;
}
.dropzone-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.4rem;
  opacity: 0.9;
}
.dropzone-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 0.25rem;
  pointer-events: none;
}
.dropzone-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  pointer-events: none;
}
.file-list {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  text-align: left;
  max-height: 9rem;
  overflow: auto;
}
.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.35rem 0.5rem;
  border-radius: 0.4rem;
  background: rgba(15, 23, 42, 0.65);
  margin-bottom: 0.3rem;
  border: 1px solid var(--line);
}
.file-list li span.name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  flex: 1;
}
.file-list li span.meta {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--muted);
}
.file-list .empty {
  color: var(--muted);
  font-size: 0.82rem;
  padding: 0.25rem 0;
  border: 0;
  background: transparent;
}
.speed-callout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 800px) {
  .speed-callout { grid-template-columns: 1.2fr 0.8fr; }
}
.speed-stat {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  color: var(--gold);
  margin: 0 0 0.35rem;
  line-height: 1.1;
}

/* Horizontal scroll galleries */
.h-scroll {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.h-scroll::-webkit-scrollbar { height: 8px; }
.h-scroll::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}
.h-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: inherit;
  font: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.h-card:hover {
  border-color: rgba(232, 197, 71, 0.4);
  transform: translateY(-2px);
}
.h-card .prev {
  height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.h-card .body { padding: 0.85rem 1rem 1rem; }
.h-card .body strong { display: block; margin-bottom: 0.2rem; font-size: 0.95rem; }
.h-card .body span { color: var(--muted); font-size: 0.82rem; display: block; }
.h-card .body .cta {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold2);
}

/* Before/after compare cards */
.ba-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .ba-grid { grid-template-columns: 1fr 1fr; }
}
.ba-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: inherit;
  font: inherit;
  width: 100%;
  transition: border-color 0.15s, transform 0.15s;
}
.ba-card:hover {
  border-color: rgba(232, 197, 71, 0.4);
  transform: translateY(-2px);
}
.ba-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 110px;
}
.ba-split .half {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ba-split .before-half {
  background: linear-gradient(160deg, #3f3f46, #18181b);
  color: #fca5a5;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.ba-split .after-half {
  background: linear-gradient(160deg, #1e3a5f, #0f172a);
  color: #86efac;
}
.ba-body { padding: 0.9rem 1rem 1.05rem; }
.ba-body strong { display: block; margin-bottom: 0.25rem; }
.ba-body span { color: var(--muted); font-size: 0.88rem; }
.ba-body .open {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold2);
}

body.rf-modal-open { overflow: hidden; }

/* ===== Before/after image compare slider ===== */
.cmp {
  --cmp: 52%;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1220;
  aspect-ratio: 3 / 2;
  touch-action: none;
  cursor: ew-resize;
  user-select: none;
}
.cmp img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
}
.cmp-before { position: absolute; inset: 0; }
.cmp-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--cmp));
}
.cmp-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cmp);
  width: 0;
  z-index: 3;
  transform: translateX(-50%);
}
.cmp-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35), 0 0 18px rgba(0,0,0,0.45);
}
.cmp-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.5rem;
  height: 2.5rem;
  margin: -1.25rem 0 0 -1.25rem;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
  border: 0;
  cursor: ew-resize;
}
.cmp-knob:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.cmp-chip {
  position: absolute;
  top: 0.65rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.cmp-chip-before {
  left: 0.65rem;
  background: rgba(15, 23, 42, 0.72);
  color: #fca5a5;
}
.cmp-chip-after {
  right: 0.65rem;
  background: rgba(15, 23, 42, 0.72);
  color: #86efac;
}
.cmp-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.cmp-card .cmp-meta {
  padding: 1rem 1.15rem 1.15rem;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 700px) {
  .cmp-card .cmp-meta {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.cmp-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}
.cmp-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.cmp-expand {
  justify-self: start;
}

/* Track sample cards with real thumbs */
.h-card .prev-img {
  height: 130px;
  width: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #0b1220;
}
.h-card .prev-img-wrap {
  position: relative;
  height: 130px;
  overflow: hidden;
}
.h-card .prev-badge {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
}

/* Theater lightbox */
.theater[hidden] { display: none !important; }
.theater {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}
.theater-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(6px);
}
.theater-panel {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: 94vh;
  background: #0b1220;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}
.theater-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.theater-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
}
.theater-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.theater-close {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
}
.theater-close:hover { border-color: var(--gold); color: var(--gold); }
.theater-stage {
  --cmp: 50%;
  position: relative;
  flex: 1;
  min-height: 48vh;
  max-height: 70vh;
  background: #020617;
  touch-action: none;
  cursor: ew-resize;
}
.theater.is-single .theater-stage { cursor: default; }
.theater.is-single .cmp-handle,
.theater.is-single .cmp-chip-before { display: none; }
.theater.is-single .cmp-after { clip-path: none !important; }
.theater-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #0b1220;
}
.theater-stage .cmp-after {
  clip-path: inset(0 0 0 var(--cmp));
}
.theater-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line);
}

/* Fresh buttons (less “bootstrap 2014”) */
.btn {
  border-radius: 0.65rem;
  letter-spacing: -0.01em;
}
.btn-gold {
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 8px 24px -12px rgba(232, 197, 71, 0.65);
}
.btn-ghost {
  border-radius: 0.65rem;
}

/* Style direction boards (Modern / Classic / Techy) — not a template carousel */
.dir-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .dir-grid { grid-template-columns: repeat(3, 1fr); }
}
.dir-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dir-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  height: 168px;
  background: #020617;
}
.dir-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.dir-mosaic img:first-child {
  grid-row: 1 / span 2;
}
.dir-body {
  padding: 1.15rem 1.2rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dir-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-family: var(--display);
  letter-spacing: -0.02em;
}
.dir-body .dir-lead {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.dir-traits {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}
.dir-traits li {
  position: relative;
  padding: 0.2rem 0 0.2rem 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.dir-traits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.85;
}
.dir-fit {
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--text);
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}
.dir-fit span {
  color: var(--muted);
  font-weight: 400;
}
.dir-bar {
  height: 4px;
}
.dir-bar-modern { background: linear-gradient(90deg, #38bdf8, #a78bfa); }
.dir-bar-classic { background: linear-gradient(90deg, #b45309, #e8c547); }
.dir-bar-techy { background: linear-gradient(90deg, #22d3ee, #4ade80); }

/* Full-page iframe compare modal */
.rf-modal[hidden] { display: none !important; }
.rf-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}
.rf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(5px);
}
.rf-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(92vh, 920px);
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.55);
}
.rf-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: #0b1220;
}
.rf-modal__head h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--display);
  letter-spacing: -0.02em;
}
.rf-modal__head p {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.rf-modal__close {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: transparent;
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
}
.rf-modal__close:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.rf-modal__compare {
  display: grid;
  grid-template-columns: 1fr;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #020617;
}
@media (min-width: 800px) {
  .rf-modal__compare { grid-template-columns: 1fr 1fr; }
}
.rf-modal__pane {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}
@media (min-width: 800px) {
  .rf-modal__pane { border-top: 0; min-height: 55vh; }
  .rf-modal__pane + .rf-modal__pane { border-left: 1px solid rgba(148, 163, 184, 0.15); }
}
.rf-modal__pane-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  background: #0b1220;
  color: var(--muted);
}
.rf-modal__pane-label.is-before { color: #fca5a5; }
.rf-modal__pane-label.is-after { color: #86efac; }
.rf-modal__pane iframe {
  flex: 1;
  width: 100%;
  border: 0;
  background: #fff;
  min-height: 42vh;
}
@media (min-width: 800px) {
  .rf-modal__pane iframe { min-height: 55vh; }
}
.rf-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: #0b1220;
}
.rf-modal--single .rf-modal__compare { grid-template-columns: 1fr; }
.rf-modal--single #rf-pane-before { display: none; }

/* —— Full-site showcase cards —— */
.sc-track-section { padding-top: 1.5rem; }
.sc-track-head { margin-bottom: 1rem; }
.sc-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .sc-grid { grid-template-columns: repeat(3, 1fr); }
}
.sc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.2rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.sc-card-top {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.sc-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #0b1220;
  flex-shrink: 0;
}
.sc-card h3 {
  margin: 0.2rem 0 0.15rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.sc-industry {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.sc-track-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.sc-track-modern { color: #5eead4; border-color: rgba(45, 212, 191, 0.35); background: rgba(45, 212, 191, 0.08); }
.sc-track-classic { color: #e8c547; border-color: rgba(232, 197, 71, 0.35); background: rgba(232, 197, 71, 0.08); }
.sc-track-techy { color: #67e8f9; border-color: rgba(34, 211, 238, 0.35); background: rgba(34, 211, 238, 0.08); }
.sc-tagline {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}
.sc-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.sc-meta strong { color: var(--gold2); }
.sc-pages {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.sc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.35rem;
}
.sc-actions .btn { font-size: 0.88rem; padding: 0.55rem 0.95rem; }
.site-foot {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-foot p { margin: 0 0 0.35rem; }
.portal-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.85rem 0 0.35rem;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
}
.portal-check input { margin-top: 0.25rem; }
.home-sc-strip {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.home-sc-strip h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
