/* Odara Trading Research - website draft 2 (2026-12-02; draft 1 was 2026-12-01).
   The colours are the ones the Account Guard panel draws with (ManagementV21Panel.h). No outside fonts or scripts. */
:root {
  --bg: #0b141b;
  --panel: #101b24;
  --card: #18242d;
  --border: #2d4857;
  --ink: #d9e7f0;
  --muted: #8da1b4;
  --cyan: #41d2e8;
  --amber: #ffcb5a;
  --green: #5ee38f;
  --red: #ff606c;
  --max: 1120px;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---- draft strip: remove this block and the <div class="draft"> on each page when the site goes live ---- */
.draft {
  background: #2a2412; color: var(--amber); border-bottom: 1px solid #5a4a1c;
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-align: center; padding: 7px 16px;
}
.todo {
  border: 1px dashed var(--amber); color: var(--amber); border-radius: 4px; padding: 0 6px;
  font-family: var(--mono); font-size: .86em; white-space: nowrap;
}

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 20, 27, .94); border-bottom: 1px solid var(--border); backdrop-filter: blur(6px); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { display: flex; flex-direction: column; line-height: 1.05; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand b { font-size: 21px; letter-spacing: .34em; font-weight: 700; }
.brand span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .3em; color: var(--cyan); margin-top: 4px; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover, .nav a.on { color: var(--ink); text-decoration: none; }
.btn {
  display: inline-block; font-weight: 600; font-size: 15.5px; padding: 11px 20px; border-radius: 6px;
  border: 1px solid var(--cyan); background: var(--cyan); color: #06222a; cursor: pointer;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--cyan); }
.nav .btn { padding: 8px 16px; color: #06222a; }

/* ---- sections ---- */
section { padding: 84px 0; border-bottom: 1px solid #16242e; }
section.tight { padding: 56px 0; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .26em; color: var(--cyan); text-transform: uppercase; margin: 0 0 14px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; }
.lead { font-size: 1.16rem; color: #b9cbd8; max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---- hero ---- */
.hero { padding: 76px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero .note { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .05em; }
.screen {
  position: relative; justify-self: center; width: 274px; background: #1f2a31; border: 1px solid var(--border);
  border-radius: 8px; padding: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.screen::before { content: ""; position: absolute; left: -1px; top: -1px; width: 26px; height: 26px; border-left: 2px solid var(--cyan); border-top: 2px solid var(--cyan); border-radius: 8px 0 0 0; }
.screen .crop { height: 566px; overflow: hidden; border-radius: 3px; }
.screens { display: grid; grid-template-columns: auto auto; gap: 18px; justify-content: center; align-items: start; }
.screens .second { margin-top: 96px; }
.screens figcaption { grid-column: 1 / -1; max-width: 566px; }
.hero .wrap.two { grid-template-columns: 1fr auto; gap: 48px; }
.hero .wrap.two h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
/* the home page starts with the animation: a short head, the animation, then what the study is (Newton, 2026-12-02) */
.hero.first { padding: 40px 0 72px; }
.hero.first .wrap { display: block; }
.hero.first { padding-bottom: 64px; }
.herohead { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.herohead > * { min-width: 0; }
.herohead h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin-bottom: 0; text-wrap: balance; }
.herohead .cta { margin: 20px 0 0; }
/* the platform box, top right of the home page (Newton, 2026-12-02: "add the platform we support, Sierra Chart") */
.platform { width: 232px; padding: 18px 20px; }
.platform .label { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.platform b { display: block; font-size: 1.75rem; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.platform .sub { display: block; margin-top: 9px; font-size: .92rem; color: var(--muted); }
.hero.first .see { margin: 16px 0 0; max-width: none; font-size: 1.05rem; }
.hero.first .demo { margin-top: 18px; }
.only-line { font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; color: var(--cyan); text-transform: uppercase; }
/* on a narrow screen the platform box goes under the animation, so the animation stays at the top */
@media (max-width: 900px) {
  .hero.first .wrap { display: flex; flex-direction: column; gap: 0; }
  .herohead { display: contents; }
  .hero.first .see { order: 1; }
  .hero.first .demo { order: 2; }
  .platform { order: 3; width: auto; align-self: flex-start; margin-top: 22px; padding: 14px 18px; }
  .platform b { font-size: 1.4rem; }
}
.screen img { width: 250px; image-rendering: -webkit-optimize-contrast; }
.screen figcaption, figure figcaption { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }
figure { margin: 0; }

/* ---- cards and grids ---- */
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 26px 24px; }
.card.hud::before { content: ""; position: absolute; left: -1px; top: -1px; width: 18px; height: 18px; border-left: 2px solid var(--cyan); border-top: 2px solid var(--cyan); border-radius: 8px 0 0 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 10px; }
.tag { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; border: 1px solid currentColor; margin-bottom: 14px; }
.tag.green { color: var(--green); } .tag.amber { color: var(--amber); } .tag.cyan { color: var(--cyan); } .tag.red { color: var(--red); }
.num { font-family: var(--mono); color: var(--cyan); font-size: 13px; letter-spacing: .18em; display: block; margin-bottom: 12px; }
ul.plain { list-style: none; padding: 0; margin: 0 0 16px; }
ul.plain li { padding: 9px 0 9px 26px; position: relative; border-bottom: 1px solid #1d2d38; }
ul.plain li:last-child { border-bottom: 0; }
ul.plain li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 9px; height: 9px; background: var(--green); border-radius: 1px; }
ul.plain.no li::before { background: var(--amber); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.top-align { align-items: start; }
.split > *, .hero .wrap > *, .grid > * { min-width: 0; }
/* the chart picture is shown at its real size and cut to its top left corner, where the panel is */
.chartshot { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #1f2a31; height: 440px; }
.chartshot img { width: 1387px; max-width: none; height: auto; }

/* ---- price ---- */
.price { max-width: 520px; margin: 0 auto; text-align: left; }
.price .amount { font-size: 3rem; font-weight: 700; line-height: 1; margin: 6px 0 4px; }
.price .amount small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price .btn { display: block; text-align: center; margin-top: 22px; }

.price .btn.second { margin-top: 10px; }

/* ---- free trial form ---- */
.form { margin-top: 4px; }
.form label { display: block; font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.form input[type="email"], .form input[type="text"] {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px; background: #0e1820; color: var(--ink);
  border: 1px solid var(--border); border-radius: 6px; font: inherit;
}
.form input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
.form .hint { font-size: .86rem; color: var(--muted); margin: -4px 0 16px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; color: #b9cbd8; }
.form .check input { margin: 6px 0 0; width: 16px; height: 16px; flex: none; accent-color: var(--cyan); }
.form .btn { width: 100%; margin-top: 6px; font-family: inherit; }
.btn[disabled] { opacity: .5; cursor: not-allowed; filter: none; }
.btn.off { opacity: .6; cursor: default; filter: none; pointer-events: none; }
.soon { color: var(--amber); margin: 10px 0 0; }
.formnote { margin: 14px 0 0; color: var(--muted); }
[hidden] { display: none !important; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .cf-turnstile { margin: 4px 0 12px; min-height: 65px; }
.formmsg { margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid var(--red); background: #241c22; color: var(--ink); font-size: .92rem; border-radius: 0 6px 6px 0; }
.formdone { margin-top: 10px; padding: 4px 0 2px; outline: none; }
.formdone h3 { color: var(--green); margin-bottom: 10px; }
.formdone p:last-child { margin-bottom: 0; }
.hero .wrap > .card { align-self: start; }

/* ---- the animation (assets/demo.js) ---- */
.demo { position: relative; margin-top: 36px; background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 18px; }
.demo::before { content: ""; position: absolute; left: -1px; top: -1px; width: 26px; height: 26px; border-left: 2px solid var(--cyan); border-top: 2px solid var(--cyan); border-radius: 8px 0 0 0; }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.demo-tabs button {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; padding: 9px 13px;
  background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: 4px; cursor: pointer;
}
.demo-tabs button:hover { color: var(--ink); border-color: var(--muted); }
.demo-tabs button.on { color: var(--cyan); border-color: var(--cyan); background: rgba(65, 210, 232, .08); }
.demo-tabs .demo-play { margin-left: auto; color: var(--ink); min-width: 86px; }
.demo-stage { display: grid; grid-template-columns: 240px 1fr; grid-template-areas: "panel chart" "panel steps"; grid-template-rows: auto 1fr; gap: 16px 20px; align-items: start; }
.demo-stage > * { min-width: 0; }
.demo-panel { grid-area: panel; line-height: 0; }
.demo-panel canvas { display: block; border-radius: 3px; }
.demo-chart { grid-area: chart; height: 300px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: #0e1820; }
.demo-chart canvas { display: block; width: 100%; height: 100%; }
.demo-steps { grid-area: steps; list-style: none; counter-reset: d; padding: 0; margin: 0; }
.demo-steps li {
  counter-increment: d; position: relative; padding: 9px 12px 9px 46px; margin-bottom: 4px; min-height: 44px;
  border: 1px solid transparent; border-radius: 6px; color: #6f8496; font-size: .95rem; line-height: 1.5;
  transition: color .3s, background-color .3s, border-color .3s;
}
.demo-steps li::before {
  content: counter(d); position: absolute; left: 10px; top: 9px; width: 24px; height: 24px; border: 1px solid var(--border);
  border-radius: 4px; font-family: var(--mono); font-size: 12px; display: flex; align-items: center; justify-content: center; color: var(--muted);
}
.demo-steps li.done { color: #b9cbd8; }
.demo-steps li.done::before { border-color: var(--green); color: var(--green); }
.demo-steps li.on { color: var(--ink); background: #14212b; border-color: var(--border); }
.demo-steps li.on::before { border-color: var(--cyan); color: var(--cyan); }
.demo-note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .04em; line-height: 1.7; margin: 16px 0 0; }
@media (max-width: 760px) {
  .demo { padding: 14px; }
  .demo-stage { grid-template-columns: 1fr; grid-template-areas: "chart" "panel" "steps"; }
  .demo-panel { justify-self: center; }
  .demo-chart { height: 210px; }
  .demo-tabs button { font-size: 11.5px; padding: 8px 10px; letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-steps li { transition: none; }
}

/* ---- video tiles ---- */
.video { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #14212b, #0f1a22); border: 1px solid var(--border); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px; }
.video .play { width: 46px; height: 46px; border: 2px solid var(--muted); border-radius: 50%; position: relative; }
.video .play::after { content: ""; position: absolute; left: 17px; top: 12px; border-left: 14px solid var(--muted); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.video b { font-size: 15px; } .video span { font-family: var(--mono); font-size: 11.5px; color: var(--amber); letter-spacing: .1em; }

/* ---- faq ---- */
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--cyan); font-family: var(--mono); font-size: 1.2rem; line-height: 1.2; }
details[open] summary::after { content: "-"; }
details p { margin: 12px 0 0; color: #b9cbd8; max-width: 75ch; }

/* ---- long text pages (guide, terms, privacy) ---- */
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding: 56px 24px 96px; }
.doc aside { position: sticky; top: 92px; align-self: start; font-size: 14.5px; }
.doc aside b { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--cyan); text-transform: uppercase; display: block; margin-bottom: 12px; }
.doc aside a { display: block; color: var(--muted); padding: 5px 0; }
.doc aside a:hover { color: var(--ink); text-decoration: none; }
.doc article { max-width: 78ch; min-width: 0; }
.doc article h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc article h2 { font-size: 1.55rem; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.doc article h3 { margin-top: 30px; }
.doc article li { margin-bottom: 8px; }
.path { font-family: var(--mono); font-size: .88em; background: #14212b; border: 1px solid #22343f; border-radius: 4px; padding: 2px 7px; color: #cfe3ee; overflow-wrap: anywhere; }
.status { font-family: var(--mono); font-size: .86em; color: var(--amber); letter-spacing: .03em; }
.status.ok { color: var(--green); } .status.info { color: var(--cyan); }
table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid #22343f; }
th { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; border-bottom: 1px solid var(--border); }
.tablewrap { overflow-x: auto; }
.callout { border-left: 3px solid var(--amber); background: #1b2228; padding: 16px 20px; margin: 22px 0; border-radius: 0 6px 6px 0; }
.callout.info { border-left-color: var(--cyan); }
.callout p:last-child { margin-bottom: 0; }
ol.steps { counter-reset: s; list-style: none; padding: 0; }
ol.steps > li { counter-increment: s; position: relative; padding: 0 0 6px 46px; margin-bottom: 14px; }
ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border: 1px solid var(--cyan); color: var(--cyan); border-radius: 4px; font-family: var(--mono); font-size: 14px; display: flex; align-items: center; justify-content: center; }

/* ---- about / symbol ---- */
/* the symbol: the ink lines only (upright, the paper photo is gone), on a flat light card (Newton, 2026-12-02) */
.paper { background: #e9eef0; padding: 22px 20px; border-radius: 6px; max-width: 330px; justify-self: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.paper img { display: block; width: 100%; height: auto; }

/* ---- footer ---- */
footer { padding: 52px 0 64px; color: var(--muted); font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
footer a { color: var(--muted); display: block; padding: 3px 0; }
footer a:hover { color: var(--ink); }
footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; font-weight: 400; }
footer .risk { border-top: 1px solid var(--border); padding-top: 24px; font-size: 13px; line-height: 1.6; }

@media (max-width: 1000px) {
  .hero .wrap.two { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero .wrap, .split, .doc { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .doc aside { position: static; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .screens { grid-template-columns: auto; }
  .screens .second { margin-top: 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  /* phone header: name and Join on the first row, the four links on a second row; it scrolls away with the page */
  .top { position: static; }
  .top .wrap { position: relative; flex-direction: column; align-items: stretch; gap: 12px; min-height: 0; padding-top: 14px; padding-bottom: 12px; }
  .brand { align-self: flex-start; }
  .nav { margin-left: 0; gap: 6px 8px; justify-content: space-between; }
  .nav a { font-size: 13px; }
  .nav .btn { position: absolute; top: 12px; right: 24px; font-size: 14.5px; padding: 7px 16px; }
  .draft { font-size: 12px; }
  .price .amount .todo { font-size: 1.5rem; }
  footer .cols { grid-template-columns: 1fr; }
}
