/* ============================================================================
   InvestorClip — "Obsidian & Gold / Film House"
   A premium, fully-black cinematic identity. One signature accent: champagne gold.
   ============================================================================ */

:root {
  /* canvas */
  --bg: #000000;
  --bg-raise: #070708;
  --bg-elev: #0c0c0e;

  /* surfaces & hairlines */
  --surface: rgba(255,255,255,0.024);
  --surface-2: rgba(255,255,255,0.045);
  --surface-3: rgba(255,255,255,0.075);
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --line-strong: rgba(255,255,255,0.22);

  /* ink */
  --text: #ECECEC;
  --dim: #B8B8BE;
  --muted: #86868E;
  --faint: #56565E;

  /* signature gold — the only color on the page */
  --gold: #E8C77E;
  --gold-bright: #F3DCA4;
  --gold-deep: #B98E3E;
  --gold-ink: #1a1407;
  --gold-12: rgba(232,199,126,0.12);
  --gold-18: rgba(232,199,126,0.18);
  --gold-30: rgba(232,199,126,0.30);

  --ok: #7ee0b0;

  /* radii */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* type */
  --display: 'Space Grotesk', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --cine: cubic-bezier(.16,1,.3,1);

  --maxw: 1180px;
  --shadow: 0 40px 120px rgba(0,0,0,0.7);
  font-synthesis: none;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  letter-spacing: -0.005em;
}
a { color: inherit; text-decoration: none; }
b { font-weight: 600; color: var(--text); }
::selection { background: var(--gold-30); color: #fff; }

/* ---------- film-house background ---------- */
.bg-light {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -8%, rgba(232,199,126,0.10), transparent 60%),
    radial-gradient(40% 40% at 88% 8%, rgba(232,199,126,0.05), transparent 60%);
  opacity: 0.9;
  animation: keylight 16s ease-in-out infinite alternate;
}
@keyframes keylight {
  0%   { opacity: 0.7; transform: translateY(0); }
  100% { opacity: 1;   transform: translateY(1.5%); }
}
.bg-vignette {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 30%, transparent 55%, rgba(0,0,0,0.6) 100%);
}
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035;
  background-image: radial-gradient(#fff 1px, transparent 1.4px);
  background-size: 3px 3px;
  mix-blend-mode: screen;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0,0,0,0.55);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 26px; height: 26px; display: block; flex: 0 0 26px; }
.brand-name {
  font-family: var(--display); font-weight: 600; font-size: 18px;
  letter-spacing: -0.02em; color: var(--text);
}
.brand-name span { color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14.5px; color: var(--muted); }
.nav-links a.nl { transition: color .2s; }
.nav-links a.nl:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--gold);
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--gold-30); background: var(--gold-12);
  transition: background .2s, border-color .2s, transform .15s;
}
.nav-cta:hover { background: var(--gold-18); border-color: var(--gold); transform: translateY(-1px); }

main { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- views ---------- */
.view { display: none; }
.view.is-active { display: block; animation: rise .55s var(--cine); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { max-width: 900px; margin: clamp(40px, 9vh, 96px) auto 0; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--dim);
  padding: 8px 15px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface);
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

.title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(44px, 7.2vw, 88px); line-height: 1.02; letter-spacing: -0.045em;
  margin-top: 28px; color: #fff;
}
.title .em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--gold); letter-spacing: -0.01em;
  /* optical balance for serif inside grotesk */
  padding-right: 0.04em;
}
.sub {
  color: var(--dim); font-size: clamp(16px, 1.9vw, 20px); line-height: 1.6;
  margin: 26px auto 0; max-width: 600px; font-weight: 400;
}

