/* =========================================================
   SpaceX IPO Landing — Dark Space Theme
   Mobile-first, works in EN / AR (RTL) / HU
   ========================================================= */

:root {
  --bg-0: #000000;
  --bg-1: #06070b;
  --bg-2: #0c0e15;
  --bg-3: #14171f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text-0: #ffffff;
  --text-1: #c8ccd6;
  --text-2: #7d828e;
  --accent: #ffffff;
  --accent-glow: #6aa9ff;
}

html { scroll-behavior: smooth; color-scheme: dark; background: var(--bg-0); }
body { background: var(--bg-0); color: var(--text-0); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4 { text-wrap: balance; letter-spacing: -0.02em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ─── Stars ─── */
.stars { position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 70% 10%, rgba(255,255,255,0.5), transparent);
  background-size: 800px 600px; }

/* ─── Grain ─── */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px; }

/* ─── Navbar ─── */
.nav-shell { backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); background: rgba(0,0,0,0.55); border-bottom: 1px solid var(--line); }

/* ─── Hero ─── */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.55; filter: saturate(110%) contrast(105%); }
.hero-overlay { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(0,0,0,0.0), rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.95) 100%),
              linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.8) 100%); }
.hero-bg-fallback { position: absolute; inset: 0; z-index: -3; background: radial-gradient(ellipse 80% 60% at 50% 30%, #0c1a2e, #000 70%); }

.hero-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-1); padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,0.03); backdrop-filter: blur(8px); }
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,0.7); animation: livePulse 1.8s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ─── Countdown ─── */
.countdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; max-width: 520px; margin: 0 auto; }
.countdown-cell { background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 14px; padding: 18px 8px; text-align: center; backdrop-filter: blur(12px); }
.countdown-num { font-family: 'Space Grotesk','Inter',system-ui,sans-serif; font-size: clamp(2rem,8vw,3.25rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--text-0); font-variant-numeric: tabular-nums; }
.countdown-label { margin-top: 6px; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-2); }
@media (min-width: 640px) { .countdown { gap: 14px; } .countdown-cell { padding: 22px 12px; border-radius: 18px; } .countdown-label { font-size: 0.7rem; } }

/* ─── Buttons ─── */
.btn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #000; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em; padding: 15px 28px; border-radius: 999px; border: none; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s, background 0.2s; text-decoration: none; position: relative; overflow: hidden; }
.btn-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(106,169,255,0.35) 50%, transparent 65%); transform: translateX(-130%); transition: transform 0.7s ease; }
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 40px rgba(106,169,255,0.25), 0 0 0 1px rgba(255,255,255,0.4); }
.btn-cta:hover::after { transform: translateX(130%); }
.btn-cta:active { transform: translateY(0); }
.btn-cta:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; color: var(--text-1); font-size: 0.9rem; font-weight: 500; padding: 14px 24px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); text-decoration: none; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.25); color: var(--text-0); }

/* ─── Sections ─── */
.section { position: relative; padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 120px 0; } }
.eyebrow { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }

/* ─── Fact strip ─── */
.fact-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 920px; margin: 0 auto; padding: 28px 24px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(12px); }
.fact-cell { text-align: center; min-width: 0; padding: 8px 4px; }
.fact-cell-eyebrow { display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-2); margin-bottom: 10px; }
.fact-cell-num { font-family: 'Space Grotesk','Inter',system-ui,sans-serif; font-size: clamp(1.55rem,4.8vw,2.4rem); font-weight: 700; letter-spacing: -0.03em; color: var(--text-0); line-height: 1; white-space: nowrap; }
.fact-cell-divider { display: none; }
@media (min-width: 768px) {
  .fact-strip { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 14px; padding: 32px 36px; }
  .fact-strip--compact { grid-template-columns: 1fr auto 1fr; padding: 24px 22px; max-width: 100%; }
  .fact-cell-divider { display: block; width: 1px; height: 56px; background: var(--line-2); align-self: center; }
  .fact-strip--compact .fact-cell-divider { height: 44px; }
  .fact-cell-eyebrow { font-size: 0.7rem; }
}
.fact-strip--compact .fact-cell-num { font-size: clamp(1.4rem,4vw,2rem); }
.fact-strip--stacked .fact-cell { text-align: left; padding: 4px; }
.fact-strip--stacked .fact-cell-num { text-align: left; white-space: normal; margin-bottom: 14px; }
.fact-strip--stacked .fact-cell-desc { color: var(--text-1); font-size: 0.9rem; line-height: 1.5; margin: 0; }
@media (min-width: 768px) { .fact-strip--stacked.fact-strip--compact { padding: 28px 30px; } .fact-strip--stacked .fact-cell-divider { height: 80px; } }

