/*
 * fde.qualitythought.in — coming-soon landing.
 *
 * Quality Thought's brand pulls from the main site: deep navy #07005E and the
 * orange #FF9008. The page is navy-first in both themes (it reads as a launch
 * teaser, not a document), so light mode gets a near-white ground with navy ink
 * while the hero keeps the navy field.
 */

:root {
  --navy: #07005E;
  --navy-deep: #04003a;
  --navy-soft: #191466;
  --orange: #ff9008;
  --orange-soft: #ffb257;

  --bg: #f6f6fb;
  --surface: #ffffff;
  --surface-alt: #eeeef8;
  --border: #dcdcec;
  --ink: #14123c;
  --muted: #5a5878;
  --on-navy: #ffffff;
  --on-navy-muted: #b9b6e0;

  --font-display: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #08061f;
    --surface: #0f0d33;
    --surface-alt: #15123f;
    --border: #262159;
    --ink: #f0eefb;
    --muted: #a5a1c8;
  }
}

:root[data-theme='dark'] {
  --bg: #08061f;
  --surface: #0f0d33;
  --surface-alt: #15123f;
  --border: #262159;
  --ink: #f0eefb;
  --muted: #a5a1c8;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; }

/* Ambient wash behind the hero. Purely decorative, so it never affects layout. */
.glow {
  position: absolute;
  inset: 0 0 auto 0;
  height: 780px;
  background:
    radial-gradient(1100px 520px at 18% -12%, rgba(255, 144, 8, 0.30), transparent 62%),
    radial-gradient(900px 480px at 88% 4%, rgba(96, 78, 255, 0.38), transparent 66%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 58%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

/* ---------- top bar ---------- */

.topbar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--on-navy);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff6a00 100%);
  color: #2b1400;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.03em;
  flex: none;
}

.brand-mark.small { width: 34px; height: 34px; border-radius: 9px; font-size: 13px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.topbar-tag {
  font-size: 13px;
  color: var(--on-navy-muted);
  letter-spacing: 0.02em;
}

/* ---------- layout ---------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 72px;
}

/* ---------- hero ---------- */

.hero {
  padding: 62px 0 76px;
  color: var(--on-navy);
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 144, 8, 0.65);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(255, 144, 8, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 144, 8, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
}

h1 {
  margin: 26px 0 0;
  font-size: clamp(2.35rem, 6.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.033em;
}

.hl {
  background: linear-gradient(100deg, var(--orange) 0%, var(--orange-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.9vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
}

.cta-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--orange-soft); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, #ff6f00 100%);
  color: #2b1400;
  box-shadow: 0 10px 26px rgba(255, 122, 0, 0.34);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #fff;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

.cta-note {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  max-width: 54ch;
}

/* ---------- content blocks ---------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 32px;
  margin-bottom: 44px;
  box-shadow: 0 18px 44px rgba(7, 0, 94, 0.07);
}

.panel h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.panel p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 74ch;
}

.section-h {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.grid {
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 22px 22px 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.card-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.card h3 {
  margin-top: 9px;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.card p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
}

.who .ticks {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
}

.who .ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 15px;
}

.who .ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: rotate(-45deg);
}

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
}

.foot-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 24px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
}

.foot-brand span {
  font-size: 13.5px;
  color: var(--muted);
}

.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
}

.foot-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.foot-links a:hover {
  color: var(--ink);
  border-bottom-color: var(--orange);
}

.foot-legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 28px;
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 560px) {
  .hero { padding: 46px 0 58px; }
  .panel { padding: 24px 20px; }
  .btn { width: 100%; }
}
