/* Teachy — warm, hand-collaged, playful */

:root {
  --bg: #f6efe1;
  --surface: #ffffff;
  --surface-alt: #fffaf0;
  --ink: #1b1a2e;
  --ink-soft: #6b6478;
  --line: rgba(27, 26, 46, 0.1);
  --accent: #2f6fed;
  --accent-soft: rgba(47, 111, 237, 0.1);
  --clicky: #3380ff;
  --danger: #ff3b30;

  --pink: #ffb4c6;
  --pink-bg: #fff1f5;
  --green: #8fd18a;
  --green-bg: #f1fbec;
  --yellow: #ffcf6b;
  --yellow-bg: #fffaea;
  --blue: #8fbaff;
  --blue-bg: #f0f6ff;
  --purple: #c4a8ff;
  --purple-bg: #f8f4ff;

  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 48px rgba(27, 26, 46, 0.1);
  --shadow-card: 0 2px 10px rgba(27, 26, 46, 0.05);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Baloo 2", var(--font);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

body.intro-active {
  overflow: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.soft {
  color: var(--ink-soft);
  font-weight: 400;
}

/* —— Header —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(246, 239, 225, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 60px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.85;
}

.logo-mark {
  width: 14px;
  height: 14px;
  background: var(--clicky);
  clip-path: polygon(12% 8%, 92% 48%, 12% 92%);
  transform: rotate(-18deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(27, 26, 46, 0.05);
  text-decoration: none;
}

.nav-cta {
  background: var(--ink) !important;
  color: #fff9ee !important;
  margin-left: 8px;
  font-weight: 700 !important;
  padding: 10px 18px !important;
  font-family: var(--font-display);
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: #fff !important;
  text-decoration: none;
}

.nav-github {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink) !important;
  font-size: 13px;
  font-weight: 600;
}

.nav-github:hover {
  border-color: var(--ink);
  text-decoration: none;
}

.nav-github svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

.nav-github-star {
  color: #f5a623;
  font-size: 13px;
  line-height: 1;
}

.ghost-btn,
.text-btn {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
}

.ghost-btn:hover,
.text-btn:hover {
  color: var(--ink);
}

/* —— Buttons (glass pill) —— */

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  min-height: 64px;
  padding: 12px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 20px;
  font-weight: 500;
  border: 1px solid;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: transform 0.15s var(--ease), box-shadow 0.15s ease;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

/* Buttons with a leading icon badge hug it tight on the left, like the reference pill */
.btn:has(.btn-icon) {
  padding-left: 12px;
  padding-right: 32px;
}

/* top glass sheen — identical technique to the chat bubble */
.btn::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 4px;
  height: 50%;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 1;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary {
  background: linear-gradient(180deg, #eaf3ff 0%, #cfe3ff 30%, #9dc2f5 70%, #7ea9ea 100%);
  border-color: rgba(90,140,220,0.55);
  color: #0f172a;
  box-shadow:
    0 10px 22px -6px rgba(70,110,200,0.45),
    0 3px 6px rgba(0,0,0,0.12),
    inset 0 2px 3px rgba(255,255,255,0.95),
    inset 0 -10px 16px rgba(120,160,235,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px -6px rgba(70,110,200,0.55),
    0 4px 8px rgba(0,0,0,0.14),
    inset 0 2px 3px rgba(255,255,255,0.95),
    inset 0 -10px 16px rgba(120,160,235,0.35);
}

.btn-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #f4f5f7 32%, #e2e5ea 72%, #d5d9df 100%);
  border-color: rgba(150,155,165,0.55);
  color: #0f172a;
  box-shadow:
    0 10px 22px -6px rgba(120,125,135,0.4),
    0 3px 6px rgba(0,0,0,0.12),
    inset 0 2px 3px rgba(255,255,255,1),
    inset 0 -10px 16px rgba(180,185,195,0.35);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px -6px rgba(120,125,135,0.5),
    0 4px 8px rgba(0,0,0,0.14),
    inset 0 2px 3px rgba(255,255,255,1),
    inset 0 -10px 16px rgba(180,185,195,0.35);
}

.btn-enterprise {
  background: linear-gradient(180deg, #eaf3ff 0%, #cfe3ff 30%, #9dc2f5 70%, #7ea9ea 100%);
  border-color: rgba(90,140,220,0.55);
  color: #0f172a;
}

.btn-enterprise:hover {
  transform: translateY(-2px);
}

.btn-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.3),
    0 1px 2px rgba(0,0,0,0.3);
}

.btn-icon svg {
  width: 24px;
  height: 24px;
}

.btn-label {
  position: relative;
  z-index: 2;
}

.btn-arrow {
  position: relative;
  z-index: 2;
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* —— Nav CTA (Base UI outline button) —— */

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s var(--ease);
  white-space: nowrap;
}

.nav-cta:hover {
  background: rgba(27, 26, 46, 0.05);
  border-color: var(--ink);
  transform: translateY(-1px);
  text-decoration: none;
}

/* —— Chat bubbles —— */

.chat-demo {
  padding: 64px 0 56px;
}

.chat-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/*
 * Remake of the reference chat-bubble component:
 * the bubble is a wrapper (.chat-bubble) with two tail spans BEHIND an
 * overflow-hidden body (.chat-bubble-body). The second tail span is painted
 * the same color as the chat surface to "carve" the tail curve out.
 */

.chat-surface {
  max-width: none;
  margin: 0;
  background: transparent;
  border-radius: 18px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  min-height: 220px;
}

.chat-row {
  display: none;
}

.chat-row.is-shown {
  display: flex;
}

.chat-right {
  justify-content: flex-end;
}

.chat-left {
  justify-content: flex-start;
}

.chat-bubble {
  position: relative;
  max-width: 80%;
}

.chat-row.is-shown .chat-bubble {
  animation: bubble-pop 0.45s cubic-bezier(0.22, 1.2, 0.36, 1) both;
  transform-origin: bottom left;
}

.chat-right.is-shown .chat-bubble {
  transform-origin: bottom right;
}

@keyframes bubble-pop {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.6);
  }
  60% {
    transform: translateY(-2px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Tail: colored curve that pokes out from the bottom corner of the bubble */
.chat-tail-fill,
.chat-tail-mask {
  position: absolute;
  bottom: 0;
  z-index: 0;
}

.chat-tail-fill {
  width: 12px;
  height: 14px;
}

/* Carve span painted the same color as the chat surface */
.chat-tail-mask {
  width: 10px;
  height: 16px;
  background: #f2f3f5;
}

.chat-right .chat-tail-fill {
  right: -6px;
  border-bottom-left-radius: 18px;
}

.chat-right .chat-tail-mask {
  right: -15px;
  border-bottom-left-radius: 12px;
}

.chat-left .chat-tail-fill {
  left: -6px;
  border-bottom-right-radius: 18px;
}

.chat-left .chat-tail-mask {
  left: -15px;
  border-bottom-right-radius: 12px;
}

.chat-blue .chat-tail-fill {
  background: #7ea9ea;
}

.chat-orange .chat-tail-fill {
  background: #eeb684;
}

/* Bubble body: glass gradient + top sheen, clipped to the rounded shape */
.chat-bubble-body {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid;
  padding: 8px 12px;
}

.chat-sheen {
  position: absolute;
  left: 5px;
  right: 5px;
  top: 3px;
  height: 48%;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.chat-bubble-body p {
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.chat-blue .chat-bubble-body {
  background: linear-gradient(180deg, #eaf3ff 0%, #cfe3ff 30%, #9dc2f5 70%, #7ea9ea 100%);
  border-color: rgba(90,140,220,0.55);
  box-shadow:
    0 6px 14px -6px rgba(70,110,200,0.4),
    0 2px 4px rgba(0,0,0,0.1),
    inset 0 1px 2px rgba(255,255,255,0.95),
    inset 0 -6px 10px rgba(120,160,235,0.3);
}

.chat-orange .chat-bubble-body {
  background: linear-gradient(180deg, #fff3e6 0%, #ffe0c2 32%, #f6c79a 72%, #eeb684 100%);
  border-color: rgba(220,160,110,0.55);
  box-shadow:
    0 6px 14px -6px rgba(210,150,90,0.4),
    0 2px 4px rgba(0,0,0,0.1),
    inset 0 1px 2px rgba(255,255,255,0.95),
    inset 0 -6px 10px rgba(235,180,120,0.35);
}

/* Typing indicator: a real chat bubble (colored like the upcoming message)
   holding three bouncing dots, exactly like the reference TypingBubble */
.chat-typing {
  display: none;
}

.chat-typing.is-shown {
  display: flex;
}

.chat-typing.is-shown .chat-bubble {
  animation: bubble-pop 0.45s cubic-bezier(0.22, 1.2, 0.36, 1) both;
  transform-origin: bottom left;
}

.chat-typing.chat-right.is-shown .chat-bubble {
  transform-origin: bottom right;
}

.chat-typing-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
}

.chat-typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(100, 116, 139, 0.7);
  animation: typing-bounce 1.2s ease-in-out infinite;
}

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

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

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

@media (max-width: 900px) {
  .chat-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 4px 20px 12px;
    max-width: none;
  }

  .chat-surface {
    flex: 0 0 200px;
    scroll-snap-align: start;
    min-height: 200px;
  }
}

@media (max-width: 640px) {
  .chat-surface {
    padding: 8px 6px;
    min-height: 190px;
  }

  .chat-bubble-body p {
    font-size: 12px;
  }
}

/* —— Window frame —— */

.window-demo {
  padding: 48px 0 64px;
}

/* Sky→grass photographic border around the window, from the reference WindowFrame */
.window-frame-outer {
  max-width: 808px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 14px;
  background-image: url("sky-grass-border.jpg");
  background-size: cover;
  background-position: center;
  box-shadow:
    0 24px 60px -18px rgba(0,0,0,0.45),
    0 6px 18px -8px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

.window-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.18);
  box-shadow:
    0 10px 30px -10px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.9);
  background: #1e1e2e;
}

.window-bar {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  background: linear-gradient(180deg, #fbfcfd 0%, #e6e9ee 55%, #d5d9df 100%);
  border-bottom: 1px solid rgba(0,0,0,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  position: relative;
}

.window-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-light {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 0.5px solid;
  box-shadow: inset 0 -1px 1px rgba(0,0,0,0.25);
}

.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 500;
  color: #4a4f57;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.window-content {
  display: flex;
  min-height: 320px;
}

.window-sidebar {
  width: 48px;
  background: #252536;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: rgba(255,255,255,0.4);
  transition: background 0.15s, color 0.15s;
}

.sidebar-item.active {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
}

.window-editor {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.editor-tabs {
  display: flex;
  background: #1e1e2e;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.editor-tab {
  padding: 8px 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  border-bottom: 2px solid transparent;
}

.editor-tab.active {
  color: rgba(255,255,255,0.9);
  border-bottom-color: #7ea9ea;
  background: rgba(255,255,255,0.03);
}

.editor-code {
  flex: 1;
  padding: 16px 0;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: auto;
}

.code-line {
  padding: 0 20px;
  white-space: nowrap;
}

.code-line.highlight {
  background: rgba(126, 169, 234, 0.1);
  border-left: 2px solid #7ea9ea;
  margin-left: 0;
}

.ln {
  display: inline-block;
  width: 32px;
  color: rgba(255,255,255,0.2);
  text-align: right;
  margin-right: 16px;
  user-select: none;
}

.kw { color: #c792ea; }
.fn { color: #82aaff; }
.str { color: #c3e88d; }
.tag { color: #f07178; }
.attr { color: #ffcb6b; }

.window-teachy-cursor {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
}

.teachy-speech {
  background: #3380ff;
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(51,128,255,0.4);
}

/* —— Dot divider —— */

.dot-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 28px;
}

.dot-divider span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}

.dot-divider .divider-mark {
  width: 14px;
  height: 14px;
  background: var(--clicky);
  clip-path: polygon(12% 8%, 92% 48%, 12% 92%);
  transform: rotate(-18deg);
}

/* —— Pill tag —— */

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.pill-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* —— Tilted photo frame —— */

.tilt-frame {
  --tilt: -6deg;
  position: relative;
  background: #fff;
  padding: 10px 10px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transform: rotate(var(--tilt));
  transition: transform 0.35s var(--ease);
}

.tilt-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

.tilt-frame img {
  display: block;
  width: 100%;
  border-radius: 9px;
}

.tilt-frame::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 60px;
  height: 22px;
  margin-left: -30px;
  background: rgba(255, 207, 107, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transform: rotate(-3deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tilt-r {
  --tilt: 6deg;
}

.tilt-r::before {
  transform: rotate(3deg);
}

/* —— Section head —— */

.section-head {
  display: block;
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}

.section-head .section-note {
  margin: 14px auto 0;
  max-width: 560px;
  font-size: 17px;
  color: var(--ink-soft);
}

/* —— Hero —— */

.hero {
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  margin-bottom: 26px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.hero-teachy {
  display: flex;
  justify-content: center;
  margin: 4px 0 8px;
}

.hero-teachy-mark {
  display: block;
  width: clamp(64px, 10vw, 96px);
  height: clamp(64px, 10vw, 96px);
  background: var(--clicky);
  clip-path: polygon(12% 8%, 92% 48%, 12% 92%);
  transform: rotate(-28deg);
  filter: drop-shadow(0 14px 30px rgba(51, 128, 255, 0.4));
  animation: heroTeachyFloat 3.4s ease-in-out infinite;
}

@keyframes heroTeachyFloat {
  0%, 100% { transform: rotate(-28deg) translateY(0); }
  50% { transform: rotate(-28deg) translateY(-10px); }
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
  padding-bottom: 0.06em;
}

.hero-title-accent {
  color: var(--accent);
}

.lede,
.hero .lede {
  margin: 22px auto 0;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  list-style: none;
  margin: 44px auto 0;
  padding: 20px 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 100px;
}

.hero-stats strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.hero-stats span {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}

.hero-hint {
  margin: 26px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0.85;
}

/* —— Hero collage —— */

.hero-collage {
  position: relative;
  max-width: 880px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 16px;
}

.hero-collage-side {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-collage-side .tilt-frame {
  width: 100%;
}

.hero-collage-main {
  grid-column: span 6;
}

.hero-collage-main .tilt-frame {
  --tilt: -2deg;
}

@media (max-width: 900px) {
  .hero-collage {
    display: none;
  }
}

/* —— Collage X overlay —— */

.hero-collage-wrap {
  position: relative;
}

.collage-x-overlay {
  position: absolute;
  inset: -20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  animation: x-appear 0.1s 2.5s forwards;
}

@keyframes x-appear {
  to { opacity: 1; }
}

.collage-x-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.x-line {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
}

.x-line-1 {
  animation: x-draw 0.4s 2.5s ease-out forwards;
}

.x-line-2 {
  animation: x-draw 0.4s 2.8s ease-out forwards;
}

@keyframes x-draw {
  to { stroke-dashoffset: 0; }
}

.collage-x-text {
  position: relative;
  z-index: 1;
  background: #ff3b30;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(16px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  transform: scale(0.8) rotate(-2deg);
  opacity: 0;
  animation: x-text-pop 0.35s 3.1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  text-transform: lowercase;
  white-space: nowrap;
}

@keyframes x-text-pop {
  to {
    opacity: 1;
    transform: scale(1) rotate(-2deg);
  }
}

/* The X overlay must hide with the collage it sits on, or it floats over the hero buttons.
   This rule lives below the base .collage-x-overlay rule so source order doesn't undo it. */
@media (max-width: 900px) {
  .collage-x-overlay {
    display: none;
  }
}

/* —— Feature rows —— */

.feature {
  padding: 40px 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
}

.feature-row:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.feature-row.reverse .feature-media {
  order: 2;
}

.feature-media {
  display: flex;
  justify-content: center;
}

.feature-media .tilt-frame {
  width: min(360px, 100%);
}

.feature-copy h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.feature-copy p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
}

@media (max-width: 800px) {
  .feature-row,
  .feature-row.reverse .feature-media {
    order: 0;
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .feature-copy p {
    margin-inline: auto;
  }
}

/* —— Sky band + pricing/product cards —— */

.sky-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf3ff 0%, #dcebff 45%, var(--bg) 100%);
  padding: 64px 0 72px;
}

.sky-band::before,
.sky-band::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 140px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  filter: blur(4px);
}

.sky-band::before {
  top: 20px;
  left: -80px;
}

.sky-band::after {
  top: 90px;
  right: -100px;
  width: 260px;
  height: 110px;
}

.products {
  position: relative;
  z-index: 1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.product-card-enterprise {
  border-color: var(--accent);
  background: linear-gradient(165deg, var(--accent-soft) 0%, transparent 42%), var(--surface);
}

.product-card header {
  margin-bottom: 16px;
}

.product-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(27, 26, 46, 0.06);
  margin-bottom: 14px;
}

.product-tag-ent {
  color: var(--accent);
  background: var(--accent-soft);
}

.product-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.product-price {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.product-lede {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.product-lede strong {
  color: var(--ink);
  font-weight: 700;
}

.product-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}

.product-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

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

/* —— Content wall —— */

.wall {
  padding: 40px 0 64px;
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.wall-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s var(--ease);
}

.wall-card:hover {
  transform: translateY(-3px) rotate(-0.4deg);
}

.wall-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.wall-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.wall-grid .wall-card:nth-child(6n + 1) { border-color: var(--pink); background: var(--pink-bg); }
.wall-grid .wall-card:nth-child(6n + 2) { border-color: var(--blue); background: var(--blue-bg); }
.wall-grid .wall-card:nth-child(6n + 3) { border-color: var(--yellow); background: var(--yellow-bg); }
.wall-grid .wall-card:nth-child(6n + 4) { border-color: var(--green); background: var(--green-bg); }
.wall-grid .wall-card:nth-child(6n + 5) { border-color: var(--purple); background: var(--purple-bg); }
.wall-grid .wall-card:nth-child(6n + 6) { border-color: var(--blue); background: var(--blue-bg); }

@media (max-width: 900px) {
  .wall-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wall-grid {
    grid-template-columns: 1fr;
  }
}

/* Legacy vs-card family (enterprise.html compare section) */

.vs {
  padding: 24px 0 64px;
}

.vs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.vs-card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.vs-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.vs-good {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 60%);
}

.vs-card header {
  margin-bottom: 16px;
}

.vs-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(27, 26, 46, 0.06);
  margin-bottom: 10px;
}

.vs-good .vs-tag {
  color: var(--accent);
  background: var(--accent-soft);
}

.vs-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.vs-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vs-card li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}

.vs-bad li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #d1cfd6;
}

.vs-good li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.vs-bad {
  opacity: 0.9;
}

.vs-bad h3 {
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .vs-grid {
    grid-template-columns: 1fr;
  }
}

/* —— How it works steps —— */

.how {
  padding: 40px 0 72px;
}

.teach-steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.teach-steps li {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 22px 20px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.teach-steps li:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.teach-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--clicky));
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(47, 111, 237, 0.32);
}

.teach-steps h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.teach-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .teach-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .teach-steps {
    grid-template-columns: 1fr;
  }
}

/* —— Enterprise deep-dive block —— */

.enterprise {
  padding: 16px 0 72px;
}

.enterprise-shell {
  background:
    radial-gradient(120% 100% at 10% 0%, var(--accent-soft) 0%, transparent 50%),
    var(--surface);
  border: 2px solid var(--line);
  border-radius: 28px;
  padding: 48px 40px 40px;
  box-shadow: var(--shadow-card);
}

.enterprise-head {
  margin-bottom: 36px;
}

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.enterprise-shell .ent-feature {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
}

.enterprise-shell .ent-feature h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.enterprise-shell .ent-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.enterprise-who {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.enterprise-who h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.enterprise-who ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.enterprise-who li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.enterprise-who li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 900px) {
  .enterprise-grid,
  .enterprise-who ul {
    grid-template-columns: 1fr;
  }

  .enterprise-shell {
    padding: 32px 22px 28px;
  }
}

/* —— FAQ —— */

.faq {
  padding: 24px 0 72px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 4px 22px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* —— Final CTA band —— */

.final-cta {
  padding: 24px 0 96px;
}

.final-cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 56px 32px;
  border-radius: 28px;
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(47, 111, 237, 0.28) 0%, rgba(47, 111, 237, 0) 55%),
    radial-gradient(120% 140% at 80% 100%, rgba(51, 128, 255, 0.22) 0%, rgba(51, 128, 255, 0) 55%),
    #16152a;
  color: #fff;
  box-shadow: 0 30px 80px rgba(20, 20, 40, 0.35);
}

.final-cta-card h2 {
  margin: 0 auto;
  max-width: 640px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #fff;
}

.final-cta-card p {
  margin: 14px auto 28px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
}

.final-cta-card .btn-primary {
  background: #fff;
  color: var(--ink);
}

.final-cta-card .btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

.final-cta-card .btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.25);
}

