/* Palette mirrors the member portal (my.the-core-group.com) so site -> portal feels like one product. */
:root {
  --bg: #0f1117;
  --bg-2: #13161e;
  --card: #1a1d27;
  --card-hover: #1f2335;
  --line: #2a2d3e;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-muted: rgba(59, 130, 246, .15);
  --brand: #801e32;          /* logo maroon - used sparingly */
  --ink: #e2e8f0;
  --muted: #94a3b8;
  --dim: #64748b;
  --up: #10b981;
  --down: #ef4444;
  --warn: #f59e0b;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", monospace;
  --radius: 12px;
  --wrap: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(15, 17, 23, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #fff; }

/* Buttons */
.btn { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 16px; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; }
.btn:hover, .btn:focus-visible { transform: translateY(-1px); outline: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(59, 130, 246, .25); }
.btn-primary:hover, .btn-primary:focus-visible { background: #4f8ff7; color: #fff; box-shadow: 0 0 0 3px rgba(59, 130, 246, .35), 0 10px 28px rgba(59, 130, 246, .4); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 3px rgba(59, 130, 246, .35), 0 10px 28px rgba(59, 130, 246, .3); }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Hero */
.hero { position: relative; padding: 56px 0 48px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 620px; background: radial-gradient(600px 320px at 30% 30%, rgba(59, 130, 246, .22), transparent 70%), radial-gradient(500px 300px at 80% 10%, rgba(128, 30, 50, .25), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-copy { max-width: 560px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); background: var(--card); padding: 6px 12px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--down); box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
.hero h1 { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.02; letter-spacing: -.03em; margin: 20px 0 18px; }
.hero h1 span { background: linear-gradient(90deg, #60a5fa, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px; }
.hero-points li { font-size: 14px; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--accent); }
.hero-points b { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--accent); display: block; }

/* Showcase: real chart with callouts */
.showcase { position: relative; }
.frame { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(59, 130, 246, .08); }
.frame-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.frame-bar .dots { display: flex; gap: 6px; }
.frame-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2d3e; }
.frame-bar .dots i:nth-child(1) { background: #ef4444aa; } .frame-bar .dots i:nth-child(2) { background: #f59e0baa; } .frame-bar .dots i:nth-child(3) { background: #10b981aa; }
.frame-bar .title { margin-left: auto; }
.frame img { width: 100%; height: auto; }
.callout { position: absolute; background: rgba(15, 17, 23, .92); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 10px 12px; font-size: 13.5px; line-height: 1.4; max-width: 230px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.callout b { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--accent); margin-bottom: 2px; }
.callout.c1 { left: 2%; top: 22%; }
.callout.c2 { right: 2%; top: 46%; border-left-color: var(--up); }
.callout.c2 b { color: var(--up); }
.callout.c3 { left: 28%; bottom: 8%; border-left-color: var(--warn); }
.callout.c3 b { color: var(--warn); }
.showcase-note { text-align: center; color: var(--dim); font-size: 13px; margin: 14px 0 0; font-family: var(--mono); }

/* Proof strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.proof .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.proof div { padding: 22px 20px; border-right: 1px solid var(--line); }
.proof div:last-child { border-right: 0; }
.proof strong { display: block; font-size: 15px; color: var(--ink); }
.proof span { color: var(--muted); font-size: 14px; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 600; color: var(--accent); margin: 0; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.12; margin: 10px 0 14px; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }

/* Edge: bento grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.tile:hover { border-color: #3b4357; transform: translateY(-2px); }
.tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; } .tile.w4 { grid-column: span 4; } .tile.w6 { grid-column: span 6; }
.tile .shot { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #0a0b10; }
.tile .shot img { width: 100%; height: 260px; object-fit: cover; object-position: var(--pos, center); transition: transform .6s ease; }
.tile:hover .shot img { transform: scale(1.04); }
.tile .shot .tag { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; background: rgba(15, 17, 23, .85); border: 1px solid var(--line); padding: 4px 9px; border-radius: 6px; color: var(--ink); }
.tile .body { padding: 22px 24px 24px; }
.tile h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tile .num { font-family: var(--mono); color: var(--dim); font-size: 12px; margin-bottom: 10px; }
.tile.plain .body { padding-top: 26px; }
.tile .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-muted); color: #60a5fa; display: grid; place-items: center; margin-bottom: 14px; }
.tile .icon svg { width: 22px; height: 22px; }

/* Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare .col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.compare .col.us { border-color: rgba(59, 130, 246, .5); box-shadow: 0 0 0 1px rgba(59, 130, 246, .25), 0 24px 60px rgba(59, 130, 246, .08); }
.compare h3 { margin: 0 0 16px; font-size: 15px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.compare .col.us h3 { color: var(--accent); }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { padding: 10px 0 10px 30px; border-top: 1px solid var(--line); position: relative; font-size: 16px; color: var(--muted); }
.compare .col.us li { color: var(--ink); }
.compare li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 12px; border-radius: 50%; }
.compare .col.them li::before { background: transparent; border: 2px solid var(--dim); width: 9px; height: 9px; }
.compare .col.us li::before { background: var(--up); width: 12px; height: 7px; border-radius: 0; border-left: 2px solid var(--up); border-bottom: 2px solid var(--up); background: transparent; transform: rotate(-45deg); top: 16px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gallery figure { margin: 0; }
.gallery figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px 0; color: var(--muted); font-size: 14.5px; }
.gallery figcaption b { color: var(--ink); font-weight: 600; }
.gallery figcaption .mono { color: var(--dim); font-size: 12.5px; white-space: nowrap; }

/* Live */
.live { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live ul { padding-left: 20px; color: var(--muted); margin: 0 0 24px; }
.live li { margin-bottom: 8px; }
.live h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 10px 0 12px; letter-spacing: -.02em; }

/* Plans */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); max-width: 900px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(59, 130, 246, .6); box-shadow: 0 0 0 1px rgba(59, 130, 246, .3), 0 30px 70px rgba(59, 130, 246, .1); }
.plan .tag { align-self: flex-start; background: var(--accent-muted); color: #60a5fa; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; margin-bottom: 14px; }
.plan h3 { margin: 0; font-size: 22px; }
.plan .price { font-size: 44px; font-weight: 800; margin: 14px 0 2px; letter-spacing: -.03em; }
.plan .price span { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .price-note { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { padding: 9px 0 9px 28px; border-top: 1px solid var(--line); position: relative; font-size: 15.5px; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--up); border-bottom: 2px solid var(--up); transform: rotate(-45deg); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.step { counter-increment: step; }
.step::before { content: "0" counter(step); display: block; font-family: var(--mono); color: var(--accent); font-size: 14px; border-top: 2px solid var(--accent); padding-top: 12px; margin-bottom: 8px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* CTA */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 50% 100%, rgba(59, 130, 246, .3), transparent 70%); pointer-events: none; }
.cta .wrap { position: relative; }
.cta h2 { font-size: clamp(30px, 4.5vw, 48px); margin: 0 0 12px; letter-spacing: -.02em; }
.cta p { margin: 0 auto 28px; max-width: 56ch; color: var(--muted); font-size: 18px; }

/* Footer */
.site-footer { padding: 56px 0 40px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.disclaimer { border-top: 1px solid var(--line); padding-top: 24px; font-size: 12.5px; line-height: 1.65; color: var(--dim); }
.disclaimer p { margin: 0 0 10px; }

/* Legal */
.legal { padding: 64px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 6px; letter-spacing: -.02em; }
.legal .updated { color: var(--muted); font-family: var(--mono); font-size: 14px; margin: 0 0 36px; }
.legal h2 { font-size: 21px; margin: 40px 0 10px; }
.legal p, .legal li { color: #cbd5e1; }
.legal ul { padding-left: 22px; }

@media (max-width: 960px) {
  .tile.w6 .body { grid-template-columns: 1fr !important; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.w3, .tile.w2, .tile.w4, .tile.w6 { grid-column: span 2; }
  .tile.w2 { grid-column: span 1; }
  .live, .compare, .gallery { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  section { padding: 68px 0; }
  .callout { position: static; max-width: none; margin: 10px 0 0; }
  .callouts { display: grid; gap: 10px; padding: 0 2px; }
}
@media (min-width: 961px) { .callouts { position: absolute; inset: 0; pointer-events: none; } .callouts .callout { pointer-events: auto; } }
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile.w3, .tile.w2, .tile.w4, .tile.w6 { grid-column: span 1; }
  .tile .shot img { height: 200px; }
}

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.tab { background: var(--card); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: 600 14px Inter, system-ui, sans-serif; cursor: pointer; }
.tab:hover, .tab:focus-visible { color: #fff; border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, .3); outline: none; }
.tab.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.panels { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.panel { display: none; grid-template-columns: 1.25fr .75fr; gap: 26px; align-items: center; }
.panel.is-active { display: grid; }
.panel .frame { box-shadow: none; }
.panel .frame img { aspect-ratio: 4 / 3; object-fit: cover; object-position: left top; }
.panel.wide { grid-template-columns: 1.4fr .6fr; }
.panel.wide .frame img { aspect-ratio: auto; }
.placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--dim); font-family: var(--mono); font-size: 13px; background: repeating-linear-gradient(45deg, #13161e 0 10px, #171a23 10px 20px); }
.panel-copy .num { font-family: var(--mono); color: var(--dim); font-size: 12px; margin-bottom: 8px; }
.panel-copy h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.01em; }
.panel-copy p { margin: 0; color: var(--muted); font-size: 16px; }
.compare-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.compare-strip > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--bg-2); }
.compare-strip .us { border-color: rgba(59, 130, 246, .5); }
.compare-strip h3 { margin: 0 0 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.compare-strip .us h3 { color: var(--accent); }
.compare-strip p { margin: 0; color: var(--muted); font-size: 15px; }
.compare-strip .us p { color: var(--ink); }
.steps-line { max-width: 900px; margin: 26px auto 0; text-align: center; color: var(--muted); font-size: 15px; }
.steps-line b { color: var(--ink); }
.steps-line span { color: var(--accent); padding: 0 4px; }
@media (max-width: 960px) { .hero-grid, .panel, .compare-strip { grid-template-columns: 1fr; } .hero-copy { max-width: none; } }

/* Prop */
.prop { border-top: 1px solid var(--line); }
.prop-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.prop h2 { font-size: clamp(28px, 3.8vw, 42px); margin: 10px 0 12px; letter-spacing: -.02em; }
.prop p { color: var(--muted); margin: 0; font-size: 17px; }
.prop-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prop-cards div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.prop-cards b { display: block; font-size: 16px; margin-bottom: 6px; }
.prop-cards span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 960px) { .prop-grid, .prop-cards { grid-template-columns: 1fr; } }

.panel.tall { grid-template-columns: .55fr 1.45fr; }
.panel.tall .frame { max-width: 360px; justify-self: center; }
.panel.tall .frame img { aspect-ratio: auto; object-fit: contain; max-height: 560px; width: auto; margin: 0 auto; }
.panel-copy p + p { margin-top: 10px; }
.panel-copy b { color: var(--ink); }
.frame img { cursor: zoom-in; }
.plan li.no { color: var(--muted); }
.plan li.no::before { border: 0; transform: none; width: 10px; height: 2px; background: var(--dim); top: 21px; left: 5px; }

/* Only the hovered button in a group is blue: while a sibling is hovered, the default-blue one steps back. */
.actions:has(.btn:hover) .btn-primary:not(:hover),
.plans:has(.btn:hover) .btn-primary:not(:hover) {
  background: var(--card); border-color: var(--line); color: var(--ink); box-shadow: none;
}
.tabs:has(.tab:hover) .tab.is-active:not(:hover) {
  background: var(--card); border-color: var(--line); color: var(--muted);
}
