/* ============================================================
   S-DRIVE HOSTING PAGE — hosting.css
   Same language as the product pages: dark hero with the real
   product, warm light sections, real screenshots, one accent.
   The product accent is S-Drive's own blue (from its logo); the
   buy buttons stay orange, like everywhere else on the site.
   Plan cards: components/plans.css. FAQ: components/faq.css.
   ============================================================ */

/* ── Page accent: S-Drive blue, in its three forms ──
   Page-scoped names (--ho-*), so nothing in base.css is redeclared. */
.ho-hero, .ho-glance, .ho-how, .ho-inside, .ho-plans, .ho-cms, .ho-faq, .ho-cta, .ho-dialog {
  --ho-blue: #1F6BFF;            /* paint only: glows, lines, dots */
  --ho-blue-on-dark: #8CB4FF;    /* text on --dark-bg: 8.96:1 */
  --ho-blue-on-light: #0B4FCC;   /* text on --surface: 6.38:1 · --surface-subtle: 5.43:1 */
}

/* ============================================================
   SHARED — headings, buttons, reveal
   ============================================================ */
.ho-eyebrow {
  margin-bottom: 14px;
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--ho-blue-on-light);
}
.ho-eyebrow--dark { color: var(--ho-blue-on-dark); }

.ho-title {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tr-h1);
  line-height: 1.05;
  color: var(--text-primary);
}
.ho-title--dark { color: var(--text-on-dark); }

.ho-lead { max-width: 52ch; font-size: 17px; line-height: 1.65; color: var(--text-secondary); }
.ho-lead--dark { color: var(--text-muted-on-dark); }
.ho-lead a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }

.ho-head { margin-bottom: var(--sp-6); }
.ho-head .ho-title { margin-bottom: 20px; }
.ho-head--center { text-align: center; }
.ho-head--center .ho-lead { margin: 0 auto; }
.ho-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-3) var(--sp-6);
  align-items: end;
}
.ho-head--split .ho-title { margin-bottom: 0; }
.ho-head--split .ho-lead { justify-self: end; }

/* ── Buttons ── */
.ho-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 15px;
  font-weight: var(--fw-medium);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}
.ho-btn--lg { min-height: 54px; padding: 0 28px; font-size: var(--fs-body); }
.ho-btn:active { transform: scale(0.98); }
.ho-btn svg { flex-shrink: 0; transition: transform var(--transition); }

.ho-btn--primary { background: var(--primary-solid); color: #fff; box-shadow: 0 10px 30px rgba(209, 64, 0, 0.28); }
.ho-btn--primary:hover { background: var(--primary-solid-hover); }
@media (hover: hover) and (pointer: fine) { .ho-btn--primary:hover svg { transform: translateY(2px); } }

.ho-btn--ghost { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.04); color: var(--text-on-dark); }
.ho-btn--ghost:hover { border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.08); }
.ho-btn-meta { font-size: var(--fs-meta); color: var(--text-muted-on-dark); }

.ho-btn--violet { background: var(--violet-solid); color: #fff; box-shadow: 0 10px 28px rgba(124, 72, 240, 0.25); }
.ho-btn--violet:hover { background: #6A36DE; }

.ho-play {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.ho-play svg { margin-left: 2px; }

/* ── Reveal on scroll (hosting.js adds .visible) ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out) var(--delay, 0s),
              transform 0.8s var(--ease-out) var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: none; }


/* ============================================================
   S1 — HERO
   ============================================================ */
.ho-hero {
  position: relative;
  min-height: min(100svh, 960px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height, 64px);
  background: var(--dark-bg);
}
.ho-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 72% 42%, rgba(31, 107, 255, 0.2) 0%, transparent 70%),
    radial-gradient(40% 50% at 15% 85%, rgba(255, 90, 31, 0.07) 0%, transparent 70%);
}

.ho-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  gap: var(--sp-5);
  align-items: center;
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-7);
}

