:root {
  color-scheme: light;
  --bg: #171319;
  --bg-soft: #241a15;
  --bg-card: rgba(32, 24, 21, 0.9);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f6f2ed;
  --text-muted: rgba(246, 242, 237, 0.78);
  --accent: #f4b07a;
  --accent-strong: #f08a4b;
  --accent-dark: #b75a2d;
  --shadow: 0 24px 60px rgba(8, 4, 3, 0.45);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-body: "SF Pro Display", "SF Pro Text", -apple-system, system-ui, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  min-height: 100vh;
  background: radial-gradient(circle at 15% 20%, rgba(255, 190, 130, 0.32), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(255, 140, 88, 0.26), transparent 60%),
    radial-gradient(circle at 40% 85%, rgba(255, 210, 175, 0.18), transparent 65%),
    linear-gradient(180deg, #12141b 0%, #231813 45%, #2a1912 100%);
  color: var(--text);
  font-family: var(--font-body);
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.glow {
  position: fixed;
  inset: -30% 15% auto -5%;
  height: 60vh;
  background: radial-gradient(circle, rgba(255, 186, 120, 0.18), transparent 70%);
  filter: blur(42px);
  pointer-events: none;
  z-index: 0;
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(-3%, -2%, 0);
  }
  to {
    transform: translate3d(4%, 3%, 0);
  }
}

.site-header {
  position: relative;
  z-index: 2;
  padding: 28px clamp(24px, 5vw, 80px) 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(244, 176, 122, 0.3);
  background: rgba(12, 10, 9, 0.5);
}

.logo-text {
  font-size: 0.95rem;
  text-transform: uppercase;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 5vw, 80px);
  padding: 90px clamp(24px, 6vw, 120px) 60px;
  align-items: center;
  min-height: calc(100vh - 160px);
}

.hero-content {
  display: grid;
  gap: 22px;
  max-width: 520px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

h1 {
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.05;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.sublead {
  font-size: 0.95rem;
  color: rgba(246, 242, 237, 0.7);
  letter-spacing: 0.02em;
}

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

.pill {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: linear-gradient(120deg, rgba(244, 176, 122, 0.9), rgba(240, 138, 75, 0.95));
  color: #20110b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pill.action {
  background: linear-gradient(120deg, rgba(255, 210, 158, 0.9), rgba(244, 176, 122, 0.95));
  color: #20110b;
  box-shadow: 0 12px 30px rgba(244, 176, 122, 0.4);
  text-decoration: none;
}

.pill.action:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(244, 176, 122, 0.5);
}

.pill.ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(17, 12, 10, 0.6);
  color: var(--text);
}

.hero-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  min-height: 300px;
  display: grid;
  gap: 24px;
}

.preview {
  margin-top: 90px;
  padding: 40px clamp(24px, 6vw, 120px) 100px;
}

.preview-inner {
  display: grid;
  gap: clamp(24px, 4vw, 60px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.preview-copy h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  margin: 12px 0 16px;
}

.preview-frame {
  border-radius: var(--radius-lg);
  padding: 16px;
  background: rgba(12, 10, 9, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.preview-frame img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.preview-frame.is-active {
  box-shadow: 0 30px 60px rgba(9, 4, 3, 0.5);
}

.card-top p {
  color: rgba(246, 242, 237, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}

.card-top h3 {
  font-weight: 500;
  font-size: 1.7rem;
  margin-top: 10px;
}

.card-body {
  display: grid;
  gap: 16px;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.stat-label {
  color: rgba(246, 242, 237, 0.6);
}

.stat-value {
  font-weight: 600;
  color: var(--accent);
}

.line {
  height: 1px;
  background: var(--line);
}

.caption {
  font-size: 0.9rem;
  color: rgba(246, 242, 237, 0.6);
}

.site-footer {
  padding: 32px clamp(24px, 6vw, 120px) 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: rgba(246, 242, 237, 0.6);
  font-size: 0.9rem;
}

.site-footer p {
  color: rgba(246, 242, 237, 0.85);
}

@media (max-width: 720px) {
  .hero {
    padding-top: 70px;
    min-height: auto;
  }

  .hero-card {
    order: -1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pill,
  .pill.action,
  .pill.ghost {
    justify-content: center;
    width: 100%;
  }

  .preview {
    margin-top: 60px;
    padding-top: 20px;
  }

  .preview-frame {
    padding: 12px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
