:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --ink: #121826;
  --muted: #5d6678;
  --line: #e2e6ef;
  --brand: #6d5dfc;
  --brand-dark: #4c3ee8;
  --accent: #22c7a9;
  --dark: #111827;
  --dark-soft: #1b2434;
  --shadow: 0 24px 70px rgba(30, 41, 59, 0.14);
  --radius: 22px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
img, svg { max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 99; background: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,248,252,.86); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(226,230,239,.75); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.08rem; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(145deg, var(--brand), #8b7cff); box-shadow: 0 10px 24px rgba(109,93,252,.25); }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a { color: var(--muted); font-size: .94rem; font-weight: 650; text-decoration: none; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--brand-dark); }
.menu-button { display: none; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 10px; font: inherit; font-weight: 700; }

.hero { position: relative; overflow: hidden; padding: 96px 0 88px; background: radial-gradient(circle at 75% 18%, rgba(109,93,252,.16), transparent 33%), radial-gradient(circle at 22% 75%, rgba(34,199,169,.10), transparent 25%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(18,24,38,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(18,24,38,.035) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 64px; }
.eyebrow { margin: 0 0 14px; color: var(--brand-dark); font-weight: 800; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.9rem); line-height: .98; letter-spacing: -.065em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.05; letter-spacing: -.045em; }
h3 { margin-bottom: 10px; font-size: 1.18rem; letter-spacing: -.02em; }
.hero-text { max-width: 610px; margin-bottom: 32px; color: var(--muted); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 13px; text-decoration: none; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--brand); box-shadow: 0 14px 30px rgba(109,93,252,.25); }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { color: var(--ink); background: rgba(255,255,255,.75); border: 1px solid var(--line); }
.availability { display: flex; align-items: center; gap: 9px; margin: 24px 0 0; color: var(--muted); font-size: .9rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(34,199,169,.12); }

.product-frame { transform: perspective(1100px) rotateY(-4deg) rotateX(1.5deg); overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 24px; background: #fff; box-shadow: 0 36px 90px rgba(33,39,67,.22); }
.window-bar { height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 16px; color: #788196; background: #fbfbfd; border-bottom: 1px solid #e9ebf1; font-size: .72rem; }
.window-bar span { width: 9px; height: 9px; border-radius: 50%; background: #dfe3eb; }
.window-bar strong { margin-left: 8px; font-weight: 700; }
.app-shell { min-height: 470px; display: grid; grid-template-columns: 64px 1fr; background: #f3f5f9; }
.mock-sidebar { display: flex; flex-direction: column; align-items: center; gap: 17px; padding: 18px 0; background: #111827; }
.mock-logo { width: 29px; height: 29px; display: grid; place-items: center; margin-bottom: 11px; border-radius: 8px; color: #fff; background: var(--brand); font-size: .72rem; font-weight: 900; }
.mock-sidebar i { width: 24px; height: 7px; border-radius: 5px; background: #344055; }
.mock-sidebar i.active { background: #8b7cff; }
.mock-main { padding: 24px; }
.mock-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mock-heading small, .metric-row small, .chart-title small { display: block; color: #8a92a3; font-size: .58rem; letter-spacing: .08em; }
.mock-heading b { display: block; font-size: 1rem; }
.mock-heading span { padding: 5px 9px; border-radius: 999px; color: #12856f; background: #dff8f1; font-size: .58rem; font-weight: 800; }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.metric-row article, .chart-card, .list-card { border: 1px solid #e7eaf0; border-radius: 13px; background: #fff; }
.metric-row article { padding: 13px; }
.metric-row strong { display: block; margin: 5px 0; font-size: 1.15rem; }
.metric-row em { color: #8a92a3; font-size: .55rem; font-style: normal; }
.chart-card { margin-top: 12px; padding: 15px; }
.chart-title { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; }
.bars { height: 138px; display: flex; align-items: end; gap: 10px; margin-top: 16px; border-bottom: 1px solid #eceef3; }
.bars i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #8b7cff, #6555ef); }
.list-card { display: grid; gap: 8px; margin-top: 12px; padding: 14px; }
.list-card span { display: block; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #e8ebf1 20%, #f2f4f7 20%); }

.section { padding: 104px 0; }
.section-heading { max-width: 750px; margin-bottom: 46px; }
.section-heading > p:last-child { max-width: 650px; color: var(--muted); font-size: 1.06rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-card { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.88); box-shadow: 0 14px 40px rgba(30,41,59,.055); }
.feature-number { display: inline-flex; margin-bottom: 34px; color: var(--brand); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.feature-card p { margin-bottom: 0; color: var(--muted); }

.section-dark { color: #fff; background: var(--dark); }
.section-dark .eyebrow { color: #9e92ff; }
.principles-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.principle-list { display: grid; gap: 0; }
.principle-list article { padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.12); }
.principle-list article:last-child { margin-bottom: 0; border-bottom: 0; }
.principle-list p { margin-bottom: 0; color: #b8c0cf; }

.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.security-card { padding: 40px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.security-card p:not(.eyebrow) { color: var(--muted); }
.text-link { color: var(--brand-dark); font-weight: 800; text-decoration: none; }
.checklist { display: grid; gap: 16px; }
.checklist > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.72); }
.checklist span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #0b806a; background: #dff8f1; font-weight: 900; }
.checklist p { margin: 0; color: var(--muted); }
.checklist strong { color: var(--ink); }

.cta-section { padding: 10px 0 104px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 50px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #5b4bea, #7c68ff 58%, #5543d4); box-shadow: 0 24px 70px rgba(91,75,234,.25); }
.cta-card .eyebrow { color: #d8d3ff; }
.cta-card h2 { max-width: 760px; margin-bottom: 12px; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.cta-card p:last-child { max-width: 720px; margin-bottom: 0; color: #e4e1ff; }
.button-light { flex: 0 0 auto; color: var(--brand-dark); background: #fff; }

.site-footer { padding: 56px 0 28px; color: #c2c9d5; background: #0b1120; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 38px; }
.footer-brand { color: #fff; }
.footer-grid p { max-width: 420px; margin: 16px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.footer-links a, .legal-footer a { color: #dce2eb; text-decoration: none; }
.legal-footer { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .79rem; }
.legal-footer p:first-child { max-width: 820px; }
.compact-footer { padding-top: 26px; }

.legal-main { padding: 76px 0 104px; }
.legal-document { max-width: 840px; padding: 56px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 60px rgba(30,41,59,.08); }
.legal-document h1 { margin-bottom: 10px; font-size: clamp(2.5rem, 5vw, 4.6rem); }
.legal-document h2 { margin-top: 38px; margin-bottom: 12px; font-size: 1.35rem; letter-spacing: -.02em; }
.legal-document p, .legal-document li { color: #4e586b; }
.legal-document a { color: var(--brand-dark); font-weight: 700; }
.legal-updated { margin-bottom: 30px; color: #7a8497 !important; }
.notice, .trademark-notice { padding: 18px 20px; border-radius: 14px; background: #f1efff; color: #4435c5; }
.trademark-notice { margin-top: 42px; background: #f3f5f8; color: #586174; font-size: .9rem; }

@media (max-width: 960px) {
  .hero-grid, .principles-grid, .security-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 54px; }
  .hero-copy { max-width: 760px; }
  .product-frame { transform: none; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .cta-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 68px; }
  .menu-button { display: inline-flex; }
  .primary-nav:not(.legal-nav) { position: absolute; left: 14px; right: 14px; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav:not(.legal-nav) a { padding: 11px 12px; }
  .legal-nav { gap: 14px; }
  .hero { padding: 72px 0; }
  h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .app-shell { grid-template-columns: 48px 1fr; min-height: 410px; }
  .mock-main { padding: 14px; }
  .metric-row { grid-template-columns: 1fr; }
  .metric-row article:nth-child(n+2) { display: none; }
  .bars { height: 112px; gap: 6px; }
  .section { padding: 78px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 190px; }
  .cta-section { padding-bottom: 78px; }
  .cta-card, .security-card, .legal-document { padding: 28px; }
  .footer-grid, .legal-footer { flex-direction: column; }
  .legal-footer { gap: 8px; }
}
