:root {
  --bg: #080b12;
  --bg-2: #0c111b;
  --surface: rgba(17, 23, 34, 0.78);
  --surface-strong: #111827;
  --surface-soft: rgba(255,255,255,.045);
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);
  --text: #f7f8fb;
  --muted: #9aa5b5;
  --copper: #b86f45;
  --copper-bright: #ef8b50;
  --pink: #ff3ea5;
  --red: #ff4d5d;
  --orange: #ff7a2f;
  --yellow: #ffc21c;
  --green: #19d47b;
  --teal: #17d8ca;
  --blue: #2b92ff;
  --purple: #8c4dff;
  --radius: 18px;
  --max: 1240px;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f7f6f2;
  --bg-2: #fffdfa;
  --surface: rgba(255,255,255,.82);
  --surface-strong: #ffffff;
  --surface-soft: rgba(0,0,0,.04);
  --line: rgba(13,20,31,.10);
  --line-strong: rgba(13,20,31,.18);
  --text: #10131a;
  --muted: #626b77;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; }

.skip-link { position: fixed; left: 12px; top: -100px; z-index: 9999; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; min-height: 68px; padding: 0 28px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 760; letter-spacing: -.035em; white-space: nowrap; }
.brand img { display: block; }
.primary-nav { display: flex; justify-content: center; gap: 26px; font-size: 13px; color: var(--muted); }
.primary-nav a:hover, .text-link:hover, .site-footer a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); color: var(--text); cursor: pointer; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 720; font-size: 14px; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--text); color: var(--bg); }
.button-secondary { border-color: var(--line-strong); background: var(--surface-soft); color: var(--text); }
.button-small { min-height: 38px; padding: 0 15px; }
.disabled-link { opacity: .68; pointer-events: none; }

