:root { --ink: #050705; --paper: #f4f6f2; --muted: #b7bdb7; --lime: #b7ff35; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--ink); }
body { color: var(--paper); font-family: Arial, Helvetica, sans-serif; }
.launch-page { min-height: 100svh; overflow: hidden; background: #050705; }
.desktop-landing { width: 100vw; min-height: 100svh; background: url('itc-temporary-landing-page-mockup.png') center / contain no-repeat; }
.mobile-landing { display: none; }
.discord-cta {
  color: var(--paper); text-decoration: none; text-transform: uppercase;
  border: 1px solid rgba(183, 255, 53, 0.7); background: rgba(5, 7, 5, 0.9);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.34), inset 0 0 24px rgba(183, 255, 53, 0.05);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.discord-cta:hover { border-color: var(--lime); background: rgba(12, 18, 10, 0.97); transform: translateY(-2px); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42), 0 0 24px rgba(183, 255, 53, 0.12); }
.discord-cta:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.discord-kicker { display: block; color: var(--muted); font-size: 0.54rem; font-weight: 700; letter-spacing: 0.24em; }
.discord-cta strong { display: block; margin-top: 0.38rem; font-size: 0.84rem; letter-spacing: 0.1em; }
.discord-cta strong span { margin-left: 0.6rem; color: var(--lime); }
.desktop-discord { position: fixed; right: clamp(1.2rem, 2.5vw, 2.4rem); bottom: clamp(1.2rem, 2.5vw, 2.4rem); z-index: 2; padding: 0.9rem 1.1rem; border-radius: 0.45rem; backdrop-filter: blur(14px); }
.mobile-discord { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
::selection { color: #081005; background: var(--lime); }

@media (max-width: 720px), (orientation: portrait) and (max-width: 1024px) {
  .desktop-landing { display: none; }
  .desktop-discord { display: none; }
  .mobile-landing {
    position: relative; display: flex; min-height: 100svh; flex-direction: column; overflow: hidden;
    background:
      linear-gradient(180deg, rgba(2, 5, 3, 0.12), rgba(2, 5, 3, 0.82) 72%, #050705),
      linear-gradient(90deg, rgba(4, 8, 5, 0.98) 4%, rgba(4, 8, 5, 0.86) 54%, rgba(4, 8, 5, 0.38)),
      url('itc-temporary-landing-page-mockup.png') 69% center / auto 100% no-repeat;
  }
  .mobile-landing::before {
    position: absolute; inset: 0; pointer-events: none; content: '';
    background-image: linear-gradient(rgba(183, 255, 53, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 255, 53, 0.035) 1px, transparent 1px);
    background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 88%);
  }
  .mobile-header {
    position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1rem 1.15rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); background: rgba(4, 7, 5, 0.78); backdrop-filter: blur(14px);
  }
  .mobile-brand { display: flex; min-width: 0; align-items: center; gap: 0.7rem; }
  .mobile-logo { width: 2.9rem; height: 2.9rem; flex: 0 0 auto; border: 1px solid rgba(183, 255, 53, 0.6); border-radius: 50%; box-shadow: 0 0 24px rgba(183, 255, 53, 0.16); }
  .mobile-brand span { max-width: 11rem; overflow: hidden; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
  .mobile-sign-in { flex: 0 0 auto; padding: 0.58rem 0.75rem 0.5rem; border: 1px solid rgba(183, 255, 53, 0.78); border-radius: 0.42rem; text-align: center; text-transform: uppercase; }
  .mobile-sign-in span, .mobile-sign-in small { display: block; }
  .mobile-sign-in span { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; }
  .mobile-sign-in small { margin-top: 0.2rem; color: var(--muted); font-size: 0.42rem; letter-spacing: 0.2em; }
  .mobile-hero { position: relative; z-index: 1; display: flex; flex: 1; align-items: center; padding: clamp(3.5rem, 10vh, 7rem) 1.3rem 3rem; }
  .mobile-copy { width: min(100%, 34rem); }
  .mobile-eyebrow { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1.4rem; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
  .mobile-eyebrow::before { width: 2.1rem; height: 3px; flex: 0 0 auto; content: ''; background: var(--lime); }
  .mobile-copy h1 { max-width: 12ch; margin: 0; font-size: clamp(2.75rem, 13vw, 5.4rem); font-weight: 900; letter-spacing: -0.055em; line-height: 0.96; }
  .mobile-copy h1 span { display: block; margin-top: 0.16em; color: var(--lime); }
  .mobile-description { max-width: 33rem; margin: 1.5rem 0 0; color: #e2e6e1; font-size: clamp(1rem, 4.4vw, 1.22rem); line-height: 1.55; }
  .mobile-discord { display: inline-block; margin-top: 1.5rem; padding: 0.85rem 1rem; border-radius: 0.42rem; }
  .mobile-status { display: flex; align-items: center; gap: 0.9rem; margin-top: 2rem; }
  .mobile-status strong { flex: 0 0 auto; padding: 0.72rem 0.9rem; border: 1px solid rgba(183, 255, 53, 0.64); border-radius: 999px; color: white; font-size: 0.67rem; letter-spacing: 0.12em; text-transform: uppercase; box-shadow: inset 0 0 18px rgba(183, 255, 53, 0.08); }
  .mobile-status strong::before { display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.5rem; border-radius: 50%; content: ''; vertical-align: -0.04rem; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
  .mobile-status span { color: var(--muted); font-size: 0.74rem; line-height: 1.35; }
  .mobile-values { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(7, 13, 9, 0.92); backdrop-filter: blur(14px); }
  .mobile-values span { padding: 1rem 0.35rem; color: #eef2ec; font-size: 0.5rem; font-weight: 800; letter-spacing: 0.12em; text-align: center; text-transform: uppercase; }
  .mobile-values span + span { border-left: 1px solid rgba(255, 255, 255, 0.1); }
}

@media (max-width: 390px) { .mobile-brand span { display: none; } .mobile-status { align-items: flex-start; flex-direction: column; } }
@media (prefers-reduced-motion: no-preference) {
  .desktop-landing, .mobile-copy { animation: reveal 700ms ease-out both; }
  @keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