/* ─── Image wrapper ─── */
.split-img-wrap { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.split-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg,rgba(0,0,0,0.45),transparent 50%); pointer-events: none; }

/* ─── Bullets ─── */
.bullet { display: flex; gap: 14px; align-items: flex-start; }
.bullet-mark { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--text-0); margin-top: 2px; }
.bullet-text { color: var(--text-1); line-height: 1.6; font-size: 0.98rem; }
.bullet-text strong { color: var(--text-0); font-weight: 600; }
.spacex-mark { display: inline-flex; color: #fff; opacity: 0.92; }
.spacex-mark svg { height: 20px; width: auto; display: block; }
@media (min-width: 640px) { .spacex-mark svg { height: 24px; } }

/* ─── Info tip ─── */
.info-tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; padding: 0; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid var(--line-2); color: var(--text-1); cursor: pointer; transition: background 0.2s, color 0.2s; flex-shrink: 0; vertical-align: middle; }
.info-tip:hover { background: rgba(255,255,255,0.12); color: var(--text-0); border-color: rgba(255,255,255,0.3); }
.info-tip::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px); width: max-content; max-width: min(280px,calc(100vw - 32px)); padding: 10px 14px; background: rgba(20,23,31,0.98); border: 1px solid var(--line-2); border-radius: 10px; color: var(--text-1); font-size: 0.78rem; line-height: 1.45; text-align: left; white-space: normal; text-transform: none; opacity: 0; pointer-events: none; transition: opacity 0.18s, transform 0.18s; box-shadow: 0 12px 36px rgba(0,0,0,0.5); z-index: 50; }
.info-tip::before { content: ''; position: absolute; bottom: calc(100% + 5px); left: 50%; transform: translateX(-50%) translateY(4px); border: 5px solid transparent; border-top-color: rgba(20,23,31,0.98); opacity: 0; pointer-events: none; transition: opacity 0.18s, transform 0.18s; z-index: 50; }
.info-tip:hover::after, .info-tip.open::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.info-tip:hover::before, .info-tip.open::before { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Thesis rows ─── */
.thesis-vectors { position: relative; max-width: 880px; margin: 0 auto; }
@media (min-width: 768px) { .thesis-vectors::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: linear-gradient(180deg,transparent 0%,var(--line-2) 8%,var(--line-2) 92%,transparent 100%); pointer-events: none; } }
.thesis-row { position: relative; padding: 28px 0; border-top: 1px solid var(--line); transition: padding-left 0.45s cubic-bezier(0.22,1,0.36,1); }
.thesis-row:first-child { border-top: none; }
.thesis-row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .thesis-row { padding: 36px 0 36px 36px; } .thesis-row::before { content: ''; position: absolute; left: 0; top: 53px; width: 24px; height: 1px; background: var(--text-0); transform: scaleX(0); transform-origin: left center; transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); z-index: 1; } .thesis-row:hover::before { transform: scaleX(1); } .thesis-row:hover { padding-left: 48px; } }
.thesis-row-head { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 14px; margin-bottom: 12px; }
.thesis-row-num { font-family: 'Space Grotesk',system-ui,sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; color: var(--text-2); transition: color 0.3s; }
.thesis-row-rule { display: block; width: 17px; height: 1px; background: var(--line-2); transition: background 0.3s, width 0.4s cubic-bezier(0.22,1,0.36,1); }
.thesis-row-name { font-size: clamp(1.15rem,3.5vw,1.45rem); font-weight: 600; letter-spacing: -0.012em; color: var(--text-0); margin: 0; line-height: 1.2; }
.thesis-row-tags { display: block; margin-top: 5px; font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; color: var(--text-2); text-transform: uppercase; line-height: 1.4; }
.thesis-row-arrow { font-family: 'Space Grotesk',system-ui,sans-serif; font-size: 1.3rem; line-height: 1; color: var(--text-2); opacity: 0; transform: translate(-4px,0); transition: opacity 0.35s, transform 0.35s, color 0.35s; align-self: center; }
.thesis-row:hover .thesis-row-arrow { opacity: 1; transform: translate(0,0); color: var(--text-0); }
.thesis-row-body { font-size: 0.95rem; line-height: 1.6; color: var(--text-1); max-width: 62ch; margin: 0; }
@media (min-width: 768px) { .thesis-row-body { padding-left: calc(0.85rem * 2 + 17px + 28px); } }
.thesis-row:hover .thesis-row-num { color: var(--text-0); }
.thesis-row:hover .thesis-row-rule { background: var(--text-1); width: 24px; }

