:root {
  --bg-page: #fcfcfd;
  --bg-surface: #ffffff;
  --bg-subtle: #f4f5f8;
  --text-primary: #111318;
  --text-secondary: #4f5565;
  --text-muted: #767d8e;
  --accent: rgb(92, 92, 255);
  --accent-soft: rgba(92, 92, 255, 0.1);
  --accent-border: rgba(92, 92, 255, 0.35);
  --border-solid: #e4e6ed;
  --border-dashed: #d5d8e2;
  --danger: #c93535;
  --success: #1b7f4b;
  --radius-panel: 22px;
  --radius-control: 10px;
  --ease-panel: 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0 0 12px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2rem, 4vw + 0.75rem, 3.1rem);
}

h2 {
  font-size: clamp(1.45rem, 2.5vw + 0.5rem, 2.1rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  max-width: 62ch;
}

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

.tabular {
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 32px, 1140px);
  margin-inline: auto;
}

.section {
  padding-block: 48px;
}

.dashed-top {
  border-top: 1px dashed var(--border-dashed);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--radius-control);
  margin-bottom: 12px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(252, 252, 253, 0.92);
  border-bottom: 1px dashed var(--border-dashed);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}

.badge-pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-solid);
  padding: 2px 8px;
  border-radius: 9px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-control);
  border: 1px solid var(--border-solid);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
}

.site-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
}

.site-nav.is-open {
  display: flex;
}

.site-nav a:not(.btn) {
  padding: 8px 12px;
  border-radius: var(--radius-control);
  font-size: 14px;
  color: var(--text-secondary);
}

.site-nav a:not(.btn):hover {
  color: var(--accent);
  background: var(--bg-subtle);
}

/* Hero Grid */
.hero-section {
  padding-block: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.lead {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.storage-notice {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.section-header {
  margin-bottom: 32px;
}

.split-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.site-footer {
  padding-block: 32px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

.back-top {
  color: var(--accent);
  font-weight: 500;
}

@media (min-width: 768px) {
  .section,
  .hero-section {
    padding-block: 64px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    padding-bottom: 0;
    gap: 8px;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
