@charset "UTF-8";

/* ==========================================================================
   KEEL DESIGN SYSTEM
   Haute-Institutional Quantitative Trading & Copilot Interface
   ========================================================================== */

:root {
  /* Core Palette: Nautical Marine Depth */
  --navy-950: #041219;
  --navy-900: #071c27;
  --navy-850: #0b2533;
  --navy-800: #102e3d;
  --navy-750: #143849;
  --navy-700: #1b4557;

  /* Luminous Teal & Signal Accents */
  --teal-200: #d6faf0;
  --teal-300: #b5f5e4;
  --teal-400: #8ce8cf;
  --teal-500: #4adebe;
  --teal-600: #1fb997;
  --teal-700: #168d74;
  --teal-800: #116856;
  --teal-900: #0a4639;

  /* Light Editorial Canvas */
  --paper-bg: #f8faf8;
  --paper-card: #ffffff;
  --paper-subtle: #f1f5f2;
  --paper-muted: #e4ece7;

  /* Typography Colors */
  --ink-900: #0a1f26;
  --ink-800: #13323b;
  --ink-700: #254650;
  --ink-muted: #526f77;
  --ink-subtle: #7a979e;

  /* Dark Canvas Typography */
  --dark-text-primary: #f2f7f5;
  --dark-text-secondary: #a8c1be;
  --dark-text-muted: #729094;

  /* Hairlines & Borders */
  --line-light: rgba(19, 50, 59, 0.08);
  --line-medium: rgba(19, 50, 59, 0.14);
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-dark-hover: rgba(140, 232, 207, 0.28);

  /* Font Stacks */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;

  /* Elevations & Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 32, 39, 0.03);
  --shadow-sm: 0 2px 6px rgba(11, 32, 39, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(11, 32, 39, 0.06), 0 2px 6px rgba(11, 32, 39, 0.03);
  --shadow-lg: 0 16px 40px -8px rgba(11, 32, 39, 0.08), 0 4px 12px rgba(11, 32, 39, 0.04);
  --shadow-xl: 0 28px 70px -12px rgba(7, 28, 39, 0.22);
  --shadow-glow: 0 0 28px -2px rgba(140, 232, 207, 0.4);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Smooth Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Backward Compatibility Variables */
  --navy: var(--navy-900);
  --navy2: var(--navy-850);
  --teal: var(--teal-400);
  --ink: var(--ink-800);
  --muted: var(--ink-muted);
  --line: var(--line-light);
  --paper: var(--paper-bg);
  --white: #ffffff;
  --font: var(--font-sans);

  color-scheme: light;
  font-family: var(--font-sans);
  font-synthesis: none;
  color: var(--ink-800);
  background: var(--paper-bg);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Accessible Focus States */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 4px;
}

.hero a:focus-visible,
.site-header a:focus-visible,
.site-header button:focus-visible,
.architecture-section a:focus-visible,
.final-cta a:focus-visible,
.hero button:focus-visible {
  outline-color: var(--teal-400);
}

[hidden] {
  display: none !important;
}

/* Skip to Content */
.skip {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--teal-400);
  color: var(--navy-950);
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transition: top 0.2s var(--ease-spring);
}

.skip:focus {
  top: 16px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2 {
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(34px, 4vw, 54px);
  margin-bottom: 0;
  color: var(--ink-900);
}

h3 {
  letter-spacing: -0.03em;
  font-weight: 650;
}

em {
  font-style: normal;
  color: var(--teal-400);
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 78px;
  display: flex;
  align-items: center;
  padding: 0 max(5vw, 24px);
  gap: 50px;
  background: rgba(7, 28, 39, 0.85);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e6eeeb;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 24px;
  letter-spacing: -0.035em;
  font-weight: 700;
  flex-shrink: 0;
  color: #ffffff;
}

.brand img {
  display: block;
  filter: drop-shadow(0 0 10px rgba(140, 232, 207, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand:hover img {
  transform: rotate(-4deg) scale(1.04);
  filter: drop-shadow(0 0 14px rgba(140, 232, 207, 0.65));
}

.site-header nav {
  display: flex;
  gap: 32px;
  align-items: center;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
}

.site-header nav > a {
  color: #a4bebc;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.site-header nav > a:hover {
  color: #ffffff;
}

.site-header nav > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-400);
  border-radius: 1px;
  transition: width 0.25s var(--ease-spring);
}

.site-header nav > a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 24px;
}

.nav-actions > a:not(.button) {
  color: #b7cbca;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-actions > a:not(.button):hover {
  color: var(--teal-400);
}

/* Premium Buttons */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #8ce8cf 0%, #46cfb0 100%);
  color: var(--navy-950) !important;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-weight: 650;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 14px rgba(140, 232, 207, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring), background 0.2s ease;
  cursor: pointer;
}