.final-cta-card .btn-secondary:hover {
  border-color: #fff;
  color: #fff;
}

.final-cta-card .pill-tag.light {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}

.final-cta-card .contact-note {
  margin: 18px auto 0;
  max-width: 360px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
}

.final-cta-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.final-cta-split .final-cta-card {
  text-align: left;
  padding: 40px 32px 36px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.final-cta-split .final-cta-card h2 {
  margin: 0;
  max-width: none;
  text-align: left;
}

.final-cta-split .final-cta-card > p:not(.contact-note) {
  margin: 12px 0 24px;
  text-align: left;
  max-width: 36ch;
}

.final-cta-split .final-cta-card .hero-actions {
  justify-content: flex-start;
  margin-top: auto;
}

.final-cta-full {
  text-align: center;
}

.final-cta-full h2 {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-full > p:not(.contact-note) {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .final-cta-split {
    grid-template-columns: 1fr;
  }
}

/* —— Footer —— */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 0;
  margin-top: 8px;
  overflow: hidden;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.footer-tag {
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 600;
}

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

.footer-mark {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: -6px;
  margin-right: 2px;
}

.footer-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.12em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 13vw, 148px);
  line-height: 0.85;
  text-align: center;
  letter-spacing: -0.02em;
  color: var(--clicky);
  margin: 0 auto;
  padding: 0;
}

.footer-wordmark-mark {
  flex-shrink: 0;
  width: 0.62em;
  height: 0.62em;
  background: var(--clicky);
  clip-path: polygon(12% 8%, 92% 48%, 12% 92%);
  transform: rotate(-28deg);
}

body:not(.has-mouse) .landing-cursor,
body:not(.has-mouse) .landing-cursor * {
  cursor: auto;
}

body:not(.has-mouse) #clicky-guide {
  display: none;
}

/* —— Clicky guide (landing cursor follower) —— */

.clicky-guide {
  position: fixed;
  z-index: 90;
  pointer-events: none;
  left: 0;
  top: 0;
  transform: translate(-100px, -100px);
  transition: none;
}

body.landing-cursor,
body.landing-cursor * {
  cursor: none;
}

.clicky-cursor {
  width: 22px;
  height: 22px;
  background: var(--clicky);
  clip-path: polygon(12% 8%, 92% 48%, 12% 92%);
  transform: rotate(-28deg);
  filter: drop-shadow(0 6px 12px rgba(51, 128, 255, 0.45));
}

/* —— Intro cinematic (dark, theatrical bookend to the cream site) —— */

.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #16152a;
  color: #fff9ee;
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-stage {
  width: min(720px, calc(100% - 32px));
  text-align: center;
}

.intro-panel {
  animation: fadeUp 0.7s var(--ease) both;
}

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

.intro-skip-all {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s var(--ease);
}

.intro-skip-all:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.04);
}

.intro-clicky-mark {
  width: 36px;
  height: 36px;
  margin: 0 auto 18px;
  background: var(--clicky);
  clip-path: polygon(12% 8%, 92% 48%, 12% 92%);
  transform: rotate(-28deg);
  filter: drop-shadow(0 10px 28px rgba(51, 128, 255, 0.55));
  animation: clickyPop 0.7s var(--ease) both;
}

@keyframes clickyPop {
  from { opacity: 0; transform: rotate(-28deg) scale(0.6); }
  to { opacity: 1; transform: rotate(-28deg) scale(1); }
}

.brand-reveal {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 84px);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.brand-sub {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
}

.type-line {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 4.2vw, 36px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 700;
  min-height: 1.35em;
}

.type-line .caret {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 3px;
  background: rgba(255, 255, 255, 0.9);
  vertical-align: -0.12em;
  animation: caretBlink 0.75s steps(1) infinite;
}

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

.intro-flood {
  position: relative;
  width: min(960px, 100%);
  height: min(72vh, 540px);
  margin: 0 auto;
}

.flood-veil {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background: radial-gradient(ellipse at center, rgba(22, 21, 42, 0.35), rgba(22, 21, 42, 0.9) 72%);
  text-align: center;
  pointer-events: none;
  color: #fff;
}

.flood-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.flood-kicker.is-on {
  opacity: 1;
  transform: none;
}

.flood-veil .type-line,
.flood-veil .flood-type {
  max-width: min(16ch, 92vw);
  color: #fff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
  font-size: clamp(28px, 5.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  min-height: 2.4em;
}

.intro-manifesto {
  max-width: min(62ch, 94vw);
  margin: 0 auto;
  width: 100%;
}

.manifesto-type {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.manifesto-line-typed {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.8vw, 28px);
  line-height: 1.35;
  min-height: 1.35em;
  white-space: nowrap;
  font-weight: 600;
}

@media (max-width: 720px) {
  .manifesto-line-typed {
    white-space: normal;
  }
}

.introducing-type {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 26px);
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  min-height: 1.5em;
}

.bam-wrap {
  margin-top: 32px;
  position: relative;
}

.bam-flash {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 55%);
  opacity: 0;
  pointer-events: none;
}

.bam-wrap.is-in .bam-flash {
  animation: bamFlash 0.55s ease-out both;
}

.bam-wrap.is-in .bam-mark {
  animation: bamMark 0.75s var(--ease) both;
}

.bam-wrap.is-in .bam-title {
  animation: bamTitle 0.9s var(--ease) both;
}

.bam-wrap.is-in .bam-sub {
  animation: fadeUp 0.75s var(--ease) 0.4s both;
}

@keyframes bamFlash {
  0% { opacity: 0.95; transform: scale(0.55); }
  100% { opacity: 0; transform: scale(1.45); }
}

@keyframes bamMark {
  0% { opacity: 0; transform: rotate(-28deg) scale(0.15); }
  55% { opacity: 1; transform: rotate(-28deg) scale(1.3); }
  100% { opacity: 1; transform: rotate(-28deg) scale(1); }
}

@keyframes bamTitle {
  0% { opacity: 0; transform: scale(0.35); filter: blur(14px); }
  50% { opacity: 1; transform: scale(1.1); filter: blur(0); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

.intro-stage.is-shake {
  animation: stageShake 0.5s ease-out;
}

@keyframes stageShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-12px); }
  40% { transform: translateX(12px); }
  60% { transform: translateX(-7px); }
  80% { transform: translateX(5px); }
}

/* —— Stacked flood thumbs —— */

.flood-stack {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
}

.flood-card-big {
  position: absolute;
  width: min(340px, 72vw);
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translate(0, 40px) scale(0.88) rotate(0deg);
  animation: stackIn 0.7s var(--ease) forwards;
}

.flood-card-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flood-card-big .fc-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 34px;
  margin: -17px 0 0 -24px;
  background: #f00;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.flood-card-big .fc-play::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 9px;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #fff;
}

@keyframes stackIn {
  to {
    opacity: 1;
    transform: var(--stack-end, none);
  }
}

/* —— Interactive demo browser (IRL teaching loop) —— */

.intro-demo {
  width: min(880px, 100%);
  margin: 0 auto;
}

.demo-shell {
  display: grid;
  gap: 16px;
}

.demo-browser {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.45);
  color: #21242c;
}

.demo-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #ebedf0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.demo-dots {
  display: flex;
  gap: 6px;
}

.demo-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d3d8;
}

.demo-dots i:nth-child(1) { background: #ff5f57; }
.demo-dots i:nth-child(2) { background: #febc2e; }
.demo-dots i:nth-child(3) { background: #28c840; }

.demo-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #5c6570;
}

.demo-lock::before {
  content: "🔒";
  font-size: 10px;
}

.demo-page {
  position: relative;
  min-height: 340px;
  background: #fff;
}

.demo-view {
  padding: 18px 20px 24px;
}

.demo-view[hidden] {
  display: none !important;
}

.gh-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 18px;
}

.gh-logo {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.gh-nav {
  display: flex;
  gap: 14px;
  color: #5c6570;
  font-size: 13px;
  font-weight: 600;
}

.gh-nav span {
  opacity: 0.7;
}

.gh-new {
  margin-left: auto;
  border: 0;
  background: #1f883d;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
}

.gh-new em {
  font-style: normal;
  opacity: 0.75;
  margin-left: 2px;
}

.gh-new.is-hot,
.gh-create.is-hot,
input.is-hot {
  box-shadow: 0 0 0 3px rgba(51, 128, 255, 0.45);
  animation: demoPulse 1.2s ease-in-out infinite;
}

@keyframes demoPulse {
  50% { box-shadow: 0 0 0 5px rgba(51, 128, 255, 0.2); }
}

.gh-home-body h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.gh-muted {
  margin: 0 0 18px;
  color: #5c6570;
  font-size: 14px;
}

.gh-empty-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.gh-empty-list li {
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f0f2f4, #f7f8f9);
  border: 1px dashed rgba(0, 0, 0, 0.06);
}

.gh-form h2 {
  margin: 0 0 18px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.gh-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
}

.gh-field em {
  font-style: normal;
  font-weight: 500;
  color: #5c6570;
}

.gh-field input {
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
}

.gh-field input:focus {
  outline: none;
  border-color: var(--clicky);
  box-shadow: 0 0 0 3px rgba(51, 128, 255, 0.2);
}

.gh-visibility {
  display: flex;
  gap: 18px;
  margin: 8px 0 18px;
  font-size: 13px;
  font-weight: 600;
  color: #5c6570;
}

.gh-create {
  border: 0;
  background: #1f883d;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.gh-create:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gh-done {
  text-align: center;
  padding: 36px 12px 20px;
}

.gh-check {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
}

.gh-done h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.gh-done p {
  margin: 8px 0 18px;
  color: #5c6570;
}

.gh-code-block {
  display: inline-block;
  background: #0d1117;
  color: #c9d1d9;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.demo-cursor {
  width: 18px;
  height: 18px;
  background: var(--clicky);
  clip-path: polygon(12% 8%, 92% 48%, 12% 92%);
  transform: rotate(-18deg);
  filter: drop-shadow(0 6px 12px rgba(51, 128, 255, 0.4));
  flex-shrink: 0;
}

.demo-cursor.is-click {
  transform: rotate(-18deg) scale(0.85);
}

.demo-clicky {
  position: absolute;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
  left: 48px;
  top: 120px;
  transition: left 0.55s var(--ease), top 0.55s var(--ease);
}

.demo-clicky.is-flipped {
  flex-direction: row-reverse;
}

.demo-speech {
  max-width: 280px;
  background: var(--clicky);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(51, 128, 255, 0.4);
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.demo-speech.is-on {
  opacity: 1;
  transform: none;
}

.demo-speech .caret {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 2px;
  background: rgba(255, 255, 255, 0.9);
  vertical-align: -0.1em;
  animation: caretBlink 0.7s steps(1) infinite;
}

.demo-chalk {
  position: absolute;
  border: 2px solid rgba(51, 128, 255, 0.85);
  border-radius: 10px;
  pointer-events: none;
  opacity: 0;
  z-index: 4;
  box-shadow: 0 0 0 4px rgba(51, 128, 255, 0.12);
  transition: opacity 0.25s, left 0.45s var(--ease), top 0.45s var(--ease),
    width 0.45s var(--ease), height 0.45s var(--ease);
}

.demo-chalk.is-on {
  opacity: 1;
}

.demo-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-phase {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.demo-phase.is-wait {
  color: #7dd3fc;
}

.demo-phase.is-done {
  color: #86efac;
}

@media (max-width: 640px) {
  .gh-nav {
    display: none;
  }

  .demo-page {
    min-height: 300px;
  }
}

/* —— Enterprise page —— */

.enterprise-page .hero-enterprise {
  padding-top: 64px;
}

.enterprise-page .hero .lede strong {
  color: var(--ink);
  font-weight: 700;
}

.problem {
  padding: 8px 0 56px;
}

.offer {
  padding: 16px 0 64px;
}

.who {
  padding: 8px 0 56px;
}

.who .enterprise-shell {
  max-width: 980px;
  margin: 0 auto;
  width: min(980px, calc(100% - 48px));
}

.pricing-note {
  padding: 16px 0 48px;
}

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

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}

.pricing-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.pricing-meta {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.pricing-card p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.pricing-card-featured {
  border-color: var(--accent);
  background: linear-gradient(165deg, var(--accent-soft) 0%, transparent 50%), var(--surface);
  box-shadow: var(--shadow-soft);
}

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

  .nav a:not(.nav-cta) {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav {
    display: flex;
  }

  .hero {
    padding: 56px 0 48px;
  }
}

/* ============================================================
   HEY REDESIGN — heyclicky-style landing (index / enterprise /
   free lesson). Scoped under body.hey-page.
   ============================================================ */

body.hey-page {
  background: #f5f6f8;
}

.hey-page .site-header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

/* —— Hero —— */

.hey-hero {
  position: relative;
  isolation: isolate;
  padding: 104px 24px 48px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f4efe6 0%, #f7f3eb 38%, #eef3f8 100%);
}

.hey-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hey-hero-paper {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      transparent,
      transparent 31px,
      rgba(120, 150, 190, 0.1) 31px,
      rgba(120, 150, 190, 0.1) 32px
    );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 88%);
  opacity: 0.7;
}

.hey-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  animation: hey-hero-drift 14s ease-in-out infinite;
}

.hey-hero-orb-a {
  width: 300px;
  height: 300px;
  left: -8%;
  top: 8%;
  background: rgba(51, 128, 255, 0.22);
}

.hey-hero-orb-b {
  width: 260px;
  height: 260px;
  right: -6%;
  top: 22%;
  background: rgba(255, 176, 96, 0.2);
  animation-duration: 18s;
  animation-direction: reverse;
}

.hey-hero-orb-c {
  width: 220px;
  height: 220px;
  left: 42%;
  bottom: 4%;
  background: rgba(120, 190, 160, 0.16);
  animation-duration: 16s;
}

.hey-hero-doodles {
  position: absolute;
  inset: 0;
}

.hey-edu {
  position: absolute;
  width: clamp(72px, 11vw, 128px);
  height: auto;
  opacity: 0.55;
  filter: drop-shadow(0 10px 18px rgba(27, 26, 46, 0.12));
  user-select: none;
}

.hey-edu-book { left: 4%; top: 14%; transform: rotate(-12deg); width: clamp(88px, 13vw, 148px); }
.hey-edu-bulb { right: 7%; top: 10%; transform: rotate(8deg); width: clamp(70px, 10vw, 118px); }
.hey-edu-pencil { left: 10%; bottom: 18%; transform: rotate(-28deg); width: clamp(56px, 9vw, 100px); }
.hey-edu-cursor { right: 12%; top: 42%; transform: rotate(6deg); width: clamp(78px, 11vw, 132px); opacity: 0.62; }
.hey-edu-board { left: 18%; top: 48%; transform: rotate(5deg); width: clamp(86px, 12vw, 140px); opacity: 0.48; }
.hey-edu-notes { right: 4%; bottom: 22%; transform: rotate(-7deg); width: clamp(80px, 11vw, 124px); }
.hey-edu-book-2 { right: 22%; bottom: 8%; transform: rotate(14deg) scale(0.78); opacity: 0.38; }
.hey-edu-bulb-2 { left: 28%; top: 8%; transform: rotate(-6deg) scale(0.7); opacity: 0.34; }
.hey-edu-pencil-2 { right: 30%; top: 18%; transform: rotate(38deg) scale(0.72); opacity: 0.36; }
.hey-edu-notes-2 { left: 2%; top: 58%; transform: rotate(11deg) scale(0.75); opacity: 0.32; }

@keyframes hey-hero-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -22px) scale(1.06); }
}

.hey-hero-center {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hey-wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 112px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #1b1a2e;
}

.hey-tagline {
  margin: 12px 0 30px;
  font-size: 19px;
  color: var(--ink-soft);
}

.hey-fineprint {
  margin: 18px 0 0;
  font-size: 13px;
  color: rgba(107, 100, 120, 0.85);
}

.hey-hero-media {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 56px auto 0;
}

.hey-hero-video-frame {
  width: 100%;
}

.hey-hero-video-window {
  overflow: hidden;
  background: #0f141c;
}

.hey-hero-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 0;
  border-radius: 0 0 14px 14px;
  background: #eef3f9;
  box-shadow: none;
}

.hey-hero-video-window .hey-window-bar {
  border-radius: 14px 14px 0 0;
}

