:root {
  --ink: #1f1b16;
  --muted: #6f635c;
  --bg: #f9e5de;
  --card: #fff7f3;
  --accent: #F87854;
  --accent-soft: #FFC9BA;
  --accent-strong: #E86948;
  --accent-2: #59686F;
  --accent-2-strong: #023047;
  --border: #ecd6cd;
  --shadow: 0 18px 40px rgba(28, 23, 17, 0.12);
  --slot-step: 1.5s;
  --slot-cycle: 7.5s;
}

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

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 20%, rgba(31, 111, 139, 0.18), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(240, 90, 40, 0.15), transparent 40%),
    linear-gradient(180deg, #fdfaf4 0%, #f4f0e9 40%, #f5f2ec 100%);
  min-height: 100vh;
  line-height: 1.6;
}

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

main {
  display: block;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(253, 250, 244, 0.8);
  border-bottom: 1px solid rgba(230, 223, 213, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 22px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.hero {
  padding: 90px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy {
  animation: fadeUp 0.8s ease-out both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 24px rgba(248, 120, 84, 0.25);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(248, 120, 84, 0.3);
}

.button.ghost {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
}

.button.ghost:hover {
  transform: translateY(-2px);
}

.meta {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px 24px 20px;
  box-shadow: var(--shadow);
  animation: floatIn 0.9s ease-out both;
}

.card-header {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.pill {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(89, 104, 111, 0.12);
  color: var(--accent-2);
  font-weight: 600;
}

.pill.muted {
  background: rgba(248, 120, 84, 0.12);
  color: var(--accent);
}

.stack-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.stack-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--muted);
  background: rgba(89, 104, 111, 0.06);
}

.stack-list li.active {
  background: rgba(248, 120, 84, 0.12);
  color: var(--ink);
  border-color: rgba(248, 120, 84, 0.4);
}

.stack-list.animated li {
  animation: slotPulse var(--slot-cycle) infinite;
}

.stack-list.animated li.active {
  background: rgba(89, 104, 111, 0.06);
  color: var(--muted);
  border-color: transparent;
}

.stack-list.animated li:nth-child(1) {
  animation-delay: -4.5s;
}

.stack-list.animated li:nth-child(2) {
  animation-delay: -3s;
}

.stack-list.animated li:nth-child(3) {
  animation-delay: -1.5s;
}

.stack-list.animated li:nth-child(4) {
  animation-delay: 0s;
}

.stack-list.animated li:nth-child(5) {
  animation-delay: -6s;
}

.slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.8rem;
}

.card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.key-press {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.key-press .press-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-2);
}

.key-press .plus {
  font-weight: 700;
  color: var(--muted);
}

.key-press.is-animated kbd {
  animation: keyTap var(--slot-step) infinite;
}

.section {
  padding: 70px 0;
}

.section-title {
  margin-bottom: 32px;
}

.section-title h2 {
  font-size: 2.1rem;
  margin-bottom: 6px;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 22px rgba(28, 23, 17, 0.08);
}

.feature-card h3 {
  margin-bottom: 6px;
}

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

.how {
  background: rgba(89, 104, 111, 0.08);
}

.how-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: flex;
  gap: 16px;
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border);
}

.step-number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-2);
}

.callout {
  background: linear-gradient(120deg, rgba(248, 120, 84, 0.12), rgba(89, 104, 111, 0.12));
}

.callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--card);
  border-radius: 24px;
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.privacy-teaser {
  padding-top: 0;
}

.privacy-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page {
  padding: 90px 0 80px;
}

.page-inner {
  max-width: 760px;
}

.page-content {
  margin-top: 20px;
  color: var(--muted);
}

.page-content h2,
.page-content h3 {
  color: var(--ink);
  margin-top: 24px;
}

.page-content p,
.page-content li {
  margin: 12px 0;
}

.page-content ul {
  padding-left: 18px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0 40px;
  background: rgba(253, 250, 244, 0.85);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

kbd {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 0.85em;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--ink);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slotPulse {
  0%,
  18% {
    background: rgba(248, 120, 84, 0.12);
    color: var(--ink);
    border-color: rgba(248, 120, 84, 0.4);
    box-shadow: 0 10px 18px rgba(248, 120, 84, 0.2);
    transform: translateX(4px);
  }
  20%,
  100% {
    background: rgba(31, 111, 139, 0.06);
    color: var(--muted);
    border-color: transparent;
    box-shadow: none;
    transform: translateX(0);
  }
}

@keyframes keyTap {
  0%,
  12% {
    transform: translateY(1px);
    box-shadow: inset 0 0 0 1px rgba(230, 223, 213, 0.8), 0 1px 0 rgba(31, 27, 22, 0.15);
    background: #f8f3ea;
  }
  20%,
  100% {
    transform: translateY(0);
    box-shadow: 0 2px 0 rgba(31, 27, 22, 0.15);
    background: #fff;
  }
}

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

  .stack-list.animated li.active {
    background: rgba(248, 120, 84, 0.12);
    color: var(--ink);
    border-color: rgba(248, 120, 84, 0.4);
  }
}

@media (max-width: 960px) {
  .hero-inner,
  .how-inner {
    grid-template-columns: 1fr;
  }

  .callout-inner,
  .privacy-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 70px 0 60px;
  }

  .container {
    padding: 0 20px;
  }

  .hero-card {
    padding: 18px;
  }
}
