/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07090f;
  --bg-card: #0c0f1a;
  --bg-card-hover: #111627;
  --fg: #f0f0f8;
  --fg-muted: #8a8fa8;
  --fg-dim: #50546a;
  --accent: #4d7cfe;
  --accent-glow: rgba(77, 124, 254, 0.25);
  --critical: #ff5252;
  --critical-bg: rgba(255, 82, 82, 0.08);
  --movement: #ffb347;
  --movement-bg: rgba(255, 179, 71, 0.08);
  --signal: #9b6dff;
  --signal-bg: rgba(155, 109, 255, 0.08);
  --market: #4dffb8;
  --market-bg: rgba(77, 255, 184, 0.06);
  --border: rgba(255, 255, 255, 0.07);
  --border-active: rgba(77, 124, 254, 0.4);
  --nav-bg: rgba(7, 9, 15, 0.85);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--fg-dim); border-radius: 2px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.nav__logo-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
}

.nav__tagline {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 2.5rem 5rem;
  overflow: hidden;
}

.hero__skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background:
    linear-gradient(to top, #0a0d1a 0%, transparent 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 500' preserveAspectRatio='xMidYMax slice'%3E%3Crect fill='%230a0d1a'/%3E%3Cg fill='%2315202e' opacity='0.8'%3E%3C!-- Buildings row 1 --%3E%3Crect x='0' y='380' width='45' height='120'/%3E%3Crect x='55' y='320' width='35' height='180'/%3E%3Crect x='100' y='260' width='55' height='240'/%3E%3Crect x='165' y='300' width='40' height='200'/%3E%3Crect x='215' y='220' width='60' height='280'/%3E%3Crect x='285' y='280' width='35' height='220'/%3E%3Crect x='330' y='340' width='45' height='160'/%3E%3Crect x='385' y='180' width='70' height='320'/%3E%3Crect x='465' y='250' width='50' height='250'/%3E%3Crect x='525' y='200' width='65' height='300'/%3E%3Crect x='600' y='290' width='40' height='210'/%3E%3Crect x='650' y='150' width='55' height='350'/%3E%3Crect x='715' y='230' width='45' height='270'/%3E%3Crect x='770' y='310' width='50' height='190'/%3E%3Crect x='830' y='270' width='40' height='230'/%3E%3Crect x='880' y='190' width='60' height='310'/%3E%3Crect x='950' y='250' width='50' height='250'/%3E%3Crect x='1010' y='180' width='55' height='320'/%3E%3Crect x='1075' y='300' width='45' height='200'/%3E%3Crect x='1130' y='220' width='60' height='280'/%3E%3Crect x='1200' y='280' width='50' height='220'/%3E%3Crect x='1260' y='350' width='40' height='150'/%3E%3Crect x='1310' y='200' width='60' height='300'/%3E%3Crect x='1380' y='260' width='60' height='240'/%3E%3C/g%3E%3Cg fill='%23142028' opacity='0.6'%3E%3Crect x='20' y='420' width='30' height='80'/%3E%3Crect x='140' y='360' width='40' height='140'/%3E%3Crect x='260' y='390' width='35' height='110'/%3E%3Crect x='440' y='350' width='45' height='150'/%3E%3Crect x='600' y='400' width='30' height='100'/%3E%3Crect x='780' y='380' width='35' height='120'/%3E%3Crect x='1000' y='400' width='40' height='100'/%3E%3Crect x='1200' y='370' width='35' height='130'/%3E%3C/g%3E%3Cg fill='%23101820' opacity='0.5'%3E%3Crect x='80' y='440' width='25' height='60'/%3E%3Crect x='200' y='420' width='30' height='80'/%3E%3Crect x='400' y='410' width='25' height='90'/%3E%3Crect x='700' y='430' width='30' height='70'/%3E%3Crect x='920' y='440' width='25' height='60'/%3E%3Crect x='1100' y='420' width='30' height='80'/%3E%3Crect x='1320' y='410' width='25' height='90'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover, cover;
  background-position: bottom, bottom;
  opacity: 0.7;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 124, 254, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 124, 254, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 760px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 2rem;
}

.hero__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4dffb8;
  box-shadow: 0 0 10px rgba(77, 255, 184, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 2rem;
}

.hero__headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.hero__sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 3rem;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero__meta-value {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: 'Fraunces', serif;
  color: var(--fg);
}

.hero__meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
}

.hero__meta-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Corner accents */
.hero__corner {
  position: absolute;
  width: 24px;
  height: 24px;
  z-index: 5;
}
.hero__corner--tl { top: 5rem; left: 2.5rem; border-top: 1px solid var(--accent); border-left: 1px solid var(--accent); }
.hero__corner--tr { top: 5rem; right: 2.5rem; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); }
.hero__corner--bl { bottom: 4rem; left: 2.5rem; border-bottom: 1px solid var(--accent); border-left: 1px solid var(--accent); }
.hero__corner--br { bottom: 4rem; right: 2.5rem; border-bottom: 1px solid var(--accent); border-right: 1px solid var(--accent); }

