:root {
  color-scheme: light;
  --bg: #f3f7fb;
  --bg-accent: #dfeeff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #112136;
  --muted: #5f7084;
  --line: rgba(17, 33, 54, 0.08);
  --primary: #0e6bff;
  --primary-dark: #084cc0;
  --primary-soft: rgba(14, 107, 255, 0.14);
  --shadow: 0 24px 80px rgba(51, 88, 135, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14, 107, 255, 0.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(104, 205, 255, 0.3), transparent 18%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font: 700 0.95rem/1 "Space Grotesk", sans-serif;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #4fb6ff 100%);
  box-shadow: 0 12px 30px rgba(14, 107, 255, 0.28);
}

.brand-text {
  font: 700 1rem/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #46a4ff 100%);
  box-shadow: 0 16px 30px rgba(14, 107, 255, 0.26);
}

.button-primary:hover {
  box-shadow: 0 18px 36px rgba(14, 107, 255, 0.32);
}

.button-secondary,
.button-muted {
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(17, 33, 54, 0.1);
}

.button-secondary:hover,
.button-muted:hover {
  background: var(--surface-strong);
}

.large {
  min-height: 54px;
  padding: 0 26px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 460px);
  gap: 32px;
  align-items: center;
  padding: 56px 4px 24px;
}

.eyebrow {
  margin: 0 0 14px;
  font: 700 0.84rem/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

h1 {
  margin: 0;
  max-width: 10ch;
  font: 700 clamp(2.8rem, 5vw, 5.3rem) / 0.98 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.lead {
  margin: 24px 0 0;
  max-width: 610px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  margin-top: 30px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.metrics li,
.feature,
.storage-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.metrics li {
  padding: 18px;
  border-radius: 24px;
}

.metrics strong {
  display: block;
  font: 700 1.38rem/1 "Space Grotesk", sans-serif;
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-card {
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 8% -2% -6% 22%;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(14, 107, 255, 0.2), rgba(79, 182, 255, 0.08));
  filter: blur(26px);
}

.card-window {
  position: relative;
  padding: 18px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(17, 33, 54, 0.14);
}

.window-bar span:first-child {
  background: #ff8a7a;
}

.window-bar span:nth-child(2) {
  background: #ffcf5a;
}

.window-bar span:nth-child(3) {
  background: #4ad97f;
}

.storage-card {
  padding: 28px;
  border-radius: 28px;
}

.mini-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

h2 {
  margin: 0;
  font: 700 clamp(2.2rem, 4vw, 3.4rem) / 1 "Space Grotesk", sans-serif;
}

.progress {
  height: 14px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 33, 54, 0.08);
}

.progress-fill {
  width: 74%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary) 0%, #56d0ff 100%);
}

.storage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.storage-grid article {
  padding: 16px;
  border-radius: 20px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.storage-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
}

.storage-grid strong {
  display: block;
  margin-top: 10px;
  font: 700 1.24rem/1 "Space Grotesk", sans-serif;
}

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

.feature {
  padding: 24px;
  border-radius: 28px;
}

.feature h3 {
  margin: 0 0 12px;
  font: 700 1.18rem/1.1 "Space Grotesk", sans-serif;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .hero,
  .features,
  .metrics {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-inline: 14px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .brand,
  .actions,
  .hero-actions {
    justify-content: center;
  }

  .button,
  .large {
    width: 100%;
  }

  .card-window,
  .storage-card,
  .metrics li,
  .feature {
    border-radius: 22px;
  }

  .storage-grid {
    grid-template-columns: 1fr;
  }
}