/* ─── Value list ─── */
.value-list { display: flex; flex-direction: column; gap: 4px; max-width: 720px; margin: 0 auto; }
.value-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.value-item:last-child { border-bottom: 1px solid var(--line); }
.value-num { font-family: 'Space Grotesk','Inter',system-ui,sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--text-2); letter-spacing: 0.04em; padding-top: 3px; }
.value-h { font-size: 1.1rem; font-weight: 600; color: var(--text-0); letter-spacing: -0.01em; margin-bottom: 6px; line-height: 1.3; }
.value-p { color: var(--text-1); font-size: 0.96rem; line-height: 1.55; }
@media (min-width: 640px) { .value-item { grid-template-columns: 72px 1fr; gap: 24px; padding: 26px 0; } .value-num { font-size: 1.25rem; } .value-h { font-size: 1.2rem; } }

/* ─── Banks ─── */
.banks { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 18px; align-items: center; }
@media (min-width: 640px) { .banks { grid-template-columns: repeat(5,1fr); gap: 14px 28px; } }
.bank-logo { display: flex; align-items: center; justify-content: center; height: 36px; padding: 8px 4px; opacity: 0.55; filter: brightness(0) invert(1); transition: opacity 0.25s; }
.bank-logo:hover { opacity: 0.95; }
.bank-logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; display: block; object-fit: contain; }
@media (min-width: 640px) { .bank-logo { height: 42px; } }

/* ─── Form ─── */
.form-card { background: linear-gradient(180deg,rgba(255,255,255,0.04),rgba(255,255,255,0.01)); border: 1px solid var(--line-2); border-radius: 24px; padding: 32px 24px; backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
@media (min-width: 640px) { .form-card { padding: 40px 36px; } }
.form-input { width: 100%; background: rgba(0,0,0,0.4); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; color: var(--text-0); font-size: 0.98rem; font-family: inherit; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; outline: none; -webkit-appearance: none; appearance: none; }
.form-input:focus-visible { border-color: rgba(255,255,255,0.5); background: rgba(0,0,0,0.6); box-shadow: 0 0 0 3px rgba(106,169,255,0.18); }
.form-input::placeholder { color: var(--text-2); }
.form-label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text-1); margin-bottom: 8px; letter-spacing: 0.01em; }