.hey-hero .hero-hint {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .hey-edu-board,
  .hey-edu-book-2,
  .hey-edu-bulb-2,
  .hey-edu-pencil-2,
  .hey-edu-notes-2 {
    display: none;
  }

  .hey-edu {
    opacity: 0.4;
    width: clamp(64px, 18vw, 96px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hey-hero-orb {
    animation: none;
  }
}

/* Scattered mini mac windows around the hero (unused on lean hero) */

.hey-scatter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hey-mini {
  position: absolute;
  width: 150px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  box-shadow: 0 14px 30px -14px rgba(15, 23, 42, 0.3);
  overflow: hidden;
  transform: rotate(var(--tilt, -4deg));
}

.hey-mini-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  background: linear-gradient(180deg, #fbfcfd 0%, #e9ecf1 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hey-mini-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.hey-mini-bar i:nth-child(1) { background: #ff5f57; }
.hey-mini-bar i:nth-child(2) { background: #febc2e; }
.hey-mini-bar i:nth-child(3) { background: #28c840; }

.hey-mini-bar span {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: #7c8291;
  padding-right: 18px;
  white-space: nowrap;
  overflow: hidden;
}

.hey-mini-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 52px;
}

.hey-mini-body b {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(15, 23, 42, 0.12);
}

.hey-mini-body u {
  display: block;
  height: 16px;
  border-radius: 5px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  text-decoration: none;
}

.hey-mini-dark {
  background: #1e1e2e;
}

.hey-mini-dark b {
  background: rgba(255, 255, 255, 0.22);
}

.hey-mini-swatches {
  flex-direction: row;
  align-items: center;
}

.hey-mini-swatches b {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  flex: none;
}

.hey-mini-swatches b:nth-child(1) { background: #8fbaff; }
.hey-mini-swatches b:nth-child(2) { background: #ffb4c6; }
.hey-mini-swatches b:nth-child(3) { background: #ffcf6b; }
.hey-mini-swatches b:nth-child(4) { background: #8fd18a; }

.hey-mini-bubble-blue,
.hey-mini-bubble-orange {
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  color: #0f172a;
  padding: 4px 9px;
  border-radius: 9px;
}

.hey-mini-bubble-blue {
  align-self: flex-end;
  background: linear-gradient(180deg, #eaf3ff 0%, #9dc2f5 100%);
  border: 1px solid rgba(90, 140, 220, 0.55);
  border-bottom-right-radius: 3px;
}

.hey-mini-bubble-orange {
  align-self: flex-start;
  background: linear-gradient(180deg, #fff3e6 0%, #f6c79a 100%);
  border: 1px solid rgba(220, 160, 110, 0.55);
  border-bottom-left-radius: 3px;
}

.hey-mini-note {
  width: auto;
  padding: 14px 16px;
  background: #fff8c9;
  border: 1px solid #eadf9a;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #6b5d17;
}

/* scatter placement */
.hey-mini-editor   { left: 3%;  top: 6%;  --tilt: -7deg; }
.hey-mini-chat     { right: 3%; top: 8%;  --tilt: 6deg; }
.hey-mini-claude   { left: 15%; top: 58%; --tilt: 3deg; }
.hey-mini-terminal { left: 5%;  top: 34%; --tilt: 4deg; }
.hey-mini-form     { right: 5%; top: 36%; --tilt: -5deg; }
.hey-mini-note     { right: 14%; top: 62%; transform: rotate(5deg); }
.hey-mini-editor2  { right: 2%; top: 78%; --tilt: -6deg; }

.hey-doodle {
  position: absolute;
  font-size: 22px;
  color: #c3cadb;
}

.hey-doodle-1 { left: 22%; top: 14%; transform: rotate(-10deg); }
.hey-doodle-2 { right: 20%; top: 22%; }
.hey-doodle-3 { left: 10%; top: 80%; transform: rotate(14deg); }

/* —— Dotted separators —— */

.hey-rule {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 40px 24px 8px;
  pointer-events: none;
}

.hey-rule::before,
.hey-rule::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(51, 128, 255, 0.28),
    transparent
  );
}

.hey-rule span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(51, 128, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(51, 128, 255, 0.08);
  flex-shrink: 0;
}

.hey-rule-tight {
  padding: 18px 24px;
}

.hey-rule-tight::before,
.hey-rule-tight::after {
  max-width: 72px;
}

/* —— Section heads —— */

.hey-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.hey-section-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1b1a2e;
}

.hey-section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

/* —— How it works: three beats —— */

.hey-how {
  padding: 28px 0 40px;
}

.hey-how-beats {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.hey-how-beat {
  position: relative;
  padding-top: 4px;
}

.hey-how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #3380ff;
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(51, 128, 255, 0.16);
}

.hey-how-beat h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1b1a2e;
}

.hey-how-beat p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(27, 26, 46, 0.72);
  max-width: 32ch;
}

.hey-how-beat kbd {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid rgba(27, 26, 46, 0.14);
  background: rgba(255, 255, 255, 0.7);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  color: #1b1a2e;
}

@media (max-width: 800px) {
  .hey-how-beats {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hey-how-beat p {
    max-width: none;
  }
}

/* —— Logos + chats combined —— */

.hey-proof {
  position: relative;
  padding: 8px 0 56px;
  overflow: hidden;
}

.hey-proof-banner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(200px, 28vw, 280px);
  margin: 0 0 28px;
  padding: 48px clamp(16px, 3vw, 40px);
  overflow: hidden;
}

.hey-proof .hey-apps-wall {
  position: absolute;
  inset: 6% 2% 8%;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(12px, 3vw, 36px);
  margin: 0;
  padding: 0;
  max-width: none;
  opacity: 0.38;
  pointer-events: none;
  filter: saturate(1.08);
}

.hey-proof .hey-apps-logo {
  width: clamp(40px, 6.5vw, 72px);
  height: clamp(40px, 6.5vw, 72px);
}

.hey-proof .hey-apps-wall .hey-apps-logo:nth-child(odd) { transform: rotate(-7deg); }
.hey-proof .hey-apps-wall .hey-apps-logo:nth-child(even) { transform: rotate(6deg); }
.hey-proof .hey-apps-wall .hey-apps-logo:nth-child(3n) { transform: rotate(-3deg) scale(1.1); }
.hey-proof .hey-apps-wall .hey-apps-logo:nth-child(5n) { transform: rotate(9deg) scale(0.9); }

.hey-proof-copy {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 42rem;
  text-align: center;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(246, 239, 225, 0.55) 0%,
    rgba(246, 239, 225, 0.72) 50%,
    rgba(246, 239, 225, 0.55) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hey-proof-copy h2,
.hey-proof-copy p {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hey-proof .chat-gallery {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.hey-proof .hey-apps-foot {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 32px));
  margin: 28px auto 0;
  text-align: center;
}

@media (max-width: 700px) {
  .hey-proof-banner {
    min-height: 180px;
    padding: 36px 14px;
  }

  .hey-proof .hey-apps-wall {
    inset: 10% 4% 12%;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    opacity: 0.32;
  }

  .hey-proof-copy {
    padding: 14px 16px;
  }
}

/* —— Wider page gutters on the consumer landing —— */

.hey-page .wrap {
  width: min(1240px, calc(100% - 32px));
}

.hey-page .hey-how.wrap {
  width: min(1240px, calc(100% - 32px));
}

.hey-page .chat-gallery {
  max-width: 1360px;
}

/* —— Feature rows —— */

.hey-features {
  padding: 8px 0 32px;
}

.hey-feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 44px 0;
}

.hey-feature-reverse .hey-feature-copy { order: 2; }
.hey-feature-reverse .hey-feature-media { order: 1; }

.hey-label-bubble {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px 999px 999px 6px;
  background: linear-gradient(180deg, #eaf3ff 0%, #cfe3ff 30%, #9dc2f5 70%, #7ea9ea 100%);
  border: 1px solid rgba(90, 140, 220, 0.55);
  box-shadow:
    0 8px 18px -6px rgba(70, 110, 200, 0.4),
    inset 0 2px 3px rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.hey-feature-copy h2 {
  margin: 16px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1b1a2e;
}

.hey-feature-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
  max-width: 46ch;
}

.hey-feature-copy kbd {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #2a2d35;
  background: #f2f3f6;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 7px;
}

/* big mac window used as feature media */

.hey-window {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -24px rgba(15, 23, 42, 0.35),
    0 4px 12px -6px rgba(15, 23, 42, 0.15);
}

.hey-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: linear-gradient(180deg, #fbfcfd 0%, #e6e9ee 55%, #d5d9df 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.hey-window-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.hey-window-bar i:nth-child(1) { background: #ff5f57; }
.hey-window-bar i:nth-child(2) { background: #febc2e; }
.hey-window-bar i:nth-child(3) { background: #28c840; }

.hey-window-bar span {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #4a4f57;
  padding-right: 40px;
}

.hey-window-body {
  position: relative;
  min-height: 250px;
  padding: 24px;
}

/* feature media 1: chat + waveform */

.hey-window-chatdemo {
  background: #f2f3f5;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hey-demo-bubble {
  max-width: 78%;
  padding: 11px 16px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.4;
}

.hey-demo-blue {
  align-self: flex-end;
  background: linear-gradient(180deg, #eaf3ff 0%, #cfe3ff 30%, #9dc2f5 70%, #7ea9ea 100%);
  border: 1px solid rgba(90, 140, 220, 0.55);
  border-bottom-right-radius: 6px;
  box-shadow: 0 8px 18px -8px rgba(70, 110, 200, 0.45), inset 0 2px 3px rgba(255, 255, 255, 0.95);
}

.hey-demo-orange {
  align-self: flex-start;
  background: linear-gradient(180deg, #fff3e6 0%, #ffe0c2 32%, #f6c79a 72%, #eeb684 100%);
  border: 1px solid rgba(220, 160, 110, 0.55);
  border-bottom-left-radius: 6px;
  box-shadow: 0 8px 18px -8px rgba(210, 150, 90, 0.45), inset 0 2px 3px rgba(255, 255, 255, 0.95);
}

.hey-demo-wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 26px;
  align-self: center;
  margin-top: auto;
}

.hey-demo-wave b {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: #3380ff;
  animation: hey-wave 1.1s ease-in-out infinite;
}

.hey-demo-wave b:nth-child(2) { animation-delay: 0.1s; }
.hey-demo-wave b:nth-child(3) { animation-delay: 0.2s; }
.hey-demo-wave b:nth-child(4) { animation-delay: 0.3s; }
.hey-demo-wave b:nth-child(5) { animation-delay: 0.4s; }
.hey-demo-wave b:nth-child(6) { animation-delay: 0.5s; }
.hey-demo-wave b:nth-child(7) { animation-delay: 0.6s; }

@keyframes hey-wave {
  0%, 100% { height: 7px; }
  50% { height: 24px; }
}

/* feature media 2: form + pointing cursor */

.hey-window-formdemo {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hey-form-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.12);
}

.hey-form-field {
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #fafbfc;
  text-decoration: none;
}

.hey-form-btn {
  align-self: flex-start;
  margin-top: 4px;
  padding: 9px 16px;
  border-radius: 8px;
  background: #1f883d;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.hey-point-cursor {
  position: absolute;
  left: 34%;
  bottom: 13%;
  width: 0;
  height: 0;
  border-left: 9px solid #3380ff;
  border-right: 9px solid transparent;
  border-bottom: 18px solid transparent;
  border-top: 18px solid #3380ff;
  border-radius: 3px;
  transform: rotate(-12deg);
  filter: drop-shadow(0 4px 8px rgba(51, 128, 255, 0.5));
}

.hey-point-speech {
  position: absolute;
  left: 14px;
  top: -34px;
  white-space: nowrap;
  background: #3380ff;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 12px 12px 12px 3px;
  box-shadow: 0 8px 20px -8px rgba(51, 128, 255, 0.6);
}

/* feature media 3: terminal */

.hey-window-termdemo {
  background: #1e1e2e;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 14px;
  color: #e6e6f0;
}

.hey-window-termdemo code {
  display: block;
}

.hey-term-prompt {
  color: #8fbaff;
}

.hey-term-ok {
  color: #46d17a;
}

/* —— Manifesto letter —— */

.hey-letter-band {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 84px 24px;
}

.hey-letter {
  position: relative;
  z-index: 1;
  max-width: 560px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  padding: 44px 48px 36px;
  box-shadow: 0 30px 70px -30px rgba(15, 23, 42, 0.35);
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 15px;
  line-height: 1.8;
  color: #2a2d35;
}

.hey-letter p {
  margin: 0 0 18px;
}

.hey-letter mark {
  background: #fff3a1;
  padding: 1px 5px;
  border-radius: 4px;
}

.hey-signature {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-top: 6px;
}

/* rainbow window cascades flanking the letter */

.hey-cascade {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hey-cascade i {
  display: block;
  width: 72px;
  height: 46px;
  border-radius: 9px;
  position: relative;
  box-shadow: 0 12px 22px -12px rgba(15, 23, 42, 0.35);
}

.hey-cascade i::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 12px;
  border-radius: 9px 9px 0 0;
  background: rgba(255, 255, 255, 0.65);
}

.hey-cascade i:nth-child(1) { background: #ffb4c6; }
.hey-cascade i:nth-child(2) { background: #ffc4ad; }
.hey-cascade i:nth-child(3) { background: #ffdf9a; }
.hey-cascade i:nth-child(4) { background: #d3ecab; }
.hey-cascade i:nth-child(5) { background: #a8e3c3; }
.hey-cascade i:nth-child(6) { background: #a9d5f5; }
.hey-cascade i:nth-child(7) { background: #c4a8ff; }

.hey-cascade-left i:nth-child(1) { transform: translateX(2px) rotate(-3deg); }
.hey-cascade-left i:nth-child(2) { transform: translateX(22px) rotate(-2deg); }
.hey-cascade-left i:nth-child(3) { transform: translateX(36px) rotate(-1deg); }
.hey-cascade-left i:nth-child(4) { transform: translateX(42px); }
.hey-cascade-left i:nth-child(5) { transform: translateX(36px) rotate(1deg); }
.hey-cascade-left i:nth-child(6) { transform: translateX(22px) rotate(2deg); }
.hey-cascade-left i:nth-child(7) { transform: translateX(2px) rotate(3deg); }

.hey-cascade-right i:nth-child(1) { transform: translateX(-2px) rotate(3deg); }
.hey-cascade-right i:nth-child(2) { transform: translateX(-22px) rotate(2deg); }
.hey-cascade-right i:nth-child(3) { transform: translateX(-36px) rotate(1deg); }
.hey-cascade-right i:nth-child(4) { transform: translateX(-42px); }
.hey-cascade-right i:nth-child(5) { transform: translateX(-36px) rotate(-1deg); }
.hey-cascade-right i:nth-child(6) { transform: translateX(-22px) rotate(-2deg); }
.hey-cascade-right i:nth-child(7) { transform: translateX(-2px) rotate(-3deg); }

/* —— Outcomes: compact wins —— */

.hey-wall {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}

.hey-wins {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
}

.hey-win {
  margin: 0;
  padding: 18px 20px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid rgba(27, 26, 46, 0.08);
  box-shadow: 0 10px 24px -18px rgba(27, 26, 46, 0.28);
  transform: rotate(-0.6deg);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.hey-win:nth-child(2) {
  transform: rotate(1.2deg);
  background: #fff8f1;
}

.hey-win:nth-child(3) {
  transform: rotate(-1.4deg);
  background: #f1f8ff;
}

.hey-win-wide {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 26px 24px;
  background: linear-gradient(165deg, #eef5ff 0%, #f7fbff 55%, #fff 100%);
  transform: rotate(-1deg);
}

.hey-win-accent {
  background: #f4fff0;
  transform: rotate(0.8deg);
}

.hey-win:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 16px 28px -16px rgba(27, 26, 46, 0.32);
}

.hey-win-label {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 18px;
  font-weight: 700;
  color: #3380ff;
  margin-bottom: 6px;
  line-height: 1;
}

.hey-win-wide .hey-win-label {
  font-size: 22px;
  margin-bottom: 12px;
}

.hey-win p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #2a2d35;
  font-weight: 600;
}

.hey-win-wide p {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.hey-wall-cta {
  text-align: center;
  margin: 28px 0 0;
  font-size: 16.5px;
}

.hey-wall-cta a {
  color: var(--ink-soft);
  text-decoration: none;
}

.hey-wall-cta strong {
  color: var(--accent);
}

.hey-wall-cta a:hover strong {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .hey-wins {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .hey-win-wide {
    grid-row: auto;
  }

  .hey-win,
  .hey-win-wide,
  .hey-win-accent,
  .hey-win:nth-child(2),
  .hey-win:nth-child(3) {
    transform: none;
  }
}

/* —— Pricing —— */

.hey-sky {
  position: relative;
  padding: 72px 0 88px;
  background: transparent;
}

.hey-sky-head {
  text-align: center;
}

.hey-sky-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-shadow: none;
}

.hey-sky-head p {
  margin: 0;
  font-size: 17px;
  color: var(--ink-soft);
  text-shadow: none;
}

.hey-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 880px;
  margin: 44px auto 0;
}

.hey-price-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  padding: 28px 28px 26px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 48px -28px rgba(60, 100, 170, 0.35);
}

.hey-price-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2f6fed;
  background: rgba(47, 111, 237, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
}

.hey-price-tag-ent {
  color: #7a4fd0;
  background: rgba(122, 79, 208, 0.12);
}

.hey-price-card h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  color: #1b1a2e;
}

.hey-price-amount {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1b1a2e;
}

.hey-price-note {
  margin: 2px 0 14px;
  color: var(--ink-soft);
  font-size: 15px;
}

.hey-price-card ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 15px;
  color: #2a2d35;
}

.hey-price-card ul li::before {
  content: "✓";
  color: #2f9e57;
  font-weight: 700;
  margin-right: 9px;
}

.hey-price-card .btn {
  margin-top: auto;
  align-self: stretch;
}

/* dark terminal card, like the maker-discount card */

.hey-terminal {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 24px;
  row-gap: 6px;
  max-width: 880px;
  margin: 22px auto 0;
  background: rgba(21, 22, 29, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 26px;
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 14.5px;
  color: #d7dae2;
  box-shadow: 0 24px 48px -28px rgba(10, 15, 30, 0.45);
}

.hey-terminal p {
  margin: 0;
  grid-column: 1;
}

.hey-terminal-copy {
  color: #9aa0ad;
}

.hey-terminal-btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  background: #fff;
  color: #15161d;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.hey-terminal-btn:hover {
  background: #e9ecf2;
  text-decoration: none;
}

/* —— FAQ restyle —— */

.hey-page .faq {
  padding: 84px 0;
}

.hey-page .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.hey-page .faq-item {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 20px -14px rgba(15, 23, 42, 0.15);
  padding: 0;
}

.hey-page .faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16.5px;
  font-weight: 600;
  color: #1b1a2e;
}

.hey-page .faq-item summary::-webkit-details-marker {
  display: none;
}

.hey-page .faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-soft);
  flex: none;
}

.hey-page .faq-item[open] summary::after {
  content: "×";
}

.hey-page .faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 15.5px;
}

/* —— Footer —— */

.hey-footer {
  position: relative;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 -12px 40px rgba(80, 130, 200, 0.08);
  padding-top: 56px;
}

.hey-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 52px;
}

.hey-footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
}

.hey-footer-head {
  font-weight: 700;
  color: #1b1a2e;
}

.hey-footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
}

.hey-footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.hey-footer-disclaimer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.hey-footer-credit {
  display: block;
  margin-block: 0;
  padding: 0 0 28px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.hey-footer-credit a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.hey-pixel-band {
  overflow: hidden;
  text-align: center;
  padding: 40px 0 26px;
  background:
    radial-gradient(ellipse 340px 90px at 18% 30%, rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(ellipse 300px 80px at 82% 60%, rgba(255, 255, 255, 0.4), transparent 70%),
    linear-gradient(180deg, rgba(234, 243, 255, 0.35) 0%, rgba(207, 228, 251, 0.45) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.hey-pixel {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(40px, 9vw, 92px);
  color: #3380ff;
  text-shadow: 0 5px 0 rgba(21, 80, 180, 0.3);
  line-height: 1;
  white-space: nowrap;
}

/* —— Responsive —— */

@media (max-width: 1120px) {
  .hey-scatter {
    display: none;
  }
}

@media (max-width: 900px) {
  .hey-feature {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 0;
  }

  .hey-feature-reverse .hey-feature-copy { order: 1; }
  .hey-feature-reverse .hey-feature-media { order: 2; }

  .hey-price-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .hey-terminal {
    grid-template-columns: 1fr;
  }

  .hey-terminal-btn {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 8px;
  }

  .hey-footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hey-hero {
    padding-top: 72px;
  }

  .hey-letter {
    padding: 30px 24px 24px;
  }
}

/* ============================================================
   HEY REDESIGN v2 — light intro, transparent chat surface,
   sky-grass framed feature demos with video-like CSS timelines,
   and extra depth/motion (3d hover, bobbing, neobrutal hovers)
   ============================================================ */

/* —— Intro, rebuilt light to match the site —— */

.hey-page .intro {
  background: #fbfbfd;
  color: var(--ink);
}

.hey-page .intro-skip-all {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.14);
}

.hey-page .intro-skip-all:hover {
  background: rgba(15, 23, 42, 0.12);
}

/* the veil behind the typed intro lines now melts into the page color
   instead of sitting on the old navy — "same color as the background" */
.hey-page .flood-veil {
  background: radial-gradient(ellipse at center, rgba(251, 251, 253, 0.5), rgba(251, 251, 253, 0.97) 72%);
  color: var(--ink);
}

.hey-page .flood-veil .type-line,
.hey-page .flood-veil .flood-type {
  color: var(--ink);
  text-shadow: none;
}

.hey-page .flood-kicker {
  color: var(--ink-soft);
}

.hey-page .type-line .caret {
  background: rgba(27, 26, 46, 0.85);
}

.hey-page .manifesto-type {
  color: var(--ink);
}

.hey-page .introducing-type {
  color: rgba(27, 26, 46, 0.45);
}

.hey-page .brand-sub {
  color: var(--ink-soft);
}

.hey-page .bam-flash {
  background: radial-gradient(circle, rgba(51, 128, 255, 0.35), transparent 55%);
}

.hey-page .flood-card-big {
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.hey-page .demo-browser {
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.07),
    0 30px 80px rgba(15, 23, 42, 0.22);
}

.hey-page .demo-phase {
  color: rgba(27, 26, 46, 0.45);
}

.hey-page .demo-phase.is-wait {
  color: #2f6fed;
}

.hey-page .demo-phase.is-done {
  color: #2f9e57;
}

/* —— Chat surface: bubbles sit straight on the page now —— */

.hey-page .chat-surface {
  background: transparent;
  padding: 10px 8px;
  min-height: 220px;
}

.hey-page .chat-tail-mask {
  background: #f3f7fc;
}

.hey-page .chat-bubble {
  max-width: 94%;
}

/* —— Sky-grass frame, reused from the hero window —— */

.hey-frame {
  border-radius: 24px;
  padding: 13px;
  background-image: url("sky-grass-border.jpg");
  background-size: cover;
  background-position: center;
  box-shadow:
    0 24px 60px -18px rgba(0, 0, 0, 0.4),
    0 6px 18px -8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.hey-frame:hover {
  transform: perspective(1100px) rotateX(1.6deg) rotateY(-2deg) translateY(-5px);
  box-shadow:
    0 34px 70px -20px rgba(0, 0, 0, 0.45),
    0 8px 22px -8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hey-frame .hey-window {
  border-radius: 14px;
}

/* ============================================================
   HERO SCENE — "someone builds their first website" as a
   16s looping CSS timeline, meant to read like a demo video
   ============================================================ */

.hey-scene {
  height: 340px;
  padding: 0;
  overflow: hidden;
  background: #fbfbfd;
}

.hey-site {
  height: 100%;
  padding: 18px 26px;
  display: flex;
  flex-direction: column;
}

.hey-site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: hey-scene-nav 16s var(--ease) infinite;
}

.hey-site-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #3380ff;
}

.hey-site-link {
  width: 44px;
  height: 8px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.14);
}

.hey-site-deploy {
  margin-left: auto;
  padding: 7px 16px;
  border-radius: 999px;
  background: #1b1a2e;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  animation: hey-scene-deploy 16s ease infinite;
}

.hey-site-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 34px;
}

.hey-site-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1b1a2e;
  white-space: nowrap;
  overflow: hidden;
  animation: hey-scene-type 16s steps(12, end) infinite;
}

.hey-site-sub {
  font-size: 16px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  animation: hey-scene-type2 16s steps(24, end) infinite;
}

.hey-site-cta {
  margin-top: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eaf3ff 0%, #cfe3ff 30%, #9dc2f5 70%, #7ea9ea 100%);
  border: 1px solid rgba(90, 140, 220, 0.55);
  box-shadow: 0 8px 18px -8px rgba(70, 110, 200, 0.5), inset 0 2px 3px rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  animation: hey-scene-pop 16s var(--ease) infinite;
  animation-delay: 0s;
  transform-origin: bottom left;
}

.hey-site-cards {
  display: flex;
  gap: 14px;
  margin-top: auto;
  padding-bottom: 4px;
}

.hey-site-cards u {
  flex: 1;
  height: 64px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  box-shadow: 0 8px 18px -12px rgba(15, 23, 42, 0.25);
  text-decoration: none;
}

.hey-site-cards u:nth-child(1) { animation: hey-scene-card1 16s var(--ease) infinite; }
.hey-site-cards u:nth-child(2) { animation: hey-scene-card2 16s var(--ease) infinite; }
.hey-site-cards u:nth-child(3) { animation: hey-scene-card3 16s var(--ease) infinite; }

.hey-scene-cursor {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #3380ff;
  clip-path: polygon(12% 8%, 92% 48%, 12% 92%);
  filter: drop-shadow(0 6px 14px rgba(51, 128, 255, 0.55));
  animation: hey-scene-cursor 16s var(--ease) infinite;
}

.hey-scene-speech {
  position: absolute;
  max-width: 250px;
  background: #3380ff;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  padding: 9px 13px;
  border-radius: 13px 13px 13px 4px;
  box-shadow: 0 12px 28px rgba(51, 128, 255, 0.4);
  opacity: 0;
}

.hey-scene-speech-1 {
  left: 40%;
  top: 22%;
  animation: hey-scene-speech1 16s ease infinite;
}

.hey-scene-speech-2 {
  right: 6%;
  top: 26%;
  border-radius: 13px 13px 4px 13px;
  animation: hey-scene-speech2 16s ease infinite;
}

.hey-scene-toast {
  position: absolute;
  left: 50%;
  bottom: 34%;
  transform: translateX(-50%) translateY(10px) scale(0.9);
  background: #1b1a2e;
  color: #7ef0a5;
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.4);
  opacity: 0;
  animation: hey-scene-toast 16s var(--ease) infinite;
}

/* a soft white blink hides the loop cut, like a video restarting */
.hey-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fbfbfd;
  opacity: 0;
  pointer-events: none;
  animation: hey-scene-blink 16s linear infinite;
}

@keyframes hey-scene-nav {
  0% { opacity: 0; transform: translateY(-14px); }
  4%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; }
}

@keyframes hey-scene-type {
  0%, 8% { width: 0; }
  22%, 100% { width: 12ch; }
}

@keyframes hey-scene-type2 {
  0%, 26% { width: 0; }
  40%, 100% { width: 39ch; }
}

@keyframes hey-scene-pop {
  0%, 42% { opacity: 0; transform: translateY(10px) scale(0.7); }
  46%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hey-scene-card1 {
  0%, 48% { opacity: 0; transform: translateY(16px); }
  52%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes hey-scene-card2 {
  0%, 51% { opacity: 0; transform: translateY(16px); }
  55%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes hey-scene-card3 {
  0%, 54% { opacity: 0; transform: translateY(16px); }
  58%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes hey-scene-cursor {
  0%   { left: 30%; top: 60%; }
  8%   { left: 24%; top: 34%; }
  24%  { left: 30%; top: 40%; }
  38%  { left: 26%; top: 52%; }
  46%  { left: 22%; top: 62%; transform: scale(1); }
  48%  { transform: scale(0.8); }
  50%  { transform: scale(1); }
  58%  { left: 78%; top: 30%; }
  66%  { left: 88%; top: 12%; transform: scale(1); }
  68%  { transform: scale(0.8); }
  70%  { transform: scale(1); }
  84%  { left: 74%; top: 66%; }
  100% { left: 30%; top: 60%; }
}

@keyframes hey-scene-deploy {
  0%, 62% { box-shadow: 0 0 0 0 rgba(51, 128, 255, 0); }
  64% { box-shadow: 0 0 0 6px rgba(51, 128, 255, 0.35); }
  67% { transform: scale(0.94); box-shadow: 0 0 0 3px rgba(51, 128, 255, 0.45); }
  70%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(51, 128, 255, 0); }
}

@keyframes hey-scene-speech1 {
  0%, 6% { opacity: 0; transform: translateY(8px) scale(0.92); }
  10%, 30% { opacity: 1; transform: none; }
  34%, 100% { opacity: 0; transform: translateY(-6px) scale(0.95); }
}

@keyframes hey-scene-speech2 {
  0%, 54% { opacity: 0; transform: translateY(8px) scale(0.92); }
  58%, 72% { opacity: 1; transform: none; }
  76%, 100% { opacity: 0; transform: translateY(-6px) scale(0.95); }
}

@keyframes hey-scene-toast {
  0%, 72% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.9); }
  76%, 93% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  97%, 100% { opacity: 0; transform: translateX(-50%) translateY(-6px) scale(0.95); }
}

@keyframes hey-scene-blink {
  0%, 97.5% { opacity: 0; }
  99% { opacity: 1; }
  100% { opacity: 0; }
}

/* ============================================================
   FEATURE DEMOS — looping timelines so each window feels
   like a short screen recording
   ============================================================ */

/* voice chat demo, 10s loop */

.hey-window-chatdemo .hey-demo-blue {
  animation: hey-chat-msg1 10s var(--ease) infinite;
  transform-origin: bottom right;
}

.hey-demo-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  background: linear-gradient(180deg, #fff3e6 0%, #f6c79a 100%);
  border: 1px solid rgba(220, 160, 110, 0.55);
  animation: hey-chat-typing 10s ease infinite;
}

.hey-demo-typing b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(120, 80, 40, 0.55);
  animation: typing-bounce 1.2s ease-in-out infinite;
}

.hey-demo-typing b:nth-child(2) { animation-delay: 0.18s; }
.hey-demo-typing b:nth-child(3) { animation-delay: 0.36s; }

.hey-window-chatdemo .hey-demo-orange {
  animation: hey-chat-msg2 10s var(--ease) infinite;
  transform-origin: bottom left;
}

@keyframes hey-chat-msg1 {
  0%, 4% { opacity: 0; transform: translateY(12px) scale(0.7); }
  8%, 94% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: translateY(-4px) scale(0.96); }
}

@keyframes hey-chat-typing {
  0%, 12% { opacity: 0; transform: translateY(8px) scale(0.8); }
  16%, 30% { opacity: 1; transform: none; }
  33%, 100% { opacity: 0; transform: scale(0.9); position: absolute; visibility: hidden; }
}

@keyframes hey-chat-msg2 {
  0%, 34% { opacity: 0; transform: translateY(12px) scale(0.7); }
  38%, 94% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: translateY(-4px) scale(0.96); }
}

/* the typing bubble needs to stop taking space once it's gone */
.hey-demo-typing {
  transform-origin: bottom left;
}

/* screen-pointing demo, 12s loop */

.hey-form-field-fill {
  background-image: linear-gradient(#dce9ff, #dce9ff);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  animation: hey-form-fill 12s ease infinite;
}

.hey-window-formdemo .hey-point-cursor {
  left: auto;
  bottom: auto;
  animation: hey-form-cursor 12s var(--ease) infinite;
}

.hey-window-formdemo .hey-point-speech {
  animation: hey-form-speech 12s ease infinite;
  opacity: 0;
}

.hey-form-chalk {
  position: absolute;
  left: 18px;
  bottom: 44px;
  width: 172px;
  height: 44px;
  border: 2px solid rgba(51, 128, 255, 0.85);
  border-radius: 10px;
  box-shadow: 0 0 0 4px rgba(51, 128, 255, 0.12);
  opacity: 0;
  animation: hey-form-chalk 12s ease infinite;
}

.hey-window-formdemo .hey-form-btn {
  animation: hey-form-btn 12s ease infinite;
}

@keyframes hey-form-fill {
  0%, 8% { background-size: 0% 100%; }
  26%, 100% { background-size: 82% 100%; }
}

@keyframes hey-form-cursor {
  0%   { left: 70%; top: 18%; }
  10%  { left: 46%; top: 26%; }
  30%  { left: 52%; top: 30%; }
  46%  { left: 30%; top: 70%; transform: rotate(-12deg) scale(1); }
  55%  { left: 24%; top: 76%; }
  60%  { transform: rotate(-12deg) scale(0.82); }
  64%  { transform: rotate(-12deg) scale(1); }
  86%  { left: 60%; top: 62%; }
  100% { left: 70%; top: 18%; }
}

@keyframes hey-form-speech {
  0%, 34% { opacity: 0; transform: translateY(6px); }
  40%, 74% { opacity: 1; transform: none; }
  80%, 100% { opacity: 0; }
}

@keyframes hey-form-chalk {
  0%, 42% { opacity: 0; }
  48%, 72% { opacity: 1; }
  78%, 100% { opacity: 0; }
}

@keyframes hey-form-btn {
  0%, 58% { transform: scale(1); filter: brightness(1); }
  61% { transform: scale(0.95); filter: brightness(0.9); }
  64%, 100% { transform: scale(1); filter: brightness(1); }
}

/* learner-model demo, 11s loop */

.hey-window-skilldemo {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.hey-skill {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hey-skill-name {
  width: 108px;
  font-size: 14.5px;
  font-weight: 600;
  color: #2a2d35;
}

.hey-skill-bar {
  flex: 1;
  height: 12px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.hey-skill-bar b {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #7ea9ea, #3380ff);
  width: 0;
}

.hey-skill-fill-1 { animation: hey-skill1 11s var(--ease) infinite; }
.hey-skill-fill-2 { animation: hey-skill2 11s var(--ease) infinite; }
.hey-skill-fill-3 { animation: hey-skill3 11s var(--ease) infinite; }
.hey-skill-fill-4 { animation: hey-skill4 11s var(--ease) infinite; }

.hey-skill-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8f8ee;
  color: #2f9e57;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.hey-check-1 { animation: hey-check 11s ease infinite; animation-delay: 0s; }
.hey-check-2 { animation: hey-check2 11s ease infinite; }
.hey-check-3 { animation: hey-check3 11s ease infinite; }

.hey-skill-chip,
.hey-review-chip {
  font-size: 12px;
  font-weight: 700;
  color: #2f6fed;
  background: rgba(47, 111, 237, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.hey-skill-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  animation: hey-skill-footer 11s ease infinite;
}

.hey-streak {
  font-size: 14px;
  font-weight: 700;
  color: #1b1a2e;
}

@keyframes hey-skill1 {
  0%, 6% { width: 0; } 22%, 100% { width: 92%; }
}

@keyframes hey-skill2 {
  0%, 14% { width: 0; } 32%, 100% { width: 76%; }
}

@keyframes hey-skill3 {
  0%, 24% { width: 0; } 44%, 100% { width: 58%; }
}

@keyframes hey-skill4 {
  0%, 36% { width: 0; } 54%, 100% { width: 22%; }
}

@keyframes hey-check {
  0%, 20% { opacity: 0; transform: scale(0.4); }
  25%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes hey-check2 {
  0%, 30% { opacity: 0; transform: scale(0.4); }
  35%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes hey-check3 {
  0%, 42% { opacity: 0; transform: scale(0.4); }
  47%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes hey-skill-footer {
  0%, 52% { opacity: 0; transform: translateY(8px); }
  60%, 100% { opacity: 1; transform: none; }
}

/* ============================================================
   DEPTH & MOTION EXTRAS
   ============================================================ */

/* hero scatter windows gently bob, like they're floating */

.hey-mini {
  animation: hey-bob 7s ease-in-out infinite;
}

.hey-mini-chat     { animation-delay: -1.2s; }
.hey-mini-terminal { animation-delay: -2.4s; }
.hey-mini-form     { animation-delay: -3.6s; }
.hey-mini-note     { animation-delay: -4.2s; }
.hey-mini-editor2  { animation-delay: -5.1s; }
.hey-mini-claude   { animation-delay: -6s; }

@keyframes hey-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

/* the letter leans like a pinned note and straightens on hover */

.hey-letter {
  transform: rotate(-0.7deg);
  transition: transform 0.3s var(--ease);
}

.hey-letter:hover {
  transform: rotate(0deg);
}

/* glassy hover lift for pricing cards */

.hey-price-card {
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.hey-price-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 32px 60px -28px rgba(60, 100, 170, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .hey-scene *,
  .hey-scene::after,
  .hey-window-chatdemo *,
  .hey-window-formdemo *,
  .hey-window-skilldemo *,
  .hey-mini {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .hey-scene {
    height: 280px;
  }

  .hey-site-title {
    font-size: 26px;
  }

  .hey-site-sub {
    font-size: 13px;
  }
}

/* ============================================================
   HEY REDESIGN v3 — maximalist Frutiger Aero pass
   diversified demos (design studio, spreadsheet, AI prompting),
   capability strip, glossy bubbles, aurora background
   ============================================================ */

/* —— Richer, glossier page background (aurora mesh, fixed) —— */

body.hey-page {
  background: #f5f6f8;
}

.hey-page .intro {
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(126, 214, 255, 0.4), transparent 62%),
    radial-gradient(55% 45% at 85% 100%, rgba(198, 176, 255, 0.32), transparent 62%),
    #eef8ff;
}

/* header a touch glassier for the aero look */
.hey-page .site-header {
  background: rgba(240, 249, 255, 0.72);
}

/* —— Glossy floating bubbles —— */

.hey-bubble {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.4) 30%,
      rgba(150, 205, 255, 0.28) 58%, rgba(120, 180, 255, 0.05) 100%);
  box-shadow:
    inset 0 0 14px rgba(255, 255, 255, 0.6),
    inset 0 -6px 12px rgba(120, 180, 255, 0.25),
    0 10px 24px rgba(80, 140, 220, 0.18);
  pointer-events: none;
}

.hey-bubble::after {
  content: "";
  position: absolute;
  left: 22%;
  top: 16%;
  width: 26%;
  height: 20%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  filter: blur(1px);
}

.hey-hero-media .hey-frame { position: relative; z-index: 1; }

.hb-1 { width: 74px; height: 74px; left: -34px; top: 12%;  animation: hey-float-a 9s ease-in-out infinite; }
.hb-2 { width: 46px; height: 46px; right: -22px; top: 26%; animation: hey-float-b 11s ease-in-out infinite; }
.hb-3 { width: 30px; height: 30px; left: 8%; bottom: -18px; animation: hey-float-a 7.5s ease-in-out infinite; }
.hb-4 { width: 58px; height: 58px; right: 12%; bottom: -30px; animation: hey-float-b 10s ease-in-out infinite; }
.hb-5 { width: 22px; height: 22px; left: 46%; top: -16px; animation: hey-float-a 8.5s ease-in-out infinite; }

@keyframes hey-float-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -16px); }
}

@keyframes hey-float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -20px); }
}

/* —— Glossier aqua buttons & pills (Aqua-style highlight) —— */

.hey-page .btn::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.15) 46%, rgba(255, 255, 255, 0) 100%);
}