.button:hover {
  background: linear-gradient(135deg, #a7f6e1 0%, #60ebd0 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(140, 232, 207, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(140, 232, 207, 0.3);
}

.button.small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
  gap: 8px;
  border-radius: var(--radius-pill);
}

.text-link {
  font-size: 14px;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c9e0dc;
  transition: color 0.2s ease, transform 0.2s ease;
}

.text-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  background: radial-gradient(ellipse 70% 60% at 75% 35%, rgba(64, 223, 197, 0.12) 0%, rgba(7, 28, 39, 0) 70%), linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--dark-text-primary);
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 20px 48px;
  padding: 72px max(5vw, 24px) 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(140, 232, 207, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, black 40%, transparent 80%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 20px 0 60px;
  max-width: 620px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero .eyebrow {
  color: var(--teal-400);
  background: rgba(140, 232, 207, 0.08);
  border: 1px solid rgba(140, 232, 207, 0.22);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.signal-dot {
  position: relative;
  width: 7px;
  height: 7px;
  background: var(--teal-400);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--teal-400);
  flex-shrink: 0;
}

.signal-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--teal-400);
  opacity: 0.6;
  animation: beacon-ripple 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.hero h1 {
  font-size: clamp(48px, 5.8vw, 84px);
  margin: 0 0 24px;
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 650;
  color: #ffffff;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 40%, #cde5e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-intro {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.75;
  color: var(--dark-text-secondary);
  max-width: 490px;
  margin: 0 0 32px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.hero .button {
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
  border-radius: var(--radius-pill);
}

.hero .text-link {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.hero .text-link:hover {
  border-color: rgba(140, 232, 207, 0.4);
  background: rgba(140, 232, 207, 0.06);
  color: #ffffff;
}

/* Radar & Signal Art */
.signal-art {
  position: relative;
  align-self: center;
  padding: 0 0 28px;
  min-width: 0;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4));
}

