:root {
  --bg: #070b13;
  --bg-soft: #0c1320;
  --surface: #101827;
  --surface-2: #141f31;
  --surface-3: #1a2740;
  --text: #f6f7fb;
  --muted: #aab5c7;
  --border: rgba(167, 184, 214, 0.16);
  --accent: #8c4bff;
  --accent-2: #b06cff;
  --success: #40d77c;
  --danger: #ff6a54;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #f4f6fb;
  --bg-soft: #edf1f8;
  --surface: #ffffff;
  --surface-2: #f7f8fc;
  --surface-3: #e9edf7;
  --text: #101522;
  --muted: #58657a;
  --border: rgba(31, 44, 72, 0.12);
  --shadow: 0 24px 70px rgba(31, 44, 72, 0.14);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 78% 0%, rgba(119, 57, 255, .14), transparent 28rem), 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, a { -webkit-tap-highlight-color: transparent; }
.section-shell { width: min(1480px, calc(100% - 64px)); margin-inline: auto; }
.site-header { min-height: 74px; padding: 0 3vw; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; font-weight: 800; white-space: nowrap; }
.brand small { font-size: .72rem; color: var(--muted); font-weight: 600; margin-left: 4px; }
.brand small strong, .footer-brand b { color: var(--accent-2); }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(145deg, var(--accent-2), #5425bb); color: white; font-weight: 900; box-shadow: 0 10px 28px rgba(140,75,255,.28); transform: skew(-8deg); }
.primary-nav { justify-self: center; display: flex; gap: 30px; color: var(--muted); font-weight: 650; }
.primary-nav a:hover, .text-link:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; }
.nav-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), #6a2de0); color: white; font-weight: 800; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 14px 36px rgba(111,49,224,.28); transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(111,49,224,.38); }
.button-small { min-height: 42px; padding-inline: 18px; }
.button-secondary { background: transparent; color: var(--text); border-color: var(--border); box-shadow: none; }
.hero { padding: 70px 0 48px; display: grid; grid-template-columns: .92fr 1.45fr; gap: 52px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; background: color-mix(in srgb, var(--surface) 72%, transparent); }
.hero h1 { font-size: clamp(3.5rem, 6vw, 6.5rem); line-height: .96; letter-spacing: -.065em; margin: 24px 0; max-width: 760px; }
.hero h1 span { color: var(--accent-2); }
.hero-copy > p { max-width: 680px; color: var(--muted); font-size: 1.18rem; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.trust-row div { border-top: 1px solid var(--border); padding-top: 14px; }
.trust-row b, .trust-row span { display: block; }
.trust-row b { font-size: .88rem; }
.trust-row span { color: var(--muted); font-size: .74rem; }
.hero-visual { position: relative; min-height: 570px; display: flex; align-items: center; }
.dashboard-card { display: grid; grid-template-columns: 145px 1fr; width: 80%; margin-left: auto; min-height: 490px; background: color-mix(in srgb, var(--surface) 94%, #000); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-2deg); }
.dash-nav { display: flex; flex-direction: column; gap: 10px; padding: 22px 13px; background: color-mix(in srgb, var(--bg) 85%, transparent); border-right: 1px solid var(--border); color: var(--muted); font-size: .78rem; }
.dash-nav span { padding: 8px 10px; border-radius: 7px; }
.dash-nav .active { color: white; background: linear-gradient(90deg, rgba(140,75,255,.55), rgba(140,75,255,.14)); }
.mini-brand { font-size: 1.35rem; color: var(--accent-2); font-weight: 900; margin: 0 8px 10px; }
.dash-main { padding: 22px; }
.dash-title { font-weight: 800; margin-bottom: 18px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.metric-grid > div, .panel { border: 1px solid var(--border); background: var(--surface-2); border-radius: 10px; padding: 13px; }
.metric-grid span, .metric-grid small { display: block; color: var(--muted); font-size: .63rem; }
.metric-grid strong { display: block; font-size: 1.55rem; margin: 6px 0 3px; }
.metric-grid strong.alert { color: var(--danger); }
.dash-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1.35fr; gap: 12px; }
.panel { min-height: 160px; }
.panel h3 { margin: 0 0 12px; font-size: .72rem; }
.panel.recent p { display: flex; justify-content: space-between; color: var(--muted); font-size: .65rem; margin: 8px 0; }
.panel.recent em { color: #c6a5ff; font-style: normal; }
.panel.wide { grid-column: 1 / -1; min-height: 112px; }
.donut { width: 104px; height: 104px; margin: 16px auto; border-radius: 50%; background: conic-gradient(var(--accent) 0 38%, #6ed980 38% 60%, #ecb14f 60% 77%, #4c6fe7 77% 100%); position: relative; }
.donut::after { content: ""; position: absolute; inset: 24px; background: var(--surface-2); border-radius: 50%; }
.bars { display: grid; gap: 8px; }
.bars i { display: block; width: var(--w); height: 8px; background: linear-gradient(90deg, var(--accent-2), #4a67e5); border-radius: 999px; }
.mascot { position: absolute; z-index: 3; right: -2%; bottom: 0; width: 34%; max-height: 540px; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.mascot-note { position: absolute; right: -2%; top: 15%; z-index: 4; color: var(--accent-2); font-size: 1.35rem; font-weight: 700; font-style: italic; transform: rotate(-3deg); }
.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--border); }
.value-strip article { display: flex; gap: 14px; padding: 24px; background: var(--surface); }
.value-strip article > span { color: var(--accent-2); font-size: 1.8rem; }
.value-strip h3, .value-strip p { margin: 0; }
.value-strip h3 { font-size: .96rem; }
.value-strip p { color: var(--muted); font-size: .82rem; margin-top: 5px; }
.content-section, .story-section, .security-section, .cta { padding-top: 100px; }
.section-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; align-items: end; margin-bottom: 30px; }
.section-heading h2, .story-copy h2, .security-section h2, .cta h2 { font-size: clamp(2.2rem, 4vw, 4.3rem); line-height: 1; letter-spacing: -.045em; margin: 16px 0 0; }
.section-heading > p, .story-copy > p, .security-section p, .cta p { color: var(--muted); font-size: 1.05rem; }
.card-grid { display: grid; gap: 14px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.product-grid { grid-template-columns: repeat(7, 1fr); }
.feature-card { min-height: 180px; padding: 24px; background: linear-gradient(145deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: 14px; }
.feature-card > span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--accent-2); background: rgba(140,75,255,.11); font-size: 1.4rem; }
.feature-card h3 { margin: 20px 0 8px; font-size: 1rem; }
.feature-card p { color: var(--muted); font-size: .86rem; margin: 0; }
.feature-card small { display: inline-block; color: var(--accent-2); margin-left: 5px; }
.feature-card.coming { border-color: color-mix(in srgb, var(--accent) 58%, var(--border)); background: linear-gradient(145deg, rgba(140,75,255,.14), var(--surface)); }
.story-section { display: grid; grid-template-columns: .78fr 1.22fr; gap: 52px; align-items: stretch; }
.mascot-card { min-height: 450px; display: flex; align-items: end; overflow: hidden; position: relative; border-radius: 18px; border: 1px solid var(--border); background: linear-gradient(145deg, var(--surface), rgba(140,75,255,.12)); }
.mascot-card img { width: 54%; max-height: 420px; object-fit: contain; margin-left: -3%; }
.mascot-card blockquote { font-size: clamp(1.4rem, 2vw, 2.3rem); color: var(--accent-2); margin: 0 8% 14% 0; }
.mascot-card blockquote strong { color: var(--text); }
.story-copy { padding: 44px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.check-list li::before { content: "✓"; color: var(--success); font-weight: 900; margin-right: 10px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pricing-grid article { position: relative; min-height: 360px; padding: 30px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.pricing-grid article.popular { border-color: var(--accent); box-shadow: 0 20px 50px rgba(140,75,255,.13); }
.pricing-grid h3 { font-size: 1.5rem; margin: 0; }
.pricing-grid p { color: var(--muted); }
.pricing-grid strong { display: block; font-size: 1.15rem; margin: 26px 0; }
.pricing-grid ul { color: var(--muted); padding-left: 20px; display: grid; gap: 10px; }
.badge { position: absolute; right: 20px; top: 18px; background: var(--accent); color: white; padding: 5px 9px; border-radius: 999px; font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.security-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.security-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.security-list span { padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.security-list span::before { content: "✓"; color: var(--success); margin-right: 8px; }
.cta { margin-top: 100px; padding: 58px; display: flex; justify-content: space-between; gap: 40px; align-items: center; border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border)); border-radius: 22px; background: radial-gradient(circle at 80% 0%, rgba(140,75,255,.34), transparent 24rem), var(--surface); }
.cta h2 { max-width: 760px; }
.cta p { max-width: 680px; }
.site-footer { margin-top: 100px; padding-top: 42px; padding-bottom: 42px; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--border); color: var(--muted); }
.site-footer h3 { color: var(--text); font-size: .9rem; }
.site-footer a { display: block; font-size: .82rem; margin: 7px 0; }
.footer-brand { display: flex; gap: 14px; align-items: start; color: var(--text); font-size: 1.25rem; }
.footer-brand p { color: var(--muted); font-size: .8rem; margin: 5px 0; }
.copyright { grid-column: 1 / -1; font-size: .72rem; border-top: 1px solid var(--border); padding-top: 20px; }
@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .primary-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; padding: 22px 5vw; background: var(--bg); border-bottom: 1px solid var(--border); }
  .primary-nav.open { display: flex; }
  .nav-toggle { display: inline-block; justify-self: start; background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; }
  .header-actions { justify-self: end; }
  .brand small, .text-link { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .dashboard-card { width: 88%; margin: 0; }
  .mascot { right: 0; width: 31%; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 820px) {
  .section-shell { width: min(100% - 32px, 1480px); }
  .site-header { padding-inline: 16px; gap: 12px; }
  .header-actions .button-small { display: none; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .trust-row, .value-strip, .card-grid.four, .product-grid, .pricing-grid, .security-section, .story-section, .section-heading { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 500px; overflow: hidden; }
  .dashboard-card { width: 100%; grid-template-columns: 1fr; }
  .dash-nav { display: none; }
  .mascot { width: 42%; right: -8%; opacity: .94; }
  .mascot-note { display: none; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .story-section, .security-section, .section-heading { grid-template-columns: 1fr; }
  .cta { align-items: start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .brand { font-size: 1.15rem; }
  .brand-mark { width: 32px; height: 32px; }
  .theme-label { display: none; }
  .primary-nav.open { flex-direction: column; }
  .hero-copy > p { font-size: 1rem; }
  .trust-row, .value-strip, .card-grid.four, .product-grid, .pricing-grid, .security-list { grid-template-columns: 1fr; }
  .value-strip { gap: 1px; }
  .hero-visual { min-height: 470px; }
  .dashboard-card { min-height: 430px; }
  .dash-main { padding: 14px; }
  .dash-grid { grid-template-columns: 1fr; }
  .panel.wide { grid-column: auto; }
  .panel.recent { display: none; }
  .mascot { width: 52%; right: -18%; }
  .mascot-card { min-height: 360px; }
  .mascot-card blockquote { font-size: 1.4rem; }
  .story-copy, .cta { padding: 28px; }
  .site-footer { grid-template-columns: 1fr; }
}

/* Shared styles for the page-based website. */
.primary-nav { gap: 22px; }
.primary-nav a[aria-current="page"] { color: var(--text); }
.page-intro { padding-top: 76px; padding-bottom: 4px; }
.page-intro h1 { font-size: clamp(3.2rem, 6vw, 6.5rem); line-height: 1; letter-spacing: -.055em; margin: 24px 0 16px; max-width: 1000px; }
.page-intro > p { color: var(--muted); font-size: 1.18rem; max-width: 800px; }
.linked-grid a { display: block; }
.linked-grid a:hover, .inline-link:hover { border-color: var(--accent); color: var(--text); }
.inline-link { display: inline-block; margin-top: 12px; color: var(--accent-2); font-weight: 700; }
.footer-note { display: block; margin-top: 14px; font-size: .76rem; }
.contact-card { min-height: 300px; margin-top: 65px; margin-bottom: 60px; padding: 50px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.contact-card h2 { font-size: clamp(2rem, 4vw, 3.6rem); margin: 0; }
.contact-card p { color: var(--muted); max-width: 580px; }
article[id] { scroll-margin-top: 100px; }
@media (max-width: 1180px) { .primary-nav { gap: 22px; } }
@media (max-width: 1350px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .primary-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; padding: 22px 5vw; background: var(--bg); border-bottom: 1px solid var(--border); }
  .primary-nav.open { display: flex; }
  .nav-toggle { display: inline-block; justify-self: start; background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; }
  .header-actions { justify-self: end; }
  .brand small, .text-link { display: none; }
}
@media (max-width: 820px) { .contact-card { flex-direction: column; align-items: start; } }
@media (max-width: 560px) { .page-intro { padding-top: 45px; } .contact-card { padding: 28px; } }