.hey-page .btn-primary {
  background: linear-gradient(180deg, #f0f7ff 0%, #cfe3ff 28%, #93bdf5 66%, #6fa0ea 100%);
}

.hey-label-bubble,
.hey-price-tag {
  position: relative;
  overflow: hidden;
}

.hey-label-bubble::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 3px;
  height: 42%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
  pointer-events: none;
}

/* ============================================================
   HERO — DESIGN STUDIO SCENE (16s loop, "design a poster")
   ============================================================ */

.hey-studio {
  height: 340px;
  padding: 0;
  overflow: hidden;
  display: flex;
  background:
    linear-gradient(180deg, #f7fafd, #eef2f7);
}

.hey-studio-rail {
  width: 46px;
  flex: none;
  background: #22242e;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}

.hey-studio-rail b {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
}

.hey-studio-rail b.is-active {
  background: #3380ff;
  box-shadow: 0 0 0 3px rgba(51, 128, 255, 0.3);
}

.hey-studio-canvas {
  flex: 1;
  display: grid;
  place-items: center;
  background:
    repeating-conic-gradient(#eef1f5 0% 25%, #e6eaef 0% 50%) 0 0 / 22px 22px;
}

.hey-poster {
  position: relative;
  width: 156px;
  height: 214px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px -14px rgba(15, 23, 42, 0.5);
}

.hey-poster-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #ffcf6b 0%, #ff6fae 52%, #8f6bff 100%);
  opacity: 0;
  animation: hey-poster-bg 16s ease infinite;
}

.hey-poster-blob {
  position: absolute;
  right: -26px;
  top: -26px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.1) 60%);
  opacity: 0;
  transform: scale(0.4);
  animation: hey-poster-blob 16s var(--ease) infinite;
}