.art-label {
  display: flex;
  justify-content: space-between;
  margin: 0 32px 8px;
  gap: 20px;
  background: rgba(11, 37, 51, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(140, 232, 207, 0.16);
  border-radius: var(--radius-pill);
  padding: 5px 16px;
}

.micro {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.art-label .micro {
  color: var(--teal-400);
}

.muted {
  color: var(--dark-text-muted);
}

.signal-map {
  width: 100%;
  display: block;
  overflow: visible;
}

.orbit {
  transform-origin: 310px 296px;
}

.map-pulse {
  animation: beacon 3s ease-in-out infinite;
}

.art-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 18px;
  margin: -10px 32px 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #a4c5c0;
  background: rgba(11, 37, 51, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(140, 232, 207, 0.16);
  border-radius: var(--radius-pill);
}

.art-foot i {
  width: 5px;
  height: 5px;
  display: inline-block;
  background: var(--teal-400);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--teal-400);
  vertical-align: middle;
  margin-right: 6px;
}

.hero-bottom {
  position: relative;
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 22px 0;
  gap: 32px;
  color: var(--dark-text-muted);
  font-size: 11px;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.hero-bottom > a {
  margin-left: auto;
  color: var(--teal-400);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 550;
  transition: color 0.2s ease;
}

.hero-bottom > a:hover {
  color: #ffffff;
}

.hero-bottom button {
  color: #9eb6ba;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.hero-bottom button:hover {
  background: rgba(140, 232, 207, 0.1);
  border-color: rgba(140, 232, 207, 0.3);
  color: #ffffff;
}

/* ==========================================================================
   SHARED SECTION STYLES
   ========================================================================== */

.section {
  padding: 105px max(7vw, 24px);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 56px;
}

.section-heading > .section-heading {
  margin: 0;
}

.section-heading > p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 420px;
  margin: 0;
  color: var(--ink-muted);
}

.section .eyebrow {
  color: var(--teal-700);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: block;
}

/* Consistent, Elegant Evaluation Notes */
p.status-note.status-note {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: normal;
  text-align: left;
  background: rgba(22, 141, 116, 0.06);
  border: 1px solid rgba(22, 141, 116, 0.18);
  border-left: 3px solid var(--teal-700);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  margin: 20px 0 0;
  max-width: 60ch;
  color: var(--ink-muted);
}

/* Dark Section Status Notes */
.hero p.status-note,
.signal-art p.status-note,
.architecture-section p.status-note,
.final-cta p.status-note {
  background: rgba(140, 232, 207, 0.06);
  border: 1px solid rgba(140, 232, 207, 0.18);
  border-left: 3px solid var(--teal-400);
  color: var(--dark-text-secondary);
}

.final-cta p.status-note {
  margin-inline: auto;
}

/* ==========================================================================
   01 / PRODUCT WORKSPACE COCKPIT
   ========================================================================== */

.product-section {
  padding-top: 100px;
}

.product-shell {
  background: #071c27;
  border: 1px solid rgba(20, 60, 75, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px -20px rgba(7, 28, 39, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.product-bar {
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 20px;
  background: #0a2330;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.preview-brand {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.preview-notice {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #78999e;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.paper-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 650;
  border: 1px solid #c9aa5d;
  border-radius: var(--radius-xs);
  padding: 4px 10px;
  color: #f2c76e;
  background: rgba(201, 170, 93, 0.14);
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.preview-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
}

.preview-nav {
  padding: 24px 14px;
  background: #081d28;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-nav button {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: none;
  color: #8fa6ab;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.preview-nav button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.preview-nav button[aria-pressed=true] {
  background: rgba(140, 232, 207, 0.12);
  color: var(--teal-300);
  border-color: rgba(140, 232, 207, 0.3);
  box-shadow: inset 0 0 12px rgba(140, 232, 207, 0.05);
}

.preview-account {
  margin-top: auto;
  padding-top: 60px;
  color: #76959c;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.preview-account strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: #c8e0db;
  margin-top: 2px;
}

.preview-content {
  padding: 32px;
  background: var(--paper-bg);
  min-height: 480px;
}

.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
}

.preview-heading .micro {
  font-family: var(--font-mono);
  color: var(--teal-700);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.preview-heading h3 {
  font-size: 24px;
  font-weight: 650;
  color: var(--ink-900);
  margin: 0;
  letter-spacing: -0.03em;
}

.status-pill {
  padding: 6px 12px;
  background: #e3f5ee;
  color: var(--teal-800);
  border: 1px solid #b7e8d6;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.preview-stats > div {
  background: #ffffff;
  padding: 20px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.preview-stats > div:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.preview-stats span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.preview-stats strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 10px 0 6px;
  letter-spacing: -0.03em;
}

.preview-stats small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-subtle);
}

.chart-card {
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 22px 24px 18px;
  box-shadow: var(--shadow-xs);
}

.chart-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink-900);
}

.chart-label span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-subtle);
}

.preview-chart {
  display: block;
  width: 100%;
  height: 155px;
  margin: 18px 0 10px;
  overflow: visible;
}

.chart-footer {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-subtle);
  border-top: 1px solid #eef3f0;
  padding-top: 12px;
  margin-top: 6px;
}

.decision-example {
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-xs);
  min-height: 320px;
}

.decision-example h4 {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin: 20px 0 12px;
}

.decision-example p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 580px;
}

.decision-example ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.decision-example li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-light);
  font-size: 13px;
  background: #fafcfb;
}

.decision-example li:last-child {
  border-bottom: none;
}

.decision-example li span {
  color: var(--ink-muted);
  font-weight: 550;
}

.decision-example li strong {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: #e8f3ef;
  color: var(--teal-800);
  border: 1px solid #cae3da;
}

.decision-example li:nth-child(2) strong {
  background: #fdf3e7;
  color: #9c631a;
  border-color: #eed6b6;
}

.decision-example li:nth-child(3) strong {
  background: #f1f4f6;
  color: #435b66;
  border-color: #cfdbe0;
}

