@font-face {
  font-family: 'GlympseDisplay';
  src: url('assets/fonts/inter.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'GlympseBody';
  src: url('assets/fonts/dm_sans.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg-hero: #F4F5F8;
  --bg-white: #FFFFFF;
  --bg-soft: #F7F8FB;
  --border: #E4E7EF;
  --border-strong: #CFD6E6;
  --ink: #0F172A;
  --ink-secondary: #475569;
  --ink-muted: #5C677D;
  --accent: #1F58C2;
  --accent-deep: #0F388A;
  --accent-tint: #EEF3FC;
  --mint: #046C4E;
  --mint-bg: #ECFDF5;
  --rose: #BE123C;
  --rose-bg: #FFF1F2;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'GlympseBody', system-ui, -apple-system, sans-serif;
  background: var(--bg-white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Floating Pill Navbar fixed with clean gap from top edge and zero white bar */
.nav-float-wrap {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 8px 6px 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  max-width: 660px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-family: 'GlympseDisplay', system-ui, sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 500;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  transition: color 0.18s ease;
}

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

.nav-btn {
  background: var(--accent);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  min-height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.nav-btn:hover {
  background: var(--accent-deep);
}

/* Section 1: Main Tagline -> 2 Buttons -> 3 Screenshots */
.hero {
  background: linear-gradient(180deg, var(--bg-hero) 0%, #FFFFFF 100%);
  padding: 172px 0 72px;
  border-bottom: 1px solid var(--border);
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

h1 {
  font-family: 'GlympseDisplay', system-ui, sans-serif;
  font-size: clamp(2.35rem, 1.45rem + 3vw, 3.65rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  color: var(--ink-secondary);
  max-width: 580px;
  margin: 0 auto;
  text-wrap: pretty;
}

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

.screen-item {
  min-width: 0;
}

.screen-item img {
  width: 100%;
  border-radius: 18px;
  display: block;
  border: 1px solid var(--border);
  box-shadow: none;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.btn-blue {
  background: var(--accent);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  min-height: 46px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-blue:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: #FFFFFF;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  transition: border-color 0.2s ease;
}

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

/* Section 2: Bento Grid */
.section {
  padding: 84px 0;
}

.section-white {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 660px;
  margin: 0 auto 48px;
  text-align: center;
}

h2 {
  font-family: 'GlympseDisplay', system-ui, sans-serif;
  font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.55rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.section-head p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink-secondary);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.bento-card h3 {
  font-family: 'GlympseDisplay', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.bento-card p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.mini-panel {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--ink-secondary);
}

.badge-green {
  background: var(--mint-bg);
  color: var(--mint);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.badge-rose {
  background: var(--rose-bg);
  color: var(--rose);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.badge-blue {
  background: var(--accent-tint);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.channel-chip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
}

.card-links {
  display: flex;
  align-items: center;
}

.inline-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.inline-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Clean Minimal Footer */
.footer-wrap {
  background: var(--bg-white);
  padding: 28px 0;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'GlympseDisplay', system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.footer-brand img {
  border-radius: 7px;
}

.footer-credit {
  font-size: 14px;
  color: var(--ink-secondary);
}

.footer-credit a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

@media (max-width: 960px) {
  .screens-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -28px;
    padding: 4px 28px 8px;
  }

  .screens-grid::-webkit-scrollbar {
    display: none;
  }

  .screen-item {
    flex: 0 0 88%;
    max-width: 336px;
    scroll-snap-align: center;
  }

  .span-7,
  .span-5,
  .span-6 {
    grid-column: span 12;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 18px;
  }

  .nav-float-wrap {
    top: 14px;
    padding: 0 12px;
  }

  .screens-grid {
    margin: 0 -18px;
    padding: 4px 18px 8px;
  }

  .hero-actions {
    margin-bottom: 32px;
  }

  .hero {
    padding: 162px 0 56px;
  }

  .section {
    padding: 56px 0;
  }
}
