/* OdinQuant.com shared styles. Colours: ink #0b0d12, panel #12151d, line #232836, text #e8e6df, soft #a9adb8, gold #d6a94a */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #0b0d12; color: #e8e6df; font-family: "Segoe UI", Inter, system-ui, -apple-system, Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.65; }
img, svg { max-width: 100%; }
a { color: #d6a94a; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }
.soft { color: #a9adb8; }
.small { font-size: 0.88rem; }
.gold { color: #d6a94a; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 13, 18, 0.92); border-bottom: 1px solid #232836; backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #e8e6df; font-weight: 800; letter-spacing: 0.14em; font-size: 1.02rem; }
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span b { color: #d6a94a; font-weight: 800; }
nav.main { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
nav.main a { color: #c9ccd4; padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; }
nav.main a:hover { background: #171b25; text-decoration: none; color: #fff; }
nav.main a.on { color: #d6a94a; }
nav.main a.btn { color: #0b0d12; }
.menu { display: none; background: none; border: 1px solid #2c3243; color: #e8e6df; border-radius: 8px; padding: 8px 12px; font-size: 0.95rem; cursor: pointer; }

/* buttons */
.btn { display: inline-block; background: #d6a94a; color: #0b0d12; font-weight: 700; padding: 13px 22px; border-radius: 10px; border: 1px solid #d6a94a; font-size: 1rem; }
.btn:hover { background: #e5bb62; text-decoration: none; }
.btn.ghost { background: transparent; color: #e8e6df; border-color: #39405a; }
.btn.ghost:hover { border-color: #d6a94a; color: #d6a94a; background: transparent; }
.btn.off { background: #1a1e29; color: #8b90a0; border-color: #2a3041; cursor: default; }

/* sections */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
section.band { background: #0f1219; border-top: 1px solid #1c2130; border-bottom: 1px solid #1c2130; }
.hero { padding: 96px 0 84px; background: radial-gradient(1100px 480px at 78% -10%, rgba(214, 169, 74, 0.16), transparent 62%), #0b0d12; }
.hero p.lead { font-size: 1.2rem; color: #c3c6cf; max-width: 660px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; color: #d6a94a; font-weight: 700; margin-bottom: 14px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #12151d; border: 1px solid #232836; border-radius: 14px; padding: 26px; }
.card h3 { margin-bottom: 0.5em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #d6a94a; color: #d6a94a; font-weight: 700; margin-bottom: 14px; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.tag { display: inline-block; border: 1px solid #39405a; color: #c9ccd4; border-radius: 999px; padding: 3px 12px; font-size: 0.8rem; margin: 0 6px 8px 0; }
.tag.gold { border-color: #d6a94a; color: #d6a94a; }
.note { border-left: 3px solid #d6a94a; background: #12151d; padding: 18px 22px; border-radius: 0 12px 12px 0; }
.note p:last-child { margin-bottom: 0; }
.price { font-size: 2.4rem; font-weight: 800; line-height: 1.1; }
.price small { font-size: 1rem; font-weight: 500; color: #a9adb8; }
table.spec { width: 100%; border-collapse: collapse; }
table.spec th, table.spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #232836; vertical-align: top; }
table.spec th { width: 34%; color: #a9adb8; font-weight: 600; }
details { background: #12151d; border: 1px solid #232836; border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 10px; color: #d6a94a; }
details p:last-child { margin-bottom: 0; }

/* the chart sketch on the home page */
.sketch { background: #12151d; border: 1px solid #232836; border-radius: 16px; padding: 18px; }
.sketch svg { display: block; width: 100%; height: auto; }

/* footer */
footer { border-top: 1px solid #232836; padding: 44px 0 56px; color: #a9adb8; font-size: 0.9rem; }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; margin-bottom: 26px; }
footer a { color: #c9ccd4; }
footer nav a { display: inline-block; margin: 0 16px 8px 0; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .g3, .g2, .split, footer .cols { grid-template-columns: 1fr; }
  section { padding: 54px 0; }
  .hero { padding: 62px 0 54px; }
  .menu { display: inline-block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 66px; background: #0b0d12; border-bottom: 1px solid #232836; padding: 10px 16px 16px; flex-direction: column; align-items: stretch; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 10px; }
  table.spec th { width: 42%; }
}

/* the menu has more entries now: switch to the Menu button a little earlier so it never wraps onto two rows */
@media (max-width: 1090px) {
  .menu { display: inline-block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 66px; background: #0b0d12; border-bottom: 1px solid #232836; padding: 10px 16px 16px; flex-direction: column; align-items: stretch; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 10px; }
}
.sketch img { display: block; width: 100%; height: auto; border-radius: 8px; }