.hero { position: relative; min-height: 770px; overflow: hidden; display: grid; place-items: center; isolation: isolate; border-bottom: 1px solid var(--line); background:
  radial-gradient(circle at 50% 46%, rgba(255,194,28,.07), transparent 18%),
  radial-gradient(circle at 80% 45%, rgba(43,146,255,.06), transparent 26%),
  radial-gradient(circle at 20% 55%, rgba(255,62,165,.055), transparent 28%),
  linear-gradient(180deg, var(--bg), var(--bg-2));
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -5; background: radial-gradient(ellipse at center, transparent 0 36%, rgba(0,0,0,.18) 72%, rgba(0,0,0,.34) 100%); pointer-events: none; }
.hero-core { position: relative; z-index: 30; width: min(610px, calc(100% - 40px)); text-align: center; padding: 60px 24px; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 750; }
.hero h1 { margin: 0; font-size: clamp(54px, 7.6vw, 104px); line-height: .92; letter-spacing: -.075em; }
.hero h1 span { font-weight: 500; }
.hero-mark { margin: 22px auto 16px; filter: drop-shadow(0 0 18px rgba(184,111,69,.22)); }
.hero-copy { width: min(560px, 100%); margin: 0 auto; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.microcopy { margin: 13px 0 0; color: var(--muted); font-size: 12px; }

.hero-orbits { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orbit { position: absolute; left: 50%; top: 48%; border: 1px solid transparent; border-radius: 50%; transform: translate(-50%, -50%) rotate(-6deg); opacity: .95; }
.orbit::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.orbit-1 { width: 46%; aspect-ratio: 2.05/1; border-color: rgba(255,194,28,.27); }
.orbit-2 { width: 59%; aspect-ratio: 2.02/1; border-color: rgba(25,212,123,.27); }
.orbit-3 { width: 72%; aspect-ratio: 2/1; border-color: rgba(43,146,255,.30); }
.orbit-4 { width: 86%; aspect-ratio: 1.98/1; border-color: rgba(140,77,255,.28); }
.orbit-5 { width: 103%; aspect-ratio: 1.95/1; border-color: rgba(255,62,165,.24); }
.orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 18px currentColor; }
.orbit-1 .orbit-dot { color: var(--yellow); background: currentColor; }
.orbit-2 .orbit-dot { color: var(--green); background: currentColor; }
.orbit-3 .orbit-dot { color: var(--blue); background: currentColor; }
.orbit-4 .orbit-dot { color: var(--purple); background: currentColor; }
.orbit-5 .orbit-dot { color: var(--pink); background: currentColor; }
.dot-1 { left: 8%; top: 33%; }.dot-2 { right: 12%; bottom: 21%; }

.orbit-card { position: absolute; z-index: 12; display: flex; align-items: center; gap: 8px; border-radius: 14px; border: 1px solid var(--line-strong); box-shadow: 0 14px 40px rgba(0,0,0,.26); backdrop-filter: blur(14px); font-size: 12px; font-weight: 700; white-space: nowrap; }
.orbit-card.internal { padding: 10px 13px; color: #fff; background: rgba(17,23,34,.84); }
.orbit-card.provider { padding: 9px 13px; color: var(--text); background: color-mix(in srgb, var(--surface-strong) 82%, transparent); }
.mini-icon { font-size: 18px; line-height: 1; }
.c-ideas { left: 6%; top: 25%; box-shadow: 0 0 30px rgba(140,77,255,.18); }
.c-brain { left: 27%; top: 18%; box-shadow: 0 0 30px rgba(255,77,93,.17); }
.c-blueprints { left: 57%; top: 18%; box-shadow: 0 0 30px rgba(255,194,28,.18); }
.c-skills { left: 23%; top: 39%; box-shadow: 0 0 30px rgba(255,62,165,.16); }
.c-agents { right: 17%; top: 25%; box-shadow: 0 0 30px rgba(23,216,202,.17); }
.c-resources { right: 10%; top: 56%; box-shadow: 0 0 30px rgba(43,146,255,.18); }
.c-tools { right: 24%; top: 68%; box-shadow: 0 0 30px rgba(140,77,255,.16); }
.c-data { left: 31%; top: 72%; box-shadow: 0 0 30px rgba(43,146,255,.16); }
.c-integrations { right: 34%; top: 75%; box-shadow: 0 0 30px rgba(23,216,202,.16); }
.c-sessions { right: 5%; top: 40%; box-shadow: 0 0 30px rgba(255,122,47,.17); }
.p-openai { left: 14%; top: 15%; }.p-github { left: 42%; top: 12%; }.p-supabase { left: 6%; top: 51%; }.p-n8n { left: 18%; top: 76%; }.p-vercel { right: 26%; top: 14%; }.p-docker { left: 43%; top: 82%; }.p-slack { right: 5%; top: 26%; }.p-postgres { right: 15%; top: 80%; }
.hero-rail { position: absolute; right: 26px; bottom: 34px; z-index: 25; display: grid; grid-template-columns: auto 8px; gap: 10px 12px; align-items: center; font-size: 10px; color: var(--muted); letter-spacing: .14em; }
.hero-rail i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.section { max-width: var(--max); margin: 0 auto; padding: 110px 28px; }
.section-heading { max-width: 780px; margin-bottom: 54px; }.section-heading.compact { margin-bottom: 34px; }
.section-heading h2, .final-cta h2 { margin: 0 0 16px; font-size: clamp(38px, 5vw, 68px); line-height: .98; letter-spacing: -.05em; }
.section-heading p:not(.section-kicker), .download-panel > div > p, .pricing-panel .section-heading p { color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-card { min-height: 250px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-number { color: var(--muted); font-size: 11px; letter-spacing: .14em; }.feature-card h3 { margin: 58px 0 10px; font-size: 27px; }.feature-card p { margin: 0; color: var(--muted); }
.section-flow { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: none; padding-left: max(28px, calc((100vw - var(--max))/2 + 28px)); padding-right: max(28px, calc((100vw - var(--max))/2 + 28px)); }
.flow-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.flow-list li { display: grid; grid-template-columns: 60px 1fr 1fr; gap: 18px; align-items: center; min-height: 76px; border-bottom: 1px solid var(--line); }
.flow-list span { color: var(--muted); font-size: 11px; }.flow-list strong { font-size: 22px; }.flow-list em { color: var(--muted); font-style: normal; }
.provider-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.provider-grid span { display: grid; place-items: center; min-height: 82px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); font-weight: 720; }
.legal-note { color: var(--muted); font-size: 12px; margin-top: 18px; }
.download-panel { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; border-top: 1px solid var(--line); }
.download-panel h2 { margin: 0 0 18px; font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -.05em; }
.download-card { border: 1px solid var(--line-strong); border-radius: 22px; padding: 28px; background: linear-gradient(180deg, var(--surface), var(--surface-soft)); }
.platform-label { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; }.download-card h3 { font-size: 28px; margin: 12px 0; }.download-card p { color: var(--muted); }.download-card .button { width: 100%; margin: 12px 0; }.download-card small { color: var(--muted); }
.pricing-panel { border-top: 1px solid var(--line); }.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.price-card { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-soft); }.price-card.emphasized { border-color: rgba(184,111,69,.55); box-shadow: 0 0 40px rgba(184,111,69,.08); }.price-card .plan { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }.price-card h3 { font-size: 30px; margin: 28px 0 12px; }.price-card p:not(.plan) { color: var(--muted); min-height: 84px; }.price-card a { text-decoration: underline; text-underline-offset: 4px; }.price-card span { color: var(--muted); }
.final-cta { text-align: center; border-top: 1px solid var(--line); }.final-cta img { margin-bottom: 16px; }
.site-footer { max-width: var(--max); margin: 0 auto; padding: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; color: var(--muted); font-size: 12px; }.brand-small { font-size: 14px; color: var(--text); }.site-footer nav { display: flex; gap: 16px; }.copyright { grid-column: 1 / -1; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }

.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at 50% 15%, rgba(184,111,69,.12), transparent 24%), var(--bg); }
.auth-card { width: min(440px, 100%); border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: var(--surface); box-shadow: 0 25px 80px rgba(0,0,0,.28); }.auth-card .brand { margin-bottom: 30px; }.auth-card h1 { font-size: 36px; letter-spacing: -.045em; margin: 0 0 8px; }.auth-card > p { color: var(--muted); margin: 0 0 24px; }.auth-form { display: grid; gap: 14px; }.auth-form label { display: grid; gap: 7px; font-size: 12px; color: var(--muted); }.auth-form input { height: 46px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--surface-soft); color: var(--text); padding: 0 13px; outline: none; }.auth-form input:focus { border-color: var(--copper); }.auth-form .button { width: 100%; margin-top: 4px; }.auth-foot { margin-top: 22px; font-size: 12px; color: var(--muted); }.auth-foot a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }.auth-note { margin-top: 20px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); font-size: 12px; }

