/* Host landing (/host) — ported from faaji-new-howitworks.html mockup.
   Everything is scoped under .hostland so it can't restyle the shared public
   nav/footer (public.css owns .pnav/.btn-primary/.hero etc.). Screenshots live
   in /static/img/host/ (extracted from the mockup's data URIs). */

.hostland {
  /* Mockup tokens — richer greys than public.css's :root, kept local. */
  --hl-surface: #161616;
  --hl-surface-2: #1c1c1c;
  --hl-border: #2a2a2a;
  --hl-border-soft: #1f1f1f;
  --hl-stone: #5a5a5a;
  --hl-ash: #9a9a9a;
  --hl-bone: #f5f2ee;
  --hl-cream: #f8f2e0;
  --hl-maroon: #800020;
  --hl-glow: rgba(128, 0, 32, 0.3);

  background: #0a0a0a;
  color: var(--hl-bone);
  line-height: 1.6;
  overflow-x: hidden;
}

.hostland .wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.hostland .serif { font-family: 'DM Serif Display', serif; font-weight: 400; letter-spacing: -0.01em; line-height: 1.06; }
.hostland .eyebrow {
  font-family: 'Karla', sans-serif;
  font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--hl-cream); font-weight: 700;
}
.hostland .eyebrow.muted { color: var(--hl-ash); }

.hostland .hl-btn {
  font-family: 'Karla', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em; padding: 11px 21px; border-radius: 3px;
  cursor: pointer; border: 1px solid transparent; text-decoration: none;
  display: inline-block; transition: all 0.2s;
}
.hostland .hl-btn.primary { background: var(--hl-maroon); color: var(--hl-bone); border-color: var(--hl-maroon); }
.hostland .hl-btn.primary:hover { box-shadow: 0 0 34px var(--hl-glow); }

.hostland section { position: relative; }
.hostland .divider { height: 1px; background: var(--hl-border-soft); }

/* ── Hero ── */
.hostland .hl-hero { padding: 124px 0 112px; text-align: center; position: relative; }
.hostland .hl-hero::before {
  content: ''; position: absolute; top: -8%; left: 50%; transform: translateX(-50%);
  width: 720px; height: 540px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(128, 0, 32, 0.2), transparent 62%);
}
.hostland .hl-hero .eyebrow { margin-bottom: 28px; position: relative; }
.hostland .hl-hero h1 { font-size: clamp(42px, 6.6vw, 86px); position: relative; margin-bottom: 30px; }
.hostland .hl-hero h1 em { font-style: italic; color: var(--hl-cream); }
.hostland .hl-hero .sub {
  max-width: 610px; margin: 0 auto 42px; font-size: clamp(16px, 1.7vw, 18.5px);
  color: var(--hl-ash); position: relative; line-height: 1.62; font-weight: 400;
}
.hostland .hl-hero .actions { display: flex; gap: 14px; justify-content: center; position: relative; flex-wrap: wrap; }

/* ── Problem ── */
.hostland .problem { padding: 104px 0; }
.hostland .problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hostland .problem h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 26px; line-height: 1.1; }
.hostland .problem p { color: var(--hl-ash); font-size: 17px; margin-bottom: 26px; max-width: 470px; line-height: 1.68; }
.hostland .problem .turn {
  font-family: 'DM Serif Display', serif; font-style: italic; font-size: 22px;
  color: var(--hl-bone); line-height: 1.4;
}
.hostland .problem .turn b { color: var(--hl-cream); font-style: normal; }

