:root {
  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-muted: #F1F5F9;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --brand: #1D4ED8;
  --brand-hover: #1E40AF;
  --brand-soft: #EFF6FF;
  --brand-border: #BFDBFE;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-modal: 0 24px 56px -12px rgba(15, 23, 42, 0.28);
  --container: 1140px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.site-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Public Sticky Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 14px 20px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #1D4ED8 0%, #0F172A 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.current {
  color: var(--brand);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--text-primary);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--text-primary);
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
  font-family: inherit;
}

.nav-cta:hover {
  background: #1E293B;
}

main {
  flex: 1;
  min-width: 0;
}

/* ==========================================================================
   Home Hero Section — Scheme B (Minimal Centered Typography)
   ========================================================================== */
.hero-section {
  padding: 80px 0 76px;
  background: radial-gradient(circle at 50% 0%, #EFF6FF 0%, #FFFFFF 58%);
  border-bottom: 1px solid var(--border);
}

.hero-centered {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.ownership-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 22px;
  line-height: 1.4;
  max-width: 100%;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.hero-title {
  font-size: 42px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 17.5px;
  line-height: 1.68;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.ownership-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0 auto 30px;
  max-width: 640px;
  text-align: left;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--brand);
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--brand-hover);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: inherit;
}

.btn-secondary:hover {
  background: var(--bg-subtle);
}

/* ==========================================================================
   Features & About Us Sections
   ========================================================================== */
.section-block {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 76px;
}

.section-block.bg-subtle {
  background: var(--bg-subtle);
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 8px;
}

.section-title {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.section-desc {
  font-size: 15.5px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.code-inline {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  background: var(--bg-muted);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 36px;
  align-items: start;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  min-width: 0;
}

.about-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.about-body strong {
  color: var(--text-primary);
}

.entity-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.entity-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.entity-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.entity-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.entity-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
}

/* ==========================================================================
   Legal & Compliance Pages (/privacy & /data-deletion)
   ========================================================================== */
.legal-section {
  padding: 56px 0 76px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  min-height: calc(100vh - 240px);
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow-xs);
}

.legal-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.legal-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.legal-intro {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.clause-block {
  margin-bottom: 28px;
}

.clause-block:last-child {
  margin-bottom: 0;
}

.clause-block h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.clause-block p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 10px;
}

.clause-list {
  padding-left: 22px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.clause-list li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.method-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin-bottom: 22px;
}

.method-box h2 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.corporate-summary-box {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: var(--text-primary);
  line-height: 1.8;
}

.inline-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

/* ==========================================================================
   Global Public Footer
   ========================================================================== */
.site-footer {
  background: #0F172A;
  color: #E2E8F0;
  padding: 40px 0;
  margin-top: auto;
  font-size: 13.5px;
  line-height: 1.85;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-ownership {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-line {
  color: #CBD5E1;
}

.footer-line a {
  color: #93C5FD;
  text-decoration: none;
}

.footer-line a:hover {
  text-decoration: underline;
}

.footer-sep {
  margin: 0 8px;
  color: #475569;
}

.footer-copy {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #1E293B;
  color: #94A3B8;
  font-size: 13px;
}

/* ==========================================================================
   Enterprise Dashboard Sign In Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-panel {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  padding: 28px;
}

.modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

.close-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  width: 30px;
  height: 30px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-primary);
  background: #FFFFFF;
  font-family: inherit;
}

.form-field input:focus {
  outline: 2px solid var(--brand-border);
  border-color: var(--brand);
}

.signin-feedback {
  display: none;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  font-size: 13px;
}

.signin-feedback.show {
  display: block;
}

.modal-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .about-grid,
  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-title {
    font-size: 34px;
  }

  .legal-card {
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  .site-container {
    padding: 0 16px;
  }

  .hero-section {
    padding: 48px 0 44px;
  }

  .hero-title {
    font-size: 27px;
  }

  .hero-subtitle {
    font-size: 15.5px;
  }

  .nav-links {
    gap: 14px;
    width: 100%;
    order: 3;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }

  .nav-cta {
    padding: 7px 12px;
    font-size: 12.5px;
  }

  .legal-card {
    padding: 24px 18px;
  }

  .legal-title {
    font-size: 26px;
  }

  .method-box {
    padding: 18px 16px;
  }
}
