:root {
  --bg: #edf4ff;
  --bg-deep: #dce8fb;
  --surface: rgba(246, 250, 255, 0.8);
  --surface-strong: rgba(251, 253, 255, 0.94);
  --surface-deep: #10233f;
  --surface-deep-2: #0a1730;
  --text: #11203a;
  --text-soft: #46597a;
  --text-faint: #6b7d97;
  --line: rgba(17, 32, 58, 0.09);
  --line-strong: rgba(44, 97, 191, 0.24);
  --primary: #2b65c7;
  --primary-strong: #1f53ad;
  --primary-soft: rgba(43, 101, 199, 0.1);
  --accent: #77b6ff;
  --accent-soft: rgba(119, 182, 255, 0.14);
  --success: #12706a;
  --success-soft: rgba(18, 112, 106, 0.12);
  --danger-soft: rgba(185, 28, 28, 0.08);
  --radius-lg: 30px;
  --radius-md: 22px;
  --shadow-soft: 0 20px 60px rgba(16, 35, 63, 0.1);
  --shadow-panel: 0 34px 100px rgba(10, 23, 48, 0.24);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.grid {
  display: grid;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-10 {
  gap: 2.5rem;
}

.pt-5 {
  padding-top: 1.25rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-12 {
  padding-top: 2rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.pb-16 {
  padding-bottom: 2.5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.w-5\/6 {
  width: 83.333333%;
}

.w-2\/3 {
  width: 66.666667%;
}

.rounded-2xl {
  border-radius: 1rem;
}

.border {
  border-width: 1px;
  border-style: solid;
}

.border-red-200 {
  border-color: rgba(185, 28, 28, 0.18);
}

.bg-red-50 {
  background-color: var(--danger-soft);
}

.p-5 {
  padding: 1.25rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.35rem;
}

.text-slate-700 {
  color: #5c3830;
}

.text-slate-500 {
  color: #7d695f;
}

.font-semibold {
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-page {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(43, 101, 199, 0.2), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(79, 163, 255, 0.22), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.62), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 52%, var(--bg-deep) 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(16, 35, 63, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 63, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.95), transparent 84%);
}

.site-container {
  width: min(1520px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 249, 241, 0.74));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.site-brand {
  color: var(--surface-deep);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav-links {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-soft);
  font-size: 0.93rem;
  font-weight: 700;
}

.site-nav-links.always-on {
  display: flex;
}

.site-nav-links a,
.footer-links a {
  position: relative;
  padding: 0.62rem 0.85rem;
  border-radius: 9999px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav-links a:hover,
.footer-links a:hover {
  color: var(--surface-deep);
  background: rgba(20, 108, 99, 0.08);
}

.section-kicker,
.section-pill,
.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker {
  padding: 0.5rem 0.92rem;
  background: rgba(20, 108, 99, 0.11);
  color: var(--primary);
}

.section-pill,
.step-pill {
  padding: 0.42rem 0.78rem;
}

.section-pill {
  background: var(--accent-soft);
  color: #2f63b8;
}

.step-pill {
  background: var(--success-soft);
  color: var(--success);
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.85rem 1.3rem;
  border-radius: 9999px;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button-primary {
  color: #fffdf8;
  background: linear-gradient(135deg, var(--surface-deep), var(--primary));
  box-shadow: 0 20px 44px rgba(20, 108, 99, 0.22);
}

.button-secondary {
  color: var(--surface-deep);
  border: 1px solid rgba(20, 108, 99, 0.14);
  background: rgba(255, 252, 247, 0.76);
}

.button-primary:hover,
.button-secondary:hover,
.feature-card:hover,
.legal-card:hover {
  transform: translateY(-3px);
}

.button-primary:hover {
  box-shadow: 0 24px 56px rgba(20, 108, 99, 0.28);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(20, 108, 99, 0.22);
}

.surface-card,
.surface-panel,
.legal-card,
.doc-sidebar,
.doc-panel,
.site-footer {
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: linear-gradient(180deg, rgba(250, 253, 255, 0.9), rgba(237, 244, 255, 0.82));
  box-shadow: var(--shadow-soft);
}

.surface-card,
.legal-card,
.doc-sidebar,
.doc-panel,
.site-footer {
  border-radius: var(--radius-md);
}

.surface-panel {
  border-radius: var(--radius-lg);
}

.display-title,
.section-head h2,
.hero-banner-title,
.doc-sidebar h1,
.legal-header h2,
.legal-card h2,
.feature-card h3,
.how-card h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
}

.display-title {
  margin: 1.25rem 0 0;
  max-width: 11ch;
  color: var(--surface-deep);
  font-size: clamp(2.35rem, 4.8vw, 4.9rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.lead-copy {
  margin-top: 1rem;
  max-width: 35rem;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-grid,
.how-grid,
.doc-shell {
  display: grid;
  gap: 1.5rem;
}

.hero-grid,
.how-grid {
  align-items: start;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.proof-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.proof-card {
  position: relative;
  overflow: hidden;
  padding: 1.05rem;
}

.proof-card::before,
.feature-card::before,
.legal-card::before,
.doc-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(43, 101, 199, 0.78), rgba(119, 182, 255, 0.82));
  opacity: 0.9;
}

.proof-card span {
  display: block;
  color: var(--surface-deep);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.proof-card p,
.proof-card strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.92rem;
}

.hero-panel-shell {
  position: relative;
  overflow: hidden;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(119, 182, 255, 0.22), transparent 24%),
    radial-gradient(circle at 18% 100%, rgba(43, 101, 199, 0.18), transparent 28%),
    linear-gradient(180deg, #112748 0%, #0a1730 100%);
  box-shadow: var(--shadow-panel);
}

.hero-panel-shell::after {
  content: "";
  position: absolute;
  inset: auto -10% -22% auto;
  width: 240px;
  height: 240px;
  border-radius: 9999px;
  background: rgba(79, 163, 255, 0.18);
  filter: blur(30px);
}

.hero-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.hero-panel-label {
  color: #9fc5ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel-top h2,
.hero-event-title,
.hero-mini-card strong,
.hero-download-title {
  color: #fff8ef;
}

.hero-panel-top h2 {
  margin-top: 0.55rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  line-height: 1.15;
  font-weight: 700;
}

.hero-pill {
  white-space: nowrap;
  padding: 0.48rem 0.88rem;
  border-radius: 9999px;
  background: rgba(119, 182, 255, 0.14);
  color: #d8e8ff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-event-list,
.hero-mini-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-event-card,
.hero-mini-card,
.hero-download {
  position: relative;
  z-index: 1;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(168, 198, 255, 0.12);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(121, 168, 255, 0.06));
  backdrop-filter: blur(10px);
}

.hero-event-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-event-title {
  margin: 0;
  font-weight: 700;
}

.hero-event-meta,
.hero-mini-card p,
.hero-download-text {
  margin-top: 0.35rem;
  color: #c8dbff;
  line-height: 1.5;
  font-size: 0.84rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-chip-blue { background: rgba(79, 163, 255, 0.18); color: #d9e9ff; }
.hero-chip-green { background: rgba(90, 161, 255, 0.16); color: #dbe8ff; }
.hero-chip-rose { background: rgba(123, 170, 255, 0.16); color: #e2ecff; }

.hero-download {
  display: grid;
  gap: 1rem;
  margin-top: 0.95rem;
  border-style: solid;
}

.hero-download-title {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.94rem;
}

.hero-download-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero-download-actions a {
  display: inline-flex;
  justify-content: center;
  padding: 0.72rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-download-actions a:first-child {
  color: var(--surface-deep);
  background: #f4f8ff;
}

.hero-download-actions a:last-child {
  color: #fffdf8;
  border: 1px solid rgba(168, 198, 255, 0.22);
}

.section-block {
  padding-top: 4rem;
}

.section-head {
  max-width: 56rem;
}

.section-head h2 {
  margin: 1rem 0 0;
  color: var(--surface-deep);
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.section-head p {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.9;
}

.features-grid,
.how-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(43, 101, 199, 0.1);
  border-radius: 1.45rem;
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(236, 244, 255, 0.92));
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.legal-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 26px 56px rgba(34, 35, 24, 0.12);
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  padding: 0.55rem 0.7rem;
  border-radius: 9999px;
  background: rgba(43, 101, 199, 0.08);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-card h3,
.how-card h3,
.legal-card h2,
.hero-banner-title,
.doc-sidebar h1,
.legal-header h2 {
  color: var(--surface-deep);
}

.feature-card h3 {
  margin: 1rem 0 0;
  font-size: 1.04rem;
  font-weight: 700;
}

.feature-card p,
.how-card p:last-child,
.legal-card p,
.doc-lead,
.legal-content {
  color: var(--text-soft);
}

.feature-card p {
  margin-top: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.how-card {
  padding: 1.6rem;
}

.how-card h3 {
  margin: 1rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.how-card p:last-child {
  margin-top: 0.75rem;
  line-height: 1.78;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 1.65rem;
}

.footer-copy {
  margin-top: 0.55rem;
  color: var(--text-faint);
  line-height: 1.75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-banner {
  padding: 2.2rem;
}

.hero-banner-title {
  margin: 1.2rem 0 0;
  max-width: 14ch;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-banner-copy {
  margin-top: 1.15rem;
  max-width: 54rem;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.88;
}

.legal-card {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 1.65rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.legal-card h2 {
  margin: 1rem 0 0;
  font-size: 1.48rem;
  font-weight: 700;
}

.legal-card p {
  margin-top: 0.75rem;
  line-height: 1.74;
}

.legal-card span:last-child {
  display: inline-flex;
  margin-top: 1.3rem;
  color: var(--primary);
  font-weight: 800;
}

.doc-sidebar {
  padding: 1.7rem;
}

.doc-sidebar h1 {
  margin: 1rem 0 0;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.02;
}

.doc-lead {
  margin-top: 1rem;
  line-height: 1.82;
}

.doc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.doc-panel {
  position: relative;
  overflow: hidden;
  padding: 1.7rem;
}

.legal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.legal-header h2 {
  margin: 0.85rem 0 0;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.15;
}

.legal-content {
  margin-top: 1.6rem;
  line-height: 1.9;
  font-size: 1rem;
  max-width: 78rem;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content h5,
.legal-content h6 {
  margin-top: 1.8rem;
  margin-bottom: 0.9rem;
  color: var(--surface-deep);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

.legal-content h1 { font-size: 2.05rem; }
.legal-content h2 { font-size: 1.68rem; }
.legal-content h3 { font-size: 1.35rem; }

.legal-content p,
.legal-content ul,
.legal-content ol,
.legal-content blockquote,
.legal-content table {
  margin-top: 0.95rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.35rem;
}

.legal-content li + li {
  margin-top: 0.45rem;
}

.legal-content a {
  color: var(--primary-strong);
  text-decoration: underline;
  text-decoration-color: rgba(43, 101, 199, 0.28);
  text-underline-offset: 3px;
}

.legal-content blockquote {
  border-left: 3px solid rgba(43, 101, 199, 0.25);
  padding: 0.2rem 0 0.2rem 1rem;
  color: #31528a;
  background: rgba(43, 101, 199, 0.05);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 1rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid rgba(20, 34, 31, 0.09);
  padding: 0.85rem;
  text-align: left;
}

.legal-content th {
  color: var(--surface-deep);
  background: rgba(43, 101, 199, 0.06);
}

.legal-nav-link {
  border: 1px solid transparent;
  border-radius: 9999px;
  padding: 0.9rem 1rem;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.legal-nav-link:hover,
.legal-nav-link.is-active {
  color: var(--surface-deep);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line-strong);
  transform: translateX(2px);
}

.status-pill {
  white-space: nowrap;
  border-radius: 9999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(20, 34, 31, 0.06);
  color: var(--text-soft);
}

.status-pill.status-ok {
  background: var(--success-soft);
  color: var(--success);
}

.status-pill.status-error {
  background: var(--danger-soft);
  color: #9f2d20;
}

.loading-skeleton {
  width: 100%;
  height: 1rem;
  margin-top: 0.8rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(234, 225, 211, 0.8), rgba(245, 239, 230, 0.92), rgba(234, 225, 211, 0.8));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@media (min-width: 1024px) {
  .site-nav-links {
    display: flex;
  }

  .hero-grid,
  .how-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .how-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-download {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .hero-download-actions {
    flex-direction: row;
  }

  .doc-shell {
    grid-template-columns: 360px minmax(0, 1fr);
  }

  .doc-sidebar {
    position: sticky;
    top: 1.5rem;
  }

  .lg\:grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .lg\:grid-cols-\[1\.05fr_0\.95fr\] {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@media (min-width: 640px) {
  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-container {
    width: min(1520px, calc(100% - 1rem));
  }

  .cta-row,
  .hero-download-actions {
    align-items: stretch;
  }

  .site-footer {
    align-items: stretch;
  }

  .legal-header,
  .hero-panel-top,
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-banner,
  .doc-sidebar,
  .doc-panel,
  .hero-panel-shell {
    padding: 1.3rem;
  }

  .display-title {
    max-width: 12ch;
  }

  .doc-sidebar h1,
  .legal-header h2 {
    font-size: 1.6rem;
  }
}