/* ===== WATCH SECTION ===== */
.watch {
  padding: 8rem 2.5rem;
  background: linear-gradient(180deg, var(--bg) 0%, #090c18 100%);
}

.watch__inner { max-width: 1100px; margin: 0 auto; }

.watch__header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.watch__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.watch__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.watch__desc {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.watch__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.watch__source {
  display: flex;
  gap: 1rem;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  transition: background 0.2s;
}

.watch__source:hover { background: var(--bg-card-hover); }

.watch__source-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.watch__source-info h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.4rem;
}

.watch__source-info p {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ===== BRIEF SECTION ===== */
.brief-section {
  padding: 8rem 2.5rem;
  background: #090c18;
  position: relative;
}

.brief-section__inner { max-width: 1100px; margin: 0 auto; }

.brief-section__header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.brief-section__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.brief-section__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.brief-section__desc {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Email mockup */
.brief-mockup {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #0d1120;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(77,124,254,0.08);
}

.brief-mockup__chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #0a0d18;
  border-bottom: 1px solid var(--border);
}

.brief-mockup__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.brief-mockup__dot--red { background: #ff5f57; }
.brief-mockup__dot--yellow { background: #ffbd2e; }
.brief-mockup__dot--green { background: #28c840; }

.brief-mockup__url {
  font-size: 12px;
  color: var(--fg-dim);
  margin-left: 0.5rem;
}

.brief-mockup__body { padding: 0; }

.brief-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.brief-header__logo {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.brief-header__meta { flex: 1; }
.brief-header__from { font-size: 0.8rem; color: var(--fg-muted); margin-bottom: 0.2rem; }
.brief-header__subject { font-size: 0.95rem; font-weight: 600; color: var(--fg); }
.brief-header__time { font-size: 12px; color: var(--fg-dim); }

/* Brief items */
.brief-items { padding: 0.5rem 0; }

.brief-item {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.brief-item:last-child { border-bottom: none; }
.brief-item:hover { background: rgba(255,255,255,0.02); }

.brief-item__label {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.brief-item__label--critical { background: var(--critical-bg); color: var(--critical); }
.brief-item__label--movement { background: var(--movement-bg); color: var(--movement); }
.brief-item__label--signal { background: var(--signal-bg); color: var(--signal); }
.brief-item__label--market { background: var(--market-bg); color: var(--market); }

.brief-item__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.brief-item__body {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.brief-item__meta {
  font-size: 11px;
  color: var(--fg-dim);
}

.brief-footer {
  padding: 0.9rem 2rem;
  background: rgba(77, 124, 254, 0.04);
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}

/* ===== CONFIGURE SECTION ===== */
.configure {
  padding: 8rem 2.5rem;
  background: var(--bg);
}

.configure__inner { max-width: 1100px; margin: 0 auto; }

.configure__header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.configure__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.configure__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.configure__desc {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.configure__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.configure__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s;
}

.configure__card:hover { border-color: var(--border-active); }

.configure__card-icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.configure__card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.configure__card > p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Tags */
.configure__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.configure__tag {
  font-size: 11px;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg-dim);
}

.configure__tag--active {
  background: rgba(77, 124, 254, 0.1);
  border-color: rgba(77, 124, 254, 0.3);
  color: var(--accent);
}

/* Watchlist */
.configure__watchlist { display: flex; flex-direction: column; gap: 0.6rem; }

.configure__company {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.configure__company-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--critical);
  flex-shrink: 0;
}

.configure__company-tag {
  margin-left: auto;
  font-size: 10px;
  color: var(--fg-dim);
  background: var(--bg-card);
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
}

.configure__company--add { border-style: dashed; color: var(--fg-dim); }
.configure__company-plus { color: var(--accent); font-weight: 600; }

/* Triggers */
.configure__triggers { display: flex; flex-direction: column; gap: 0.5rem; }

.configure__trigger {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
}

.configure__trigger--active { color: var(--fg); }

.configure__trigger-check {
  font-size: 11px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(77, 255, 184, 0.1);
  color: var(--market);
}

.configure__trigger:not(.configure__trigger--active) .configure__trigger-check {
  background: var(--bg-card);
  color: var(--fg-dim);
}

/* Delivery options */
.configure__delivery {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.configure__delivery-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  white-space: nowrap;
}

.configure__delivery-options { display: flex; gap: 0.5rem; }

.configure__delivery-opt {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  cursor: pointer;
}

.configure__delivery-opt--active {
  background: rgba(77, 124, 254, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.configure__delivery-note {
  font-size: 0.8rem;
  color: var(--fg-dim);
  margin-left: auto;
}

/* ===== CLOSING SECTION ===== */
.closing {
  padding: 10rem 2.5rem;
  background: #090c18;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing__inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }

.closing__statement {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  font-style: italic;
  color: var(--fg);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.closing__sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 4rem;
}

.closing__clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.closing__clock-face {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(77, 124, 254, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(77, 124, 254, 0.08), inset 0 0 40px rgba(77, 124, 254, 0.04);
}

.closing__clock-hand {
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transform-origin: bottom center;
}

.closing__clock-hand--hour {
  width: 2px;
  height: 36px;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
}

.closing__clock-hand--minute {
  width: 1.5px;
  height: 50px;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
}

.closing__clock-center {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  z-index: 2;
}

.closing__clock-label {
  font-size: 0.85rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer__logo-mark {
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.footer__logo-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
}

.footer__tagline {
  font-size: 0.8rem;
  color: var(--fg-dim);
  max-width: 320px;
}

.footer__meta p {
  font-size: 0.8rem;
  color: var(--fg-dim);
  text-align: right;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .watch__grid { grid-template-columns: 1fr; }
  .configure__grid { grid-template-columns: 1fr; }
  .configure__delivery { flex-wrap: wrap; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__meta p { text-align: left; }
}

@media (max-width: 600px) {
  .hero { padding: 6rem 1.5rem 4rem; }
  .hero__headline { font-size: 3rem; }
  .hero__meta { gap: 1rem; }
  .watch, .brief-section, .configure { padding: 5rem 1.5rem; }
  .closing { padding: 6rem 1.5rem; }
  .nav { padding: 1rem 1.5rem; }
  .brief-mockup__body { padding: 0; }
  .brief-header { padding: 1rem 1.25rem; }
  .brief-item { padding: 1rem 1.25rem; }
  .brief-footer { padding: 0.75rem 1.25rem; }
  .hero__corner--tr, .hero__corner--br { display: none; }
}