:root {
  --primary: #050505;
  --surface: #0c0c0c;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent-red: #ff3d57;
  --accent-blue: #3d8bff;
  --accent-green: #3dff8a;
  --ring: rgba(255, 255, 255, 0.08);
  --radius-lg: 28px;
  --radius-phone: 40px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--primary);
  -webkit-font-smoothing: antialiased;
}


.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, black 20%, transparent 70%);
  pointer-events: none;
}

.glow {
  position: fixed;
  width: min(90vw, 720px);
  height: 420px;
  left: 50%;
  top: 28%;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.glow-rgb {
  background: conic-gradient(
    from 180deg at 50% 50%,
    var(--accent-red),
    var(--accent-blue),
    var(--accent-green),
    var(--accent-red)
  );
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.25rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-weight: 500;
  letter-spacing: normal;
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem 8rem;
  gap: 0;
}

.hero {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--ring);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* Clear glass chips + light gray borders */
.eyebrow-chip {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 0 0 1px rgba(200, 202, 212, 0.75),
    0 1px 3px rgba(0, 0, 0, 0.22);
  animation:
    chipEntrance 0.55s cubic-bezier(0.22, 1, 0.36, 1) both,
    chipFloat 2.8s ease-in-out 0.65s infinite;
}

.eyebrow-chip:nth-child(1) {
  animation-delay: 0.05s, 0.7s;
}

.eyebrow-chip:nth-child(2) {
  animation-delay: 0.12s, 0.77s;
}

.eyebrow-chip:nth-child(3) {
  animation-delay: 0.2s, 0.85s;
}

.eyebrow-chip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid rgba(188, 190, 200, 0.9);
  pointer-events: none;
  z-index: 0;
}

/* Same box as ::before inner ring — center triangle + ♥ inside it */
.eyebrow-chip-heart {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

/* Curved point-down ▼ on top of ♥ (SVG path, three inward-bowed edges) */
.eyebrow-chip-triangle {
  display: block;
  width: 5.5px;
  height: 5.75px;
  flex-shrink: 0;
  margin-bottom: -3px;
  transform: translateY(1.5px);
}

.eyebrow-chip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='38' fill='none' stroke='%23c2c6d2' stroke-width='13' stroke-dasharray='29.845 29.845' stroke-linecap='butt'/%3E%3C/svg%3E");
}

.eyebrow-chip-red,
.eyebrow-chip-blue,
.eyebrow-chip-green {
  background: rgba(255, 255, 255, 0.07);
}

.eyebrow-chip-red .eyebrow-chip-heart,
.eyebrow-chip-blue .eyebrow-chip-heart,
.eyebrow-chip-green .eyebrow-chip-heart {
  color: rgba(175, 178, 188, 0.95);
}

.headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.headline-accent {
  background: linear-gradient(
    90deg,
    var(--accent-red),
    var(--accent-blue),
    var(--accent-green),
    var(--accent-red)
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: makeMoveGradient 5.5s ease-in-out infinite;
}

.lede {
  margin: 0 0 2.25rem;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.0625rem;
}

.mockup-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.phone {
  position: relative;
  width: min(280px, 78vw);
}

.phone-frame {
  position: relative;
  border-radius: var(--radius-phone);
  padding: 10px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.04) 40%,
    rgba(255, 255, 255, 0.08)
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 24px 80px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.phone-speaker {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 28px;
  border-radius: 999px;
  background: #0a0a0a;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-screen {
  position: relative;
  border-radius: calc(var(--radius-phone) - 8px);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--surface);
}

.screen-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.screen-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 42%,
    transparent 100%
  );
  mix-blend-mode: soft-light;
}

.video-end-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.14s ease,
    background-color 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-end-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.video-end-overlay.is-darker {
  background-color: rgba(0, 0, 0, 0.76);
}

.video-end-overlay-text {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4.2vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #f6f6f7;
}

.video-end-overlay.is-darker .video-end-line--goallin.is-line-visible {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  margin-top: 0 !important;
  max-height: none;
  width: max-content;
  max-width: calc(100% - 2rem);
}

.video-end-line {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: baseline;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.48s ease,
    margin-top 0.42s ease;
}

