/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 250, 251, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-logo .mark {
  width: 30px; height: 30px;
  flex: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn-outline { border-color: transparent; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 68px 0 40px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  margin-top: 18px;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero-copy .lede {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 500px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-ctas .btn { font-size: 15.5px; padding: 14px 26px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.hero-trust li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-trust svg { width: 15px; height: 15px; color: var(--secondary-600); flex: none; }

/* ---- Hero visual: device frame + annotation ---- */
.hero-visual { position: relative; }

.device-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #F3F5F7;
  border-bottom: 1px solid var(--border);
}
.device-bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #DADFE5;
}
.device-bar .url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  flex: 1;
  max-width: 220px;
}

.shot {
  position: relative;
  aspect-ratio: var(--shot-ratio, 16/10.4);
  background:
    linear-gradient(155deg, var(--primary-50) 0%, #fff 46%, var(--secondary-50) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 78%);
}
.shot-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}
.shot-label .icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.shot-label .icon svg { width: 22px; height: 22px; }
.shot-label strong {
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 700;
}
.shot-label span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.01em;
}

.hero-note {
  position: absolute;
  bottom: -20px;
  left: -26px;
  width: 250px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  z-index: 2;
}
.hero-note .flow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--primary-700);
  flex-wrap: wrap;
  letter-spacing: 0.01em;
}
.hero-note .flow .sep { color: var(--secondary-600); }
.hero-note p {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy .lede { max-width: none; }
  .hero-note { position: static; width: auto; margin-top: 18px; }
}