/* ─── intl-tel-input dark ─── */
.iti { width: 100%; background: rgba(0,0,0,0.4) !important; border-radius: 12px !important; border: 1px solid var(--line-2) !important; transition: border-color 0.2s, box-shadow 0.2s; }
.iti:focus-within { border-color: rgba(255,255,255,0.5) !important; box-shadow: 0 0 0 3px rgba(106,169,255,0.18) !important; }
#phone, .iti input[type=tel], .iti .iti__tel-input { background: transparent !important; border: none !important; box-shadow: none !important; outline: none !important; color: var(--text-0) !important; padding-top: 14px !important; padding-bottom: 14px !important; padding-right: 16px !important; font-size: 0.98rem !important; font-family: inherit !important; height: 50px !important; }
#phone::placeholder, .iti input[type=tel]::placeholder { color: var(--text-2) !important; }
.iti__selected-country, .iti__country-container button { background: rgba(255,255,255,0.04) !important; border-radius: 12px 0 0 12px !important; border: none !important; border-right: 1px solid var(--line) !important; padding: 0 10px 0 14px !important; }
.iti__selected-country:hover { background: rgba(255,255,255,0.08) !important; }
.iti__selected-dial-code { color: var(--text-1) !important; }
.iti__arrow { border-top-color: var(--text-2) !important; }
.iti__dropdown-content, .iti__country-list { background-color: #0c0e15 !important; border: 1px solid var(--line-2) !important; color: var(--text-1) !important; border-radius: 12px !important; box-shadow: 0 20px 60px rgba(0,0,0,0.6) !important; }
.iti__country:hover, .iti__country.iti__highlight { background-color: rgba(255,255,255,0.06) !important; }
.iti__search-input { background: #06070b !important; color: var(--text-0) !important; border-color: var(--line) !important; }
.iti__divider { border-color: var(--line) !important; }
.iti__country-name { color: var(--text-1) !important; }
.iti__dial-code { color: var(--text-2) !important; }

/* ─── FAQ ─── */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: transparent; border: none; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--text-0); font-size: 1.02rem; font-weight: 500; cursor: pointer; letter-spacing: -0.005em; font-family: inherit; }
.faq-q:hover { color: var(--accent-glow); }
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; color: var(--text-1); line-height: 1.7; font-size: 0.96rem; }
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 22px; }

/* ─── RTL FAQ ─── */
[dir="rtl"] .faq-q { text-align: right; }
[dir="rtl"] .thesis-row-body { padding-left: 0; }
[dir="rtl"] .btn-cta svg { transform: scaleX(-1); }

/* ─── Sticky CTA ─── */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; padding: 12px 16px max(12px,env(safe-area-inset-bottom)) 16px; background: rgba(0,0,0,0.85); backdrop-filter: blur(16px); border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform 0.4s ease; }
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn-cta { width: 100%; padding: 14px 20px; font-size: 0.95rem; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ─── Scroll reveal ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Spinner ─── */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.25); border-top-color: #000; border-radius: 50%; animation: spin 0.7s linear infinite; }

/* ─── Glow text ─── */
.glow-text { background: linear-gradient(135deg,#fff 0%,#c8ccd6 80%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ─── Press strip ─── */
.press-strip { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.5rem 0; position: relative; overflow: hidden; }
.press-strip-eyebrow { text-align: center; font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 1.5rem; font-weight: 600; }
.press-marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); -webkit-mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.press-track { display: flex; gap: 1.25rem; width: max-content; animation: press-scroll 60s linear infinite; }
.press-strip:hover .press-track { animation-play-state: paused; }
@keyframes press-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.press-card { flex: 0 0 auto; width: 22rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.55rem; transition: border-color 0.2s, background 0.2s; }
.press-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); }
.press-card-meta { display: flex; align-items: center; gap: 0.85rem; font-size: 0.7rem; color: rgba(255,255,255,0.5); min-height: 28px; }
.press-logo { height: 22px; width: auto; flex: 0 0 auto; color: #fff; fill: #fff; opacity: 0.92; display: block; }
.press-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.18); }
.press-date { opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.65rem; font-weight: 500; white-space: nowrap; }
.press-quote { font-size: 0.92rem; line-height: 1.5; color: rgba(255,255,255,0.88); font-weight: 500; margin: 0; }
.press-quote::before { content: "\201C"; opacity: 0.5; margin-right: 0.05rem; }
.press-quote::after  { content: "\201D"; opacity: 0.5; margin-left: 0.05rem; }
@media (max-width: 640px) { .press-card { width: 18rem; padding: 0.9rem 1rem; } .press-track { animation-duration: 50s; } }
@media (prefers-reduced-motion: reduce) { .press-track { animation: none; } .press-marquee { overflow-x: auto; } }