.ho-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.ho-hero-logo { width: auto; height: 40px; margin-bottom: var(--sp-4); }

.ho-hero-title {
  margin-bottom: var(--sp-3);
  font-size: clamp(44px, 5.6vw, 80px);
  font-weight: var(--fw-book);
  letter-spacing: var(--tr-display);
  line-height: 1.02;
  color: var(--text-on-dark);
}
/* Blue-only gradient: every stop ≥ 7:1 on --dark-bg (no orange mix, it went muddy) */
.ho-hero-title-em {
  background: linear-gradient(118deg, #E3EDFF 0%, #A9C7FF 45%, #7AA7FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (forced-colors: active) {
  .ho-hero-title-em { background: none; -webkit-text-fill-color: CanvasText; color: CanvasText; }
}

.ho-hero-sub {
  max-width: 46ch;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted-on-dark);
}
.ho-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--sp-3); }
.ho-hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ho-hero-note li { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-meta); color: var(--text-muted-on-dark); }
.ho-hero-note svg { flex-shrink: 0; color: var(--ho-blue-on-dark); }

/* ── Stage: the real dashboard, the Publish dialog in front ── */
.ho-hero-stage {
  position: relative;
  aspect-ratio: 1.3;
  margin-right: calc(-1 * min(var(--sp-6), max(0px, (100vw - var(--max-w)) / 2)));
}
.ho-win {
  position: absolute;
  overflow: hidden;
  border-radius: 14px;
  background: #F2F3F8;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 80px rgba(0, 0, 0, 0.55), 0 8px 24px rgba(0, 0, 0, 0.3);
}
.ho-win > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.ho-win--main { top: 0; right: 0; width: 86%; aspect-ratio: 1440 / 900; }
.ho-win--front { left: 0; bottom: 4%; z-index: 2; width: 58%; aspect-ratio: 714 / 390; background: #2B2B2B; }

.ho-win-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(22, 18, 13, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: var(--fs-meta);
  font-weight: var(--fw-medium);
  color: var(--text-on-dark);
}
.ho-win-tag img { width: 20px; height: 20px; border-radius: 5px; }
.ho-win--main .ho-win-tag { left: auto; right: 12px; }

/* The live address chip: the result of publishing */
.ho-live-chip {
  position: absolute;
  right: 6%;
  bottom: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  background: #221C15;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  font-size: var(--fs-small);
  color: var(--text-muted-on-dark);
}
.ho-live-chip svg { color: var(--mint-on-dark); }
.ho-live-chip strong { font-weight: var(--fw-medium); color: var(--text-on-dark); }
.ho-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(0, 215, 172, 0.12);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--mint-on-dark);
}
.ho-live-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-on-dark); }

/* ── At a glance ── */
.ho-glance { border-top: 1px solid rgba(255, 255, 255, 0.07); background: #1D1812; }
.ho-glance-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ho-glance-item { display: flex; flex-direction: column-reverse; gap: 6px; padding: var(--sp-4) var(--sp-3); }
.ho-glance-item + .ho-glance-item { border-left: 1px solid rgba(255, 255, 255, 0.07); }
.ho-glance-item:first-child { padding-left: 0; }
.ho-glance-item dt { font-size: var(--fs-meta); color: var(--text-muted-on-dark); }
.ho-glance-item dd {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: var(--fw-strong);
  letter-spacing: var(--tr-h2);
  line-height: 1;
  color: var(--text-on-dark);
}


/* ============================================================
   S2 — HOW IT WORKS
   ============================================================ */
.ho-how { padding: var(--sp-8) 0; background: var(--surface); }

.ho-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
  counter-reset: none;
}
.ho-step {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 1px 2px rgba(33, 26, 20, 0.04), 0 18px 50px rgba(33, 26, 20, 0.06);
}
.ho-step-shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: var(--sp-3) var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(120% 90% at 50% 0%, rgba(31, 107, 255, 0.12) 0%, rgba(31, 107, 255, 0.03) 60%, transparent 100%), var(--surface);
}
.ho-step-shot img {
  width: 100%;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 0 0 1px rgba(33, 26, 20, 0.08), 0 14px 32px rgba(33, 26, 20, 0.14);
}
/* A small dialog: shown whole and centred, not cropped */
.ho-step-shot--fit { display: grid; place-items: center; padding-bottom: var(--sp-3); }
.ho-step-shot--fit img { border-radius: 10px; }