/* url bar */
.urlbar {
  display: flex; align-items: center; gap: 8px;
  margin: 38px auto 0; max-width: 600px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 7px 7px 7px 18px; backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.urlbar:focus-within {
  border-color: var(--gold-30);
  box-shadow: 0 0 0 4px var(--gold-12), 0 20px 60px rgba(0,0,0,0.5);
}
.urlbar .globe { width: 20px; height: 20px; color: var(--faint); flex: 0 0 20px; }
.urlbar .globe svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; }
.urlbar input {
  flex: 1; background: none; border: none; outline: none; color: var(--text);
  font-size: 17px; font-family: inherit; padding: 14px 4px; letter-spacing: -0.01em;
}
.urlbar input::placeholder { color: var(--faint); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--gold-ink);
  border: none; border-radius: 10px; padding: 14px 22px; white-space: nowrap;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  box-shadow: 0 8px 24px rgba(232,199,126,0.22), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform .15s var(--ease), box-shadow .25s, filter .2s;
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(232,199,126,0.34), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn-gold:active { transform: translateY(0); }
.btn-gold:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-gold .arr { width: 17px; height: 17px; fill: none; stroke: var(--gold-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn-gold:hover .arr { transform: translateX(3px); }

.examples { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 20px; color: var(--faint); font-size: 13.5px; flex-wrap: wrap; }
.chip {
  font-family: inherit; font-size: 13.5px; color: var(--muted); cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  transition: color .2s, border-color .2s, background .2s;
}
.chip:hover { color: var(--text); border-color: var(--gold-30); background: var(--surface-2); }

/* ---------- cinematic demo screen ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--cine), transform .8s var(--cine); }
.reveal.in { opacity: 1; transform: none; }

.stage { margin: clamp(56px, 8vw, 96px) auto 0; max-width: 940px; }
.screen {
  position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg);
  overflow: hidden; background: #000;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow), 0 0 0 1px rgba(232,199,126,0.04), 0 0 80px rgba(232,199,126,0.05);
}
.screen-grain { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0.05;
  background-image: radial-gradient(#fff 1px, transparent 1.3px); background-size: 3px 3px; }
.screen-bars::before, .screen-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 7%; z-index: 5;
  background: #000; pointer-events: none;
}
.screen-bars::before { top: 0; } .screen-bars::after { bottom: 0; }

/* HUD overlay (timecode + waveform + progress) */
.hud { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.tc {
  position: absolute; top: calc(7% + 14px); left: 18px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11px;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.6);
  display: inline-flex; align-items: center; gap: 7px;
}
.tc .rec { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.wave {
  position: absolute; bottom: calc(7% + 14px); left: 18px; right: 18px; height: 22px;
  display: flex; align-items: flex-end; gap: 3px; opacity: 0.5;
}
.wave i { flex: 1; background: linear-gradient(180deg, var(--gold), var(--gold-deep)); border-radius: 2px; height: 20%; transform-origin: bottom; }
.scrub { position: absolute; bottom: calc(7% - 2px); left: 0; height: 2px; background: var(--gold); width: 0%; box-shadow: 0 0 8px var(--gold); }

/* scenes */
.scenes { position: absolute; inset: 7% 0; z-index: 3; }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6%; opacity: 0; }
.scene .kick { font-family: var(--display); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.scene .big { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; color: #fff; line-height: 1.04; font-size: clamp(28px, 5vw, 52px); }
.scene .big em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.scene .small { color: var(--dim); font-size: clamp(13px, 1.6vw, 17px); margin-top: 14px; max-width: 70%; }
.scene .stat { font-family: var(--display); font-weight: 600; font-size: clamp(64px, 13vw, 150px); color: var(--gold); letter-spacing: -0.04em; line-height: 0.9; }
.scene .statlabel { color: var(--text); font-size: clamp(14px, 1.8vw, 20px); margin-top: 10px; letter-spacing: 0.02em; }
.scene .cta-pill { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-weight: 600; font-size: 15px; }
.screen-cap { position: absolute; left: 0; right: 0; bottom: -2px; }

.stage-cap { text-align: center; margin-top: 18px; color: var(--faint); font-size: 13px; letter-spacing: 0.02em; }
.stage-cap b { color: var(--muted); font-weight: 500; }

/* ---------- how it works ---------- */
.section { margin: clamp(80px, 13vw, 150px) auto 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-ey { font-family: var(--display); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.section-h { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.035em; margin-top: 14px; color: #fff; }
.section-h em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.section-sub { color: var(--muted); font-size: 16px; margin-top: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative; padding: 30px 26px 28px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s;
}
.step:hover { border-color: var(--gold-30); transform: translateY(-3px); background: linear-gradient(180deg, var(--surface-3), var(--surface-2)); }
.step .num { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--gold); line-height: 1; }
.step h4 { font-family: var(--display); font-size: 18px; font-weight: 600; margin: 18px 0 8px; letter-spacing: -0.02em; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.step .ico { position: absolute; top: 26px; right: 24px; width: 22px; height: 22px; color: var(--faint); }
.step .ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ---------- reel ---------- */
.reel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.film {
  position: relative; cursor: pointer; text-align: left; font-family: inherit; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-elev);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.film:hover { border-color: var(--gold-30); transform: translateY(-3px); }
.film-thumb { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.film-thumb video, .film-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55)); }
.film-play {
  position: absolute; z-index: 2; left: 16px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(232,199,126,0.3); transform: scale(.9); opacity: .92; transition: transform .25s var(--ease);
}
.film:hover .film-play { transform: scale(1); }
.film-play svg { width: 14px; height: 14px; margin-left: 2px; fill: var(--gold-ink); }
.film-meta { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.film-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--gold)); box-shadow: 0 0 10px var(--c, var(--gold)); flex: 0 0 9px; }
.film-name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.film-dur { color: var(--faint); font-size: 12.5px; font-family: ui-monospace, monospace; }

/* closing "create yours" tile */
.film-cta { display: block; border-style: dashed; border-color: var(--line-2); background: transparent; }
.film-cta:hover { border-color: var(--gold); }
.film-cta-thumb { display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 100% at 50% 0%, var(--gold-12), transparent 70%); }
.film-cta-thumb::after { display: none; }
.film-cta-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.film-cta-plus { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--gold); line-height: 0.8; }
.film-cta-text { font-family: var(--display); font-weight: 600; font-size: 17px; color: #fff; letter-spacing: -0.02em; }
.film-cta-arrow { font-size: 13px; color: var(--gold); letter-spacing: 0.02em; }

/* ---------- loader ---------- */
.loader { max-width: 940px; margin: clamp(30px, 6vh, 64px) auto 0; padding-bottom: 70px; }
.loader-kick { text-align: center; font-family: var(--display); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.loader-head { display: grid; grid-template-columns: 150px 1fr 260px; gap: 34px; align-items: center; margin-top: 28px; }
.ring { position: relative; width: 150px; height: 150px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,0.07); stroke-width: 7; }
.ring-fg {
  fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
  transition: stroke-dashoffset .6s var(--cine);
  filter: drop-shadow(0 0 8px var(--gold-30));
}
.ring-pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; font-size: 36px; color: #fff; }
.ring-pct i { font-size: 16px; color: var(--muted); font-style: normal; margin-left: 2px; margin-top: 8px; }
.phase-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.loader-copy h2 { font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -0.03em; margin: 10px 0 6px; color: #fff; }
.loader-copy p { color: var(--muted); font-size: 15.5px; }
.tip { margin-top: 16px; font-size: 13.5px; color: var(--faint); min-height: 20px; transition: opacity .25s; }
.tip b { color: var(--dim); }

.preview-card {
  aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2);
  background: var(--bg-elev); display: flex; align-items: center; justify-content: center; position: relative;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
}
.preview-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .8s; }
.preview-card img.in { opacity: 1; }
.preview-empty { color: var(--faint); font-size: 12.5px; letter-spacing: 0.04em; }
.preview-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(232,199,126,0.06); pointer-events: none; }