.empty-history {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 44px 20px;
  border: 2px dashed #d6e2dd;
  border-radius: var(--radius-md);
  background: #fafcfb;
  margin-top: 20px;
}

.empty-history > span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e6f4ef;
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.empty-history > strong {
  font-size: 15px;
  color: var(--ink-900);
  font-weight: 650;
}

.empty-history p {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 6px 0 0;
}

/* ==========================================================================
   02 / CONTROL, MADE VISIBLE (BENTO GRID)
   ========================================================================== */

.features-section {
  padding-top: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 22px;
}

.feature {
  padding: 36px;
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring), border-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 141, 116, 0.25);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(22, 141, 116, 0.12), rgba(22, 141, 116, 0.04));
  border: 1px solid rgba(22, 141, 116, 0.18);
  font-size: 22px;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px -2px rgba(22, 141, 116, 0.12);
  flex-shrink: 0;
}

.feature h3 {
  font-size: 22px;
  font-weight: 650;
  color: var(--ink-900);
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.feature p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.8;
  margin: 0;
  flex-grow: 1;
}

.lead-feature {
  grid-row: span 2;
  background: linear-gradient(165deg, #09212c 0%, #061821 100%);
  border-color: rgba(140, 232, 207, 0.2);
  color: #ffffff;
  padding: 44px;
  box-shadow: 0 20px 50px -10px rgba(7, 28, 39, 0.2);
}

.lead-feature .feature-icon {
  background: rgba(140, 232, 207, 0.12);
  border-color: rgba(140, 232, 207, 0.3);
  color: var(--teal-400);
  box-shadow: 0 0 20px rgba(140, 232, 207, 0.2);
}

.lead-feature h3 {
  font-size: 30px;
  color: #ffffff;
  max-width: 260px;
  line-height: 1.15;
}

.lead-feature p {
  color: var(--dark-text-secondary);
  font-size: 15px;
}

.lead-feature:hover {
  border-color: rgba(140, 232, 207, 0.45);
  box-shadow: 0 24px 60px -10px rgba(7, 28, 39, 0.35);
}

.reason-lines {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reason-lines span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  letter-spacing: 0.1em;
  color: var(--teal-300);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.reason-lines b {
  font-weight: 700;
  color: var(--teal-400);
  background: rgba(140, 232, 207, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   03 / FROM EVALUATION TO APPROVAL (JOURNEY PIPELINE)
   ========================================================================== */

.journey-section {
  background: #f0f5f2;
  border-block: 1px solid #dce7e1;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}

.steps li {
  background: #ffffff;
  border: 1px solid #dee7e3;
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring);
  position: relative;
}

.steps li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #bcd4cb;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8f5f0;
  border: 1px solid #a8dfd0;
  margin-bottom: 24px;
}

.steps h3 {
  font-size: 20px;
  font-weight: 650;
  color: var(--ink-900);
  margin: 0 0 12px;
  letter-spacing: -0.025em;
}

.steps p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-muted);
  margin: 0 0 16px;
  flex-grow: 1;
}

.steps p.status-note {
  flex-grow: 0;
  margin-top: auto;
}

/* ==========================================================================
   04 / SHARED INTELLIGENCE. PERSONAL BOUNDARIES.
   ========================================================================== */

.architecture-section {
  background: radial-gradient(ellipse 60% 50% at 20% 40%, rgba(64, 223, 197, 0.08) 0%, transparent 60%), linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--dark-text-primary);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.architecture-section h2 {
  font-size: clamp(38px, 4.2vw, 60px);
  color: #ffffff;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 20px;
}

.architecture-section em {
  color: var(--teal-400);
  font-style: normal;
}

.architecture-section .eyebrow {
  color: var(--teal-400);
}

.architecture-copy > p:not(.eyebrow) {
  color: var(--dark-text-secondary);
  line-height: 1.8;
  font-size: 16px;
  margin: 0 0 24px;
  max-width: 460px;
}

.architecture-diagram {
  max-width: 520px;
  width: 100%;
}

.market-node {
  border: 1px solid rgba(140, 232, 207, 0.3);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(14, 46, 57, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 20px rgba(140, 232, 207, 0.1);
}

.market-node .micro {
  font-family: var(--font-mono);
  color: var(--teal-400);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: rgba(140, 232, 207, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 6px;
}

.market-node h3 {
  font-size: 22px;
  font-weight: 650;
  color: #ffffff;
  margin: 0 0 4px;
  letter-spacing: -0.03em;
}

.market-node p {
  font-size: 12px;
  color: var(--dark-text-secondary);
  margin: 0;
}

.connector {
  height: 60px;
  position: relative;
  background: linear-gradient(rgba(140, 232, 207, 0.6), rgba(140, 232, 207, 0.6)) no-repeat 50% 0 / 2px 30px;
}

.connector::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 0;
  left: 25%;
  right: 25%;
  border: 2px solid rgba(140, 232, 207, 0.6);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.account-nodes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.account-nodes > div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 26px;
  background: rgba(11, 37, 48, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease;
}

.account-nodes > div:hover {
  border-color: rgba(140, 232, 207, 0.35);
}

.account-nodes .micro {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #a4ceca;
}

.account-nodes h4 {
  font-size: 18px;
  font-weight: 650;
  color: #ffffff;
  margin: 12px 0 10px;
  letter-spacing: -0.02em;
}

.account-nodes p {
  font-size: 12px;
  line-height: 2;
  color: #9bb7b8;
  margin: 0;
}

/* ==========================================================================
   05 / TRADING QUESTIONS. CLEAR ANSWERS. (FAQ)
   ========================================================================== */

.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  background: #ffffff;
}

.faq-intro {
  margin-top: 20px;
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.faq-list details {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background: #fafcfb;
  transition: all 0.25s var(--ease-spring);
  overflow: hidden;
}

.faq-list details:hover {
  border-color: #bad5cc;
  background: #ffffff;
}

.faq-list details[open] {
  background: #ffffff;
  border-color: #8ce8cf;
  box-shadow: var(--shadow-sm);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 28px;
  position: relative;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink-900);
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 22px;
  color: var(--teal-700);
  font-weight: 400;
  transition: transform 0.25s var(--ease-spring), color 0.2s;
  flex-shrink: 0;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  color: var(--teal-600);
}

.faq-list details > p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-muted);
  padding: 0 28px 24px;
  margin: 0;
}