.ho-step-body { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: var(--sp-3) var(--sp-4) var(--sp-4) var(--sp-3); }
.ho-step-num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(31, 107, 255, 0.1);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--ho-blue-on-light);
}
.ho-step-title { font-size: 20px; font-weight: var(--fw-bold); letter-spacing: var(--tr-h3); line-height: 1.25; color: var(--text-primary); align-self: center; }
.ho-step-text { font-size: 15px; line-height: 1.6; color: var(--text-secondary); }

/* Every plan includes */
.ho-included {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: var(--sp-4);
  padding: 20px var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-subtle);
}
.ho-included-label {
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--text-secondary);
}
.ho-included-list { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ho-included-list li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--text-primary); }
.ho-included-list svg { flex-shrink: 0; color: var(--ho-blue-on-light); }


/* ============================================================
   S3 — INSIDE S-DRIVE
   ============================================================ */
.ho-inside { padding: var(--sp-8) 0; background: var(--surface-subtle); }

.ho-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }

.ho-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 1px 2px rgba(33, 26, 20, 0.04), 0 18px 50px rgba(33, 26, 20, 0.06);
}
.ho-tile-copy { padding: var(--sp-4) var(--sp-4) var(--sp-3); }
.ho-tile-title { margin-bottom: 8px; font-size: 22px; font-weight: var(--fw-bold); letter-spacing: var(--tr-h3); line-height: 1.2; color: var(--text-primary); }
.ho-tile-text { max-width: 52ch; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }

.ho-tile-shot {
  flex: 1;
  display: grid;
  place-items: center;
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  background: radial-gradient(90% 90% at 50% 100%, rgba(31, 107, 255, 0.1) 0%, transparent 70%);
}
.ho-tile-shot img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(33, 26, 20, 0.08), 0 18px 40px rgba(33, 26, 20, 0.14);
}

/* Wide tile: copy left, the dashboard bleeding off the right and bottom */
.ho-tile--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.ho-tile--wide .ho-tile-copy { align-self: center; padding: var(--sp-5); }
.ho-tile--wide .ho-tile-title { font-size: clamp(26px, 2.6vw, 32px); font-weight: var(--fw-strong); letter-spacing: var(--tr-h2); }
.ho-tile--wide .ho-tile-text { font-size: var(--fs-body); }
.ho-tile-shot--bleed { place-items: start; padding: var(--sp-5) 0 0 0; overflow: hidden; }
.ho-tile-shot--bleed img { width: 108%; max-width: none; border-radius: 12px 0 0 0; }


/* ============================================================
   S4 — PLANS (cards: components/plans.css)
   ============================================================ */
.ho-plans { padding: var(--sp-8) 0; background: var(--dark-bg); }
.ho-plans .ho-head { margin-bottom: var(--sp-4); }

/* Billing switch: a segmented control made of two real radios */
.ho-billing {
  display: flex;
  width: max-content;
  margin: 0 auto var(--sp-6);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
}
.ho-billing-opt { position: relative; }
.ho-billing-opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.ho-billing-opt > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--text-muted-on-dark);
  transition: background-color var(--transition), color var(--transition);
}
.ho-billing-opt:hover > span { color: var(--text-on-dark); }
.ho-billing-opt input:checked + span { background: var(--text-on-dark); color: var(--text-primary); }
.ho-billing-opt input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.ho-billing-save {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(31, 107, 255, 0.16);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--ho-blue-on-dark);
}
.ho-billing-opt input:checked + span .ho-billing-save { background: rgba(11, 79, 204, 0.12); color: var(--ho-blue-on-light); }