.video-end-line.is-line-visible {
  max-height: 3.5em;
  margin-top: 0.55rem;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.video-end-line--orcard.is-line-visible {
  margin-top: 0;
}

.video-end-line--orcard,
.video-end-line--goallin {
  font-family: "Futura", "Avenir Next", "Avenir", "Trebuchet MS", sans-serif;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.06em;
  -webkit-text-stroke: 0.35px rgba(246, 246, 247, 0.95);
  text-shadow: 0 0 1px rgba(246, 246, 247, 0.4);
}

.video-end-line--goallin {
  letter-spacing: 0.05em;
}

.video-end-line--deck {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
  font-family: "DM Sans", system-ui, sans-serif;
  font-style: normal;
  font-size: 0.375em;
  letter-spacing: 0.08em;
  color: rgba(246, 246, 247, 0.82);
}

.video-end-char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.22em, 0);
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-end-char--space {
  width: 0.28em;
}

.video-end-char.is-char-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.phone-shadow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -28px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.55),
    transparent 70%
  );
  filter: blur(8px);
  z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
  .video-end-line {
    transform: none;
    transition:
      opacity 0.14s ease,
      max-height 0.14s ease 0.1s,
      margin-top 0.14s ease 0.1s;
  }

  .video-end-char {
    transform: none;
    transition: opacity 0.12s ease;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn-primary {
  color: var(--primary);
  background: linear-gradient(
    90deg,
    var(--accent-red),
    var(--accent-blue),
    var(--accent-green)
  );
  background-size: 200% 100%;
  box-shadow: 0 12px 40px rgba(61, 139, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background-position: 100% 0;
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--ring);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.accent-strip-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  transform: translateY(-0.35rem);
}

.accent-strip-heading {
  position: relative;
  width: 100%;
  min-height: clamp(2.75rem, 8vw, 4.25rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.accent-strip-prelude {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: "Avenir Next", "Avenir", "DM Sans", sans-serif;
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: opacity 0.3s ease;
  z-index: 1;
}

.accent-strip-prelude.is-done {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

@keyframes makeMoveEnter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes makeMoveGradient {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

@keyframes chipEntrance {
  from {
    opacity: 0;
    transform: scale(0.82) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1);
  }
}

@keyframes deckCornerFloatBottom {
  0%,
  100% {
    transform: rotate(180deg) translateY(0) scale(1);
  }
  50% {
    transform: rotate(180deg) translateY(-2px) scale(1);
  }
}

/* Stronger float for Card decks + Built for the Gambler chips (hero keeps subtle chipFloat) */
@keyframes chipFloatLively {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-7px) scale(1);
  }
}

@keyframes deckCornerFloatBottomLively {
  0%,
  100% {
    transform: rotate(180deg) translateY(0) scale(1);
  }
  50% {
    transform: rotate(180deg) translateY(-7px) scale(1);
  }
}

/* Deck corners: smaller float + inset so suits don’t ride the card border */
@keyframes chipFloatDeck {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1);
  }
}

@keyframes deckCornerFloatBottomDeck {
  0%,
  100% {
    transform: rotate(180deg) translateY(0) scale(1);
  }
  50% {
    transform: rotate(180deg) translateY(-3px) scale(1);
  }
}

.accent-strip-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  background: linear-gradient(
    90deg,
    var(--accent-red),
    var(--accent-blue),
    var(--accent-green),
    var(--accent-red)
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.accent-strip-label.is-visible {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
  animation:
    makeMoveEnter 0.48s cubic-bezier(0.22, 1, 0.36, 1) both,
    makeMoveGradient 5.5s ease-in-out infinite 0.48s;
}

.accent-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.6rem;
  justify-content: center;
  width: 100%;
  max-width: 11.75rem;
  margin-inline: auto;
}

.chip {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.28rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.35);
}

.chip-play {
  border-color: rgba(255, 61, 87, 0.45);
  background: rgba(255, 61, 87, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 61, 87, 0.12),
    0 8px 28px rgba(255, 61, 87, 0.12);
}

.chip-allin {
  border-color: rgba(61, 139, 255, 0.45);
  background: rgba(61, 139, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(61, 139, 255, 0.12),
    0 8px 28px rgba(61, 139, 255, 0.12);
}

.chip-raise {
  border-color: rgba(61, 255, 138, 0.4);
  background: rgba(61, 255, 138, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(61, 255, 138, 0.1),
    0 8px 28px rgba(61, 255, 138, 0.1);
}

.accent-strip .chip {
  animation:
    chipEntrance 0.55s cubic-bezier(0.22, 1, 0.36, 1) both,
    chipFloat 2.8s ease-in-out 0.65s infinite;
}

.accent-strip .chip:nth-child(1) {
  animation-delay: 0.28s, 0.93s;
}

.accent-strip .chip:nth-child(2) {
  animation-delay: 0.36s, 1.01s;
}

.accent-strip .chip:nth-child(3) {
  animation-delay: 0.44s, 1.09s;
}

@keyframes chipEmphasisPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.28);
  }
}