.faq-list details a {
  color: var(--teal-700);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 550;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */

.final-cta {
  background: radial-gradient(ellipse 70% 60% at 50% 120%, rgba(64, 223, 197, 0.16) 0%, rgba(13, 47, 56, 0.6) 50%, var(--navy-950) 100%);
  text-align: center;
  color: #ffffff;
  padding: 120px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.final-cta .eyebrow {
  color: var(--teal-400);
  background: rgba(140, 232, 207, 0.1);
  border: 1px solid rgba(140, 232, 207, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  margin-bottom: 24px;
}

.final-cta h2 {
  font-size: clamp(48px, 5.5vw, 76px);
  color: #ffffff;
  letter-spacing: -0.045em;
  margin: 0 0 36px;
  background: linear-gradient(180deg, #ffffff 40%, #cce5e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.final-cta .actions {
  justify-content: center;
  gap: 24px;
  margin-bottom: 36px;
}

.final-cta .button {
  min-height: 54px;
  padding: 0 32px;
  font-size: 15px;
  border-radius: var(--radius-pill);
}

.final-cta .text-link {
  color: #c9e0dc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.final-cta .text-link:hover {
  color: #ffffff;
  border-color: rgba(140, 232, 207, 0.4);
  background: rgba(140, 232, 207, 0.08);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
  padding: 64px max(5vw, 24px) 36px;
  background: var(--navy-950);
  color: #8fa5ad;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: flex;
  gap: 40px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top > .brand {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-top > span {
  font-size: 13px;
  color: #76959c;
}

.footer-top nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
  font-size: 13px;
}

.site-footer a:hover {
  color: var(--teal-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-top: 28px;
  font-size: 11px;
  line-height: 1.8;
  color: #627e85;
}

.footer-bottom p {
  max-width: 680px;
  margin: 0;
}

.footer-bottom > span {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
}

/* ==========================================================================
   ANIMATIONS & MOTION SETTINGS
   ========================================================================== */

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes beacon {
  50% { opacity: 0.35; transform: scale(1.1); }
}

@keyframes beacon-ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.8); opacity: 0; }
}

.motion-ready .orbit {
  animation: orbit 75s linear infinite;
}

.motion-ready .signal-dot::after {
  animation: beacon-ripple 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.motion-ready .map-pulse {
  animation: beacon 3s ease-in-out infinite;
}

.motion-paused * {
  animation-play-state: paused !important;
}

.motion-paused {
  scroll-behavior: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .button:hover {
    transform: none;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (min-width: 1700px) {
  .hero, .site-header, .section, .site-footer {
    padding-left: max(5vw, calc((100vw - 1480px) / 2));
    padding-right: max(5vw, calc((100vw - 1480px) / 2));
  }
  .hero {
    padding-top: 90px;
  }
  .hero-copy {
    padding-bottom: 80px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    gap: 32px;
  }
  .site-header nav {
    gap: 20px;
  }
  .nav-actions {
    gap: 18px;
  }
  .hero {
    padding-top: 55px;
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(42px, 6vw, 68px);
  }
  .hero-intro {
    font-size: 15px;
    max-width: 400px;
  }
  .section {
    padding: 85px 5vw;
  }
  .section-heading {
    gap: 40px;
  }
  .section-heading > p {
    max-width: 340px;
    font-size: 14px;
  }
  .feature-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 16px;
  }
  .feature {
    padding: 26px;
  }
  .lead-feature {
    padding: 32px;
  }
  .feature h3 {
    font-size: 19px;
  }
  .lead-feature h3 {
    font-size: 26px;
  }
  .steps {
    gap: 16px;
  }
  .steps li {
    padding: 24px 20px;
  }
  .steps h3 {
    font-size: 18px;
  }
  .architecture-section {
    gap: 50px;
  }
  .faq-section {
    gap: 50px;
  }
  .preview-layout {
    grid-template-columns: 160px 1fr;
  }
  .preview-content {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 40px;
  }
  .site-header {
    height: auto;
    min-height: 72px;
    padding: 16px 24px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .brand {
    font-size: 22px;
  }
  .menu-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 14px;
    color: #e3eee8;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 550;
  }
  .site-header:has(.menu-toggle:not([hidden])) nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0 10px;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-header:has(.menu-toggle:not([hidden])) nav.open {
    display: flex;
  }
  .nav-actions {
    width: 100%;
    justify-content: space-between;
    padding-top: 10px;
    margin-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 44px 24px 0;
  }
  .hero-copy {
    padding: 0 0 20px;
    max-width: none;
  }
  .hero h1 {
    font-size: clamp(40px, 9vw, 60px);
    line-height: 1.06;
  }
  .hero-intro {
    font-size: 15px;
    max-width: none;
  }
  .signal-art {
    max-width: 480px;
    width: 100%;
    margin: 24px auto 16px;
  }
  .hero-bottom {
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 0;
  }
  .hero-bottom > span {
    width: 100%;
  }
  .hero-bottom > a {
    margin-left: 0;
    margin-right: auto;
  }
  .section {
    padding: 68px 24px;
  }
  .section-heading {
    display: block;
    margin-bottom: 36px;
  }
  .section-heading > p {
    margin-top: 16px;
    max-width: none;
  }
  h2 {
    font-size: 34px;
  }
  .product-bar {
    padding: 0 16px;
    height: 52px;
  }
  .preview-layout {
    display: block;
  }
  .preview-nav {
    flex-direction: row;
    padding: 10px;
    gap: 8px;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .preview-nav button {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .preview-account {
    display: none;
  }
  .preview-content {
    padding: 20px;
  }
  .preview-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .chart-card {
    padding: 16px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lead-feature {
    grid-row: auto;
    padding: 32px 24px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .steps li {
    padding: 26px 20px;
  }
  .architecture-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .architecture-diagram {
    max-width: none;
  }
  .account-nodes {
    gap: 16px;
  }
  .account-nodes > div {
    padding: 20px 16px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  summary {
    padding: 18px 20px;
    font-size: 14.5px;
  }
  .faq-list details > p {
    padding: 0 20px 20px;
  }
  .final-cta {
    padding: 80px 24px;
  }
  .final-cta h2 {
    font-size: 40px;
  }
  .site-footer {
    padding-inline: 24px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-top nav {
    margin-left: 0;
    width: 100%;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 400px) {
  .hero, .section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .button, .hero .text-link {
    justify-content: center;
  }
}
