:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-2: #0E0E10;
  --bg-card: #141416;
  --ink: #ffffff;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(0, 0, 0, 0.5);
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fbbf24;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

::selection {
  background: rgba(245, 158, 11, 0.3);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* Floating Pill Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px;
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: 9999px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 720px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--accent), #ea580c);
}

.nav-links {
  display: flex;
  gap: 8px;
  font-size: 0.875rem;
}

.nav-links a {
  padding: 6px 12px;
  border-radius: 9999px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  gap: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 9999px;
  border: none;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.95);
}

.btn.primary {
  background: var(--ink);
  color: var(--bg);
}

.btn.primary:hover {
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--ink);
}

/* Hero Section */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 16px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.15), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1120px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 520px;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.125rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-value {
  font-weight: 600;
  font-size: 0.875rem;
}

.hero-shot {
  position: relative;
}

.hero-shot img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--line);
}

.hero-shot::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.2), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}

/* Glass Cards */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Sections */
.section {
  padding: 100px 16px;
  position: relative;
}

.section-title {
  max-width: 640px;
  margin-bottom: 48px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title p {
  color: var(--muted);
  font-size: 1.125rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

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

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

/* Policy Cards */
.hero-card,
.policy-card {
  max-width: 920px;
  margin: 0 auto;
}

.hero-card {
  padding: 32px 36px;
  display: grid;
  gap: 12px;
}

.hero-card h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
}

.hero-card p {
  color: var(--muted);
}

.policy-card {
  padding: 32px 40px;
}

/* Screenshots Section */
.screens {
  display: grid;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.shot-large {
  padding: 20px;
  background: var(--bg-2);
}

.shot-large img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.shot-small {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, border-color 0.25s ease;
  background: var(--bg-2);
}

.shot-small:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.shot-small img {
  border-radius: 12px;
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.4);
}

.shot-small figcaption {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Workflow Section */
.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.step {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* CTA Section */
.cta {
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1120px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-2));
}

.cta h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.cta p {
  color: var(--muted);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  padding: 60px 16px 80px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1120px;
  margin: 0 auto;
}

.footer-grid .logo {
  margin-bottom: 12px;
}

.footer-grid > div:first-child p {
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
  font-size: 0.875rem;
}

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

.footer-meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

/* Page Layout for Legal Pages */
.page {
  padding-top: 100px;
}

.page .section:first-child {
  padding-top: 40px;
}

/* Policy Content Styling */
.policy-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.policy-card a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-card a:hover {
  color: var(--accent);
}

/* Background Effects */
.bg-orb {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .nav {
    max-width: calc(100% - 32px);
  }

  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    text-align: center;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 100px 16px 60px;
    min-height: auto;
  }

  .section {
    padding: 60px 16px;
  }

  .cta {
    padding: 32px 24px;
    text-align: center;
    justify-content: center;
  }

  .shot-small img {
    height: 160px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}
