:root {
  --background: oklch(0.1 0.02 270);
  --foreground: oklch(0.98 0.01 240);
  --muted-foreground: oklch(0.7 0.05 270);
  --border: oklch(0.25 0.05 270);
  --accent: #1d9bf0;
  --x-surface: #16181c;
  --x-fill: #2f3336;
  --x-muted: #71767b;
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.mono {
  font-family: "Inter", ui-monospace, monospace;
}

.container {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 3rem;
  }
}

/* ---------- Nav ---------- */

.nav {
  border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 600;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.nav-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* ---------- Hero ---------- */

.hero {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-demo {
    display: flex;
    justify-content: flex-end;
  }
}

.kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.kicker img {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
}

.kicker span {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.hero h1 {
  margin-top: 2rem;
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero .tagline {
  margin-top: 1.5rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 500;
  line-height: 1.35;
  color: color-mix(in srgb, var(--foreground) 90%, transparent);
}

.hero .lede {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 28rem;
  line-height: 1.65;
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  text-decoration: none;
  user-select: none;
}

.cta-pill[aria-disabled="true"] {
  cursor: not-allowed;
}

.link-subtle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.15s;
}

.link-subtle:hover {
  color: var(--foreground);
}

/* ---------- Demo ---------- */

.demo {
  width: 100%;
  max-width: 36rem;
}

.demo-frame {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--x-surface);
  overflow: hidden;
}

.demo-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-chrome .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--x-fill);
}

.demo-chrome .url {
  margin-left: 0.75rem;
  font-size: 0.75rem;
  color: var(--x-muted);
  font-family: "Inter", ui-monospace, monospace;
}

.demo-post {
  padding: 1.25rem;
}

.demo-author {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.demo-post-content {
  flex: 1;
  min-width: 0;
}

.demo-post-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-more {
  margin-left: auto;
  color: var(--x-muted);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
}

.demo-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--x-fill);
  flex-shrink: 0;
  overflow: hidden;
}

.demo-avatar .silhouette {
  display: block;
  width: 70%;
  height: 70%;
  margin: 15%;
  fill: rgb(83, 100, 113);
}

.demo-avatar img {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.demo-avatar.revealed .silhouette {
  display: none;
}

.demo-avatar.revealed img {
  display: block;
}

.demo-author-meta {
  flex: 1;
  min-width: 0;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.demo-name {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 20px;
}

.demo-name svg {
  width: 1rem;
  height: 1rem;
  fill: var(--accent);
}

.demo-handle,
.demo-blind-label {
  font-size: 0.875rem;
  line-height: 20px;
  color: var(--x-muted);
}

.demo-blind-label {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgb(113, 118, 123);
}

.demo-blind-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-reveal-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border: 1px solid rgb(83, 100, 113);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgb(113, 118, 123);
}

.demo-reveal-chip svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: currentColor;
}

.demo-text {
  margin-top: 0.25rem;
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
}

.demo-metrics {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.demo-metrics .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 1.25rem;
  color: var(--x-muted);
}

.demo-metrics .metric {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.demo-metrics .metric svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: var(--x-muted);
}

.demo-metrics .count {
  font-size: 0.8125rem;
  color: var(--x-muted);
}

.demo-metrics:not(.revealed) .count {
  visibility: hidden;
}

.demo-toggle {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.demo-toggle .state {
  display: inline-block;
  min-width: 7.5rem;
  text-align: left;
}

.switch {
  position: relative;
  height: 1.75rem;
  width: 3rem;
  border-radius: 9999px;
  border: none;
  background: var(--x-fill);
  cursor: pointer;
  transition: background 0.3s;
}

.switch[aria-checked="true"] {
  background: var(--accent);
}

.switch .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s;
}

.switch[aria-checked="true"] .knob {
  transform: translateX(20px);
}

.switch:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.demo-toggle .state {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

[hidden] {
  display: none !important;
}

/* ---------- Sections ---------- */

.section {
  padding-bottom: 5rem;
}

.section h2 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

/* Features */

.features-grid {
  display: grid;
  gap: 1px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
  background: color-mix(in srgb, var(--foreground) 10%, transparent);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--background);
  padding: 2rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.feature-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Screenshots */

.shots-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .shots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shots-grid figure {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
}

.shots-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* Plans */

.plans-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.plan-card {
  border-radius: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
  background: color-mix(in srgb, var(--foreground) 5%, transparent);
  padding: 2.5rem;
}

.plan-card.pro {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.plan-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.plan-card h3 .accent {
  color: var(--accent);
}

.plan-card .sub {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.plan-card ul {
  margin-top: 2rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--foreground) 80%, transparent);
}

.plan-card li::before {
  content: "—";
  color: var(--accent);
  margin-right: 0.5rem;
}

/* Privacy strip */

.privacy-strip {
  border-radius: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
  background: color-mix(in srgb, var(--foreground) 5%, transparent);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .privacy-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.privacy-strip h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.privacy-strip p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 36rem;
}

.btn-outline {
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--foreground) 20%, transparent);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.btn-outline:hover {
  background: color-mix(in srgb, var(--foreground) 10%, transparent);
}

/* ---------- Privacy page ---------- */

.legal {
  max-width: 56rem;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.legal h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.legal .updated {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.legal .prose {
  color: var(--muted-foreground);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.legal .prose h2 {
  font-size: 1.5rem;
  color: var(--foreground);
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.legal .prose strong {
  color: var(--foreground);
}

.legal .prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal .prose a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal .prose a:hover {
  color: var(--foreground);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
  padding-block: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

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

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-badge {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.footer-badge img {
  display: block;
}