/* RTL press */
[dir="rtl"] .press-quote { text-align: right; }
[dir="rtl"] .press-quote::before { content: "\201C"; margin-left: 0.05rem; margin-right: 0; }
[dir="rtl"] .press-quote::after  { content: "\201D"; margin-right: 0.05rem; margin-left: 0; }

/* ─── IPO table ─── */
.ipo-table-wrap { display: block; overflow: hidden; border-radius: 18px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); }
.ipo-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.ipo-table thead { background: rgba(255,255,255,0.04); }
.ipo-table th { text-align: left; padding: 14px 18px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); border-bottom: 1px solid rgba(255,255,255,0.08); white-space: nowrap; }
.ipo-table th.ipo-th-gain { text-align: right; }
.ipo-table td { padding: 18px; color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: middle; }
.ipo-table tbody tr:last-child td { border-bottom: none; }
.ipo-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.ipo-table td:first-child strong { color: #fff; font-weight: 600; font-size: 1rem; }
.ipo-table td:last-child { text-align: right; }
.ipo-gain { display: inline-block; font-weight: 700; color: #34d399; white-space: nowrap; }
.ipo-cards { display: none; }
@media (max-width: 860px) { .ipo-table-wrap { display: none; } .ipo-cards { display: block; } }
.ipo-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 18px; margin-bottom: 12px; }
.ipo-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.ipo-card-name { color: #fff; font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.ipo-card-sector { color: rgba(255,255,255,0.55); font-size: 0.78rem; margin-top: 3px; }
.ipo-card-gain { color: #34d399; font-weight: 700; font-size: 0.95rem; text-align: right; white-space: nowrap; flex-shrink: 0; }
.ipo-card-rows { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
.ipo-card-row { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ipo-card-row-label { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); font-weight: 600; }
.ipo-card-row-value { font-size: 0.85rem; color: rgba(255,255,255,0.9); font-weight: 500; }
.ipo-cta { margin-top: 40px; text-align: center; }
.ipo-cta-text { color: rgba(255,255,255,0.82); font-size: 1.05rem; line-height: 1.55; margin-bottom: 22px; max-width: 32rem; margin-left: auto; margin-right: auto; }
.ipo-cta-text strong { color: #fff; }
.ipo-cta .btn-cta { display: inline-flex; }
.ipo-disclaimer { margin-top: 26px; text-align: center; font-size: 0.72rem; color: rgba(255,255,255,0.38); max-width: 38rem; margin-left: auto; margin-right: auto; line-height: 1.5; }

/* ─── CTA callout ─── */
.cta-callout { padding: 56px 0; background: var(--bg-1); position: relative; }
.cta-callout::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 120% at 50% 50%,rgba(106,169,255,0.07),transparent 70%); pointer-events: none; }
.cta-callout-card { position: relative; display: flex; align-items: center; gap: 32px; padding: 28px 32px; background: linear-gradient(180deg,rgba(255,255,255,0.04),rgba(255,255,255,0.015)); border: 1px solid rgba(255,255,255,0.09); border-radius: 20px; backdrop-filter: blur(6px); }
.cta-callout-card::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; background: linear-gradient(180deg,#6aa9ff,rgba(106,169,255,0.2)); border-radius: 3px; }
[dir="rtl"] .cta-callout-card::before { left: auto; right: 0; }
.cta-callout-text { flex: 1; min-width: 0; }
.cta-callout-eyebrow { display: inline-block; font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 600; margin-bottom: 8px; }
.cta-callout-h { color: #fff; font-size: 1.5rem; line-height: 1.25; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.01em; }
.cta-callout-sub { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.5; margin: 0; }
.cta-callout .btn-cta { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 768px) { .cta-callout { padding: 44px 0; } .cta-callout-card { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 22px; } .cta-callout-h { font-size: 1.25rem; } .cta-callout .btn-cta { width: 100%; justify-content: center; } }

/* ─── Cookie consent ─── */
.cc-root, .cc-root * { box-sizing: border-box; font-family: inherit; }
.cc-root { position: fixed; bottom: 24px; right: 24px; z-index: 200; width: min(620px,calc(100vw - 32px)); padding: 18px 22px 16px; background: rgba(14,17,24,0.96); border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; backdrop-filter: blur(28px) saturate(150%); color: #c8ccd6; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.4s, transform 0.4s; }
.cc-root.cc-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
[dir="rtl"] .cc-root { right: auto; left: 24px; }
@media (max-width: 640px) { .cc-root { bottom: 100px; right: 12px; left: 12px; width: auto; } }
.cc-eyebrow { display: block; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #7d828e; margin-bottom: 6px; }
.cc-title { font-size: 1.02rem; font-weight: 600; color: #fff; line-height: 1.3; margin: 0 0 4px; }
.cc-body { font-size: 0.82rem; line-height: 1.5; margin: 0 0 8px; color: #a0a4ae; }
.cc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; color: #7d828e; text-decoration: none; margin-bottom: 12px; transition: color 0.2s; }
.cc-link:hover { color: #c8ccd6; }
.cc-settings { display: none; margin: 4px 0 18px; }
.cc-settings.cc-open { display: block; }
.cc-cat { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.08); }
[dir="rtl"] .cc-cat { grid-template-columns: auto 1fr; }
.cc-cat:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.cc-cat-h { color: #fff; font-size: 0.92rem; font-weight: 600; margin: 0 0 4px; }
.cc-cat-p { color: #a0a4ae; font-size: 0.78rem; line-height: 1.5; margin: 0; }
.cc-toggle { position: relative; width: 38px; height: 22px; display: inline-block; flex-shrink: 0; margin-top: 2px; }
.cc-toggle input { opacity: 0; width: 0; height: 0; }
.cc-toggle .cc-slider { position: absolute; cursor: pointer; inset: 0; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; transition: background 0.2s; }
.cc-toggle .cc-slider::before { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; background: #c8ccd6; border-radius: 50%; transition: transform 0.2s; }
.cc-toggle input:checked + .cc-slider { background: #fff; border-color: #fff; }
.cc-toggle input:checked + .cc-slider::before { transform: translateX(16px); background: #000; }
.cc-toggle input:disabled + .cc-slider { opacity: 0.5; cursor: not-allowed; }
.cc-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cc-actions .cc-btn-row { display: flex; gap: 8px; align-items: center; margin-left: auto; }
[dir="rtl"] .cc-actions .cc-btn-row { margin-left: 0; margin-right: auto; }
@media (max-width: 480px) { .cc-actions { flex-direction: column-reverse; align-items: stretch; } .cc-actions .cc-btn-row { margin-left: 0; margin-right: 0; justify-content: stretch; } .cc-actions .cc-btn-row > * { flex: 1; } }
.cc-btn { font-family: inherit; cursor: pointer; border: none; transition: background 0.18s, color 0.18s; }
.cc-btn-ghost { background: transparent; color: #5b6478; padding: 8px 4px; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.cc-btn-ghost:hover { color: #a0a4ae; }
.cc-btn-secondary { background: transparent; color: #c8ccd6; padding: 10px 16px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.16); }
.cc-btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.32); color: #fff; }
.cc-btn-accept { background: #fff; color: #000; padding: 11px 22px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; box-shadow: 0 8px 24px rgba(255,255,255,0.16); }
.cc-btn-accept:hover { background: #f1f1f3; transform: translateY(-1px); }

/* ─── Misc ─── */
.form-step { display: block; }
.hidden { display: none !important; }