.hostland .mess { position: relative; height: 400px; }
.hostland .tab-card {
  position: absolute; background: var(--hl-surface); border: 1px solid var(--hl-border);
  border-radius: 7px; padding: 14px 16px; width: 190px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.6);
  display: flex; align-items: center; gap: 11px;
}
.hostland .tab-card .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--hl-stone); }
.hostland .tab-card .tname { font-size: 13.5px; font-weight: 600; color: var(--hl-bone); }
.hostland .tab-card .tsub { font-size: 11px; color: var(--hl-stone); margin-top: 1px; }
.hostland .tab-card .warn { margin-left: auto; font-size: 12px; color: var(--hl-stone); }
.hostland .tc1 { top: 6px; left: 12px; transform: rotate(-5deg); }
.hostland .tc2 { top: 62px; left: 154px; transform: rotate(4deg); z-index: 5; }
.hostland .tc3 { top: 130px; left: 26px; transform: rotate(2deg); }
.hostland .tc4 { top: 194px; left: 172px; transform: rotate(-4deg); }
.hostland .tc5 { top: 250px; left: 36px; transform: rotate(5deg); }
.hostland .tc6 { top: 312px; left: 150px; transform: rotate(-3deg); }
.hostland .mess .tangle { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* ── How it works ── */
.hostland .how { padding: 104px 0; text-align: center; }
.hostland .how .eyebrow { margin-bottom: 18px; }
.hostland .how h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 60px; }
.hostland .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.hostland .step {
  border: 1px solid var(--hl-border); border-radius: 8px; padding: 36px 30px;
  background: var(--hl-surface); position: relative; transition: border-color 0.25s, transform 0.25s;
}
.hostland .step:hover { border-color: var(--hl-maroon); transform: translateY(-3px); }
.hostland .step-num {
  font-family: 'DM Serif Display', serif; font-size: 46px; color: var(--hl-cream);
  line-height: 1; margin-bottom: 22px;
}
.hostland .step h3 { font-family: 'DM Serif Display', serif; font-size: 23px; margin-bottom: 12px; letter-spacing: -0.01em; }
.hostland .step p { color: var(--hl-ash); font-size: 14.5px; line-height: 1.62; }

/* ── The math + calculator ── */
.hostland .math { padding: 112px 0; }
.hostland .math .eyebrow { margin-bottom: 28px; }
.hostland .math-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 900px) { .hostland .math-grid { grid-template-columns: 1.05fr 1fr; gap: 100px; } }
.hostland .math h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.14; }
.hostland .math h2 .italic { font-style: italic; color: var(--hl-cream); }
.hostland .math-copy .lede { color: var(--hl-ash); font-size: 15px; line-height: 1.7; margin-top: 22px; }
.hostland .math-copy .disc { color: var(--hl-stone); font-size: 12.5px; line-height: 1.65; margin-top: 14px; max-width: 460px; }
.hostland .math-list { list-style: none; margin-top: 30px; padding: 0; }
.hostland .math-list li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; font-size: 13px; color: var(--hl-ash); border-top: 1px solid var(--hl-border); }
.hostland .math-list li:first-child { border-top: none; padding-top: 0; }
.hostland .math-list .arrow { font-family: 'DM Serif Display', serif; font-style: italic; color: var(--hl-bone); }
.hostland .math-list strong { color: var(--hl-bone); font-weight: 400; }

.hostland .calc-panel { background: var(--hl-surface); border: 1px solid var(--hl-border); border-radius: 10px; padding: 44px 36px; position: relative; }
.hostland .calc-panel .tag { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--hl-stone); margin-bottom: 26px; }
.hostland .calc-row { display: grid; grid-template-columns: 120px 1fr 76px; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--hl-border); }
.hostland .calc-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hl-ash); }
.hostland .calc-slider { -webkit-appearance: none; appearance: none; background: transparent; width: 100%; height: 20px; cursor: pointer; }
.hostland .calc-slider::-webkit-slider-runnable-track { height: 1px; background: var(--hl-border); }
.hostland .calc-slider::-moz-range-track { height: 1px; background: var(--hl-border); }
.hostland .calc-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; background: var(--hl-bone); border-radius: 50%; margin-top: -6px; cursor: grab; transition: background 0.15s, transform 0.15s; }
.hostland .calc-slider::-webkit-slider-thumb:hover { background: var(--hl-maroon); transform: scale(1.2); }
.hostland .calc-slider::-moz-range-thumb { width: 12px; height: 12px; background: var(--hl-bone); border: none; border-radius: 50%; cursor: grab; transition: background 0.15s, transform 0.15s; }
.hostland .calc-slider::-moz-range-thumb:hover { background: var(--hl-maroon); transform: scale(1.2); }
.hostland .calc-value { font-size: 12px; color: var(--hl-bone); text-align: right; font-family: 'Karla', sans-serif; }
.hostland .calc-result { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--hl-border); text-align: center; }
.hostland .calc-result-label { font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--hl-stone); margin-bottom: 12px; }
.hostland .calc-result-value { font-family: 'DM Serif Display', serif; font-size: 46px; color: var(--hl-bone); transition: color 0.2s; letter-spacing: -0.02em; }
.hostland .calc-result-value.flash { color: var(--hl-maroon); }
.hostland .calc-breakdown { margin-top: 16px; display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hl-stone); }
.hostland .calc-breakdown strong { color: var(--hl-ash); font-weight: 400; margin-left: 4px; }
.hostland .calc-split { height: 4px; background: var(--hl-border); margin-top: 26px; display: flex; overflow: hidden; border-radius: 2px; }
.hostland .calc-split .fill-you { width: 75%; background: var(--hl-bone); }
.hostland .calc-split .fill-fee { width: 25%; background: var(--hl-maroon); }
.hostland .calc-split-legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hl-stone); }