.hey-poster-title {
  position: absolute;
  left: 16px;
  top: 60px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: scale(0.5);
  transform-origin: left top;
  animation: hey-poster-title 16s var(--ease) infinite;
}

.hey-poster-tag {
  position: absolute;
  left: 16px;
  bottom: 22px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  opacity: 0;
  animation: hey-poster-tag 16s ease infinite;
}

.hey-poster-sticker {
  position: absolute;
  right: 14px;
  bottom: 60px;
  font-size: 30px;
  color: #fff8c9;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  opacity: 0;
  transform: scale(0.2) rotate(-30deg);
  animation: hey-poster-sticker 16s var(--ease) infinite;
}

.hey-studio-layers {
  width: 88px;
  flex: none;
  background: #f4f6f9;
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 12px;
}

.hey-studio-layers b {
  height: 14px;
  border-radius: 5px;
  background: rgba(15, 23, 42, 0.12);
  opacity: 0;
  transform: translateX(10px);
}

.hey-studio-layers b:nth-child(1) { animation: hey-layer 16s ease infinite; animation-delay: 0s; }
.hey-studio-layers b:nth-child(2) { animation: hey-layer 16s ease infinite; animation-delay: 0.4s; }
.hey-studio-layers b:nth-child(3) { animation: hey-layer 16s ease infinite; animation-delay: 0.8s; }

.hey-studio-speech-1 { left: 30%; top: 20%; animation: hey-scene-speech1 16s ease infinite; }
.hey-studio-speech-2 { right: 8%; top: 24%; border-radius: 13px 13px 4px 13px; animation: hey-scene-speech2 16s ease infinite; }

.hey-studio-cursor { animation-name: hey-studio-cursor; }

.hey-studio-toast { animation-name: hey-studio-toast; }

.hey-studio::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #f7fafd;
  opacity: 0;
  pointer-events: none;
  animation: hey-scene-blink 16s linear infinite;
}

@keyframes hey-poster-bg {
  0%, 8% { opacity: 0; }
  14%, 100% { opacity: 1; }
}

@keyframes hey-poster-blob {
  0%, 18% { opacity: 0; transform: scale(0.4); }
  24% { opacity: 1; transform: scale(1.08); }
  28%, 100% { opacity: 0.85; transform: scale(1); }
}

@keyframes hey-poster-title {
  0%, 28% { opacity: 0; transform: scale(0.5); }
  33% { opacity: 1; transform: scale(1); }
  44% { transform: scale(1); }
  50% { transform: scale(1.22); }
  54%, 100% { opacity: 1; transform: scale(1.22); }
}

@keyframes hey-poster-tag {
  0%, 54% { opacity: 0; transform: translateY(6px); }
  60%, 100% { opacity: 1; transform: none; }
}

@keyframes hey-poster-sticker {
  0%, 60% { opacity: 0; transform: scale(0.2) rotate(-30deg); }
  66% { opacity: 1; transform: scale(1.2) rotate(6deg); }
  70%, 100% { opacity: 1; transform: scale(1) rotate(-4deg); }
}

@keyframes hey-layer {
  0%, 30% { opacity: 0; transform: translateX(10px); }
  40%, 100% { opacity: 1; transform: none; }
}

@keyframes hey-studio-cursor {
  0%   { left: 12%; top: 30%; }
  8%   { left: 9%;  top: 46%; transform: scale(1); }
  10%  { transform: scale(0.8); }
  12%  { transform: scale(1); }
  24%  { left: 44%; top: 56%; }
  34%  { left: 40%; top: 34%; }
  46%  { left: 58%; top: 24%; transform: scale(1); }
  50%  { transform: scale(0.8); }
  52%  { transform: scale(1); }
  62%  { left: 62%; top: 60%; transform: scale(1); }
  64%  { transform: scale(0.8); }
  66%  { transform: scale(1); }
  84%  { left: 40%; top: 72%; }
  100% { left: 12%; top: 30%; }
}

@keyframes hey-studio-toast {
  0%, 72% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.9); }
  76%, 93% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  97%, 100% { opacity: 0; transform: translateX(-50%) translateY(-6px) scale(0.95); }
}

/* ============================================================
   FEATURE 2 — SPREADSHEET DEMO (12s loop, "which formula?")
   ============================================================ */

.hey-window-sheetdemo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.hey-sheet {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  overflow: hidden;
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 14px;
  color: #2a2d35;
  background: #fff;
}

.hey-sheet-row {
  display: grid;
  grid-template-columns: 40px 1fr 1fr 1fr;
}

.hey-sheet-row > span {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.hey-sheet-row > span:last-child { border-right: 0; }
.hey-sheet-row:last-child > span { border-bottom: 0; }

.hey-sheet-head > span,
.hey-sheet-row > span:first-child {
  background: #f1f4f8;
  color: #7c8291;
  font-weight: 600;
  text-align: center;
}

.hey-sheet-total > span {
  background: #fffaea;
  font-weight: 700;
}

.hey-sheet-total {
  background: #fffaea;
}

.hey-sheet-cell {
  position: relative;
  padding: 0 !important;
}

.hey-sheet-formula,
.hey-sheet-result {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.hey-sheet-formula {
  color: #2f6fed;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: hey-sheet-type 12s steps(11, end) infinite, hey-sheet-formula-hide 12s ease infinite;
}

.hey-sheet-result {
  color: #1b1a2e;
  font-weight: 700;
  opacity: 0;
  animation: hey-sheet-result 12s ease infinite;
}

.hey-sheet-chalk {
  position: absolute;
  right: 24px;
  bottom: 26px;
  width: 118px;
  height: 42px;
  border: 2px solid rgba(51, 128, 255, 0.85);
  border-radius: 9px;
  box-shadow: 0 0 0 4px rgba(51, 128, 255, 0.12);
  opacity: 0;
  animation: hey-sheet-chalk 12s ease infinite;
}

.hey-window-sheetdemo .hey-point-cursor {
  left: auto;
  bottom: auto;
  animation: hey-sheet-cursor 12s var(--ease) infinite;
}

.hey-window-sheetdemo .hey-point-speech {
  opacity: 0;
  animation: hey-form-speech 12s ease infinite;
}

@keyframes hey-sheet-type {
  0%, 16% { width: 0; }
  36%, 100% { width: 11ch; }
}

@keyframes hey-sheet-formula-hide {
  0%, 48% { opacity: 1; }
  52%, 100% { opacity: 0; }
}

@keyframes hey-sheet-result {
  0%, 50% { opacity: 0; transform: scale(0.9); }
  56%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes hey-sheet-chalk {
  0%, 40% { opacity: 0; }
  46%, 82% { opacity: 1; }
  88%, 100% { opacity: 0; }
}

@keyframes hey-sheet-cursor {
  0%   { right: 10%; top: 14%; }
  12%  { right: 16%; top: 62%; transform: rotate(-12deg) scale(1); }
  22%  { right: 20%; top: 66%; }
  28%  { transform: rotate(-12deg) scale(0.82); }
  32%  { transform: rotate(-12deg) scale(1); }
  70%  { right: 16%; top: 62%; }
  86%  { right: 44%; top: 30%; }
  100% { right: 10%; top: 14%; }
}

/* ============================================================
   CAPABILITY STRIP — soft logo wall behind the headline
   ============================================================ */

.hey-apps {
  position: relative;
  padding: 72px 24px 48px;
  text-align: center;
  overflow: hidden;
}

.hey-apps-wall {
  position: absolute;
  inset: 8% 4% 18%;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(18px, 4vw, 40px);
  opacity: 0.34;
  pointer-events: none;
  filter: saturate(1.05);
}

.hey-apps-logo {
  width: clamp(34px, 5vw, 52px);
  height: clamp(34px, 5vw, 52px);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.12));
}

.hey-apps-wall .hey-apps-logo:nth-child(odd) { transform: rotate(-6deg); }
.hey-apps-wall .hey-apps-logo:nth-child(even) { transform: rotate(5deg); }
.hey-apps-wall .hey-apps-logo:nth-child(3n) { transform: rotate(-2deg) scale(1.08); }
.hey-apps-wall .hey-apps-logo:nth-child(5n) { transform: rotate(8deg) scale(0.92); }

.hey-apps .hey-section-head {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.hey-apps .hey-section-head h2,
.hey-apps .hey-section-head p {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* keep colored chips for enterprise demos */
.ac-claude  { background: #d97757; }
.ac-gpt     { background: #10a37f; }
.ac-figma   { background: linear-gradient(135deg, #f24e1e, #a259ff); }
.ac-excel   { background: #217346; }
.ac-code    { background: #23a9f2; }
.ac-music   { background: linear-gradient(135deg, #ff8c42, #ff5c7d); }
.ac-git     { background: #1b1a2e; }
.ac-notion  { background: #111; }
.ac-term    { background: #333; }
.ac-canva   { background: linear-gradient(135deg, #00c4cc, #7d2ae8); }
.ac-blender { background: #ea7600; }
.ac-photo   { background: #31a8ff; }

.hey-apps-foot {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 16.5px;
  color: var(--ink-soft);
}

.hey-apps-foot strong { color: var(--ink); }

@media (max-width: 640px) {
  .hey-apps { padding: 56px 16px 36px; }
  .hey-apps-wall {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    opacity: 0.18;
    inset: 6% 2% 22%;
  }
  .hey-studio { height: 300px; }
  .hey-studio-layers { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hey-studio *, .hey-studio::after,
  .hey-window-sheetdemo *,
  .hey-bubble {
    animation: none !important;
  }
  .hey-poster-bg, .hey-poster-title, .hey-poster-tag,
  .hey-poster-blob, .hey-poster-sticker,
  .hey-studio-layers b, .hey-sheet-result { opacity: 1; }
  .hey-sheet-formula { width: 11ch; }
}

/* ============================================================
   HEY REDESIGN v4 — VHS analog personality
   REC badges + ticking timecode, scanlines, tape tracking,
   film grain, chromatic-aberration glitch, rotating sticker
   ============================================================ */

/* —— Film grain + scanline wash over the whole page —— */

.hey-grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.05) 0px,
      rgba(0, 0, 0, 0.05) 1px,
      transparent 1px,
      transparent 3px
    ),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  background-size: 100% 3px, 140px 140px;
  animation: hey-grain-shift 0.9s steps(4) infinite;
}

@keyframes hey-grain-shift {
  0%   { background-position: 0 0, 0 0; }
  25%  { background-position: 0 -1px, -20px 12px; }
  50%  { background-position: 0 1px, 14px -18px; }
  75%  { background-position: 0 0, -12px -8px; }
  100% { background-position: 0 -1px, 18px 16px; }
}

/* the intro overlay sits above the grain */
.hey-page .intro { z-index: 1000; }

/* —— Demo windows become VHS recordings —— */

.hey-rec-window { position: relative; }

/* scanlines + a soft chromatic edge over each recording */
.hey-rec-window::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  border-radius: inherit;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.06) 0px,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px,
      transparent 3px
    );
  mix-blend-mode: multiply;
  opacity: 0.7;
  box-shadow:
    inset 2px 0 6px -2px rgba(255, 0, 80, 0.28),
    inset -2px 0 6px -2px rgba(0, 220, 255, 0.28);
}

/* a tracking band that jitters down the tape every few seconds */
.hey-rec-window::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 26px;
  z-index: 7;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.5) 40%,
    rgba(160, 210, 255, 0.35) 55%,
    transparent
  );
  filter: blur(0.5px);
  opacity: 0;
  animation: hey-tracking 7s ease-in infinite;
}

@keyframes hey-tracking {
  0%, 82% { opacity: 0; transform: translateY(0) scaleY(1); }
  84% { opacity: 0.9; transform: translateY(0) scaleY(1.4); }
  92% { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(360px) scaleY(0.8); }
}

/* REC badge in the window title bar */
.hey-window-bar { position: relative; }

.hey-rec {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d81f3a;
  z-index: 8;
}

.hey-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2d43;
  box-shadow: 0 0 6px rgba(255, 45, 67, 0.9);
  animation: hey-rec-blink 1.1s steps(1) infinite;
}

@keyframes hey-rec-blink {
  50% { opacity: 0.15; }
}

.hey-tc {
  min-width: 4ch;
  color: #4a4f57;
  letter-spacing: 0.06em;
}

.hey-tc::after {
  content: "00:12";
  animation: hey-tc 12s steps(1) infinite;
}

@keyframes hey-tc {
  0%   { content: "00:12"; }
  8%   { content: "00:13"; }
  16%  { content: "00:14"; }
  25%  { content: "00:15"; }
  33%  { content: "00:16"; }
  41%  { content: "00:17"; }
  50%  { content: "00:18"; }
  58%  { content: "00:19"; }
  66%  { content: "00:20"; }
  75%  { content: "00:21"; }
  83%  { content: "00:22"; }
  91%  { content: "00:23"; }
}

/* keep the centered window title from colliding with the REC badge */
.hey-rec-window .hey-window-bar span:not(.hey-rec) {
  padding-right: 72px;
  padding-left: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* —— Chromatic-aberration glitch on the wordmarks —— */

.hey-wordmark {
  position: relative;
  cursor: default;
}

.hey-wordmark::before,
.hey-wordmark::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.hey-wordmark:hover::before {
  color: #ff2d6b;
  animation: hey-glitch-r 0.4s steps(2) 2;
}

.hey-wordmark:hover::after {
  color: #00e5ff;
  animation: hey-glitch-l 0.4s steps(2) 2;
}

@keyframes hey-glitch-r {
  0%, 100% { opacity: 0; transform: translate(0, 0); }
  20% { opacity: 0.8; transform: translate(3px, -2px); }
  60% { opacity: 0.8; transform: translate(-2px, 2px); }
}

@keyframes hey-glitch-l {
  0%, 100% { opacity: 0; transform: translate(0, 0); }
  20% { opacity: 0.8; transform: translate(-3px, 2px); }
  60% { opacity: 0.8; transform: translate(2px, -2px); }
}

/* pixel footer wordmark: permanent low RGB split + occasional jump */
.hey-pixel {
  position: relative;
}

.hey-pixel::before,
.hey-pixel::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  pointer-events: none;
}

.hey-pixel::before {
  color: #ff2d6b;
  transform: translate(-2px, 0);
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: hey-pixel-glitch 5s steps(1) infinite;
}

.hey-pixel::after {
  color: #12e0ff;
  transform: translate(2px, 0);
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: hey-pixel-glitch 5s steps(1) infinite reverse;
}

@keyframes hey-pixel-glitch {
  0%, 90% { transform: translate(-2px, 0); }
  92% { transform: translate(-6px, 2px); }
  94% { transform: translate(5px, -2px); }
  96% { transform: translate(-3px, 1px); }
  100% { transform: translate(-2px, 0); }
}

/* —— Rotating VHS sticker on the hero —— */

.hey-stamp {
  position: absolute;
  left: -26px;
  top: -18px;
  width: 108px;
  height: 108px;
  z-index: 3;
  filter: drop-shadow(0 8px 18px rgba(51, 128, 255, 0.28));
}

.hey-stamp svg {
  width: 100%;
  height: 100%;
  animation: hey-spin 14s linear infinite;
}

.hey-stamp text {
  font-family: var(--font-display);
  font-size: 11.2px;
  font-weight: 800;
  letter-spacing: 0.02em;
  fill: #1b1a2e;
  text-transform: lowercase;
}

.hey-stamp-mid {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, #eaf3ff 0%, #9dc2f5 70%, #6fa0ea 100%);
  border: 1px solid rgba(90, 140, 220, 0.55);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.9), 0 4px 10px rgba(70, 110, 200, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #123;
  font-size: 15px;
  padding-left: 3px;
}

@keyframes hey-spin {
  to { transform: rotate(360deg); }
}

/* —— little personality bits —— */

.hey-tagline-wink {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .hey-grain,
  .hey-rec-window::before,
  .hey-rec-dot,
  .hey-tc::after,
  .hey-stamp svg,
  .hey-pixel::before,
  .hey-pixel::after {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .hey-stamp { display: none; }
  .hey-tagline-wink { display: block; }
  .hey-grain { opacity: 0.35; }
  /* the REC badge crowds the title on narrow bars — scanlines still sell the tape look */
  .hey-rec { display: none; }
  .hey-rec-window .hey-window-bar span:not(.hey-rec) {
    padding-right: 12px;
  }
}

/* ============================================================
   HEY REDESIGN v5 — Teachy's own identity
   AI-fluency positioning, highlighter "tutor" motif, verified
   stamps, and the serious enterprise theme + its demos
   ============================================================ */

/* —— Eyebrow badge above the wordmark —— */

.hey-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(90, 140, 220, 0.32);
  box-shadow: 0 6px 16px -8px rgba(60, 100, 170, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #2f4a7a;
}

.hey-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3380ff;
  box-shadow: 0 0 8px rgba(51, 128, 255, 0.9);
  animation: hey-eyebrow-pulse 1.8s ease-in-out infinite;
}

@keyframes hey-eyebrow-pulse {
  50% { transform: scale(1.35); opacity: 0.6; }
}

/* —— Highlighter marker: Teachy's signature "tutor" mark —— */

.hl {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

.hl::before {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: 0.22em;
  height: 0.62em;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 233, 122, 0.95), rgba(255, 209, 64, 0.9));
  border-radius: 4px 8px 5px 9px;
  transform: rotate(-1.4deg) scaleX(0);
  transform-origin: left center;
  animation: hey-hl-swipe 0.85s cubic-bezier(0.5, 0, 0.2, 1) 0.5s both;
  mix-blend-mode: multiply;
}

@keyframes hey-hl-swipe {
  to { transform: rotate(-1.4deg) scaleX(1); }
}

/* ============================================================
   ENTERPRISE THEME — institutional / Fortune 500 tone
   Self-contained under .ent-page. No consumer hey-window demos.
   ============================================================ */

body.ent-page {
  --ent-ink: #0b0d12;
  --ent-ink-soft: #5c6170;
  --ent-line: rgba(11, 13, 18, 0.12);
  --ent-accent: #1e3a5f;
  --ent-accent-soft: rgba(30, 58, 95, 0.08);
  --ent-surface: #ffffff;
  --ent-bg: #f4f3f0;
  --ent-panel: #fafaf8;
  --ent-display: "IBM Plex Serif", "Iowan Old Style", Georgia, serif;
  --ent-sans: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  --ent-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --accent: #1e3a5f;

  margin: 0;
  font-family: var(--ent-sans);
  color: var(--ent-ink);
  background: var(--ent-bg);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

body.ent-page a {
  color: inherit;
}

body.ent-page a:hover {
  text-decoration: none;
}

body.ent-page .ent-btn-primary,
body.ent-page .ent-nav-cta {
  color: #f7f6f3;
}

body.ent-page .ent-btn-primary:hover,
body.ent-page .ent-nav-cta:hover {
  color: #fff;
}

body.ent-page .ent-cta .ent-btn-primary {
  color: var(--ent-ink);
}

body.ent-page .ent-cta .ent-btn-primary:hover {
  color: #12263f;
}

body.ent-page .wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* —— Header —— */

.ent-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 243, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ent-line);
}

.ent-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}

.ent-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ent-sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ent-ink);
  text-decoration: none;
}

.ent-logo:hover {
  text-decoration: none;
  color: var(--ent-ink);
}

.ent-logo-mark {
  width: 10px;
  height: 10px;
  background: var(--ent-accent);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.ent-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ent-nav a {
  font-family: var(--ent-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ent-ink-soft);
  text-decoration: none;
  padding: 8px 12px;
}

.ent-nav a:hover {
  color: var(--ent-ink);
  text-decoration: none;
}

.ent-nav a[aria-current="page"] {
  color: var(--ent-ink);
}

.ent-nav-cta {
  margin-left: 8px !important;
  background: var(--ent-ink) !important;
  color: #f7f6f3 !important;
  padding: 9px 16px !important;
  border-radius: 2px !important;
  font-weight: 600 !important;
}

.ent-nav-cta:hover {
  background: var(--ent-accent) !important;
  color: #fff !important;
}

/* —— Buttons —— */

.ent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ent-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 2px;
  padding: 12px 20px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ent-btn:hover {
  text-decoration: none;
}

.ent-btn-primary {
  background: var(--ent-ink);
  color: #f7f6f3;
}

.ent-btn-primary:hover {
  background: var(--ent-accent);
  color: #fff;
}

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

.ent-btn-ghost:hover {
  border-color: rgba(11, 13, 18, 0.28);
  color: var(--ent-ink);
  background: rgba(255, 255, 255, 0.55);
}

.ent-btn-wide {
  width: 100%;
}

/* —— Hero —— */

.ent-hero {
  padding: 72px 0 0;
}

.ent-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.ent-kicker,
.ent-label {
  margin: 0 0 14px;
  font-family: var(--ent-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ent-accent);
}

.ent-title {
  margin: 0;
  font-family: var(--ent-display);
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ent-ink);
}

.ent-lede {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ent-ink-soft);
}

.ent-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* —— Static product panels —— */

.ent-panel {
  background: var(--ent-surface);
  border: 1px solid var(--ent-line);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(11, 13, 18, 0.35);
}

.ent-panel-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--ent-line);
  background: var(--ent-panel);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ent-ink-soft);
}

