/* TradeCopilot static website
   Formal white fintech/SaaS style. No frameworks required. */
:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --soft: #f7f7f8;
  --soft-2: #f2f3f5;
  --ink: #0c0d0f;
  --ink-2: #272a30;
  --muted: #6b7280;
  --line: #e3e5e8;
  --line-dark: #d3d6dc;
  --green: #2f8f46;
  --red: #c54444;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.container { width: min(100% - 48px, var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 84px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand img { width: 190px; height: auto; }
.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  font-size: 14px;
  color: var(--ink-2);
}
.main-nav a { padding: 8px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--ink); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, opacity 160ms ease;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.button-dark { background: #050505; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,0.14); }
.button-dark:hover { background: #171717; }
.button-light { background: #fff; color: #111; border-color: #a8adb7; box-shadow: none; }
.button-light:hover { background: #f8f8f8; }
.button-small { min-height: 46px; padding: 0 18px; font-size: 14px; }
.play-icon {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
}

.section-bleed {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 68% 14%, rgba(0,0,0,0.035), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 72%, #fafafa 100%);
}
.hero { padding: 68px 0 34px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(560px, 1.16fr);
  gap: 56px;
  align-items: center;
}
.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 800;
}
h1, .display-heading {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-size: clamp(52px, 7vw, 84px);
}
.lead {
  margin: 0;
  color: #5d6470;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 22px; flex-wrap: wrap; margin: 34px 0 28px; }
.trust-row { display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before {
  content: "✓";
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #9aa1ad;
  border-radius: 50%;
  font-size: 11px;
  color: #4b5563;
}

.dashboard-shell {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}
.browser-top {
  min-height: 44px;
  display: grid;
  grid-template-columns: 10px 10px 10px 1fr 28px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f8f8f9;
}
.window-dot { width: 9px; height: 9px; border-radius: 50%; background: #c8ccd2; }
.address-bar {
  height: 25px;
  border: 1px solid #dde1e6;
  background: #fff;
  color: #9aa1ad;
  border-radius: 6px;
  font-size: 11px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  margin-left: 18px;
}
.mini-avatar {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.dashboard-body { display: grid; grid-template-columns: 182px 1fr; min-height: 438px; }
.dashboard-sidebar {
  padding: 20px 14px;
  border-right: 1px solid var(--line);
  background: #fcfcfd;
}
.dashboard-logo { width: 145px; margin: 0 0 20px; }
.dashboard-sidebar a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: #535b66;
  font-size: 13px;
  margin-bottom: 4px;
}
.dashboard-sidebar a.active,
.dashboard-sidebar a:hover { background: #eeeeef; color: #111; }
.dashboard-main { padding: 22px; min-width: 0; }
.dashboard-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dashboard-head h2 { font-size: 16px; margin: 0; letter-spacing: -0.02em; }
.dashboard-head span { font-size: 11px; color: var(--muted); }
.market-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }
.market-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px;
  min-height: 112px;
  background: #fff;
}
.market-card > span { display: block; color: #5f6672; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.market-value-row {
  display: block;
  min-width: 0;
}
.market-value-row strong {
  display: block;
  min-width: 0;
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.market-card svg { width: 100%; height: 36px; margin-top: 12px; }
.market-card polyline { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.market-card.red-line polyline { stroke: var(--red); }
.positive { color: var(--green); }
.negative { color: var(--red); }
.dashboard-lower { display: grid; grid-template-columns: 1.05fr 0.9fr 0.72fr; gap: 12px; }
.panel { border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 14px; min-width: 0; }
.panel h3 { margin: 0 0 10px; font-size: 13px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; }
.panel-title a { color: #718096; font-size: 11px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { color: #7b8390; font-weight: 700; text-align: left; padding: 6px 0; }
td { padding: 7px 0; border-top: 1px solid #f0f1f3; }
th:nth-child(2), td:nth-child(2), th:nth-child(3), td:nth-child(3) { text-align: right; }
.note-item { border-top: 1px solid #f0f1f3; padding: 10px 0 2px; font-size: 12px; }
.note-item strong { display: block; margin-bottom: 4px; }
.note-item span { color: #5f6672; }
.journal-item { display: grid; grid-template-columns: 8px 1fr; gap: 8px; border-top: 1px solid #f0f1f3; padding: 9px 0; }
.journal-item span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-top: 6px; }
.journal-item.red span { background: var(--red); }
.journal-item p { margin: 0; color: #717985; font-size: 12px; line-height: 1.28; }
.journal-item strong { display: block; color: #111; }

.feature-band { padding: 26px 0 54px; background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-dark); border-radius: 10px; overflow: hidden; }
.feature-card { padding: 34px 34px 32px; min-height: 178px; background: #fff; display: grid; grid-template-columns: 82px 1fr; column-gap: 22px; align-items: start; }
.feature-card + .feature-card { border-left: 1px solid var(--line); }
.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #f5f5f6;
  display: grid;
  place-items: center;
  font-size: 44px;
  line-height: 1;
  font-family: Georgia, serif;
}
.feature-card h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.03em; }
.feature-card p { margin: 0; color: #68707c; font-size: 15px; line-height: 1.6; }

.content-section { padding: 84px 0; border-top: 1px solid var(--line); background: #fff; }
.split-section { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 70px; align-items: start; }
.split-section h2,
.pricing-box h2,
.page-hero h1,
.simple-page h1,
.modal-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 600;
}
.step-list { display: grid; gap: 14px; }
.step-list > div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.step-list > div:last-child { border-bottom: 1px solid var(--line); }
.step-list span { color: #9aa1ad; font-weight: 800; }
.step-list p { margin: 0; color: #5f6672; font-size: 16px; }
.step-list strong { color: #111; }

.trust-strip { padding: 42px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fafafa; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.trust-grid article { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0 30px; }
.trust-grid article + article { border-left: 1px solid var(--line-dark); }
.trust-grid span { font-size: 34px; line-height: 1; }
.trust-grid h3 { margin: 0 0 3px; font-size: 16px; letter-spacing: -0.02em; }
.trust-grid p { margin: 0; color: #6f7682; font-size: 14px; line-height: 1.45; }

.pricing-section { padding: 72px 0; }
.pricing-box {
  text-align: center;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 42px 26px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}
.pricing-box p:not(.section-kicker) { max-width: 710px; margin: 14px auto 24px; color: #68707c; }

.site-footer { border-top: 1px solid var(--line); background: #f8f8f9; padding: 34px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.footer-grid img { width: 156px; margin-bottom: 10px; }
.footer-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.footer-grid nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; color: #3f4652; font-size: 14px; }
.footer-grid nav a:hover { text-decoration: underline; }

/* Waitlist modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 10, 14, 0.54);
}
.modal-backdrop[hidden] { display: none; }
.modal-card {
  position: relative;
  width: min(100%, 560px);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: #fff;
  padding: 34px;
  box-shadow: 0 34px 90px rgba(0,0,0,0.2);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.modal-copy { margin: 14px 0 24px; color: #5f6672; }
.waitlist-form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.waitlist-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: #2c3138;
}
.waitlist-form input {
  min-height: 46px;
  width: 100%;
  border: 1px solid #cfd3da;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
  color: #111;
  outline: none;
}
.waitlist-form input:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-message { min-height: 22px; margin: -2px 0 0; color: #4b5563; font-size: 14px; font-weight: 700; }
.form-message.success { color: var(--green); }
.form-message.error { color: var(--red); }
.form-disclaimer { margin: 0; color: #7a828e; font-size: 12px; line-height: 1.5; }

/* Inner pages */
.page-hero { padding: 72px 0 42px; border-bottom: 1px solid var(--line); background: #fbfbfc; }
.page-hero p { max-width: 780px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.simple-page { padding: 54px 0 82px; }
.policy-card {
  max-width: 860px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 34px;
  background: #fff;
}
.policy-card h2 { margin: 34px 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.policy-card h2:first-child { margin-top: 0; }
.policy-card p, .policy-card li { color: #5f6672; font-size: 15px; line-height: 1.7; }
.policy-card ul { padding-left: 22px; }
.support-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 34px; }
.support-box { border: 1px solid var(--line-dark); border-radius: 12px; padding: 30px; background: #fff; }
.support-box h2 { margin: 0 0 10px; font-size: 24px; }
.support-box p { color: #5f6672; }
.support-box a { text-decoration: underline; }

@media (max-width: 1060px) {
  .nav-wrap { grid-template-columns: 220px 1fr auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .dashboard-shell { max-width: 820px; }
  .feature-grid, .trust-grid, .split-section, .support-grid { grid-template-columns: 1fr; }
  .feature-card + .feature-card, .trust-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .trust-grid article { padding: 24px 0; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--max)); }
  .nav-wrap { min-height: 76px; grid-template-columns: 1fr auto; }
  .brand img { width: 165px; }
  .main-nav { display: none; }
  .hero { padding-top: 44px; }
  h1 { font-size: clamp(46px, 14vw, 68px); }
  .dashboard-body { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .market-cards, .dashboard-lower { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; gap: 18px; }
  .step-list > div { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-actions { gap: 12px; }
  .browser-top { grid-template-columns: 10px 10px 10px 1fr; }
  .mini-avatar { display: none; }
  .address-bar { margin-left: 6px; min-width: 0; overflow: hidden; }
  .policy-card, .support-box, .modal-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
}