@keyframes chipEmphasisBreathe {
  0%,
  100% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.32);
  }
}

.accent-strip--sequencing .accent-strip .chip {
  animation: none;
}

.accent-strip--sequencing .chip.is-emphasis-pulse {
  animation: chipEmphasisPulse 0.85s ease-in-out infinite;
  z-index: 1;
}

.accent-strip--sequencing .chip.is-emphasis-breathe {
  animation: chipEmphasisBreathe 1.1s ease-in-out infinite;
  z-index: 1;
}

/* After intro sequence: float only (avoid replaying chipEntrance) */
.accent-strip--post-intro .accent-strip .chip {
  animation: chipFloat 2.8s ease-in-out infinite;
}

.accent-strip--post-intro .accent-strip .chip:nth-child(1) {
  animation-delay: 0.93s;
}

.accent-strip--post-intro .accent-strip .chip:nth-child(2) {
  animation-delay: 1.01s;
}

.accent-strip--post-intro .accent-strip .chip:nth-child(3) {
  animation-delay: 1.09s;
}

.features {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 8rem 0 0;
  text-align: center;
}

@keyframes deckCardDeal {
  from {
    opacity: 0;
    transform: perspective(860px) rotateX(18deg) translateY(36px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: perspective(860px) rotateX(0deg) translateY(0) scale(1);
  }
}

.decks {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 8rem 0 0;
  text-align: center;
}

.deck-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  width: 100%;
}