@media (max-width: 1040px) {
  .primary-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-actions .text-link { display: none; }
  .hero { min-height: 700px; }
  .orbit-card { transform: scale(.9); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .provider-grid { grid-template-columns: repeat(3, 1fr); }
  .download-panel { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { padding: 0 16px; min-height: 62px; }.brand { font-size: 16px; }.brand img { width: 38px; }.header-actions { gap: 8px; }.icon-button { display: none; }
  .hero { min-height: 690px; }.hero-core { padding-top: 110px; }.hero h1 { font-size: clamp(52px, 15vw, 72px); }
  .hero-copy { font-size: 15px; }.hero-rail { display: none; }
  .orbit { opacity: .44; }.orbit-card { display: none; }.orbit-card.c-ideas, .orbit-card.c-agents, .orbit-card.c-resources, .orbit-card.p-openai, .orbit-card.p-supabase { display: flex; transform: scale(.76); opacity: .8; }
  .c-ideas { left: -1%; top: 26%; }.c-agents { right: -2%; top: 25%; }.c-resources { right: -3%; top: 66%; }.p-openai { left: 4%; top: 67%; }.p-supabase { left: 2%; top: 48%; }
  .section { padding: 78px 18px; }.section-heading h2, .final-cta h2, .download-panel h2 { font-size: 42px; }
  .feature-grid { grid-template-columns: 1fr; }.feature-card { min-height: 190px; }.feature-card h3 { margin-top: 30px; }
  .flow-list li { grid-template-columns: 42px 1fr; padding: 16px 0; }.flow-list em { grid-column: 2; }.provider-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr; }.site-footer nav { flex-wrap: wrap; }.copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .orbit-card { animation: float 5.5s ease-in-out infinite; }
  .orbit-card:nth-of-type(2n) { animation-delay: -1.6s; }
  .orbit-card:nth-of-type(3n) { animation-delay: -3.1s; }
  @keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
}