.ho-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-2);
  align-items: stretch;
}

/* Yearly or monthly figures: the grid's data-billing picks one */
.ho-plan-grid[data-billing="yearly"] .ho-m,
.ho-plan-grid[data-billing="monthly"] .ho-y { display: none; }

/* Each card spans the grid's six rows (name, tagline, price, billed,
   specs, button) through subgrid, so every row lines up across cards */
.ho-plan {
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding: var(--sp-4) var(--sp-3);
}
.ho-plan.pl-card--featured { padding-top: var(--sp-4); }
.ho-price { margin-top: var(--sp-3); align-self: end; }
.ho-plan .pl-amount { font-size: 40px; }
.ho-plan.pl-card--featured .pl-amount { font-size: 44px; }
.ho-billed { min-height: 1.5em; margin-top: 8px; font-size: var(--fs-meta); color: var(--text-muted-on-dark); }
.ho-billed strong { font-weight: var(--fw-bold); color: var(--ho-blue-on-dark); }

/* Specs: the same five rows on every card, so plans compare line by line */
.ho-specs {
  display: flex;
  flex-direction: column;
  margin: var(--sp-3) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ho-specs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--fs-small);
}
.ho-spec-k { color: var(--text-muted-on-dark); }
.ho-spec-v { font-weight: var(--fw-bold); color: var(--text-on-dark); text-align: right; }
.ho-spec-v--no { font-weight: var(--fw-regular); color: var(--text-muted-on-dark); }
.ho-spec-apps { min-height: 52px; }
.ho-apps { display: flex; gap: 4px; }
.ho-apps img { width: 24px; height: 24px; border-radius: 50%; }

.ho-plan .pl-btn { align-self: end; }

.ho-plans-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: var(--sp-5);
}
.ho-plans-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--text-on-dark); }
.ho-plans-trust svg { color: var(--ho-blue-on-dark); flex-shrink: 0; }
.ho-plans .pl-foot { margin-top: var(--sp-2); }


/* ============================================================
   S5 — CMS HOSTING (in development)
   ============================================================ */
.ho-cms { padding: var(--sp-8) 0; background: var(--surface-subtle); }

.ho-cms-inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--sp-6);
  align-items: center;
}

.ho-cms-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(114, 57, 244, 0.25);
  border-radius: var(--radius-pill);
  background: rgba(114, 57, 244, 0.08);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--violet-on-light);
}
.ho-cms-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--violet-on-light); }
.ho-cms .ho-title { margin-bottom: 20px; }
.ho-cms-em { color: var(--violet-on-light); }

.ho-cms-sub {
  margin: var(--sp-4) 0 14px;
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--text-secondary);
}
.ho-cms-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.ho-cms-list li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-small); line-height: 1.45; color: var(--text-secondary); }
.ho-cms-list svg { flex-shrink: 0; margin-top: 1px; color: var(--violet-on-light); }
.ho-cms-list strong { display: block; font-weight: var(--fw-bold); color: var(--text-primary); }

.ho-cms-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: var(--sp-5); }
.ho-cms-cta-note { font-size: var(--fs-meta); color: var(--text-secondary); }

/* Diagram card + roadmap */
.ho-cms-figure {
  padding: var(--sp-4);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(124, 72, 240, 0.25) 0%, transparent 70%),
    var(--dark-bg);
  box-shadow: 0 30px 80px rgba(33, 26, 20, 0.18);
}
.ho-arch { display: flex; align-items: center; justify-content: center; gap: 0; padding: var(--sp-3) 0 var(--sp-4); }
.ho-arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 150px;
  padding: 20px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}