.ent-panel-meta span:first-child {
  color: var(--ent-ink);
  font-weight: 600;
}

.ent-panel-body {
  padding: 20px 18px 22px;
  background: var(--ent-surface);
}

.ent-panel-doc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.ent-panel-doc-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ent-ink-soft);
}

.ent-line {
  display: block;
  height: 8px;
  border-radius: 1px;
  background: rgba(11, 13, 18, 0.08);
}

.ent-panel-callout {
  border: 1px solid var(--ent-line);
  border-left: 3px solid var(--ent-accent);
  background: var(--ent-panel);
  padding: 14px 16px;
}

.ent-panel-callout-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ent-accent);
}

.ent-panel-callout-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ent-ink);
}

.ent-panel-callout-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ent-ink-soft);
}

.ent-anim-callout {
  opacity: 0;
  transform: translateY(12px);
  animation: ent-callout-in 8s ease-in-out infinite;
}

@keyframes ent-callout-in {
  0%, 12% { opacity: 0; transform: translateY(12px); }
  22%, 88% { opacity: 1; transform: translateY(0); }
  96%, 100% { opacity: 0; transform: translateY(6px); }
}

.ent-panel-steps ol {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ent-panel-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ent-ink-soft);
  opacity: 0.45;
}

.ent-panel-steps li span {
  flex: none;
  font-family: var(--ent-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ent-ink-soft);
  min-width: 22px;
  padding-top: 1px;
}

.ent-step-1 { animation: ent-step-on 10s ease infinite; }
.ent-step-2 { animation: ent-step-on 10s ease infinite 1.6s; }
.ent-step-3 { animation: ent-step-on 10s ease infinite 3.2s; }

@keyframes ent-step-on {
  0%, 8% { opacity: 0.4; color: var(--ent-ink-soft); }
  14%, 100% { opacity: 1; color: var(--ent-ink); font-weight: 500; }
}

.ent-step-1 span,
.ent-step-2 span,
.ent-step-3 span {
  animation: ent-step-num 10s ease infinite;
}

.ent-step-2 span { animation-delay: 1.6s; }
.ent-step-3 span { animation-delay: 3.2s; }

@keyframes ent-step-num {
  0%, 8% { color: var(--ent-ink-soft); }
  14%, 100% { color: var(--ent-accent); }
}

.ent-panel-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--ent-line);
  background: var(--ent-panel);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ent-ink-soft);
}

.ent-anim-coach {
  opacity: 0;
  transform: translateY(8px);
  animation: ent-coach-in 10s ease infinite;
}

@keyframes ent-coach-in {
  0%, 38% { opacity: 0; transform: translateY(8px); }
  46%, 90% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; }
}

/* —— Guard scene: paste → popup → route —— */

.ent-guard-scene {
  position: relative;
  min-height: 300px;
  padding: 18px;
  overflow: hidden;
  background: #f7f6f3;
}

.ent-guard-chat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: 264px;
}

.ent-guard-bubble {
  align-self: flex-start;
  max-width: 72%;
  padding: 10px 12px;
  border: 1px solid var(--ent-line);
  background: #fff;
  font-size: 13px;
  color: var(--ent-ink-soft);
}

.ent-guard-composer {
  position: relative;
  border: 1px solid var(--ent-line);
  background: #fff;
  padding: 14px 14px 16px;
  min-height: 88px;
}

.ent-guard-placeholder {
  display: block;
  font-size: 13px;
  color: rgba(11, 13, 18, 0.35);
  margin-bottom: 10px;
}

.ent-guard-paste {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(138, 59, 50, 0.28);
  background: #faf6f5;
  font-family: var(--ent-mono);
  font-size: 12px;
  line-height: 1.4;
  color: #8a3b32;
  opacity: 0;
  transform: translateY(8px);
  animation: ent-guard-paste 10s ease infinite;
}

.ent-guard-paste-label {
  font-family: var(--ent-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e2f28;
  background: rgba(138, 59, 50, 0.1);
  padding: 2px 6px;
}

.ent-guard-veil {
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 18, 0.34);
  opacity: 0;
  animation: ent-guard-veil 10s ease infinite;
  pointer-events: none;
  z-index: 1;
}

.ent-guard-popup {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 42px;
  z-index: 3;
  background: #fff;
  border: 1px solid rgba(110, 47, 40, 0.4);
  border-left: 3px solid #8a3b32;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 28px 56px -18px rgba(11, 13, 18, 0.55);
  padding: 18px 18px 16px;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  animation: ent-guard-popup 10s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.ent-guard-routed {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  padding: 11px 14px;
  border: 1px solid rgba(42, 90, 60, 0.3);
  background: #f3f8f5;
  font-size: 13px;
  font-weight: 600;
  color: #2a5a3c;
  opacity: 0;
  transform: translateY(8px);
  animation: ent-guard-routed 10s ease infinite;
}

@keyframes ent-guard-paste {
  0%, 6% { opacity: 0; transform: translateY(8px); }
  12%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; }
}

@keyframes ent-guard-veil {
  0%, 14% { opacity: 0; }
  20%, 82% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

@keyframes ent-guard-popup {
  0%, 14% {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  20% {
    opacity: 1;
    transform: translateY(0) scale(1.02);
  }
  24% {
    transform: translateX(-3px) scale(1);
  }
  27% {
    transform: translateX(3px) scale(1);
  }
  30%, 82% {
    opacity: 1;
    transform: none;
  }
  90%, 100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

@keyframes ent-guard-routed {
  0%, 82% { opacity: 0; transform: translateY(8px); }
  88%, 94% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; }
}

.ent-guard-popup-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ent-guard-popup-mark {
  width: 8px;
  height: 8px;
  background: #8a3b32;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.ent-guard-popup-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e2f28;
}

.ent-guard-popup-title {
  margin: 0 0 8px;
  font-family: var(--ent-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ent-ink);
}

.ent-guard-popup-body {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ent-ink-soft);
}

.ent-guard-popup-action {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: var(--ent-ink);
  padding: 10px 14px;
}

.ent-panel-table {
  padding: 0;
  overflow-x: auto;
}

.ent-panel-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ent-panel-table th,
.ent-panel-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ent-line);
  vertical-align: top;
}

.ent-panel-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ent-ink-soft);
  background: var(--ent-panel);
}

.ent-panel-table td {
  color: var(--ent-ink);
}

.ent-panel-table tr:last-child td {
  border-bottom: 0;
}

.ent-panel-table td:last-child {
  color: var(--ent-accent);
  font-weight: 500;
}

.ent-row-1,
.ent-row-2,
.ent-row-3,
.ent-row-4 {
  opacity: 0.35;
}

.ent-row-1 { animation: ent-row-on 12s ease infinite; }
.ent-row-2 { animation: ent-row-on 12s ease infinite 0.7s; }
.ent-row-3 { animation: ent-row-on 12s ease infinite 1.4s; }
.ent-row-4 { animation: ent-row-on 12s ease infinite 2.1s; }

@keyframes ent-row-on {
  0%, 10% { opacity: 0.35; }
  18%, 100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ent-anim-callout,
  .ent-step-1,
  .ent-step-2,
  .ent-step-3,
  .ent-step-1 span,
  .ent-step-2 span,
  .ent-step-3 span,
  .ent-anim-coach,
  .ent-guard-paste,
  .ent-guard-veil,
  .ent-guard-popup,
  .ent-guard-routed,
  .ent-row-1,
  .ent-row-2,
  .ent-row-3,
  .ent-row-4 {
    animation: none !important;
  }

  .ent-anim-callout,
  .ent-anim-coach,
  .ent-guard-paste,
  .ent-guard-veil,
  .ent-guard-popup,
  .ent-guard-routed,
  .ent-panel-steps li,
  .ent-row-1,
  .ent-row-2,
  .ent-row-3,
  .ent-row-4 {
    opacity: 1 !important;
    transform: none !important;
  }

  .ent-guard-popup {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    margin-top: 14px;
    transform: none !important;
  }

  .ent-guard-veil {
    display: none;
  }

  .ent-guard-routed {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 12px;
  }
}

/* legacy guard class names kept inert if referenced elsewhere */
.ent-panel-guard { display: flex; flex-direction: column; gap: 12px; }
.ent-guard-attempt,
.ent-guard-block,
.ent-guard-ok { display: none; }


/* —— Metrics —— */

.ent-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 64px auto 0;
  padding: 28px 0 8px;
  border-top: 1px solid var(--ent-line);
}

.ent-metrics li {
  padding: 0 22px 0 0;
  margin-right: 22px;
  border-right: 1px solid var(--ent-line);
}

.ent-metrics li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.ent-metrics strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ent-ink);
  margin-bottom: 6px;
}

.ent-metrics span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ent-ink-soft);
}

/* —— Features —— */

.ent-features {
  padding: 48px 0 24px;
}

body.ent-page .ent-feature {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ent-line);
  border-radius: 0;
  box-shadow: none;
}

body.ent-page .ent-feature:first-child {
  border-top: 0;
}

body.ent-page .ent-feature-reverse .ent-feature-copy { order: 2; }
body.ent-page .ent-feature-reverse .ent-feature-media { order: 1; }

body.ent-page .ent-feature-copy h2,
body.ent-page .ent-feature h2 {
  margin: 0 0 14px;
  font-family: var(--ent-display);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ent-ink);
}

body.ent-page .ent-feature-copy p:not(.ent-label),
body.ent-page .ent-feature p:not(.ent-label) {
  margin: 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ent-ink-soft);
}

/* —— Trust —— */

.ent-trust {
  padding: 80px 0;
  background: #ebeae6;
  border-top: 1px solid var(--ent-line);
  border-bottom: 1px solid var(--ent-line);
}

.ent-section-head {
  max-width: 560px;
}

.ent-section-head h2 {
  margin: 0 0 12px;
  font-family: var(--ent-display);
  font-size: clamp(28px, 3.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ent-ink);
}

.ent-section-head > p:not(.ent-label) {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ent-ink-soft);
}

.ent-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--ent-line);
  padding-top: 8px;
}

.ent-trust-item {
  padding: 24px 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid var(--ent-line);
}

.ent-trust-item:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.ent-trust-item h3 {
  margin: 0 0 10px;
  font-family: var(--ent-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ent-ink);
}

.ent-trust-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ent-ink-soft);
}

/* —— Pilot flow —— */

.ent-pilot-band {
  padding: 80px 0;
}

.ent-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
}

.ent-flow li {
  padding: 0 24px 0 0;
  margin-right: 24px;
  border-right: 1px solid var(--ent-line);
}

.ent-flow li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.ent-flow-num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ent-accent);
  margin-bottom: 14px;
}

.ent-flow h3 {
  margin: 0 0 8px;
  font-family: var(--ent-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ent-ink);
}

.ent-flow p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ent-ink-soft);
}

/* —— CTA —— */

.ent-cta {
  padding: 72px 0 80px;
  background: #12151c;
  color: #e6e4df;
}

.ent-cta-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.ent-cta-copy h2 {
  margin: 0 0 14px;
  font-family: var(--ent-display);
  font-size: clamp(28px, 3.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.ent-cta-copy > p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(230, 228, 223, 0.7);
  max-width: 42ch;
}

.ent-cta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ent-cta-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(230, 228, 223, 0.82);
}

.ent-cta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: #8fa4c0;
}

.ent-cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  padding: 28px 24px;
}

.ent-cta-panel-label {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.ent-cta-panel-note {
  margin: 0 0 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(230, 228, 223, 0.62);
}

.ent-cta .ent-btn-primary {
  background: #fff;
  color: var(--ent-ink);
}

.ent-cta .ent-btn-primary:hover {
  background: #d8e0ec;
  color: #12263f;
}

.ent-trust,
.ent-cta,
.ent-hero {
  scroll-margin-top: 80px;
}

.ent-cta-email {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: rgba(230, 228, 223, 0.45);
  text-align: center;
}

/* —— Footer —— */

.ent-footer {
  background: #0b0d12;
  color: rgba(230, 228, 223, 0.65);
  padding: 56px 0 28px;
}

.ent-footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ent-footer-brand .ent-logo {
  color: #fff;
  margin-bottom: 14px;
}

.ent-footer-brand .ent-logo-mark {
  background: #8fa4c0;
}

.ent-footer-brand p {
  margin: 14px 0 0;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(230, 228, 223, 0.5);
}

.ent-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ent-footer-head {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(230, 228, 223, 0.38);
  margin-bottom: 14px;
}

.ent-footer-cols a {
  display: block;
  color: rgba(230, 228, 223, 0.72);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
}

.ent-footer-cols a:hover {
  color: #fff;
  text-decoration: none;
}

.ent-footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 12px;
  color: rgba(230, 228, 223, 0.38);
}

@media (max-width: 960px) {
  .ent-hero-grid,
  body.ent-page .ent-feature,
  .ent-cta-inner,
  .ent-footer-inner {
    grid-template-columns: 1fr;
  }

  .ent-metrics,
  .ent-trust-grid,
  .ent-flow {
    grid-template-columns: 1fr 1fr;
  }

  body.ent-page .ent-feature-reverse .ent-feature-copy,
  body.ent-page .ent-feature-reverse .ent-feature-media {
    order: unset;
  }

  .ent-hero-grid {
    gap: 36px;
  }

  body.ent-page .ent-feature {
    gap: 28px;
    padding: 40px 0;
  }

  .ent-metrics li,
  .ent-trust-item,
  .ent-flow li {
    border-right: 0;
    margin-right: 0;
    padding-right: 16px;
    padding-bottom: 22px;
  }
}

@media (max-width: 640px) {
  body.ent-page .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .ent-header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
    min-height: 0;
  }

  .ent-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .ent-nav-cta {
    margin-left: 0 !important;
  }

  .ent-hero {
    padding-top: 48px;
  }

  .ent-metrics,
  .ent-trust-grid,
  .ent-flow,
  .ent-footer-cols {
    grid-template-columns: 1fr;
  }

  .ent-metrics li {
    padding: 0 0 16px;
    border-bottom: 1px solid var(--ent-line);
  }

  .ent-metrics li:last-child {
    border-bottom: 0;
  }

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

  .ent-btn {
    width: 100%;
  }

  .ent-panel-meta {
    flex-direction: column;
    gap: 4px;
  }
}

