:root {
  --navy: #1f3356;
  --navy-700: #243c66;
  --navy-500: #2c4a80;
  --navy-300: #6f8fc2;
  --ink: #13233f;
  --muted: #4b5b75;
  --surface: rgba(15, 27, 48, 0.04);
  --surface-strong: rgba(15, 27, 48, 0.08);
  --stroke: rgba(15, 27, 48, 0.12);
  --shadow: 0 20px 40px rgba(16, 30, 55, 0.12);
  --white: #ffffff;
}

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

body {
  font-family: "Space Grotesk", "Sora", system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 55%, #ffffff 100%);
  min-height: 100vh;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 28px 60px;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(31, 51, 86, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 51, 86, 0.05) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-empty {
  width: 1px;
  height: 1px;
}

.logo img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 30, 60, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f3356, #2f4d86);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px rgba(7, 16, 35, 0.5);
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.ghost {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  margin-top: 24px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hero-text h1 {
  font-family: "Sora", "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--ink);
}

.hero-text h1 span {
  color: var(--navy-500);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 28px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-card {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  display: grid;
  gap: 24px;
  align-content: start;
  backdrop-filter: blur(12px);
}

.hero-icon {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--stroke);
}

.hero-icon img {
  width: 44px;
  height: 44px;
  border-radius: 16px;
}

.hero-icon-title {
  font-weight: 600;
  font-size: 1rem;
}

.hero-icon-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
}

.sheet {
  background: #f7f9fc;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(15, 27, 48, 0.08);
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  color: var(--navy-500);
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: 600;
}

.key {
  font-size: 0.9rem;
  color: var(--muted);
}

.bars {
  font-family: "IBM Plex Mono", "Space Grotesk", monospace;
  font-size: 0.95rem;
  color: #213456;
  display: grid;
  gap: 10px;
}

.bar {
  border-bottom: 1px solid rgba(15, 27, 48, 0.08);
  padding-bottom: 6px;
}

.dial {
  background: #f3f6fb;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(15, 27, 48, 0.08);
}

.dial-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.dial-keys {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
}

.dial-keys span {
  padding: 6px 8px;
  border-radius: 999px;
  text-align: center;
  border: 1px solid rgba(15, 27, 48, 0.15);
  color: var(--navy-500);
  background: rgba(31, 51, 86, 0.05);
}

.section {
  margin-top: 90px;
  position: relative;
  z-index: 1;
}

.section-title {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-title h2 {
  font-family: "Sora", "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 12px;
  color: var(--ink);
}

.section-title p {
  color: var(--muted);
  line-height: 1.6;
}

.app-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
}

.screenshot-frame {
  border-radius: 26px;
  background: var(--white);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  padding: 16px;
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  min-height: 160px;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--navy-500);
  font-weight: 600;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

.workflow {
  background: #f7f9fc;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(15, 27, 48, 0.08);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  padding: 18px 20px;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid rgba(15, 27, 48, 0.08);
}

.step-number {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  color: var(--navy-500);
  letter-spacing: 0.2em;
}

.step h3 {
  margin: 12px 0 8px;
  font-weight: 600;
}

.step p {
  color: var(--muted);
  line-height: 1.6;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.audience-card {
  border: 1px solid rgba(15, 27, 48, 0.12);
  border-radius: 18px;
  padding: 22px;
  background: var(--white);
}

.audience-card h3 {
  color: var(--navy-500);
  margin-bottom: 10px;
  font-weight: 600;
}

.audience-card p {
  color: var(--muted);
  line-height: 1.6;
}

.download {
  margin-top: 100px;
}

.download-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(31, 51, 86, 0.08), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(31, 51, 86, 0.18);
  box-shadow: var(--shadow);
}

.footer {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid rgba(15, 27, 48, 0.08);
  padding-top: 24px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .download-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 32px 20px 50px;
  }

  .hero {
    margin-top: 60px;
  }

  .workflow {
    padding: 28px;
  }
}