/* ── Transition + showcase ── */
.hostland .transition { padding: 96px 0 24px; text-align: center; }
.hostland .transition h2 { font-size: clamp(28px, 3.7vw, 46px); margin-bottom: 16px; }
.hostland .transition p { color: var(--hl-ash); font-size: 17px; }

.hostland .showcase { padding: 56px 0 92px; }
.hostland .show-block { margin-top: 56px; }
.hostland .show-head { margin-bottom: 22px; }
.hostland .show-head .eyebrow { margin-bottom: 11px; display: block; }
.hostland .show-head .lead { color: var(--hl-ash); font-size: 16px; font-style: italic; font-family: 'DM Serif Display', serif; }
.hostland .show-body {
  display: grid; grid-template-columns: 280px 1fr; border: 1px solid var(--hl-border);
  border-radius: 10px; overflow: hidden; background: var(--hl-surface); min-height: 404px;
}
.hostland .tablist { border-right: 1px solid var(--hl-border); }
/* Phone-only "tap" nudge — display:none keeps it out of the desktop grid. */
.hostland .show-cue { display: none; }
.hostland .show-tab {
  padding: 16px 22px; cursor: pointer; border-bottom: 1px solid var(--hl-border-soft);
  transition: background 0.18s; font-size: 14.5px;
}
.hostland .show-tab:last-child { border-bottom: none; }
.hostland .show-tab:hover { background: var(--hl-surface-2); }
.hostland .show-tab.active { background: var(--hl-surface-2); border-left: 2px solid var(--hl-maroon); padding-left: 20px; }
.hostland .show-tab .tab-label { font-weight: 600; color: var(--hl-ash); }
.hostland .show-tab.active .tab-label { color: var(--hl-bone); }
.hostland .stage { padding: 30px; display: flex; flex-direction: column; }
.hostland .stage-media {
  flex: 1; border: 1px solid var(--hl-border); border-radius: 8px; background: #0a0a0a;
  display: flex; align-items: center; justify-content: center; min-height: 296px;
  position: relative; overflow: hidden;
  background-image:
    linear-gradient(var(--hl-border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hl-border-soft) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hostland .stage-placeholder { text-align: center; padding: 30px; }
.hostland .stage-placeholder .ph-icon {
  width: 54px; height: 54px; border-radius: 10px; background: var(--hl-surface);
  border: 1px solid var(--hl-maroon); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 22px;
}
.hostland .stage-placeholder .ph-title { font-family: 'DM Serif Display', serif; font-size: 20px; margin-bottom: 6px; }
.hostland .stage-placeholder .ph-note { font-size: 11px; color: var(--hl-stone); letter-spacing: 0.14em; text-transform: uppercase; }
.hostland .stage-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.hostland .stage-cap { margin-top: 20px; color: var(--hl-ash); font-size: 15px; line-height: 1.62; max-width: 580px; }

/* ── Closer ── */
.hostland .closer { padding: 112px 0; }
.hostland .closer-inner { text-align: center; max-width: 770px; margin: 0 auto; }
.hostland .closer h2 { font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 28px; }
.hostland .closer p { color: var(--hl-ash); font-size: 17px; line-height: 1.72; margin-bottom: 20px; }
.hostland .closer .absolve b { color: var(--hl-bone); }
.hostland .collapse {
  display: flex; align-items: center; justify-content: center; gap: 36px;
  margin: 54px 0 42px; flex-wrap: wrap;
}
.hostland .tool-pile { display: flex; flex-wrap: wrap; gap: 8px; max-width: 430px; justify-content: flex-end; }
.hostland .tool-chip {
  border: 1px solid var(--hl-border); background: var(--hl-surface); border-radius: 5px;
  padding: 8px 13px; font-size: 12.5px; color: var(--hl-stone);
}
.hostland .collapse-arrow { font-size: 26px; color: var(--hl-cream); flex-shrink: 0; }
.hostland .faaji-one {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  border: 1px solid var(--hl-maroon); border-radius: 12px; padding: 28px 36px;
  background: radial-gradient(ellipse at center, rgba(128, 0, 32, 0.28), var(--hl-surface));
  box-shadow: 0 0 48px var(--hl-glow); text-align: center; flex-shrink: 0;
  text-decoration: none;
}
.hostland .faaji-one img { display: block; width: 54px; height: auto; }
.hostland .faaji-one .word {
  font-family: 'DM Serif Display', serif; font-size: 26px; letter-spacing: 0.16em;
  color: var(--hl-bone); text-transform: uppercase;
}
.hostland .faaji-one .word b { color: var(--hl-cream); font-weight: 400; }
.hostland .closer .kicker {
  font-family: 'DM Serif Display', serif; font-size: 23px; color: var(--hl-bone);
  margin-top: 12px; line-height: 1.4;
}

/* ── Final CTA ── */
.hostland .final { padding: 124px 0; text-align: center; position: relative; }
.hostland .final::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 640px; height: 420px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(128, 0, 32, 0.18), transparent 60%);
}
.hostland .final h2 { font-size: clamp(34px, 5.2vw, 62px); margin-bottom: 18px; position: relative; }
.hostland .final p { color: var(--hl-ash); font-size: 17px; margin-bottom: 38px; position: relative; }