/* ============================================================
   SCRAPBOOK / SHARPIE LAYER — 2000s–2010s notebook nostalgia
   Marker circles, scribbles, stars, stickers + scrapbook intro
   ============================================================ */

:root {
  --mk-red: #e23a3a;
  --mk-blue: #2f6fed;
  --mk-yellow: #e6b400;
  --mk-green: #2f9e57;
  --mk-pink: #e85a9b;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
}

/* —— Shared stroke draw primitive —— */

.mk-path {
  fill: none;
  stroke: var(--mk-blue);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
}

.mk-path.mk-red,
.mk-red { stroke: var(--mk-red); }
.mk-path.mk-blue,
.mk-blue { stroke: var(--mk-blue); }
.mk-path.mk-yellow,
.mk-yellow { stroke: var(--mk-yellow); }
.mk-path.mk-green,
.mk-green { stroke: var(--mk-green); }
.mk-path.mk-pink,
.mk-pink { stroke: var(--mk-pink); }

.is-drawn .mk-path,
.mk.is-drawn > svg .mk-path,
.bam-circle.is-drawn .mk-path,
.bam-stars.is-drawn .mk-path,
.intro-note-marks.is-drawn .mk-path {
  animation: mk-draw 0.95s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.bam-stars.is-drawn .bam-star-a { animation-delay: 0.05s; }
.bam-stars.is-drawn .bam-star-b { animation-delay: 0.22s; }
.bam-stars.is-drawn .bam-star-c { animation-delay: 0.38s; }

.intro-note-marks.is-drawn .inm-underline { animation-delay: 0.05s; }
.intro-note-marks.is-drawn .inm-circle { animation-delay: 0.35s; }
.intro-note-marks.is-drawn .inm-star { animation-delay: 0.55s; }
.intro-note-marks.is-drawn .inm-arrow { animation-delay: 0.7s; }

@keyframes mk-draw {
  to { stroke-dashoffset: 0; }
}

/* —— Scrapbook intro paper —— */

.hey-page .intro-stage {
  width: min(860px, calc(100% - 28px));
}

.intro-paper {
  position: absolute;
  inset: -8% -6%;
  z-index: 0;
  background:
    repeating-linear-gradient(
      transparent,
      transparent 27px,
      rgba(120, 160, 210, 0.22) 27px,
      rgba(120, 160, 210, 0.22) 28px
    ),
    linear-gradient(90deg, rgba(255, 140, 140, 0.35) 0 2px, transparent 2px),
    #fffdf7;
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(27, 26, 46, 0.12);
  transform: rotate(-0.6deg);
  opacity: 0.92;
  pointer-events: none;
}

.hey-page .flood-veil {
  background: radial-gradient(ellipse at center, rgba(247, 241, 228, 0.08), rgba(247, 241, 228, 0.62) 78%);
}

.flood-margin-note {
  margin: 10px 0 0;
  font-family: var(--font-hand);
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  color: var(--mk-red);
  transform: rotate(-4deg) translateY(8px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.flood-margin-note.is-on {
  opacity: 1;
  transform: rotate(-4deg) translateY(0);
}

/* Flood vandal marks (circles + X over thumbnails) */

.flood-vandal {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
}

.fv-mark {
  position: absolute;
  opacity: 0.95;
}

.fv-mark .mk-path {
  stroke: var(--mk-red);
  stroke-width: 4.5;
}

.fv-circle-1 { width: 160px; left: 12%; top: 18%; transform: rotate(-8deg); }
.fv-x-1 { width: 90px; left: 18%; top: 24%; transform: rotate(6deg); }
.fv-circle-2 { width: 150px; right: 10%; top: 22%; transform: rotate(7deg); }
.fv-x-2 { width: 86px; right: 16%; top: 28%; transform: rotate(-4deg); }
.fv-scribble { width: 220px; left: 50%; bottom: 22%; transform: translateX(-50%) rotate(-3deg); }
.fv-scribble .mk-path { stroke: var(--mk-red); stroke-width: 3.5; }

.flood-vandal.is-marking .fv-circle-1 .mk-path { animation: mk-draw 0.55s ease forwards; }
.flood-vandal.is-marking .fv-x-1 .mk-path { animation: mk-draw 0.4s 0.35s ease forwards; }
.flood-vandal.is-marking .fv-circle-2 .mk-path { animation: mk-draw 0.55s 0.45s ease forwards; }
.flood-vandal.is-marking .fv-x-2 .mk-path { animation: mk-draw 0.4s 0.75s ease forwards; }
.flood-vandal.is-marking .fv-scribble .mk-path { animation: mk-draw 0.6s 0.9s ease forwards; }

.fv-sticker {
  position: absolute;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 26px;
  color: var(--mk-red);
  border: 2.5px solid var(--mk-red);
  padding: 4px 12px;
  border-radius: 3px 14px 4px 12px;
  background: rgba(255, 248, 240, 0.9);
  opacity: 0;
  transform: scale(0.5) rotate(-12deg);
}

.fv-sticker-nope { left: 28%; top: 42%; }
.fv-sticker-skip { right: 22%; top: 48%; color: var(--mk-blue); border-color: var(--mk-blue); }

.flood-vandal.is-marked .fv-sticker {
  animation: pd-sticker-pop 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

.flood-vandal.is-marked .fv-sticker-skip {
  animation-delay: 0.15s;
  --pd-rot: 8deg;
}

@keyframes pd-sticker-pop {
  to { opacity: 1; transform: rotate(var(--pd-rot, -8deg)) scale(1); }
}

/* —— Notebook manifesto page —— */

.intro-notebook-page {
  position: relative;
  width: min(520px, 94vw);
  margin: 0 auto;
  padding: 36px 40px 48px 56px;
  background:
    repeating-linear-gradient(
      transparent,
      transparent 31px,
      rgba(120, 160, 210, 0.28) 31px,
      rgba(120, 160, 210, 0.28) 32px
    ),
    #fffdf8;
  border: 1px solid rgba(27, 26, 46, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 22px 50px rgba(27, 26, 46, 0.14);
  transform: rotate(-0.8deg);
  text-align: left;
}

.intro-holes {
  position: absolute;
  left: 14px;
  top: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.intro-holes i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f7f1e4, #d8cfc0);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

.intro-date-scrawl {
  position: absolute;
  top: 14px;
  right: 22px;
  margin: 0;
  font-family: var(--font-hand);
  font-size: 22px;
  color: rgba(47, 111, 237, 0.55);
  transform: rotate(6deg);
}

.hey-page .intro-notebook-page .manifesto-type {
  gap: 28px;
  position: relative;
  z-index: 1;
}

.hey-page .intro-notebook-page .manifesto-line-typed {
  font-family: var(--font-hand);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: #1b1a2e;
  white-space: normal;
}

.hey-page .intro-notebook-page .manifesto-line-typed.is-star-line {
  color: var(--mk-blue);
}

.intro-note-marks {
  position: absolute;
  inset: 24px 20px 20px 40px;
  width: calc(100% - 60px);
  height: calc(100% - 44px);
  pointer-events: none;
  z-index: 2;
}

.intro-note-marks .inm-underline { stroke: var(--mk-yellow); stroke-width: 3.5; }
.intro-note-marks .inm-circle { stroke: var(--mk-red); stroke-width: 3.2; }
.intro-note-marks .inm-star { stroke: var(--mk-yellow); stroke-width: 2.4; fill: none; }
.intro-note-marks .inm-arrow { stroke: var(--mk-blue); stroke-width: 2.8; }

/* —— Circled Teachy reveal —— */

.bam-title-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.bam-circle,
.bam-stars {
  position: absolute;
  pointer-events: none;
  overflow: visible;
}

.bam-circle {
  left: 50%;
  top: 50%;
  width: 118%;
  height: 130%;
  transform: translate(-50%, -50%) rotate(-3deg);
}

.bam-circle .mk-path {
  stroke: var(--mk-blue);
  stroke-width: 4;
}

.bam-stars {
  inset: -18% -22%;
  width: 144%;
  height: 136%;
}

.bam-stars .mk-path {
  stroke: var(--mk-yellow);
  stroke-width: 2.6;
}

.bam-hand-note {
  margin: 18px 0 0;
  font-family: var(--font-hand);
  font-size: 28px;
  font-weight: 700;
  color: var(--mk-pink);
  transform: rotate(-5deg);
  opacity: 0;
}

.bam-wrap.is-in .bam-hand-note {
  animation: fadeUp 0.6s 0.7s var(--ease) both;
}

.hey-page .introducing-type {
  font-family: var(--font-hand);
  font-size: clamp(24px, 3.6vw, 34px);
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(27, 26, 46, 0.55);
}

.hey-page .brand-sub {
  font-family: var(--font-hand);
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .mk-path,
  .fv-mark .mk-path,
  .bam-hand-note {
    animation: none !important;
  }
  .mk-path,
  .is-drawn .mk-path,
  .flood-vandal.is-marking .mk-path {
    stroke-dashoffset: 0;
  }
  .fv-sticker,
  .flood-margin-note,
  .bam-hand-note {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   FRIENDLY NOSTALGIA POLISH — warmth without clutter
   Paper note letter, soft chrome, handwritten accents only
   where they earn their keep
   ============================================================ */

.hey-page {
  background: #f5f6f8;
}

.hey-page .hey-grain {
  opacity: 0.12;
}

/* Soft paper note for the manifesto letter */
.hey-page .hey-letter {
  background:
    repeating-linear-gradient(
      transparent,
      transparent 29px,
      rgba(120, 160, 210, 0.16) 29px,
      rgba(120, 160, 210, 0.16) 30px
    ),
    linear-gradient(90deg, rgba(255, 150, 150, 0.28) 0 2px, transparent 2px),
    #fffdf8;
  border: 1px solid rgba(27, 26, 46, 0.08);
  border-radius: 6px 14px 10px 8px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 50px -24px rgba(27, 26, 46, 0.28),
    3px 4px 0 rgba(27, 26, 46, 0.04);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.75;
  color: #2c2a38;
  padding: 40px 44px 32px 52px;
}

.hey-page .hey-letter-from {
  font-family: var(--font-hand);
  font-size: 20px;
  font-weight: 700;
  color: rgba(51, 128, 255, 0.7);
  margin: 0 0 18px !important;
  transform: rotate(-1.5deg);
}

.hey-page .hey-letter::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 28px;
  bottom: 28px;
  width: 10px;
  background:
    radial-gradient(circle, #e8e0d4 0 45%, transparent 48%) 0 0 / 10px 42px;
  opacity: 0.7;
  pointer-events: none;
}

.hey-page .hey-letter mark {
  background: linear-gradient(180deg, rgba(255, 233, 122, 0.15), rgba(255, 209, 64, 0.85));
  padding: 0 5px 2px;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hey-page .hey-signature {
  font-family: var(--font-hand);
  font-size: 26px;
  font-weight: 700;
  color: #3380ff;
  transform: rotate(-2deg);
  display: inline-block;
}

/* Section heads: quieter, friendlier */
.hey-page .hey-section-head h2 {
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hey-page .hey-section-head p {
  font-size: 16.5px;
  max-width: 42ch;
  margin-inline: auto;
}

.hey-page .hey-label-bubble {
  font-family: var(--font-hand);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 5px 14px 6px;
  border-radius: 999px;
}

/* Tagline + wordmark breathing room */
.hey-page .hey-tagline {
  margin: 14px auto 28px;
  max-width: 34ch;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.45;
  color: #5a5568;
}

.hey-page .hey-wordmark {
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.55);
}

/* Friendlier primary button press */
.hey-page .btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
}

.hey-page .btn-primary:active {
  transform: translateY(1px) scale(0.99);
}

.hey-page .hero-hint {
  font-family: var(--font-hand);
  font-size: 18px;
  color: rgba(51, 128, 255, 0.85);
}


/* ============================================================
   COMIC PASS — leave HeyClicky / Apple glass behind.
   Ink outlines, speech balloons, sticker buttons, panel frames.
   Logos + copy stay; only the visual language changes.
   Scoped under body.comic-page (also has .hey-page).
   ============================================================ */

body.comic-page {
  --font: "Nunito", "Baloo 2", system-ui, sans-serif;
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-hand: "Caveat", "Nunito", cursive;
  --ink: #1a1520;
  --ink-soft: #5c5566;
  --bg: #f3e6c8;
  --comic-stroke: #1a1520;
  --comic-shadow: 4px 4px 0 #1a1520;
  --comic-shadow-sm: 3px 3px 0 #1a1520;
  font-family: var(--font);
  letter-spacing: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(26, 21, 32, 0.07) 1px, transparent 0) 0 0 / 14px 14px,
    linear-gradient(180deg, #f7ecd4 0%, #efe0c0 45%, #e8d7b8 100%);
  color: var(--ink);
}

/* Kill the VHS wash — comic paper, not analog tape */
body.comic-page .hey-grain {
  opacity: 0.18;
  mix-blend-mode: multiply;
  animation: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(26, 21, 32, 0.14) 1px, transparent 0);
  background-size: 10px 10px;
}

/* —— Header: solid sticker bar, not glass —— */

body.comic-page .site-header {
  background: #fff8e8;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 3px solid var(--comic-stroke);
  box-shadow: 0 3px 0 rgba(26, 21, 32, 0.08);
}

body.comic-page .nav a {
  font-family: var(--font);
  font-weight: 700;
  border-radius: 10px;
}

body.comic-page .nav-cta {
  border: 2.5px solid var(--comic-stroke) !important;
  border-radius: 12px !important;
  background: #ffcf6b !important;
  color: var(--comic-stroke) !important;
  box-shadow: 2px 2px 0 var(--comic-stroke);
  font-family: var(--font-display) !important;
}

body.comic-page .nav-cta:hover {
  background: #3380ff !important;
  color: #fff !important;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--comic-stroke);
}

/* —— Buttons: comic stickers, not Aqua glass —— */

body.comic-page .btn {
  border-radius: 14px;
  border-width: 3px;
  border-style: solid;
  border-color: var(--comic-stroke);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
  min-height: 56px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

body.comic-page .btn::before {
  display: none;
}

body.comic-page .btn-primary {
  background: #3380ff;
  color: #fffef5;
  border-color: var(--comic-stroke);
  box-shadow: var(--comic-shadow);
}

body.comic-page .btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--comic-stroke);
}

body.comic-page .btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--comic-stroke);
}

body.comic-page .btn-secondary {
  background: #fff8e8;
  color: var(--comic-stroke);
  border-color: var(--comic-stroke);
  box-shadow: var(--comic-shadow);
}

body.comic-page .btn-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--comic-stroke);
  background: #ffe8a8;
}

body.comic-page .btn-icon {
  background: var(--comic-stroke);
  border: 2px solid var(--comic-stroke);
  box-shadow: none;
  border-radius: 10px;
}

/* —— Hero —— */

body.comic-page .hey-hero {
  background:
    radial-gradient(circle at 1px 1px, rgba(26, 21, 32, 0.06) 1px, transparent 0) 0 0 / 12px 12px,
    linear-gradient(180deg, #f9efd8 0%, #f3e4c4 55%, #ebe0cf 100%);
}

body.comic-page .hey-hero-paper {
  opacity: 0.35;
  background-image: none;
}

body.comic-page .hey-hero-orb {
  opacity: 0.28;
  filter: blur(40px);
}

body.comic-page .hey-wordmark {
  font-family: var(--font-display);
  text-shadow:
    3px 3px 0 #fff8e8,
    5px 5px 0 var(--comic-stroke);
  letter-spacing: -0.02em;
}

body.comic-page .hey-tagline {
  font-family: var(--font);
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0;
}

body.comic-page .hey-tagline .hl {
  background: linear-gradient(180deg, transparent 55%, #ffcf6b 55%);
  padding: 0 0.12em;
  border-radius: 2px;
}

body.comic-page .hey-fineprint {
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--ink-soft);
}

/* Hero video: comic panel frame instead of soft glass */
body.comic-page .hey-frame {
  border-radius: 18px;
  padding: 10px;
  border: 3.5px solid var(--comic-stroke);
  box-shadow: 8px 8px 0 var(--comic-stroke);
  background-image: url("sky-grass-border.jpg");
  background-size: cover;
}

body.comic-page .hey-frame:hover {
  transform: translate(-3px, -3px) rotate(-0.4deg);
  box-shadow: 11px 11px 0 var(--comic-stroke);
}

body.comic-page .hey-window {
  border: 2.5px solid var(--comic-stroke);
  border-radius: 10px;
  overflow: hidden;
}

body.comic-page .hey-window-bar {
  background: #fff8e8;
  border-bottom: 2.5px solid var(--comic-stroke);
  font-family: var(--font-display);
  font-weight: 700;
}

/* —— Section heads —— */

body.comic-page .hey-section-head h2 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  text-shadow: 2px 2px 0 rgba(255, 248, 232, 0.9);
}

body.comic-page .hey-section-head p {
  font-family: var(--font);
  font-weight: 600;
}

body.comic-page .hey-rule span {
  border-top: 3px dashed rgba(26, 21, 32, 0.28);
  background: none;
  height: 0;
}

/* —— How it works: comic panels —— */

body.comic-page .hey-how-beat {
  background: #fffdf6;
  border: 3px solid var(--comic-stroke);
  border-radius: 16px;
  padding: 22px 20px 20px;
  box-shadow: var(--comic-shadow);
  transform: rotate(-0.8deg);
}

body.comic-page .hey-how-beat:nth-child(2) {
  transform: rotate(0.9deg);
}

body.comic-page .hey-how-beat:nth-child(3) {
  transform: rotate(-0.4deg);
}

body.comic-page .hey-how-num {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 2.5px solid var(--comic-stroke);
  background: #ffcf6b;
  color: var(--comic-stroke);
  box-shadow: 2px 2px 0 var(--comic-stroke);
  font-size: 14px;
}

body.comic-page .hey-how-beat:nth-child(2) .hey-how-num {
  background: #8fbaff;
}

body.comic-page .hey-how-beat:nth-child(3) .hey-how-num {
  background: #8fd18a;
}

body.comic-page .hey-how-beat h3 {
  font-family: var(--font-display);
}

body.comic-page .hey-how-beat p {
  font-family: var(--font);
  font-weight: 600;
}

body.comic-page .hey-how-beat kbd {
  border: 2px solid var(--comic-stroke);
  border-radius: 6px;
  background: #fff8e8;
  box-shadow: 1.5px 1.5px 0 var(--comic-stroke);
  font-family: var(--font);
  font-weight: 800;
}

/* —— Proof headline: clean type over logo wall (no goofy box) —— */

body.comic-page .hey-proof-copy {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 12px 16px;
  transform: none;
  max-width: 36rem;
}

body.comic-page .hey-proof-copy h2 {
  text-shadow:
    0 0 18px rgba(243, 230, 200, 0.95),
    0 0 40px rgba(243, 230, 200, 0.85),
    2px 2px 0 rgba(243, 230, 200, 0.9);
}

body.comic-page .hey-proof-copy p {
  text-shadow:
    0 0 14px rgba(243, 230, 200, 0.95),
    0 0 28px rgba(243, 230, 200, 0.8);
}

body.comic-page .hey-proof-copy .hl {
  background: linear-gradient(180deg, transparent 52%, #ffb4c6 52%);
  padding: 0 0.1em;
}

body.comic-page .hey-proof .hey-apps-wall {
  opacity: 0.42;
  filter: saturate(1.15) contrast(1.05);
}

body.comic-page .hey-apps-foot {
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--ink);
}

/* ============================================================
   SPEECH BALLOONS — replace Apple iMessage glass
   ============================================================ */

body.comic-page .chat-gallery {
  gap: 18px;
}

body.comic-page .chat-surface {
  background: #fffdf6;
  border: 3.5px solid var(--comic-stroke);
  border-radius: 18px;
  padding: 14px 12px 18px;
  box-shadow: var(--comic-shadow-sm);
  min-height: 240px;
  gap: 12px;
}

body.comic-page .chat-surface:nth-child(1) { transform: rotate(-1.2deg); }
body.comic-page .chat-surface:nth-child(2) { transform: rotate(0.9deg); }
body.comic-page .chat-surface:nth-child(3) { transform: rotate(-0.6deg); }
body.comic-page .chat-surface:nth-child(4) { transform: rotate(1.1deg); }
body.comic-page .chat-surface:nth-child(5) { transform: rotate(-0.8deg); }

/* Hide Apple sheen + carve-mask tail */
body.comic-page .chat-sheen {
  display: none !important;
}

body.comic-page .chat-tail-mask {
  display: none !important;
}

body.comic-page .chat-bubble {
  max-width: 94%;
  filter: drop-shadow(2.5px 2.5px 0 var(--comic-stroke));
}

body.comic-page .chat-bubble-body {
  /* asymmetric comic balloon — not iMessage pill */
  border-radius: 22px 22px 22px 8px;
  border: 3px solid var(--comic-stroke);
  padding: 8px 12px 9px;
  box-shadow: none;
  overflow: visible;
}

body.comic-page .chat-right .chat-bubble-body {
  border-radius: 22px 22px 8px 22px;
}

body.comic-page .chat-bubble-body p {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--comic-stroke);
}

/* Learner = sun yellow; Teachy = sky blue — flat comic fills */
body.comic-page .chat-blue .chat-bubble-body {
  background: #ffd84a;
  border-color: var(--comic-stroke);
  box-shadow: none;
}

body.comic-page .chat-orange .chat-bubble-body {
  background: #8fbaff;
  border-color: var(--comic-stroke);
  box-shadow: none;
}

/* Pointed comic tails (triangles) */
body.comic-page .chat-tail-fill {
  width: 0;
  height: 0;
  bottom: -3px;
  background: transparent !important;
  border-radius: 0 !important;
  border-style: solid;
  border-color: transparent;
  z-index: 2;
}

body.comic-page .chat-right .chat-tail-fill {
  right: 14px;
  left: auto;
  border-width: 0 0 14px 14px;
  border-left-color: #ffd84a;
  filter:
    drop-shadow(2px 1.5px 0 var(--comic-stroke))
    drop-shadow(-1px 1px 0 var(--comic-stroke));
}

body.comic-page .chat-left .chat-tail-fill {
  left: 14px;
  right: auto;
  border-width: 0 14px 14px 0;
  border-right-color: #8fbaff;
  filter:
    drop-shadow(-2px 1.5px 0 var(--comic-stroke))
    drop-shadow(1px 1px 0 var(--comic-stroke));
}

body.comic-page .chat-blue .chat-tail-fill {
  border-left-color: #ffd84a;
}

body.comic-page .chat-orange .chat-tail-fill {
  border-right-color: #8fbaff;
}

body.comic-page .chat-right.chat-orange .chat-tail-fill {
  border-width: 0 0 14px 14px;
  border-left-color: #8fbaff;
  border-right-color: transparent;
}

body.comic-page .chat-left.chat-blue .chat-tail-fill {
  border-width: 0 14px 14px 0;
  border-right-color: #ffd84a;
  border-left-color: transparent;
}

body.comic-page .chat-typing-dots span {
  background: var(--comic-stroke);
  opacity: 0.55;
  border-radius: 2px;
  width: 6px;
  height: 6px;
}

@keyframes comic-bubble-pop {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.5) rotate(-4deg);
  }
  55% {
    transform: translateY(-3px) scale(1.06) rotate(1deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

body.comic-page .chat-row.is-shown .chat-bubble,
body.comic-page .chat-typing.is-shown .chat-bubble {
  animation: comic-bubble-pop 0.42s cubic-bezier(0.22, 1.35, 0.36, 1) both;
}

/* —— Pricing cards as comic panels —— */

body.comic-page .hey-sky {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.35) 1px, transparent 0) 0 0 / 12px 12px,
    linear-gradient(180deg, #7eb8ef 0%, #a8d4f5 40%, #c8e6b8 100%);
  border-top: 3px solid var(--comic-stroke);
  border-bottom: 3px solid var(--comic-stroke);
}

body.comic-page .hey-price-card {
  background: #fffdf6;
  border: 3.5px solid var(--comic-stroke);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--comic-stroke);
}

