/* ChartArrow site. Base = brand navy, one accent (brand blue); market green/red live only inside charts. */
:root {
  --navy: #102344;
  --navy-deep: #0c1a33;
  --panel: #0c1730;
  --line: #22355b;
  --blue: #006bff;
  --blue-hover: #2a85ff;
  --text: #e8eef9;
  --muted: #8a9bbd;
  --up: #089981;
  --down: #f23645;
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--text); font: 400 17px/1.55 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue-hover); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--blue); padding: 8px 12px; border-radius: 8px; z-index: 10; }

h1, h2, h3 { font-family: var(--display); font-weight: 750; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(40px, 6.2vw, 76px); line-height: 0.98; font-variation-settings: 'wdth' 82; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; font-variation-settings: 'wdth' 88; max-width: 18ch; }
h3 { font-size: 22px; line-height: 1.2; }
p { margin: 0; }
.fine { color: var(--muted); font-size: 14px; }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid var(--blue); transition: background .15s; }
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.05); border-color: var(--muted); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter); }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:not(.btn):hover { color: var(--text); }

/* hero */
main > section { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(24px, 5vw, 64px) !important; padding-bottom: clamp(48px, 7vw, 96px) !important; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: #c7d3ea; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.ctas .btn { padding: 0 18px; }

.hero-chart { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; position: relative;
  box-shadow: 0 30px 80px -30px rgba(0, 107, 255, .35); }
.chart-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.chart-bar .sym { font-weight: 700; }
.chart-bar .tf { color: var(--muted); }
.pill { margin-left: auto; font-size: 13px; font-weight: 700; color: #fff; background: var(--blue); padding: 5px 12px; border-radius: 999px; transition: opacity .4s; }
.pill.done { background: transparent; color: var(--muted); padding-right: 0; }
.chart { height: clamp(300px, 34vw, 430px); }
.caption { padding: 14px 16px 16px; border-top: 1px solid var(--line); animation: rise .5s ease-out both; }
.caption strong { font-family: var(--display); font-size: 18px; margin-right: 8px; }
.caption span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.caption p { margin-top: 6px; font-size: 14px; color: #c7d3ea; line-height: 1.45; max-width: 62ch; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* how it works: a real three-step sequence */
.how { padding-bottom: clamp(56px, 8vw, 110px) !important; }
.steps { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.steps li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--blue); }
.steps p { color: #c7d3ea; }

/* ask the AIs */
.ask { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(56px, 8vw, 110px) !important; }
.ask-copy { display: flex; flex-direction: column; gap: 16px; }
.ask-copy p:not(.fine) { color: #c7d3ea; }
.verdicts { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.verdicts li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 16px 18px; }
.verdicts li + li { border-top: 1px solid var(--line); }
.verdicts .who { font-weight: 700; }
.verdicts .who small { color: var(--muted); font-weight: 500; margin-left: 6px; }
.verdicts .call { justify-self: end; font-weight: 800; font-size: 14px; padding: 3px 12px; border-radius: 999px; background: #22355b; }
.verdicts .call.long { background: var(--up); }
.verdicts .call.short { background: var(--down); }
.verdicts .why { grid-column: 1 / -1; color: #c7d3ea; font-size: 15px; }
.verdicts .lv { grid-column: 1 / -1; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

/* tools */
.tools { padding-bottom: clamp(56px, 8vw, 110px) !important; }
.tool-list { margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.tool-list div { padding: 18px 0; border-top: 1px solid var(--line); }
.tool-list dt { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.tool-list dd { margin: 0; color: #c7d3ea; }

/* pricing comparison */
.pricing { padding-bottom: clamp(56px, 8vw, 110px) !important; }
.plans { margin: 32px 0 16px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.plan-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.plan-row > span { padding: 16px 20px; }
.plan-row + .plan-row { border-top: 1px solid var(--line); }
.plan-row .pro { background: rgba(0, 107, 255, .1); font-weight: 700; }
.plan-head span { font-family: var(--display); font-size: 22px; font-weight: 750; }
.plan-head em { display: block; font-style: normal; font-family: var(--body); font-size: 15px; font-weight: 600; color: #9fc3ff; }
.plan-row [role="cell"] { font-variant-numeric: tabular-nums; }
.plan-cta .btn { width: 100%; }

/* faq */
.faq { padding-bottom: clamp(56px, 8vw, 100px) !important; }
.faq details, .faq h2 { max-width: 820px; }
.faq h2 { margin-bottom: 20px; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { margin-top: 10px; color: #c7d3ea; max-width: 60ch; }

/* footer */
.foot { max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.foot nav { display: flex; gap: 18px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot p { margin-left: auto; }
.foot .credit { flex-basis: 100%; margin: 0; font-size: 13px; }
.foot .credit a { color: var(--muted); }

/* legal pages */
.doc { max-width: 720px; margin: 0 auto; padding: 24px var(--gutter) 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 24px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; max-width: none; }
.doc p, .doc li { color: #c7d3ea; margin-bottom: 10px; }

@media (max-width: 900px) {
  .hero, .ask { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tool-list { grid-template-columns: 1fr; }
  .top nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .plan-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); font-size: 15px; }
  .plan-row > span { padding: 12px 10px; }
  .plan-head span { font-size: 18px; }
  .plan-cta { grid-template-columns: 1fr; }
  .plan-cta > span:first-child { display: none; }
  .plan-cta > span { padding: 10px 12px; }
  .foot p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
