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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #000;
  color: #fff;
}

.hero-wrap {
  height: 220vh;
}

.hero {
  position: sticky;
  top: 0;
  overflow: hidden;
  border-radius: 24px;
  margin: 16px;
  height: calc(100vh - 32px);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
}

/* the hero headline overlay must not swallow nav clicks */
.hero-text {
  pointer-events: none;
  flex-direction: column;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

.hero-text {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.go-word {
  color: #ff3b30;
  text-shadow: 0 0 9px color-mix(in srgb, currentColor 78%, transparent);
  transition: color 0.4s ease;
}

.go-word.amber {
  color: #ffcc00;
}

.go-word.green {
  color: #34c759;
}

.line2 {
  position: relative;
  display: inline-block;
}

.line2-text {
  clip-path: inset(0 0 0 100%);
}

.hero-car {
  position: absolute;
  left: 0;
  top: -0.32em;
  font-size: 1.7em;
  line-height: 1;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
  will-change: transform;
}

.hero-flag {
  position: absolute;
  right: -1.1em;
  top: -0.15em;
  font-size: 1.4em;
  line-height: 1;
  transform: scale(0) rotate(20deg);
  transition: transform 0.45s cubic-bezier(0.34, 1.8, 0.64, 1);
  pointer-events: none;
}

.hero-flag.pop {
  transform: scale(1) rotate(0deg);
}

/* ---------- Product section ---------- */

.product {
  padding: 96px 48px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.product-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  color: #999;
  margin-bottom: 12px;
}

.product-heading {
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #bbb;
}

/* ---------- Step intros ---------- */

.step-pin {
  /* Tall wrapper: the inner screen pins for an extra viewport of scroll,
     so the page lingers on each step instead of snapping to it. */
  height: 200vh;
}

.step-screen {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-screen .key-wheel {
  margin-bottom: 0;
}

.step-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.step-title {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
}

.step-sub {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #bbb;
}

.key-wheel {
  position: relative;
  width: 100%;
  max-width: 1040px;
  height: 290px;
  margin: -16px auto 88px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 2%,
    #000 20%,
    #000 80%,
    transparent 98%
  );
  mask-image: linear-gradient(
    to right,
    transparent 2%,
    #000 20%,
    #000 80%,
    transparent 98%
  );
}

.wheel {
  position: absolute;
  left: 50%;
  top: 1160px;
  width: 0;
  height: 0;
}

.keycap {
  position: absolute;
  left: -34px;
  top: -34px;
  width: 68px;
  height: 68px;
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  box-shadow: 0 3px 0 #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #888;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.keycap.selected {
  background: #fff;
  border-color: #fff;
  color: #111;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25),
    0 12px 32px rgba(0, 0, 0, 0.5);
}

.key-wheel-bottom {
  height: 380px;
  margin: -16px auto 20px;
}

.wheel-bottom {
  top: -900px;
}

.wheel-bottom .keycap {
  background: #fff;
  border-color: #fff;
  color: #111;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.keycap-tip {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: #3a3a3c;
  color: #e5e5e7;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 10px;
  padding: 6px 13px;
  font-size: 0.85rem;
  font-weight: 650;
  white-space: nowrap;
  pointer-events: none;
}

.keycap-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #3a3a3c;
  transition: border-top-color 0.3s ease;
}

/* ---------- iMessage cycle ---------- */

.chat-cycle {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 240px;
}

.chat-stage {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 40px;
  height: 46vh;
  min-height: 360px;
  overflow: hidden;
  /* Bubbles leaving at the top dissolve into the page instead of hard-clipping. */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32%);
  mask-image: linear-gradient(to bottom, transparent, #000 32%);
}

.cbubble {
  max-width: 80%;
  padding: 28px 40px;
  border-radius: 44px;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  animation: cbubble-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: opacity 0.35s ease, transform 0.35s ease;
  word-break: break-word;
}

.cbubble.them {
  align-self: flex-start;
  background: #1c1c1e;
  color: #ededf0;
  border-bottom-left-radius: 12px;
  transform-origin: bottom left;
}

.cbubble.us {
  align-self: flex-end;
  background: #0a84ff;
  color: #fff;
  border-bottom-right-radius: 12px;
  transform-origin: bottom right;
}

.cbubble.out {
  opacity: 0;
  transform: translateY(-48px);
}

@keyframes cbubble-in {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.typing-dots {
  display: inline-flex;
  gap: 11px;
  padding: 8px 2px;
}

.typing-dots span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #8e8e93;
  animation: tdot 1.1s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes tdot {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: none;
  }
  30% {
    opacity: 1;
    transform: translateY(-7px);
  }
}

/* ---------- Subpages ---------- */

.subnav {
  max-width: 1200px;
  margin: 0 auto;
}

.page-head {
  max-width: 680px;
  margin: 0 auto;
  padding: 160px 24px 20px;
  text-align: center;
}

.page-head .step-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

.price-wrap {
  padding: 0 24px 180px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.price-grid .price-card {
  margin: 0;
  position: relative;
}

.price-card.featured {
  background: #161616;
  border-color: #3d3d3d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.price-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  background: rgba(52, 199, 89, 0.14);
  border: 1px solid rgba(52, 199, 89, 0.45);
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.price-period {
  font-size: 1.05rem;
  font-weight: 600;
  color: #888;
  letter-spacing: 0;
}

.price-sub {
  color: #777;
  font-size: 0.9rem;
  margin: -14px 0 24px;
}

@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

.price-card {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: #101010;
  border: 1px solid #242424;
  border-radius: 26px;
  padding: 40px;
}

.price-plan {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: #999;
}

.price-amount {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 10px 0 24px;
}

.price-list {
  list-style: none;
  display: grid;
  gap: 13px;
  color: #bbb;
  font-size: 1.05rem;
  margin-bottom: 34px;
}

.price-cta {
  display: block;
  width: 100%;
  margin-top: auto;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: #111;
  text-align: center;
  padding: 15px;
  border-radius: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.price-cta:hover {
  opacity: 0.85;
}

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

.footer {
  border-top: 1px solid #1e1e1e;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.1rem;
}

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

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  color: #666;
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .product {
    padding: 64px 24px 80px;
  }
  .navbar {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .nav-links {
    gap: 20px;
  }

}

/* ---------- Animated phone demos ---------- */

.demo-wrap {
  height: 440vh;
  margin-bottom: 80px;
}

.demo-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}

.demo-card {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid #222;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.demo-card-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  border-bottom: 1px solid #1c1c1c;
  color: #888;
  font-size: 0.9rem;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2e2e2e;
}

.demo-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crumb-sep {
  color: #555;
}

.crumb-current {
  color: #ddd;
}

.synced-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #4ade80;
  font-size: 0.85rem;
}

.synced-check {
  width: 17px;
  height: 17px;
  border: 1.5px solid #4ade80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

.demo-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 36px 56px;
}

.snippet-editor {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.snippet-entry {
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease,
    padding 0.35s ease;
}

.snippet-entry.active {
  background: #151515;
  border-color: #242424;
  padding: 20px 18px;
}

.entry-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.snippet-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  opacity: 0.3;
  transition: opacity 0.35s ease, width 0.35s ease, height 0.35s ease,
    font-size 0.35s ease, border-radius 0.35s ease;
}

.entry-title {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #666;
  transition: color 0.35s ease, font-size 0.35s ease;
}

.entry-text {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0 0 0 58px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #b9b9b9;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.snippet-entry.active .snippet-icon {
  opacity: 1;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-size: 1.2rem;
}

.snippet-entry.active .entry-title {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
}

.snippet-entry.active .entry-text {
  max-height: 140px;
  opacity: 1;
  margin-top: 14px;
}

.snippet-add {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1.5px dashed #2e2e2e;
  border-radius: 16px;
}

.snippet-add .snippet-icon {
  background: transparent;
  border: 1.5px dashed #3a3a3a;
  color: #888;
  opacity: 1;
}

.snippet-add .entry-title {
  color: #888;
}

.add-hint {
  margin-left: auto;
  font-size: 0.85rem;
  color: #555;
  font-style: italic;
}

.var-chip {
  display: inline-block;
  background: #15242c;
  color: #9fd3e8;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85em;
  font-weight: 500;
  padding: 2px 12px;
  border-radius: 9px;
  vertical-align: baseline;
}

.demo-phones {
  position: relative;
  display: flex;
  justify-content: center;
}

.demo-phone {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.demo-phone:not(.active) {
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
}

.phone {
  width: 320px;
  height: 584px;
  background: #1a1a1a;
  border-radius: 48px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #111;
}

.chat {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px 14px 8px;
}

.bubble {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 18px;
  font-size: 0.85rem;
  line-height: 1.35;
  white-space: pre-line;
  animation: bubble-in 0.3s ease;
}

.bubble.sent {
  align-self: flex-end;
  background: #1570ef;
  color: #fff;
  border-bottom-right-radius: 5px;
}

.bubble.received {
  align-self: flex-start;
  background: #e9e9eb;
  color: #111;
  border-bottom-left-radius: 5px;
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.compose {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 6px 10px 10px;
}

.plus {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f0f0f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #444;
}

.compose-field {
  flex: 1;
  min-height: 32px;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 0.85rem;
  line-height: 1.35;
  white-space: pre-line;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #1570ef;
  margin-left: 1px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.send {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #1570ef;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.15s ease;
}

/* ---------- Keyboard ---------- */

.kb {
  position: relative;
  background: #d1d3d9;
  padding: 8px 6px 6px;
  min-height: 258px;
  display: flex;
  flex-direction: column;
}

.kb-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 6px 8px;
}

.kb-app {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kb-cmd {
  margin-left: auto;
  color: #333;
  font-size: 1rem;
  padding-right: 4px;
  border-left: 1px solid #b8bac0;
  padding-left: 12px;
}

.kb-keys {
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: opacity 0.25s ease;
}

.kb-keys.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.kb-row {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.key {
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  min-width: 26px;
  height: 38px;
  flex: 1;
  max-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #111;
  transition: transform 0.08s ease, background 0.08s ease;
}

.key.pressed {
  transform: scale(1.18);
  background: #cfe1ff;
}

.kb-row-bottom .key {
  max-width: none;
  flex: 0 0 auto;
}

.key-small {
  width: 42px;
  font-size: 0.8rem;
}

.key-space {
  flex: 1 1 auto !important;
  font-size: 0.85rem;
  color: #555;
}

.key-return {
  width: 74px;
  font-size: 0.8rem;
}

.kb-footer {
  display: flex;
  justify-content: space-between;
  padding: 8px 18px 2px;
  font-size: 1.05rem;
  opacity: 0.65;
  margin-top: auto;
}

/* ---------- Keyboard app panel ---------- */

.kb-panel {
  display: none;
  flex-direction: column;
  gap: 7px;
  animation: panel-in 0.25s ease;
}

.kb-panel.visible {
  display: flex;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #111;
  padding: 4px 2px;
}

.panel-back {
  margin-left: auto;
  background: #1570ef;
  color: #fff;
  border-radius: 10px;
  padding: 3px 12px;
  font-size: 0.85rem;
}

.panel-row {
  background: #bfc1c7;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #111;
  transition: background 0.15s ease, transform 0.15s ease;
}

.row-meta {
  color: #555;
}

.part-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sku {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.75rem;
  color: #4b4d52;
}

.add-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1570ef;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.15s ease;
}

.part-row.added {
  background: #d3e5ff;
}

.slot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.slot {
  background: #bfc1c7;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.slot.selected {
  background: #1570ef;
  color: #fff;
}

.slot.confirmed {
  background: #16a34a;
  color: #fff;
}

.confirm-btn {
  opacity: 0;
  background: #16a34a;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 11px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: opacity 0.3s ease, transform 0.15s ease;
}

.confirm-btn.visible {
  opacity: 1;
}

.confirm-btn.booked {
  background: #0d7a37;
}

.tapped {
  transform: scale(0.9);
}

/* ---------- Use-case cards ---------- */

.case-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto 72px;
  padding: 0 24px;
}

.case-card {
  background: #101010;
  border: 1px solid #242424;
  border-radius: 24px;
  padding: 36px;
}

.case-card h3 {
  font-size: 1.6rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.case-card p {
  color: #aaa;
  margin-top: 10px;
  line-height: 1.5;
}

.showcase {
  padding-top: 0;
}

@media (max-width: 700px) {
  .case-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Hero / pricing waitlist capture ---------- */

.hero-capture {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}

.capture-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: none;
  border-radius: 999px;
  padding: 7px 7px 7px 22px;
}

.capture-row input {
  background: transparent;
  border: none;
  outline: none;
  color: #111;
  font-size: 1rem;
  font-family: inherit;
}

.capture-row input::placeholder {
  color: #111;
}

.capture-email {
  width: 230px;
}

.code-input {
  width: 128px;
  border-left: 1px solid rgba(0, 0, 0, 0.4) !important;
  padding-left: 14px;
}

.capture-go {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #fae000;
  color: #111;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.capture-go:hover {
  transform: scale(1.07);
}

.capture-honeypot {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}

.capture-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.capture-msg {
  display: none;
  font-size: 0.9rem;
}

.capture-msg.error {
  display: block;
  color: #ff6b61;
}

.capture-msg.success {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: #4ade80;
}

.capture-wrap {
  display: flex;
  justify-content: center;
  padding: 0 24px 72px;
}

.capture-wrap .hero-capture {
  margin-top: 0;
}

/* on the pricing page the creator line is the big headline above — hide the small one */
.capture-wrap .capture-note {
  display: none;
}

@media (max-width: 700px) {
  .capture-row {
    flex-wrap: wrap;
    border-radius: 24px;
    justify-content: center;
  }
  .capture-email {
    width: 200px;
  }
}


.keycap-tip.tip-blue {
  background: #0a84ff;
  color: #fff;
}

.keycap-tip.tip-blue::after {
  border-top-color: #0a84ff;
}

.keycap-tip.tip-red {
  background: #ff3b30;
  color: #fff;
}

.keycap-tip.tip-red::after {
  border-top-color: #ff3b30;
}

.keycap-tip.tip-green {
  background: #34c759;
  color: #fff;
}

.keycap-tip.tip-green::after {
  border-top-color: #34c759;
}

.keycap-tip.tip-yellow {
  background: #fae000;
  color: #111;
}

.keycap-tip.tip-yellow::after {
  border-top-color: #fae000;
}


.keycap-tip.tip-orange {
  background: #ff9f0a;
  color: #111;
}

.keycap-tip.tip-orange::after {
  border-top-color: #ff9f0a;
}

.keycap-tip.tip-cyan {
  background: #64d2ff;
  color: #111;
}

.keycap-tip.tip-cyan::after {
  border-top-color: #64d2ff;
}

.keycap-tip.tip-purple {
  background: #bf5af2;
  color: #fff;
}

.keycap-tip.tip-purple::after {
  border-top-color: #bf5af2;
}

.keycap-tip.tip-pink {
  background: #ff375f;
  color: #fff;
}

.keycap-tip.tip-pink::after {
  border-top-color: #ff375f;
}


/* ---------- Modals ---------- */

.bmodal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: bmodal-fade 0.25s ease-out both;
}

.bmodal {
  position: relative;
  background: #121212;
  border: 1px solid #2a2a2a;
  border-radius: 24px;
  padding: 40px 36px 36px;
  max-width: 430px;
  width: 100%;
  text-align: center;
  animation: bmodal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bmodal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: #777;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.bmodal h3 {
  font-size: 1.45rem;
  font-weight: 750;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.bmodal p {
  color: #aaa;
  line-height: 1.55;
}

.bmodal-emoji {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.bmodal-field {
  width: 100%;
  background: #1c1c1e;
  border: 1px solid #333;
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1rem;
  margin-top: 12px;
  outline: none;
  font-family: inherit;
}

.bmodal-field::placeholder {
  color: #777;
}

.bmodal-submit {
  width: 100%;
  margin-top: 16px;
  background: #fae000;
  color: #111;
  border: none;
  border-radius: 14px;
  padding: 15px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
}

.bmodal .bm-err {
  color: #ff6b61;
  font-size: 0.9rem;
  margin-top: 12px;
}

@keyframes bmodal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bmodal-pop {
  from { opacity: 0; transform: translateY(14px) scale(0.95); }
  to { opacity: 1; transform: none; }
}

/* bottom wheel: the balloon nearest center turns blue; keys stay plain white */
.wheel-bottom .keycap.selected {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.wheel-bottom .keycap.selected .keycap-tip {
  background: #0a84ff;
  color: #fff;
}

.wheel-bottom .keycap.selected .keycap-tip::after {
  border-top-color: #0a84ff;
}