.stepper { list-style: none; margin-top: 44px; display: grid; gap: 4px; }
.stepper li {
  display: flex; align-items: center; gap: 16px; padding: 15px 18px; border-radius: var(--r);
  border: 1px solid transparent; transition: background .35s, border-color .35s, opacity .35s; opacity: .45;
}
.stepper li .dot {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%;
  border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 600; color: var(--faint); position: relative; font-family: var(--display);
}
.stepper li .meta h5 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.stepper li .meta p { font-size: 13px; color: var(--muted); }
.stepper li.active { opacity: 1; background: var(--surface-2); border-color: var(--line); }
.stepper li.active .dot { border-color: var(--gold); color: var(--gold); }
.stepper li.active .dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--gold-30); border-top-color: transparent; animation: spin .9s linear infinite;
}
.stepper li.done { opacity: 1; }
.stepper li.done .dot { border-color: var(--gold); color: var(--gold-ink); background: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }

.console {
  margin-top: 26px; height: 92px; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line);
  background: rgba(0,0,0,0.5); padding: 14px 18px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; color: var(--faint);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 3px;
}
.console div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .8; }
.console div::before { content: "› "; color: var(--gold-deep); }
.console div:last-child { color: var(--dim); }

/* ---------- result ---------- */
.result { max-width: 960px; margin: clamp(24px, 5vh, 56px) auto 0; text-align: center; padding-bottom: 70px; }
.result-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--gold); background: var(--gold-12); border: 1px solid var(--gold-30); padding: 7px 15px; border-radius: 999px;
}
.result-badge svg { width: 14px; height: 14px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.result h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -0.035em; margin: 18px 0 28px; color: #fff; }
.result h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.player-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 90px rgba(232,199,126,0.06); background: #000; aspect-ratio: 16/9; }
#player { width: 100%; height: 100%; display: block; }
.result-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn-gold svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-ghost {
  font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--text); cursor: pointer;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 24px; transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--gold-30); background: var(--surface-2); }
.result-meta { color: var(--faint); font-size: 13.5px; width: 100%; margin-top: 6px; font-family: ui-monospace, monospace; letter-spacing: 0.02em; }

/* ---------- error ---------- */
.errbox { max-width: 520px; margin: 80px auto; text-align: center; padding: 44px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg-elev); }
.err-ico { width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 50%; background: var(--gold-12); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; font-family: var(--display); border: 1px solid var(--gold-30); }
.errbox h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.errbox p { color: var(--muted); font-size: 15px; margin-bottom: 24px; word-break: break-word; }

/* ---------- footer ---------- */
.foot { max-width: var(--maxw); margin: clamp(80px, 12vw, 140px) auto 0; padding: 40px 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot .brand-name { font-size: 16px; }
.foot-tag { color: var(--faint); font-size: 13.5px; }
.foot-links { display: flex; gap: 22px; color: var(--muted); font-size: 13.5px; }
.foot-links a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .steps, .reel { grid-template-columns: 1fr; }
  .loader-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .preview-card { width: 100%; max-width: 360px; }
}
@media (max-width: 600px) {
  .nav-inner { padding: 16px 20px; }
  main { padding: 0 20px; }
  .nav-links .nl { display: none; }
  .urlbar { flex-wrap: wrap; padding: 12px; }
  .urlbar .globe { display: none; }
  .urlbar input { width: 100%; padding: 8px 6px; }
  .btn-gold { width: 100%; justify-content: center; }
  .foot { flex-direction: column; text-align: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .bg-light { animation: none; }
}
