@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Manrope:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Shared brand tokens, used by the marketing site, sign-in and the customer app. */
:root {
  --navy-950: #040b1c;
  --navy-900: #071433;
  --navy-800: #0b1f4d;
  --navy-700: #12306e;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;

  --paper: #f6f8fd;
  --surface: #ffffff;
  --ink: #0b1733;
  --ink-2: #3c4a66;
  --muted: #64728c;
  --line: #e1e7f2;
  --line-strong: #c9d4e8;

  --good: #0f7a3d;
  --bad: #c02f2f;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 23, 51, .06), 0 8px 24px rgba(11, 23, 51, .06);
  --shadow-lg: 0 24px 60px rgba(4, 11, 28, .18);

  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-200); color: var(--navy-900); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Brand mark: sun over waves, as on the product packaging. */
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.4px; white-space: nowrap; }
.brand b { font-weight: 800; }
.brand span { font-weight: 500; }
.brand sup { font-size: 9px; font-weight: 600; margin-left: 1px; }
.brand-mark { width: 32px; height: 32px; flex-shrink: 0; color: var(--blue-600); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 20px rgba(37, 99, 235, .35); }
.btn-primary:hover { background: var(--blue-700); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-700); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--blue-50); }
.btn-outline-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .2px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 4px rgba(96, 165, 250, .2); flex-shrink: 0; }

/* Animated tech background (hero + sign-in panel) */
.tech-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.tb-grid { position: absolute; inset: -48px 0 0; background-image: linear-gradient(rgba(147, 197, 253, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 197, 253, .08) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(80% 60% at 60% 35%, #000, transparent 75%); -webkit-mask-image: radial-gradient(80% 60% at 60% 35%, #000, transparent 75%); animation: tb-drift 12s linear infinite; }
.tb-floor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; background-image: linear-gradient(rgba(96, 165, 250, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(96, 165, 250, .35) 1px, transparent 1px); background-size: 60px 60px; transform: perspective(500px) rotateX(62deg); transform-origin: bottom; mask-image: linear-gradient(to top, #000 10%, transparent 85%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); animation: tb-floor 3s linear infinite; }
.tb-orb { position: absolute; border-radius: 50%; filter: blur(60px); animation: tb-float 14s ease-in-out infinite alternate; }
.tb-orb-a { width: 420px; height: 420px; top: -80px; right: -60px; background: rgba(37, 99, 235, .55); }
.tb-orb-b { width: 300px; height: 300px; bottom: 18%; left: -100px; background: rgba(96, 165, 250, .28); animation-duration: 18s; animation-delay: -6s; }
.tb-chart { position: absolute; left: 0; right: 0; top: 16%; width: 100%; height: 48%; opacity: .9; }
.tb-candles rect { fill: rgba(96, 165, 250, .22); transform-box: fill-box; transform-origin: bottom; animation: tb-candle 4s ease-in-out infinite alternate; }
.tb-candles rect:nth-child(3n) { fill: rgba(230, 103, 103, .22); animation-delay: -1.3s; }
.tb-candles rect:nth-child(3n+1) { animation-delay: -2.6s; }
.tb-candles rect:nth-child(4n) { animation-duration: 5s; }
.tb-line { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.tb-line-a { stroke: #60a5fa; stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(96, 165, 250, .9)); animation: tb-draw 7s ease-in-out infinite; }
.tb-line-b { stroke: rgba(147, 197, 253, .45); stroke-width: 1.5; animation: tb-draw 9s ease-in-out -2s infinite; }
.tb-scan { position: absolute; left: 0; right: 0; height: 120px; top: -120px; background: linear-gradient(to bottom, transparent, rgba(96, 165, 250, .12), transparent); animation: tb-scan 6s linear infinite; }
.tb-dot { position: absolute; left: var(--x); bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: #93c5fd; box-shadow: 0 0 10px 2px rgba(96, 165, 250, .8); opacity: 0; animation: tb-rise var(--t) linear var(--d) infinite; }

@keyframes tb-drift { to { transform: translateY(48px); } }
@keyframes tb-floor { to { background-position: 0 60px; } }
@keyframes tb-float { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 40px) scale(1.15); } }
@keyframes tb-candle { from { transform: scaleY(.55); } to { transform: scaleY(1.1); } }
@keyframes tb-draw { 0% { stroke-dashoffset: 1400; opacity: 0; } 10% { opacity: 1; } 55%, 80% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes tb-scan { to { top: 100%; } }
@keyframes tb-rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } 80% { opacity: .6; } 100% { transform: translateY(-100vh); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tb-line { stroke-dashoffset: 0; opacity: 1; } .tb-dot, .tb-scan { display: none; } }

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