:root {
  --ink: #111116;
  --ink-soft: #24242d;
  --muted: #6d6d7a;
  --paper: #f7f7fa;
  --surface: #ffffff;
  --forest: #111116;
  --green: #6c3bff;
  --green-light: #f0ecff;
  --gold: #ffb126;
  --magenta: #c82dd1;
  --coral: #ff4f74;
  --gradient: linear-gradient(135deg, #6c3bff 0%, #c82dd1 46%, #ff4f74 72%, #ffb126 100%);
  --line: #e4e4ec;
  --shadow: 0 18px 56px rgba(17, 17, 22, .09);
  --shadow-large: 0 36px 100px rgba(5, 5, 12, .28);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: inherit; }
.site-wrap { overflow: hidden; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

.site-header { height: 82px; display: flex; align-items: center; position: absolute; inset: 0 0 auto; z-index: 5; color: white; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand-symbol, .agent-avatar { position: relative; overflow: visible; flex: 0 0 auto; display: inline-grid; place-items: center; background: transparent url('/brand/ganymedus-face-gradient.png') center / contain no-repeat; filter: drop-shadow(0 7px 14px rgba(108,59,255,.24)); }
.brand-symbol { width: 42px; height: 42px; border-radius: 14px; }
.brand-symbol::after, .agent-avatar::after, .hero-emblem::after { content: none; }
.header-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.header-nav > a { text-decoration: none; color: rgba(255,255,255,.72); }
.header-nav > a:hover { color: white; }
.header-nav .header-cta { padding: 11px 17px; border: 0; border-radius: 999px; color: white; background: rgba(255,255,255,.1); font-weight: 750; backdrop-filter: blur(12px); }

.hero { min-height: 780px; padding: 154px 0 96px; color: white; background: #101014; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -30% -10% 0 10%; background: radial-gradient(circle at 32% 24%, rgba(108,59,255,.56), transparent 30%), radial-gradient(circle at 78% 36%, rgba(200,45,209,.4), transparent 26%), radial-gradient(circle at 58% 84%, rgba(255,79,116,.22), transparent 34%), radial-gradient(circle at 88% 90%, rgba(255,177,38,.12), transparent 28%); filter: blur(34px); z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(16,16,20,.28), rgba(16,16,20,.68) 58%, rgba(16,16,20,.25)), linear-gradient(to bottom, transparent 70%, #101014); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr); gap: 76px; align-items: center; }
.eyebrow { margin: 0 0 22px; color: #cdbfff; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 800; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(56px, 6.8vw, 92px); line-height: .98; font-weight: 790; letter-spacing: -.06em; }
.hero h1 em { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.69); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { min-height: 50px; padding: 0 21px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 800; border: 0; transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background .16s ease; }
.button.primary { background: var(--gradient); color: white; box-shadow: 0 12px 32px rgba(108,59,255,.26); }
.button.primary:hover { filter: saturate(1.1) brightness(1.04); transform: translateY(-2px); box-shadow: 0 16px 38px rgba(108,59,255,.34); }
.button.secondary { color: white; background: rgba(255,255,255,.1); }
.button.secondary:hover { background: rgba(255,255,255,.16); }
.button.green { background: var(--gradient); color: white; }
.button.green:hover { filter: saturate(1.08); }
.hero-note { margin-top: 18px; color: rgba(255,255,255,.45); font-size: 11px; }

.agent-card { position: relative; border: 1px solid rgba(255,255,255,.14); border-radius: 26px; padding: 16px; background: rgba(255,255,255,.08); box-shadow: var(--shadow-large); backdrop-filter: blur(18px); }
.agent-top { display: flex; align-items: center; gap: 10px; padding: 3px 3px 15px; }
.agent-avatar { width: 38px; height: 38px; border-radius: 13px; color: transparent; font-size: 0; }
.agent-top div { display: grid; gap: 3px; }
.agent-top strong { font-size: 12px; }
.agent-top span { color: rgba(255,255,255,.48); font-size: 9px; }
.agent-body { padding: 20px; border-radius: 18px; background: #fcfcfe; color: var(--ink); }
.agent-question { margin: 0 0 16px; padding: 13px 14px; border-radius: 14px 14px 14px 4px; background: var(--green-light); font-size: 12px; line-height: 1.5; }
.agent-reply { width: 82%; margin: 0 0 20px auto; padding: 12px 14px; border-radius: 14px 14px 4px 14px; background: var(--gradient); color: white; font-size: 12px; line-height: 1.5; }
.plan-label { margin: 0 0 9px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.plan-list { display: grid; gap: 8px; }
.plan-row { display: grid; grid-template-columns: 25px 1fr auto; gap: 9px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 11px; }
.plan-row > span:first-child { width: 25px; height: 25px; border-radius: 9px; display: grid; place-items: center; background: var(--green-light); color: var(--green); font-size: 10px; font-weight: 800; }
.plan-row strong { display: block; font-size: 10px; }
.plan-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
.plan-row > small { white-space: nowrap; }

.trust-strip { background: #101014; color: rgba(255,255,255,.68); border-top: 1px solid rgba(255,255,255,.08); }
.trust-strip .container { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.trust-strip span { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.trust-strip b { color: #c9b8ff; margin-right: 8px; }

.section { padding: 108px 0; }
.section.white { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 0; font-size: clamp(38px, 4.3vw, 60px); line-height: 1.05; font-weight: 760; letter-spacing: -.05em; }
.section-head p { margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.flow-step { min-height: 240px; padding: 30px 27px; border-right: 1px solid var(--line); }
.flow-step:last-child { border-right: 0; }
.flow-step > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--green-light); color: var(--green); font-size: 12px; font-weight: 900; }
.flow-step h3 { margin: 33px 0 10px; font-size: 17px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { min-height: 235px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.feature:hover { transform: translateY(-2px); border-color: #c9bcf5; box-shadow: var(--shadow); }
.feature-icon { color: var(--green); font-size: 25px; }
.feature h3 { margin: 36px 0 10px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.principle { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.principle-mark { min-height: 470px; border-radius: 28px; display: grid; place-items: center; background: #111116; position: relative; overflow: hidden; isolation: isolate; }
.principle-mark::before { content: ""; position: absolute; inset: 5%; background: radial-gradient(circle at 35% 30%, rgba(108,59,255,.75), transparent 38%), radial-gradient(circle at 72% 50%, rgba(200,45,209,.48), transparent 35%), radial-gradient(circle at 55% 82%, rgba(255,79,116,.28), transparent 38%); filter: blur(20px); z-index: -1; }
.hero-emblem { width: min(72%, 330px); aspect-ratio: 1; display: grid; place-items: center; position: relative; overflow: visible; background: transparent url('/brand/ganymedus-face-gradient.png') center / contain no-repeat; filter: drop-shadow(0 30px 44px rgba(108,59,255,.28)); }
.principle-copy h2 { margin: 0 0 22px; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.05; font-weight: 760; letter-spacing: -.05em; }
.principle-copy > p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.principle-list { margin-top: 30px; display: grid; gap: 18px; }
.principle-item { display: grid; grid-template-columns: 28px 1fr; gap: 13px; }
.principle-item > span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green-light); color: var(--green); font-weight: 800; font-size: 11px; }
.principle-item strong { display: block; font-size: 13px; }
.principle-item p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.cta { padding: 0 0 108px; background: var(--surface); }
.cta-card { padding: 72px; border-radius: 28px; display: flex; align-items: center; justify-content: space-between; gap: 50px; background: #111116; color: white; position: relative; overflow: hidden; isolation: isolate; }
.cta-card::after { content: ""; position: absolute; inset: -80% -10% -80% 35%; background: radial-gradient(circle, rgba(108,59,255,.65), transparent 36%), radial-gradient(circle at 70% 65%, rgba(255,79,116,.38), transparent 28%); filter: blur(22px); z-index: -1; }
.cta-card > div, .cta-card > a { position: relative; z-index: 1; }
.cta-card h2 { max-width: 680px; margin: 0; font-size: clamp(37px, 4.2vw, 56px); line-height: 1.04; font-weight: 760; letter-spacing: -.05em; }
.cta-card p { margin: 16px 0 0; color: rgba(255,255,255,.68); }

.site-footer { padding: 42px 0; background: #0b0b0f; color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer-brand p { max-width: 420px; margin: 12px 0 0; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.5; }
.footer-links { display: flex; gap: 25px; font-size: 12px; }
.footer-links a { color: rgba(255,255,255,.62); text-decoration: none; }
.footer-links a:hover { color: white; }
.copyright { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.35); font-size: 10px; }

.legal-page { min-height: 100vh; background: var(--surface); }
.legal-header { height: 78px; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; background: #111116; color: white; }
.legal-header .container { display: flex; justify-content: space-between; align-items: center; }
.legal-header .brand-symbol { width: 38px; height: 38px; }
.legal-header a:last-child { color: rgba(255,255,255,.7); text-decoration: none; font-size: 12px; }
.legal { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 110px; }
.legal .eyebrow { color: var(--green); }
.legal h1 { margin: 0; font-size: clamp(45px, 7vw, 68px); font-weight: 780; letter-spacing: -.055em; }
.legal > p:first-of-type { margin: 12px 0 45px; color: var(--muted); font-size: 12px; }
.legal h2 { margin: 38px 0 12px; font-size: 18px; }
.legal p, .legal li { color: #555561; font-size: 14px; line-height: 1.75; }
.legal ul { padding-left: 21px; }
.legal a { color: var(--green); }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid, .principle { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .agent-card { max-width: 600px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step:nth-child(2) { border-right: 0; }
  .flow-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .principle { gap: 50px; }
  .principle-mark { min-height: 400px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 30px, 1160px); }
  .site-header { height: 70px; }
  .header-nav > a:not(.header-cta) { display: none; }
  .hero { padding: 125px 0 70px; }
  .hero h1 { font-size: 50px; }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .agent-card { padding: 9px; border-radius: 18px; }
  .agent-body { padding: 13px; }
  .trust-strip .container { gap: 13px 24px; padding: 18px 0; }
  .trust-strip span { font-size: 9px; }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 35px; }
  .flow, .feature-grid { grid-template-columns: 1fr; }
  .flow-step { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-step:last-child { border-bottom: 0; }
  .feature { min-height: 200px; }
  .principle-mark { min-height: 340px; }
  .cta { padding-bottom: 78px; }
  .cta-card { padding: 45px 26px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
  .legal { padding: 58px 0 80px; }
}
