* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Dot grid pattern */
.dot-grid {
  background-image: radial-gradient(circle, #e4e4e7 1px, transparent 1px);
  background-size: 24px 24px;
}
.dark .dot-grid-dark {
  background-image: radial-gradient(circle, #27272a 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Device frames */
.iphone-frame {
  width: 280px;
  height: 572px;
  border-radius: 40px;
  border: 6px solid #18181b;
  background: #09090b;
  box-shadow:
    0 0 0 2px #3f3f46,
    0 25px 60px -12px rgba(0, 0, 0, 0.4),
    0 12px 28px -8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
}
.iphone-frame-light {
  border-color: #e4e4e7;
  background: #ffffff;
  box-shadow:
    0 0 0 2px #d4d4d8,
    0 25px 60px -12px rgba(0, 0, 0, 0.15),
    0 12px 28px -8px rgba(0, 0, 0, 0.1);
}

.iphone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
}

.mac-frame {
  border-radius: 12px;
  border: 2px solid #3f3f46;
  background: #09090b;
  box-shadow:
    0 25px 60px -12px rgba(0, 0, 0, 0.3),
    0 12px 28px -8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}
.mac-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: #18181b;
  border-bottom: 1px solid #27272a;
  z-index: 10;
}
.mac-frame::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3f3f46;
  box-shadow:
    20px 0 0 #3f3f46,
    40px 0 0 #3f3f46;
  z-index: 11;
}

.mac-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Signal icons */
.signal-ring {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid currentColor;
  flex-shrink: 0;
}
.signal-half {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
  flex-shrink: 0;
}
.signal-filled {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* Gradient mask for sections */
.gradient-fade-b {
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth hero gradient */
.hero-gradient {
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(39, 39, 42, 0.3) 0%,
    transparent 70%
  );
}

/* Accent dot */
.accent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #71717a;
}

/* Nav blur */
.nav-blur {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}

/* Placeholder screenshot area */
.screenshot-placeholder {
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #52525b;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.screenshot-placeholder-light {
  background: linear-gradient(135deg, #f4f4f5 0%, #e4e4e7 100%);
  color: #a1a1aa;
}

/* Feature card hover */
.feature-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.15);
}

/* CTA glow */
.cta-glow {
  box-shadow: 0 0 40px -8px rgba(250, 250, 250, 0.1);
  transition: box-shadow 0.3s ease;
}
.cta-glow:hover {
  box-shadow: 0 0 60px -8px rgba(250, 250, 250, 0.2);
}

/* Prose (policy/legal pages) */
.prose h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #09090b;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.prose h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #18181b;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose p {
  color: #52525b;
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose ul {
  list-style-type: disc;
}
.prose ol {
  list-style-type: decimal;
}
.prose ul li,
.prose ol li {
  color: #52525b;
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 0.25rem;
}
.prose a {
  color: #18181b;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover {
  color: #09090b;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.prose th {
  text-align: left;
  font-weight: 600;
  color: #18181b;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #e4e4e7;
}
.prose td {
  color: #52525b;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #f4f4f5;
}