/* ── Scroll reveal ── */
.hostland .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.hostland .reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hostland .problem-grid { grid-template-columns: 1fr; gap: 44px; }
  .hostland .mess { height: 360px; max-width: 390px; margin: 0 auto; }
  .hostland .steps { grid-template-columns: 1fr; }
  .hostland .show-body { grid-template-columns: 1fr; min-height: 0; }
  /* Tabs become chip buttons that wrap (2 rows on 4-tab sections) — every
     option stays visible, no sideways scrolling, and the active one is
     unmistakably filled. A small "tap" cue sits above the row. */
  .hostland .show-cue {
    display: block; padding: 12px 14px 0;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--hl-stone); font-weight: 700;
  }
  .hostland .tablist { border-right: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 2px; }
  .hostland .show-tab {
    border: 1px solid var(--hl-border); border-radius: 999px;
    background: var(--hl-surface-2); color: var(--hl-ash);
    padding: 9px 16px; font-size: 13px; font-weight: 600; white-space: nowrap;
    transition: all 0.18s;
  }
  .hostland .show-tab:hover { background: var(--hl-surface-2); border-color: var(--hl-stone); }
  .hostland .show-tab.active {
    border: 1px solid var(--hl-maroon); background: var(--hl-maroon);
    padding-left: 16px; box-shadow: 0 0 18px var(--hl-glow);
  }
  .hostland .show-tab .tab-label { color: var(--hl-ash); }
  .hostland .show-tab.active .tab-label { color: var(--hl-bone); }
  .hostland .stage { padding: 14px 14px 18px; }
  /* Screenshots are wide desktop captures — on narrow screens show them whole
     (natural aspect ratio) instead of cropping to a tall center slice. */
  .hostland .stage { padding: 16px; }
  .hostland .stage-media { flex: none; min-height: 0; }
  .hostland .stage-img { height: auto; object-fit: contain; }
  .hostland .stage-cap { margin-top: 14px; font-size: 14px; }
  .hostland .collapse { flex-direction: column; }
  .hostland .tool-pile { justify-content: center; }
  .hostland .collapse-arrow { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hostland .reveal { opacity: 1; transform: none; transition: none; }
}