body.comic-page .hey-price-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--comic-stroke);
}

body.comic-page .hey-price-tag {
  border: 2.5px solid var(--comic-stroke);
  background: #ffcf6b;
  color: var(--comic-stroke);
  box-shadow: 2px 2px 0 var(--comic-stroke);
  border-radius: 8px;
  font-family: var(--font-display);
}

body.comic-page .hey-price-tag::after,
body.comic-page .hey-label-bubble::after {
  display: none;
}

body.comic-page .hey-price-tag-ent {
  background: #c4a8ff;
}

body.comic-page .hey-terminal {
  border: 3px solid var(--comic-stroke);
  border-radius: 14px;
  box-shadow: var(--comic-shadow);
  background: #1a1520;
}

body.comic-page .hey-terminal-btn {
  border: 2.5px solid #ffcf6b;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
}

/* —— FAQ —— */

body.comic-page .faq-item {
  background: #fffdf6;
  border: 2.75px solid var(--comic-stroke);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--comic-stroke);
  margin-bottom: 12px;
}

body.comic-page .faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
}

body.comic-page .faq-item p {
  font-family: var(--font);
  font-weight: 600;
}

/* —— Footer —— */

body.comic-page .hey-footer,
body.comic-page .comic-footer {
  background:
    radial-gradient(circle at 1px 1px, rgba(26, 21, 32, 0.08) 1px, transparent 0) 0 0 / 12px 12px,
    #fff8e8;
  border-top: 3.5px solid var(--comic-stroke);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding-top: 48px;
  color: var(--comic-stroke);
}

body.comic-page .comic-footer-inner {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 28px;
}

@media (max-width: 800px) {
  body.comic-page .comic-footer-inner {
    grid-template-columns: 1fr;
  }
}

body.comic-page .comic-footer-brand .logo {
  font-size: 22px;
  margin-bottom: 8px;
}

body.comic-page .comic-footer-brand p {
  margin: 0;
  max-width: 28ch;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
}

body.comic-page .comic-footer .hey-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 720px) {
  body.comic-page .comic-footer .hey-footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}


body.comic-page .hey-footer-col a {
  color: var(--ink-soft);
  font-weight: 700;
  font-family: var(--font);
}

body.comic-page .hey-footer-col a:hover {
  color: #3380ff;
  text-decoration: none;
  transform: translateX(2px);
}

body.comic-page .hey-footer-disclaimer p {
  color: var(--ink-soft);
  font-weight: 600;
}

body.comic-page .comic-footer-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  padding: 28px 16px 36px;
  border-top: 3px dashed rgba(26, 21, 32, 0.22);
}

body.comic-page .comic-footer-stamp {
  font-family: var(--font-comic, "Bangers", cursive);
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: 0.04em;
  color: #ff3b5c;
  text-shadow: 2px 2px 0 var(--comic-stroke);
  transform: rotate(-6deg);
  padding: 4px 14px;
  border: 3px solid var(--comic-stroke);
  border-radius: 8px;
  background: #ffd84a;
  box-shadow: 3px 3px 0 var(--comic-stroke);
}

body.comic-page .comic-footer-cont {
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 700;
  color: var(--comic-stroke);
}

body.comic-page .hey-pixel,
body.comic-page .hey-pixel-band {
  display: none;
}

@media (max-width: 900px) {
  body.comic-page .chat-surface {
    flex: 0 0 210px;
  }

  body.comic-page .hey-how-beat {
    transform: none !important;
  }
}

/* ============================================================
   COMIC SFX — BAM! SPLAT! POW! starbursts + wordmark slam
   ============================================================ */

body.comic-page {
  --font-comic: "Bangers", "Baloo 2", system-ui, cursive;
}

/* —— Shared stamp —— */

.comic-sfx {
  position: absolute;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2) rotate(var(--sfx-rot, -12deg));
  transform-origin: center;
  filter: drop-shadow(2px 2px 0 var(--comic-stroke, #1a1520));
}

.comic-sfx::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffd84a;
  clip-path: polygon(
    50% 0%, 58% 18%, 78% 8%, 72% 28%, 96% 32%, 76% 44%,
    92% 62%, 70% 58%, 74% 82%, 54% 68%, 50% 96%, 46% 68%,
    26% 82%, 30% 58%, 8% 62%, 24% 44%, 4% 32%, 28% 28%,
    22% 8%, 42% 18%
  );
  border: 0;
  box-shadow: none;
}

.comic-sfx i {
  position: relative;
  z-index: 1;
  font-family: var(--font-comic);
  font-style: normal;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #1a1520;
  line-height: 1;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.55);
  transform: rotate(-6deg);
}

.comic-sfx-yellow::before { background: #ffd84a; }
.comic-sfx-pink::before { background: #ff8fb8; }
.comic-sfx-cyan::before { background: #7ad7ff; }
.comic-sfx-orange::before { background: #ff9f4a; }
.comic-sfx-lime::before { background: #9be86c; }

.comic-sfx.is-on {
  animation: comic-sfx-slam 0.55s cubic-bezier(0.18, 1.45, 0.35, 1) both;
}

.comic-sfx.is-out {
  animation: comic-sfx-out 0.35s ease-in both;
}

@keyframes comic-sfx-slam {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.15) rotate(calc(var(--sfx-rot, -12deg) - 28deg));
  }
  55% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.18) rotate(calc(var(--sfx-rot, -12deg) + 4deg));
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(var(--sfx-rot, -12deg));
  }
}

@keyframes comic-sfx-out {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(var(--sfx-rot, -12deg));
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -62%) scale(0.55) rotate(calc(var(--sfx-rot, -12deg) + 18deg));
  }
}

/* Floating stamps spawned next to chat bubbles */
.comic-sfx-float {
  width: 3.6rem;
  height: 3.6rem;
  z-index: 12;
}

.comic-sfx-float i {
  font-size: 0.78rem;
}

body.comic-page .chat-surface {
  overflow: visible;
}

body.comic-page .chat-gallery {
  overflow: visible;
}

body.comic-page .hey-proof {
  overflow: visible;
}

/* Stronger bubble slam when SFX fires */
body.comic-page .chat-row.is-shown .chat-bubble {
  animation: comic-bubble-wham 0.5s cubic-bezier(0.18, 1.5, 0.35, 1) both;
}

@keyframes comic-bubble-wham {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.35) rotate(-8deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px) scale(1.12) rotate(3deg);
  }
  72% {
    transform: translateY(1px) scale(0.96) rotate(-1.5deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* Wordmark: clean slam letters, no orbiting stamps */
body.comic-page .comic-wordmark {
  position: relative;
  z-index: 2;
  display: inline-flex;
  justify-content: center;
  gap: 0.015em;
  margin: 0 auto;
}

body.comic-page .comic-wordmark::before,
body.comic-page .comic-wordmark::after {
  display: none !important;
}

.comic-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) scale(0.4) rotate(-18deg);
  text-shadow:
    3px 3px 0 #fff8e8,
    5px 5px 0 var(--comic-stroke, #1a1520);
}

.comic-wordmark.is-slammed .comic-letter {
  animation: comic-letter-slam 0.55s cubic-bezier(0.18, 1.55, 0.35, 1) both;
  animation-delay: calc(var(--i, 0) * 55ms + 80ms);
}

@keyframes comic-letter-slam {
  0% {
    opacity: 0;
    transform: translateY(36px) scale(0.3) rotate(-22deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.18) rotate(6deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

.comic-wordmark.is-jiggle .comic-letter {
  animation: comic-letter-jiggle 0.45s ease both;
  animation-delay: calc(var(--i, 0) * 28ms);
}

@keyframes comic-letter-jiggle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-6px) rotate(-6deg); }
  50% { transform: translateY(2px) rotate(5deg); }
  75% { transform: translateY(-3px) rotate(-3deg); }
}

/* Hero orbiting stamps around "teachy" */
.comic-sfx-hero {
  width: 5.2rem;
  height: 5.2rem;
  z-index: 3;
  opacity: 0;
}

.comic-sfx-hero i {
  font-size: 1.15rem;
}

.comic-sfx-hero.is-on {
  animation: comic-sfx-slam 0.6s cubic-bezier(0.18, 1.45, 0.35, 1) both,
    comic-sfx-hold 1.55s ease-in-out both;
}

@keyframes comic-sfx-hold {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -58%) scale(0.7) rotate(calc(var(--sfx-rot, -12deg) + 12deg)); }
}

.comic-sfx-bam {
  left: -6%;
  top: 12%;
  --sfx-rot: -18deg;
}

.comic-sfx-bam::before { background: #ffd84a; }

.comic-sfx-pow {
  right: -8%;
  left: auto;
  top: 8%;
  transform: translate(50%, -50%) scale(0.2) rotate(14deg);
  --sfx-rot: 14deg;
}

.comic-sfx-pow::before { background: #ff8fb8; }

.comic-sfx-pow.is-on {
  animation-name: comic-sfx-slam-right, comic-sfx-hold-right;
}

@keyframes comic-sfx-slam-right {
  0% {
    opacity: 0;
    transform: translate(50%, -50%) scale(0.15) rotate(-10deg);
  }
  55% {
    opacity: 1;
    transform: translate(50%, -50%) scale(1.18) rotate(18deg);
  }
  100% {
    opacity: 1;
    transform: translate(50%, -50%) scale(1) rotate(14deg);
  }
}

@keyframes comic-sfx-hold-right {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; transform: translate(50%, -58%) scale(0.7) rotate(22deg); }
}

.comic-sfx-splat {
  left: 8%;
  top: auto;
  bottom: -6%;
  --sfx-rot: -8deg;
}

.comic-sfx-splat::before { background: #7ad7ff; }

.comic-sfx-zap {
  right: 4%;
  left: auto;
  top: auto;
  bottom: -4%;
  transform: translate(50%, 50%) scale(0.2) rotate(10deg);
  --sfx-rot: 10deg;
}

.comic-sfx-zap::before { background: #9be86c; }

.comic-sfx-zap.is-on {
  animation-name: comic-sfx-slam-br, comic-sfx-hold-br;
}

@keyframes comic-sfx-slam-br {
  0% {
    opacity: 0;
    transform: translate(50%, 50%) scale(0.15) rotate(-8deg);
  }
  55% {
    opacity: 1;
    transform: translate(50%, 50%) scale(1.18) rotate(14deg);
  }
  100% {
    opacity: 1;
    transform: translate(50%, 50%) scale(1) rotate(10deg);
  }
}

@keyframes comic-sfx-hold-br {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; transform: translate(50%, 40%) scale(0.7) rotate(18deg); }
}

/* How-it-works panels get a little BAM on first view via CSS hover */
body.comic-page .hey-how-beat:hover {
  transform: translate(-2px, -2px) rotate(-1deg) !important;
  box-shadow: 6px 6px 0 var(--comic-stroke);
}

@media (prefers-reduced-motion: reduce) {
  .comic-sfx,
  .comic-letter,
  .comic-speedlines,
  body.comic-page .chat-row.is-shown .chat-bubble {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .comic-sfx-hero {
    display: none;
  }
}

@media (max-width: 700px) {
  .comic-wordmark-stage {
    padding: 22px 12px 6px;
  }

  .comic-sfx-hero {
    width: 3.8rem;
    height: 3.8rem;
  }

  .comic-sfx-hero i {
    font-size: 0.85rem;
  }

  .comic-sfx-float {
    width: 3rem;
    height: 3rem;
  }

  .comic-sfx-float i {
    font-size: 0.68rem;
  }
}

/* —— Waitlist —— */

.hey-waitlist {
  padding: 72px 0 88px;
  max-width: 640px;
}

.waitlist-form {
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.waitlist-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.waitlist-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.waitlist-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.waitlist-field span {
  font-family: var(--font-display, "Baloo 2", sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.waitlist-field input {
  appearance: none;
  border: 3px solid #1a1520;
  border-radius: 14px;
  background: #fffdf8;
  box-shadow: 3px 3px 0 #1a1520;
  padding: 14px 16px;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1520;
  outline: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.waitlist-field input:focus {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #3380ff;
  border-color: #1a1520;
}

.waitlist-intent {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.waitlist-intent legend {
  font-family: var(--font-display, "Baloo 2", sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.waitlist-intent-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.waitlist-choice {
  cursor: pointer;
  margin: 0;
}

.waitlist-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.waitlist-choice-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 16px 18px;
  border: 3px solid #1a1520;
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: 3px 3px 0 #1a1520;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.waitlist-choice-card strong {
  font-family: var(--font-display, "Baloo 2", sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1520;
}

.waitlist-choice-card em {
  font-style: normal;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b6478;
  line-height: 1.35;
}

.waitlist-choice:hover .waitlist-choice-card {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #1a1520;
}

.waitlist-choice input:focus-visible + .waitlist-choice-card {
  outline: 3px solid #3380ff;
  outline-offset: 2px;
}

.waitlist-choice input:checked + .waitlist-choice-card {
  background: linear-gradient(180deg, #f0f7ff 0%, #d7e8ff 100%);
  box-shadow: 4px 4px 0 #3380ff;
  transform: translate(-1px, -1px);
}

.waitlist-submit {
  align-self: center;
  min-width: 220px;
}

.waitlist-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.waitlist-status {
  margin: 0;
  text-align: center;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1520;
}

.waitlist-status.is-success {
  color: #1f6b3a;
}

.waitlist-status.is-error {
  color: #b42318;
}

.waitlist-form.is-done .waitlist-fields,
.waitlist-form.is-done .waitlist-intent,
.waitlist-form.is-done .waitlist-submit {
  display: none;
}

@media (max-width: 640px) {
  .waitlist-fields,
  .waitlist-intent-row {
    grid-template-columns: 1fr;
  }

  .hey-waitlist {
    padding: 56px 0 72px;
  }
}
