/* tradenote.trade: the Midnight look (pure black, soft grey type, quiet outlines). */
:root {
  --bg: #000;
  --panel: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f0f0f0;
  --muted: #a1a4a5;
  --faint: #6f7375;
  --buy: #3ddc84;
  --sell: #ff6369;
  --font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(255, 255, 255, 0.09), transparent 70%),
    radial-gradient(50% 40% at 0% 30%, rgba(255, 255, 255, 0.05), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
::selection {
  background: #f0f0f0;
  color: #000;
}
:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 30px;
  height: 30px;
}
.nav a.link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
}
.nav a.link:hover {
  color: var(--text);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font: 600 15px/1 var(--font);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.btn.primary {
  background: #f0f0f0;
  color: #000;
}
.btn.primary:hover {
  background: #fff;
}
.btn.ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}
.btn.small {
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
}

/* ---- hero ---- */
.hero {
  padding: 96px 0 72px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
}
.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--buy);
  box-shadow: 0 0 10px var(--buy);
}
h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 20px;
}
.lead {
  font-size: 18.5px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 32px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.note {
  color: var(--faint);
  font-size: 13.5px;
  margin-top: 16px;
}

/* the alert card, drawn in HTML (same look as the app's pop-up) */
.stage {
  position: relative;
  min-height: 360px;
}
.stage::before {
  content: '';
  position: absolute;
  inset: 8% -6% 6% 4%;
  border-radius: 28px;
  background:
    linear-gradient(transparent 31px, rgba(255, 255, 255, 0.04) 32px) 0 0 / 100% 32px,
    linear-gradient(90deg, transparent 31px, rgba(255, 255, 255, 0.04) 32px) 0 0 / 32px 100%;
  mask: radial-gradient(70% 70% at 60% 50%, #000 40%, transparent 100%);
}
.card {
  --v: var(--buy);
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  border-radius: 20px;
  padding: 16px 16px 18px 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
    #050505;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.card + .card {
  margin-top: 16px;
  margin-right: 34px;
  opacity: 0.55;
  transform: scale(0.96);
  transform-origin: right top;
}
.card.sell {
  --v: var(--sell);
}
.card .tick {
  position: absolute;
  left: 0;
  top: 18px;
  width: 3px;
  height: 32px;
  border-radius: 0 3px 3px 0;
  background: var(--v);
  box-shadow: 0 0 12px var(--v);
}
.card .head {
  display: flex;
  align-items: center;
  gap: 11px;
}
.card .av {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 600;
  background: linear-gradient(160deg, #2a2a2a, #111);
  border: 1px solid var(--line);
}
.card .who {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}
.card .who b {
  font-weight: 600;
  font-size: 14.5px;
}
.card .who small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}
.card .x {
  color: var(--faint);
  font-size: 18px;
  line-height: 1;
}
.card p {
  margin: 12px 0;
  font-size: 15.5px;
  line-height: 1.45;
  font-weight: 500;
  color: #fff;
}
.signals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.verdict {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: 0.06em;
  font-size: 11.5px;
  color: var(--v);
  background: color-mix(in srgb, var(--v) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--v) 40%, transparent);
}
.verdict::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v);
  box-shadow: 0 0 8px var(--v);
}
.up {
  color: var(--buy);
  font-weight: 600;
}
.down {
  color: var(--sell);
  font-weight: 600;
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.tk {
  display: inline-block;
  font: 600 11.5px/1 ui-monospace, 'SF Mono', Menlo, monospace;
  padding: 5px 7px;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-right: 4px;
}
.view {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.timer {
  height: 2px;
  border-radius: 2px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.timer i {
  display: block;
  height: 100%;
  width: 64%;
  background: var(--v);
}

/* ---- sections ---- */
section {
  padding: 72px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}
h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 12px;
}
.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.box {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: var(--panel);
}
.box h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.box p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line-2);
}

/* ---- pricing ---- */
.toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 2px var(--line);
  margin-bottom: 28px;
}
.toggle button {
  font: 600 14px/1 var(--font);
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
}
.toggle button.on {
  background: #f0f0f0;
  color: #000;
}
.plan {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px 24px;
  background: var(--panel);
  position: relative;
}
.plan.pop {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.05);
}
.plan .badge {
  position: absolute;
  top: -11px;
  left: 22px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f0f0f0;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.price {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 10px 0 2px;
}
.price small {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.per {
  color: var(--faint);
  font-size: 13.5px;
  min-height: 21px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  flex: 1;
}
.plan li {
  position: relative;
  padding-left: 24px;
  margin: 9px 0;
  color: var(--muted);
  font-size: 15px;
}
.plan li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: rotate(-45deg);
}
.fine {
  color: var(--faint);
  font-size: 13.5px;
  margin-top: 20px;
}

/* ---- FAQ ---- */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--muted);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  color: var(--muted);
  margin: 10px 0 0;
  max-width: 720px;
}

/* ---- download banner ---- */
.banner {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 56px 24px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(255, 255, 255, 0.08), transparent 70%),
    var(--panel);
}
.banner p {
  color: var(--muted);
  margin: 0 auto 26px;
  max-width: 520px;
}
.banner .cta {
  justify-content: center;
}

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  margin-top: 40px;
  color: var(--faint);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
footer a {
  text-decoration: none;
  color: var(--muted);
}
footer a:hover {
  color: var(--text);
}
footer .disc {
  flex-basis: 100%;
  max-width: 760px;
  line-height: 1.55;
}

/* ---- documents (legal, download) ---- */
.doc {
  max-width: 760px;
  padding: 64px 24px 24px;
  margin: 0 auto;
}
.doc h1 {
  font-size: clamp(34px, 4.6vw, 46px);
  margin-bottom: 10px;
}
.doc .updated {
  color: var(--faint);
  font-size: 14px;
  margin: 0 0 36px;
}
.doc h2 {
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 40px 0 10px;
}
.doc h3 {
  font-size: 17px;
  margin: 26px 0 6px;
}
.doc p,
.doc li {
  color: #c9cbcc;
}
.doc ul {
  padding-left: 22px;
}
.doc li {
  margin: 6px 0;
}
.doc .callout {
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.doc a {
  text-decoration-color: var(--faint);
  text-underline-offset: 3px;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0;
}
.doc th,
.doc td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: #c9cbcc;
}
.doc th {
  color: var(--text);
  font-weight: 600;
}
.steps {
  counter-reset: s;
  list-style: none;
  padding: 0 !important;
}
.steps li {
  counter-increment: s;
  position: relative;
  padding-left: 42px;
  margin: 14px 0 !important;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

/* ---- phones ---- */
@media (max-width: 860px) {
  .hero {
    padding: 56px 0 40px;
  }
  .hero .wrap,
  .grid3,
  .grid2 {
    grid-template-columns: 1fr;
  }
  .stage {
    min-height: 0;
  }
  .card {
    margin: 0 auto;
  }
  .card + .card {
    display: none;
  }
  .nav .wrap {
    gap: 16px;
  }
  .nav a.link.hide-sm {
    display: none;
  }
  section {
    padding: 52px 0;
  }
}
@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }
  .doc {
    padding: 44px 16px 16px;
  }
  .cta .btn {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