.deck-card {
  width: 100%;
  margin: 0;
  min-height: 15.5rem;
  padding: 1.1rem 1.1rem 1rem;
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 45%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.deck-card::before {
  content: "";
  position: absolute;
  inset: 0.46rem;
  border-radius: calc(var(--radius-lg) - 0.46rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.deck-corner {
  position: absolute;
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0.9;
}

.deck-corner-top {
  top: 1.08rem;
  left: 1.14rem;
  animation: chipFloatDeck 3.15s ease-in-out infinite;
}

.deck-corner-bottom {
  right: 1.14rem;
  bottom: 1.08rem;
  transform: rotate(180deg);
  animation: deckCornerFloatBottomDeck 3.15s ease-in-out infinite;
}

.deck-grid .deck-card:nth-child(1) .deck-corner-top {
  animation-delay: 0s;
}

.deck-grid .deck-card:nth-child(1) .deck-corner-bottom {
  animation-delay: 0.06s;
}

.deck-grid .deck-card:nth-child(2) .deck-corner-top {
  animation-delay: 0.12s;
}

.deck-grid .deck-card:nth-child(2) .deck-corner-bottom {
  animation-delay: 0.18s;
}

.deck-grid .deck-card:nth-child(3) .deck-corner-top {
  animation-delay: 0.24s;
}

.deck-grid .deck-card:nth-child(3) .deck-corner-bottom {
  animation-delay: 0.3s;
}

.deck-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.92);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.deck-title {
  margin: 0.58rem 0 0.35rem;
  font-size: 1.18rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.07em;
  line-height: 1.15;
}

.deck-copy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 22ch;
}

.deck-card-red {
  border-color: rgba(255, 61, 87, 0.35);
}

.deck-card-red .deck-corner {
  color: rgba(255, 61, 87, 0.95);
}

.deck-card-blue {
  border-color: rgba(61, 139, 255, 0.35);
}

.deck-card-blue .deck-corner {
  color: rgba(61, 139, 255, 0.95);
}

.deck-card-green {
  border-color: rgba(61, 255, 138, 0.32);
}

.deck-card-green .deck-corner {
  color: rgba(61, 255, 138, 0.92);
}

.decks.decks--in-view .deck-grid .deck-card:nth-child(1) {
  animation: deckCardDeal 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.decks.decks--in-view .deck-grid .deck-card:nth-child(2) {
  animation: deckCardDeal 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.decks.decks--in-view .deck-grid .deck-card:nth-child(3) {
  animation: deckCardDeal 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 0 auto 2.25rem;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.features .section-lede {
  font-size: 1.1875rem;
  max-width: 36ch;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.feature-card {
  width: 100%;
  max-width: 420px;
  margin: 0;
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ring);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
}

/* Spans are inline by default — margin-bottom did not apply; use block + flex parent */
@keyframes featureChipReveal {
  from {
    opacity: 0;
    transform: scale(0.82) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.feature-chip.eyebrow-chip {
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 2rem;
  flex-shrink: 0;
  animation: none;
}

.features.features--in-view .feature-card:nth-child(1) .feature-chip.eyebrow-chip {
  animation:
    featureChipReveal 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both,
    chipFloatLively 3.15s ease-in-out 0.95s infinite;
}

.features.features--in-view .feature-card:nth-child(2) .feature-chip.eyebrow-chip {
  animation:
    featureChipReveal 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.44s both,
    chipFloatLively 3.15s ease-in-out 1.08s infinite;
}

.features.features--in-view .feature-card:nth-child(3) .feature-chip.eyebrow-chip {
  animation:
    featureChipReveal 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.56s both,
    chipFloatLively 3.15s ease-in-out 1.2s infinite;
}

.feature-chip.eyebrow-chip::before {
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
}

.feature-chip .eyebrow-chip-heart {
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  font-size: 14px;
}

.feature-chip .eyebrow-chip-triangle {
  width: 6.5px;
  height: 6.75px;
}

.feature-chip.eyebrow-chip::after {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  background-size: 36px 36px;
}

.feature-title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-copy {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

.feature-copy-nobreak {
  white-space: nowrap;
}

/* Neutral gray card frame; color comes from the chip only */
.feature-card-red,
.feature-card-blue,
.feature-card-green {
  border-color: rgba(200, 202, 212, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.feature-chip.eyebrow-chip-red .eyebrow-chip-heart {
  color: var(--accent-red);
}

.feature-chip.eyebrow-chip-blue .eyebrow-chip-heart {
  color: var(--accent-blue);
}

.feature-chip.eyebrow-chip-green .eyebrow-chip-heart {
  color: var(--accent-green);
}

.feature-chip.eyebrow-chip-red {
  box-shadow:
    0 0 0 1px rgba(255, 61, 87, 0.55),
    0 1px 3px rgba(0, 0, 0, 0.22);
}

.feature-chip.eyebrow-chip-blue {
  box-shadow:
    0 0 0 1px rgba(61, 139, 255, 0.55),
    0 1px 3px rgba(0, 0, 0, 0.22);
}

.feature-chip.eyebrow-chip-green {
  box-shadow:
    0 0 0 1px rgba(61, 255, 138, 0.5),
    0 1px 3px rgba(0, 0, 0, 0.22);
}

.feature-chip.eyebrow-chip-red::before {
  border-color: rgba(255, 61, 87, 0.65);
}

.feature-chip.eyebrow-chip-blue::before {
  border-color: rgba(61, 139, 255, 0.65);
}

.feature-chip.eyebrow-chip-green::before {
  border-color: rgba(61, 255, 138, 0.6);
}

.feature-chip.eyebrow-chip-red::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='38' fill='none' stroke='%23ff3d57' stroke-width='13' stroke-dasharray='29.845 29.845' stroke-linecap='butt'/%3E%3C/svg%3E");
}

.feature-chip.eyebrow-chip-blue::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='38' fill='none' stroke='%233d8bff' stroke-width='13' stroke-dasharray='29.845 29.845' stroke-linecap='butt'/%3E%3C/svg%3E");
}

.feature-chip.eyebrow-chip-green::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='38' fill='none' stroke='%233dff8a' stroke-width='13' stroke-dasharray='29.845 29.845' stroke-linecap='butt'/%3E%3C/svg%3E");
}

/* Standalone blog index (blog.html)—editorial feed, not a landing section */
.blog-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.blog-site > main {
  flex: 1;
  width: 100%;
}

.blog-page-main {
  flex: 1;
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 5rem;
  text-align: left;
}

.blog-masthead {
  margin: 0 0 0.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-masthead-label {
  margin: 0 0 0.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.blog-masthead-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
}

.blog-masthead-lede {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34ch;
}

.blog-feed {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-feed-item {
  padding: 1.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-feed-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-feed-item .blog-meta {
  margin: 0 0 0.5rem;
}

.blog-meta {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.blog-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 3.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.blog-title-link {
  color: var(--text);
  text-decoration: none;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

.blog-title-link:hover {
  color: var(--muted);
}

.blog-feed-item:nth-child(1) .blog-title-link:hover {
  color: var(--accent-red);
}

.blog-feed-item:nth-child(2) .blog-title-link:hover {
  color: var(--accent-blue);
}

.blog-feed-item:nth-child(3) .blog-title-link:hover {
  color: var(--accent-green);
}

.blog-excerpt {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

.pricing {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 8rem 0 0;
  text-align: center;
}

.pricing-tagline {
  margin-bottom: 1.75rem;
}

.pricing-card {
  margin: 0 auto;
  max-width: 22rem;
  padding: 1.75rem 1.5rem 1.85rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ring);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 20px 56px rgba(0, 0, 0, 0.45);
}

.pricing-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-chips {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pricing-chips-qty {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  background: linear-gradient(
    90deg,
    var(--accent-red),
    var(--accent-blue),
    var(--accent-green),
    var(--accent-red)
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: makeMoveGradient 5.5s ease-in-out infinite;
}

.pricing-price {
  margin: 0 0 1.35rem;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.pricing-price-value {
  font-variant-numeric: tabular-nums;
}

.pricing-price-currency {
  margin-right: 0.06em;
  font-size: 0.72em;
  font-weight: 700;
  color: inherit;
  vertical-align: 0.12em;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem 1.25rem 2.5rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--text);
}

.footer-sep {
  opacity: 0.4;
  margin: 0 0.35rem;
}

.legal-page {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding-top: max(2.5rem, env(safe-area-inset-top));
  padding-bottom: 4rem;
  text-align: left;
  align-items: stretch;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--text);
}

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

.legal-page h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
  color: var(--text);
}

.legal-page p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.legal-page p:last-child {
  margin-bottom: 0;
}

.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-back:hover {
  color: var(--text);
}

.legal-contact-link {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(244, 244, 245, 0.35);
  text-underline-offset: 0.15em;
  transition: text-decoration-color 0.2s ease;
}

.legal-contact-link:hover {
  text-decoration-color: var(--accent-blue);
}

.legal-page.blog-article-page {
  max-width: 42rem;
}

.blog-article-page h1 {
  font-size: clamp(1.85rem, 4.8vw, 2.5rem);
  line-height: 1.12;
  margin-bottom: 0.65rem;
}

.blog-article-meta {
  margin: 0 0 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.blog-article-body h2 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 2.25rem 0 0.65rem;
  line-height: 1.35;
  color: var(--text);
}

.blog-article-body h2:first-of-type {
  margin-top: 0;
}

.blog-article-body p,
.blog-article-body li {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.blog-article-body ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.blog-article-body li {
  margin-bottom: 0.4rem;
}

.blog-article-body li:last-child {
  margin-bottom: 0;
}

.blog-dialogue {
  margin: 0 0 2rem;
  padding: 1rem 0 1rem 1rem;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
}

.blog-dialogue p {
  margin: 0 0 0.65rem;
  font-style: italic;
  color: rgba(244, 244, 245, 0.88);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.blog-dialogue p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .phone {
    width: min(300px, 40vw);
  }

  .feature-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .deck-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .deck-card {
    min-height: 16.5rem;
  }

  .feature-card {
    flex: 1 1 180px;
    max-width: none;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .accent-strip-heading {
    min-height: 0;
  }

  .accent-strip-prelude {
    display: none;
  }

  .accent-strip-label {
    position: relative;
    inset: auto;
    opacity: 1;
    z-index: auto;
    pointer-events: auto;
    animation: none;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: var(--text);
  }

  .accent-strip-label.is-visible {
    animation: none;
  }

  .eyebrow-chip,
  .accent-strip .chip {
    animation: none;
  }

  .features.features--in-view .feature-card:nth-child(1) .feature-chip.eyebrow-chip,
  .features.features--in-view .feature-card:nth-child(2) .feature-chip.eyebrow-chip,
  .features.features--in-view .feature-card:nth-child(3) .feature-chip.eyebrow-chip {
    animation: none;
  }

  .deck-corner-top,
  .deck-corner-bottom {
    animation: none;
  }

  .decks.decks--in-view .deck-grid .deck-card:nth-child(1),
  .decks.decks--in-view .deck-grid .deck-card:nth-child(2),
  .decks.decks--in-view .deck-grid .deck-card:nth-child(3) {
    animation: none;
  }

  .pricing-chips-qty {
    animation: none;
    background-size: 100% 100%;
    background-position: 0% center;
  }

  .headline-accent {
    animation: none;
    background-size: 100% 100%;
    background-position: 0% center;
  }
}