.ho-arch-node img { width: 40px; height: 40px; border-radius: 50%; }
.ho-arch-node strong { font-size: 15px; font-weight: var(--fw-bold); color: var(--text-on-dark); }
.ho-arch-node > span:last-child { font-size: var(--fs-meta); color: var(--text-muted-on-dark); }
.ho-arch-node--back { border-color: rgba(201, 179, 251, 0.3); }
.ho-arch-glyph {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(124, 72, 240, 0.2);
  color: var(--violet-on-dark);
}
.ho-arch-link {
  position: relative;
  flex: 1;
  min-width: 70px;
  max-width: 120px;
  height: 2px;
  background: linear-gradient(90deg, rgba(31, 107, 255, 0.6), rgba(201, 179, 251, 0.6));
}
.ho-arch-link span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: var(--dark-bg);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  white-space: nowrap;
  color: var(--text-on-dark);
}

.ho-road { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: var(--sp-3); }
.ho-road-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 0 18px 30px;
}
.ho-road-step:last-child { padding-bottom: 0; }
/* Dot + the line down to the next step */
.ho-road-step::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 5px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: var(--dark-bg);
}
.ho-road-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 21px;
  bottom: 2px;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.ho-road-step--done::before { border-color: var(--mint-on-dark); background: var(--mint-on-dark); }
.ho-road-step--now::before { border-color: var(--violet-on-dark); background: rgba(201, 179, 251, 0.3); }
.ho-road-step strong { font-size: 15px; font-weight: var(--fw-bold); color: var(--text-on-dark); }
.ho-road-step span { font-size: var(--fs-meta); color: var(--text-muted-on-dark); }


/* ============================================================
   S6 — FAQ (list: components/faq.css)
   ============================================================ */
.ho-faq { padding: var(--sp-8) 0; background: var(--surface); }
.ho-faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: var(--sp-6);
  align-items: start;
}
.ho-faq .ho-head { margin-bottom: 0; }
.ho-faq .faq-answer a { color: var(--primary-on-light); text-decoration: underline; text-underline-offset: 3px; }


/* ============================================================
   S7 — FINAL CTA
   ============================================================ */
.ho-cta {
  position: relative;
  overflow: hidden;
  padding: var(--sp-8) 0;
  background: var(--dark-bg);
  text-align: center;
}
.ho-cta-glow {
  position: absolute;
  left: 50%;
  top: 45%;
  width: min(900px, 120vw);
  height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(31, 107, 255, 0.16) 0%, rgba(255, 90, 31, 0.06) 40%, transparent 68%);
  pointer-events: none;
}
.ho-cta-inner { position: relative; z-index: 1; }

/* The apps flowing into S-Drive */
.ho-cta-flow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: var(--sp-4); }
.ho-cta-apps { display: flex; gap: 8px; }
.ho-cta-apps img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4)); }
.ho-cta-line {
  width: 64px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), var(--ho-blue));
}
.ho-cta-sdrive { width: 56px; height: 56px; filter: drop-shadow(0 10px 24px rgba(31, 107, 255, 0.45)); }

.ho-cta-title {
  margin-bottom: 20px;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: var(--fw-book);
  letter-spacing: var(--tr-display);
  line-height: 1.02;
  color: var(--text-on-dark);
}
.ho-cta-sub { max-width: 520px; margin: 0 auto var(--sp-4); font-size: var(--fs-lead); line-height: 1.6; color: var(--text-muted-on-dark); }
.ho-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
@media (hover: hover) and (pointer: fine) { .ho-cta .ho-btn--primary:hover svg { transform: none; } }


/* ============================================================
   DEMO VIDEO DIALOG
   ============================================================ */
.ho-dialog {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background: #1D1812;
  color: var(--text-on-dark);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  --focus-ring: var(--primary-on-dark);
}
.ho-dialog::backdrop { background: rgba(10, 8, 6, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ho-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 24px; }
.ho-dialog-title { font-size: 17px; font-weight: var(--fw-bold); letter-spacing: var(--tr-h3); }
.ho-dialog-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-on-dark);
  transition: background-color var(--transition);
}
.ho-dialog-close:hover { background: rgba(255, 255, 255, 0.08); }
.ho-dialog-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }

@media (prefers-reduced-motion: no-preference) {
  .ho-dialog[open] { animation: ho-dialog-in 0.3s var(--ease-out); }
  .ho-dialog[open]::backdrop { animation: ho-fade 0.3s ease; }
}
@keyframes ho-dialog-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes ho-fade { from { opacity: 0; } to { opacity: 1; } }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .ho-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-3); max-width: 760px; margin: 0 auto; }
}

@media (max-width: 1100px) {
  .ho-hero { min-height: 0; }
  .ho-hero-inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .ho-hero-stage { max-width: 760px; margin-right: 0; }

  .ho-cms-inner { grid-template-columns: minmax(0, 1fr); }
  .ho-cms-figure { max-width: 560px; }
  .ho-faq-inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
}

@media (max-width: 900px) {
  .ho-head--split { grid-template-columns: minmax(0, 1fr); }
  .ho-head--split .ho-lead { justify-self: start; }

  .ho-steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .ho-bento { grid-template-columns: minmax(0, 1fr); }
  .ho-tile--wide { display: flex; }
  .ho-tile--wide .ho-tile-copy { padding: var(--sp-4) var(--sp-4) var(--sp-3); }
  .ho-tile-shot--bleed { padding: 0 0 0 var(--sp-4); }

  .ho-glance-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ho-glance-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .ho-glance-item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.07); }
}

@media (max-width: 640px) {
  .ho-hero-inner { padding-top: var(--sp-6); }
  .ho-hero-logo { height: 32px; }
  .ho-hero-ctas { width: 100%; flex-direction: column; }
  .ho-hero-ctas .ho-btn { width: 100%; }
  .ho-hero-stage { aspect-ratio: 1.12; }
  .ho-win--main { width: 100%; }
  .ho-win--front { width: 74%; bottom: 10%; }
  .ho-win-tag { font-size: var(--fs-label); }
  .ho-live-chip { right: 0; font-size: var(--fs-meta); }

  .ho-glance-item { padding: var(--sp-3) var(--sp-2); }
  .ho-glance-item:nth-child(odd) { padding-left: 0; }

  .ho-step-body { padding: var(--sp-3); }
  .ho-included { padding: var(--sp-3); }

  .ho-tile-copy { padding: var(--sp-3); }
  .ho-tile-shot { padding: 0 var(--sp-3) var(--sp-3); }
  .ho-tile--wide .ho-tile-copy { padding: var(--sp-3); }
  .ho-tile-shot--bleed { padding: 0 0 0 var(--sp-3); }

  .ho-billing { width: 100%; }
  .ho-billing-opt { flex: 1; }
  .ho-billing-opt:first-of-type { flex: 1.7; }
  .ho-billing-save { white-space: nowrap; }
  /* The dashboard's tag moves to the top: the Publish window covers the bottom */
  .ho-win--main .ho-win-tag { top: 8px; bottom: auto; right: 8px; }
  .ho-billing-opt > span { width: 100%; justify-content: center; padding: 0 12px; }
  .ho-plan-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; }

  .ho-cms-list { grid-template-columns: minmax(0, 1fr); }
  .ho-cms-figure { padding: var(--sp-3); }
  .ho-arch-node { width: 120px; padding: 16px 8px; }
  .ho-arch-link { min-width: 56px; }

  .ho-cta-actions .ho-btn { width: 100%; }
}

/* Narrow phones: the diagram runs top to bottom, so nothing overlaps */
@media (max-width: 480px) {
  .ho-arch { flex-direction: column; padding-top: var(--sp-2); }
  .ho-arch-node { width: 100%; max-width: 240px; }
  .ho-arch-link {
    flex: none;
    width: 2px;
    height: 56px;
    min-width: 0;
    max-width: none;
    background: linear-gradient(180deg, rgba(31, 107, 255, 0.6), rgba(201, 179, 251, 0.6));
  }
}

/* Narrowest phones */
@media (max-width: 400px) {
  .ho-live-chip { display: none; }
  .ho-save-word { display: none; }
}
