/*
  easycrack.live design tokens
  ------------------------------
  Every color on the site reads from these variables.
  Values are space-separated RGB channels so Tailwind opacity utilities work:
    bg-accent/20  ->  rgb(var(--accent) / 0.2)

  MODE is set with data-mode="light|dark" on <html>.
  COLOR THEME is set with data-theme="indigo|emerald|amber" on <html>.

  HOW TO ADD A COLOR THEME
  1. Copy both the light and dark blocks for "indigo" and rename the data-theme value.
  2. Set every token below as space-separated RGB channels (no hex, no rgb() wrapper).
  3. Add --swatch-yourname in :root and a header button with data-theme-set="yourname".
*/

:root {
  --swatch-indigo: 79 70 229;
  --swatch-emerald: 4 120 87;
  --swatch-amber: 180 83 9;
  --danger: 185 28 28;
  --shadow-card: 0 1px 2px rgb(15 23 42 / 0.04), 0 16px 40px -20px rgb(15 23 42 / 0.14);
  --shadow-card-hover: 0 1px 2px rgb(15 23 42 / 0.05), 0 22px 44px -18px rgb(15 23 42 / 0.18);
  --shadow-pop: 0 12px 40px -12px rgb(15 23 42 / 0.2);
  --header-h: 4.25rem;
  --deal-offset: 2.5rem;
}

/* Indigo · light (also the fallback before attributes exist) */
:root,
html[data-theme="indigo"][data-mode="light"],
html[data-theme="indigo"] #demo-window[data-mode="light"],
html:not([data-theme]) #demo-window[data-mode="light"] {
  --bg: 248 250 252;
  --surface: 255 255 255;
  --surface-2: 241 245 249;
  --border: 214 222 234;
  --text: 15 23 42;
  --text-muted: 71 85 105;
  --accent: 79 70 229;
  --accent-hover: 67 56 202;
  --accent-contrast: 255 255 255;
  --accent-soft: 224 231 255;
  --success: 21 128 61;
  --ring: 79 70 229;
  --danger: 185 28 28;
}

html[data-theme="indigo"][data-mode="dark"],
html[data-theme="indigo"] #demo-window[data-mode="dark"],
html:not([data-theme]) #demo-window[data-mode="dark"] {
  --bg: 9 12 22;
  --surface: 16 22 38;
  --surface-2: 27 34 56;
  --border: 58 72 108;
  --text: 241 245 249;
  --text-muted: 176 186 210;
  --accent: 165 172 252;
  --accent-hover: 199 204 254;
  --accent-contrast: 20 22 48;
  --accent-soft: 42 46 92;
  --success: 134 239 172;
  --ring: 165 172 252;
  --danger: 252 165 165;
  --shadow-card: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 18px 40px -24px rgb(0 0 0 / 0.7);
  --shadow-card-hover: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 22px 48px -20px rgb(0 0 0 / 0.75);
  --shadow-pop: 0 16px 48px -12px rgb(0 0 0 / 0.55);
}

/* Emerald · stone neutrals, green accent */
html[data-theme="emerald"][data-mode="light"],
html[data-theme="emerald"] #demo-window[data-mode="light"] {
  --bg: 250 250 249;
  --surface: 255 255 255;
  --surface-2: 245 245 244;
  --border: 214 211 209;
  --text: 28 25 23;
  --text-muted: 87 83 78;
  --accent: 4 120 87;
  --accent-hover: 6 95 70;
  --accent-contrast: 255 255 255;
  --accent-soft: 209 250 229;
  --success: 21 128 61;
  --ring: 4 120 87;
  --danger: 185 28 28;
}

html[data-theme="emerald"][data-mode="dark"],
html[data-theme="emerald"] #demo-window[data-mode="dark"] {
  --bg: 10 16 14;
  --surface: 16 26 22;
  --surface-2: 24 38 32;
  --border: 52 78 66;
  --text: 240 247 243;
  --text-muted: 176 198 186;
  --accent: 110 231 183;
  --accent-hover: 167 243 208;
  --accent-contrast: 6 40 30;
  --accent-soft: 16 58 46;
  --success: 134 239 172;
  --ring: 110 231 183;
  --danger: 252 165 165;
  --shadow-card: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 18px 40px -24px rgb(0 0 0 / 0.7);
  --shadow-card-hover: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 22px 48px -20px rgb(0 0 0 / 0.75);
  --shadow-pop: 0 16px 48px -12px rgb(0 0 0 / 0.55);
}

/* Amber · warm neutrals */
html[data-theme="amber"][data-mode="light"],
html[data-theme="amber"] #demo-window[data-mode="light"] {
  --bg: 255 251 245;
  --surface: 255 255 255;
  --surface-2: 255 247 237;
  --border: 226 214 196;
  --text: 41 31 20;
  --text-muted: 107 84 62;
  --accent: 146 64 14;
  --accent-hover: 120 53 15;
  --accent-contrast: 255 255 255;
  --accent-soft: 254 243 199;
  --success: 21 128 61;
  --ring: 146 64 14;
  --danger: 153 27 27;
}

html[data-theme="amber"][data-mode="dark"],
html[data-theme="amber"] #demo-window[data-mode="dark"] {
  --bg: 18 14 12;
  --surface: 30 23 18;
  --surface-2: 44 34 26;
  --border: 86 68 52;
  --text: 250 245 238;
  --text-muted: 206 184 164;
  --accent: 252 211 77;
  --accent-hover: 253 224 71;
  --accent-contrast: 42 24 6;
  --accent-soft: 72 48 16;
  --success: 134 239 172;
  --ring: 252 211 77;
  --danger: 254 202 202;
  --shadow-card: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 18px 40px -24px rgb(0 0 0 / 0.7);
  --shadow-card-hover: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 22px 48px -20px rgb(0 0 0 / 0.75);
  --shadow-pop: 0 16px 48px -12px rgb(0 0 0 / 0.55);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

html[data-mode="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100%;
  background: rgb(var(--bg));
  color: rgb(var(--text));
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgb(var(--text) / 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 85% 55% at 50% -10%, rgb(0 0 0) 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 55% at 50% -10%, rgb(0 0 0) 20%, transparent 72%);
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

code,
kbd,
.font-mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

::selection {
  background: rgb(var(--accent) / 0.22);
  color: rgb(var(--text));
}

:where(a, button, summary, input, textarea, select):focus-visible {
  outline: 2px solid rgb(var(--ring));
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  border-radius: 0.6rem;
  background: rgb(var(--accent));
  color: rgb(var(--accent-contrast));
  padding: 0.5rem 0.8rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgb(var(--bg) / 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: rgb(var(--border));
}

.header-inner {
  height: var(--header-h);
}

.deal-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.4rem 1rem;
  background: #0b0b0d;
  color: #f8f5ef;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
}

.deal-bar p {
  margin: 0;
}

.deal-code {
  display: inline-flex;
  align-items: center;
  margin: 0 0.15rem;
  padding: 0.05rem 0.45rem;
  border: 1px dashed #f5c451;
  border-radius: 0.35rem;
  background: #1c1608;
  color: #f5c451;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  vertical-align: baseline;
}

.deal-code.is-copied {
  border-style: solid;
  color: #fff;
}

html[data-mode="dark"] .deal-bar {
  background: #f5b400;
  color: #1a1406;
}

html[data-mode="dark"] .deal-code {
  background: #1a1406;
  border-color: #1a1406;
  color: #fff8e6;
}

html[data-mode="dark"] .deal-code.is-copied {
  color: #fff8e6;
}

#main {
  padding-top: var(--deal-offset);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.8rem;
  padding: 0.75rem 1.1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}

.btn-sm {
  padding: 0.55rem 0.85rem;
  font-size: 0.8125rem;
  border-radius: 0.7rem;
}

.btn-square {
  padding: 0.55rem;
}

/* .btn sets display after Tailwind, so sm:hidden would lose and both Download buttons stay visible. */
@media (min-width: 640px) {
  .btn.sm\:hidden {
    display: none;
  }
}

.btn-primary {
  background: rgb(var(--accent));
  color: rgb(var(--accent-contrast));
}

.btn-primary:hover {
  background: rgb(var(--accent-hover));
}

.btn-secondary {
  background: rgb(var(--surface));
  color: rgb(var(--text));
  border-color: rgb(var(--border));
}

.btn-secondary:hover {
  border-color: rgb(var(--accent));
}

.btn-contrast {
  background: rgb(var(--accent-contrast));
  color: rgb(var(--accent));
}

.btn-contrast:hover {
  opacity: 0.92;
}

.btn-block {
  width: 100%;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: transparent;
  color: rgb(var(--text));
  cursor: pointer;
}

.icon-btn:hover {
  background: rgb(var(--surface-2));
  border-color: rgb(var(--border));
}

.popover {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 60;
  width: 11.5rem;
  padding: 0.35rem;
  border-radius: 0.9rem;
  border: 1px solid rgb(var(--border));
  background: rgb(var(--surface));
  box-shadow: var(--shadow-pop);
}

.popover button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.6rem;
  border: 0;
  background: transparent;
  color: rgb(var(--text));
  border-radius: 0.6rem;
  padding: 0.45rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.popover button[aria-checked="true"] {
  background: rgb(var(--accent-soft));
  color: rgb(var(--text));
}

.popover button:hover {
  background: rgb(var(--surface-2));
}

.swatch {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgb(var(--text) / 0.18);
}

.swatch-indigo { background: rgb(var(--swatch-indigo)); }
.swatch-emerald { background: rgb(var(--swatch-emerald)); }
.swatch-amber { background: rgb(var(--swatch-amber)); }

.card,
.hover-lift {
  background: rgb(var(--surface));
  border: 1px solid rgb(var(--border));
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}

html[data-mode="dark"] .card,
html[data-mode="dark"] .hover-lift {
  box-shadow: var(--shadow-card);
}

.hover-lift:hover {
  border-color: rgb(var(--accent) / 0.7);
  box-shadow: var(--shadow-card-hover);
}

.section-pad {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .section-pad {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--border));
  background: rgb(var(--surface) / 0.8);
  padding: 0.28rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgb(var(--text-muted));
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 100%;
  text-align: left;
}

.trust-faces {
  display: flex;
  flex-shrink: 0;
}

.trust-faces img {
  width: 2.85rem;
  height: 2.85rem;
  margin-left: -0.75rem;
  border: 2px solid rgb(var(--bg));
  border-radius: 999px;
  object-fit: cover;
  object-position: center top;
  background: rgb(var(--surface-2));
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.12);
}

.trust-faces img:first-child {
  margin-left: 0;
}

.trust-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.trust-lead,
.trust-reviews {
  margin: 0;
  line-height: 1.2;
}

.trust-lead {
  color: rgb(var(--text));
  font-size: 1.05rem;
  font-weight: 600;
}

.trust-lead strong {
  font-weight: 800;
}

.trust-reviews {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: rgb(var(--text-muted));
  font-size: 0.8125rem;
  font-weight: 500;
}

.trust-reviews strong {
  color: rgb(var(--text));
  font-weight: 700;
}

.trust-stars {
  display: inline-flex;
  gap: 0.05rem;
  color: #f5b400;
}

.trust-stars svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.gradient-word {
  background-image: linear-gradient(100deg, rgb(var(--accent)) 0%, rgb(var(--accent-hover)) 42%, rgb(var(--text)) 125%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-slot {
  display: inline-block;
  white-space: nowrap;
  vertical-align: baseline;
}

.hero-type {
  display: inline;
}

.hero-type.caret::after {
  width: 0.07em;
  min-width: 2px;
  height: 0.78em;
  margin-left: 0.08em;
  border-radius: 2px;
  vertical-align: 0.06em;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: -6rem;
  z-index: 0;
  width: min(78rem, 130%);
  height: 34rem;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgb(var(--accent) / 0.18), transparent 68%);
}

.video-hang {
  margin-bottom: -7.5rem;
}

main .video-hang {
  margin-top: 1rem;
}

@media (min-width: 1024px) and (min-height: 760px) {
  main .video-hang {
    margin-top: 5rem;
  }
}

.highlights-clear {
  padding-top: 10.5rem;
}

#highlights {
  scroll-margin-top: calc(var(--header-h) + 3.5rem);
}

.highlight-grid {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-height: 100%;
  padding: 1.15rem 1.15rem 1.3rem;
  overflow: hidden;
  border: 1px solid rgb(var(--border));
  border-radius: 1.2rem;
  background:
    linear-gradient(165deg, rgb(var(--accent) / 0.08), transparent 46%),
    rgb(var(--surface));
  box-shadow: var(--shadow-card);
}

.highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 1.1rem;
  left: 1.1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--accent) / 0.75), transparent);
  opacity: 0.45;
}

.highlight-icon {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 0.85rem;
  color: rgb(var(--accent));
  background:
    linear-gradient(180deg, rgb(var(--accent) / 0.18), rgb(var(--accent-soft)));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.4),
    inset 0 0 0 1px rgb(var(--accent) / 0.16);
}

html[data-mode="dark"] .highlight-icon {
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    inset 0 0 0 1px rgb(var(--accent) / 0.3);
}

.highlight-title {
  display: block;
  color: rgb(var(--text));
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.highlight-text {
  display: block;
  margin-top: 0.35rem;
  color: rgb(var(--text-muted));
  font-size: 0.8125rem;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .highlight-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .video-hang {
    margin-bottom: -13rem;
  }
  .highlights-clear {
    padding-top: 17.5rem;
  }
}

.video-perspective {
  perspective: 1800px;
}

.video-tilt {
  transform: rotateX(8deg) scale(0.94);
  transform-origin: 50% 0;
  will-change: transform;
}

.window-frame {
  position: relative;
  border-radius: 1.15rem;
  border: 1px solid rgb(var(--border));
  background: rgb(var(--surface));
  color: rgb(var(--text));
  box-shadow:
    0 1px 1px rgb(var(--text) / 0.04),
    0 30px 60px -24px rgb(var(--text) / 0.28),
    0 50px 90px -36px rgb(var(--accent) / 0.35);
  overflow: hidden;
}

#demo-window[data-mode="dark"] {
  color-scheme: dark;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.07),
    0 30px 70px -28px rgb(0 0 0 / 0.72),
    0 40px 90px -30px rgb(var(--accent) / 0.28);
}

#demo-window[data-mode="light"] {
  color-scheme: light;
}

.win-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  border-bottom: 1px solid rgb(var(--border));
  background: rgb(var(--surface));
  padding: 0.55rem 0.85rem;
}

.win-brand,
.win-tools,
.live-pill,
.win-switch {
  display: flex;
  align-items: center;
}

.win-brand {
  gap: 0.75rem;
}

.win-tools {
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin-left: auto;
}

.win-mode {
  display: inline-flex;
  padding: 0.12rem;
  border: 1px solid rgb(var(--border));
  border-radius: 999px;
  background: rgb(var(--bg));
}

.win-mode button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgb(var(--text-muted));
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.18rem 0.48rem;
  cursor: pointer;
}

.win-mode button[aria-pressed="true"] {
  background: rgb(var(--surface));
  color: rgb(var(--accent));
  box-shadow: 0 1px 2px rgb(var(--text) / 0.14);
}

.live-pill {
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgb(var(--success));
}

.live-ball {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgb(var(--success));
  box-shadow: 0 0 0 0 rgb(var(--success) / 0.55);
  animation: live-pulse 1.6s ease-out infinite;
}

@keyframes live-pulse {
  70%, 100% { box-shadow: 0 0 0 7px rgb(var(--success) / 0); }
}

.win-switch {
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgb(var(--text));
  cursor: pointer;
  user-select: none;
}

.win-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.win-switch-ui {
  position: relative;
  width: 1.75rem;
  height: 1rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgb(var(--border));
  background: rgb(var(--surface-2));
}

.win-switch-ui::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: rgb(var(--text-muted));
  transition: transform 150ms ease, background 150ms ease;
}

.win-switch input:checked + .win-switch-ui {
  border-color: rgb(var(--accent));
  background: rgb(var(--accent));
}

.win-switch input:checked + .win-switch-ui::after {
  transform: translateX(0.7rem);
  background: rgb(var(--accent-contrast));
}

.win-switch input:focus-visible + .win-switch-ui {
  outline: 2px solid rgb(var(--ring));
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .live-ball { animation: none; }
}

.video-glow {
  position: absolute;
  inset: -1.5rem -1rem auto;
  height: 70%;
  z-index: -1;
  border-radius: 2rem;
  background: rgb(var(--accent) / 0.22);
  filter: blur(42px);
  pointer-events: none;
}

.top-fade {
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto 0;
  height: 4.5rem;
  background: linear-gradient(to bottom, rgb(var(--bg) / 0.55), transparent);
  z-index: 3;
}

.demo-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 30rem;
  background: rgb(var(--surface));
}

@media (min-width: 768px) {
  .demo-slot {
    height: 36rem;
  }
}

.chat-demo {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: rgb(var(--surface));
}

.chat-log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.9rem 0.9rem 0.4rem;
}

.chat-hint {
  margin: auto 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgb(var(--text-muted));
}

.chat-msg {
  max-width: min(100%, 40rem);
  border-radius: 0.95rem;
  padding: 0.55rem 0.75rem 0.7rem;
}

.chat-msg.is-user {
  align-self: flex-end;
  background: rgb(var(--accent));
  color: rgb(var(--accent-contrast));
}

.chat-msg.is-ai {
  align-self: stretch;
  border: 1px solid rgb(var(--border));
  background: rgb(var(--surface-2));
  color: rgb(var(--text));
}

.chat-msg.is-skipped {
  align-self: flex-start;
  border-style: dashed;
  background: transparent;
}

.chat-context-label {
  margin-top: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(var(--accent));
}

.chat-context {
  margin-top: 0.28rem;
  border-left: 2px solid rgb(var(--accent));
  padding-left: 0.6rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.chat-skip {
  margin-top: 0.28rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(var(--text-muted));
}

.chat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chat-msg.is-user .chat-label {
  color: rgb(var(--accent-contrast) / 0.72);
}

.chat-msg.is-ai .chat-label {
  color: rgb(var(--text-muted));
}

.chat-copy {
  margin-top: 0.28rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.chat-copy + .chat-copy {
  margin-top: 0.45rem;
}

.chat-key {
  font-weight: 700;
  color: rgb(var(--accent));
  background: rgb(var(--accent) / 0.12);
  border-radius: 0.28rem;
  padding: 0 0.22rem;
}

.chat-meta {
  margin-top: 0.45rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  color: rgb(var(--text-muted));
}

.chat-dots {
  display: flex;
  gap: 0.28rem;
  margin-top: 0.45rem;
}

.chat-dots i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: rgb(var(--accent));
  animation: chat-dot 1s ease-in-out infinite;
}

.chat-dots i:nth-child(2) { animation-delay: 0.15s; }
.chat-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes chat-dot {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.chat-code {
  margin-top: 0.55rem;
  overflow: auto;
  border-radius: 0.75rem;
  border: 1px solid rgb(var(--border));
  background: rgb(var(--bg));
}

.chat-table-wrap {
  margin-top: 0.55rem;
  overflow-x: auto;
  border: 1px solid rgb(var(--border));
  border-radius: 0.75rem;
  background: rgb(var(--bg));
}

.chat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  line-height: 1.4;
}

.chat-table th,
.chat-table td {
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgb(var(--border));
}

.chat-table th {
  background: rgb(var(--surface));
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.chat-table th:nth-child(2) {
  color: rgb(var(--accent));
}

.chat-table tbody tr:nth-child(even) td {
  background: rgb(var(--surface) / 0.65);
}

.chat-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.chat-table tr:last-child td {
  border-bottom: 0;
}

.chat-points {
  margin-top: 0.65rem;
}

.chat-points-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(var(--accent));
}

.chat-points ul {
  margin: 0.3rem 0 0;
  padding-left: 1.15rem;
  list-style: disc;
}

.chat-points li {
  display: list-item;
  margin-top: 0.28rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  list-style: disc;
}

.chat-points li::marker {
  color: rgb(var(--accent));
}

.chat-code-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.7rem;
  border-bottom: 1px solid rgb(var(--border));
  background: rgb(var(--bg));
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.65rem;
  color: rgb(var(--text-muted));
}

.chat-code pre {
  margin: 0;
  padding: 0.7rem 0.8rem 0.85rem;
  overflow-x: auto;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgb(var(--text));
}

.tok-kw { color: rgb(var(--accent)); font-weight: 500; }
.tok-type { color: rgb(var(--text)); font-weight: 600; }
.tok-str { color: rgb(var(--success)); }
.tok-num { color: rgb(var(--success)); }
.tok-cmt { color: rgb(var(--text-muted)); font-style: italic; }

.chat-composer {
  flex-shrink: 0;
  border-top: 1px solid rgb(var(--border));
  background: rgb(var(--surface));
  padding: 0.6rem 0.75rem 0.75rem;
}

.chat-listen {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgb(var(--text-muted));
}

.chat-listen .eq {
  height: 0.85rem;
  opacity: 0.35;
}

.chat-listen.is-on {
  color: rgb(var(--accent));
}

.chat-listen.is-on .eq {
  opacity: 1;
}

.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
}

.chat-input {
  flex: 1;
  min-width: 0;
  min-height: 2.65rem;
  max-height: 4.6rem;
  overflow: auto;
  border-radius: 0.85rem;
  border: 1px solid rgb(var(--border));
  background: rgb(var(--bg));
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgb(var(--text));
}

.chat-input.is-typing {
  border-color: rgb(var(--accent));
  box-shadow: 0 0 0 3px rgb(var(--accent) / 0.16);
}

.chat-input.is-empty::before {
  content: "Waiting for the next question…";
  color: rgb(var(--text-muted));
}

.chat-composer .btn:disabled {
  opacity: 0.45;
  cursor: default;
}

@media (max-width: 520px) {
  .chat-row {
    flex-wrap: wrap;
  }
  .chat-input {
    flex-basis: 100%;
  }
  .chat-row .btn {
    flex: 1;
  }
}

.demo-slot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.demo-slot.is-ready .demo-placeholder {
  display: none;
}

.demo-slot.is-ready video {
  opacity: 1;
  pointer-events: auto;
}

.scroll-cue .bob {
  animation: bob 1.6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 1.15rem;
}

.eq i {
  display: block;
  width: 3px;
  height: 100%;
  border-radius: 999px;
  background: rgb(var(--accent));
  transform-origin: bottom;
  animation: eq 1.05s ease-in-out infinite;
}

.eq i:nth-child(2) { animation-delay: 0.12s; }
.eq i:nth-child(3) { animation-delay: 0.24s; }
.eq i:nth-child(4) { animation-delay: 0.08s; }
.eq i:nth-child(5) { animation-delay: 0.2s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

.caret::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: rgb(var(--accent));
  animation: blink 1s steps(1) infinite;
}

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

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

@media (min-width: 768px) {
  .steps > li {
    position: relative;
  }

  .steps > li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: calc(3rem - 2px);
    width: calc(100% + 2rem - 3rem + 4px);
    height: 1px;
    background: rgb(var(--border));
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
  }
}

details summary {
  list-style: none;
  cursor: pointer;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-plus {
  transition: transform 150ms ease;
}

.price {
  font-size: clamp(1.35rem, 2vw, 2.15rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.plan-popular {
  border-color: rgb(var(--accent));
  box-shadow:
    0 0 0 4px rgb(var(--accent) / 0.12),
    0 20px 50px -24px rgb(var(--accent) / 0.55),
    var(--shadow-card);
}

@media (min-width: 768px) {
  .plan-popular {
    transform: translateY(-0.85rem);
  }
}

.is-current-os {
  border-color: rgb(var(--accent));
  box-shadow:
    0 0 0 4px rgb(var(--accent) / 0.14),
    var(--shadow-card);
}

input[type="range"] {
  accent-color: rgb(var(--accent));
  width: 100%;
}

.field {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid rgb(var(--text) / 0.22);
  background: rgb(var(--surface));
  color: rgb(var(--text));
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 0.9375rem;
}

.field::placeholder {
  color: rgb(var(--text-muted));
}

.field.is-invalid {
  border-color: rgb(var(--danger));
}

.form-error {
  color: rgb(var(--danger));
  font-size: 0.8125rem;
}

.prose-article {
  max-width: 70ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgb(var(--text));
}

.prose-article h2 {
  margin-top: 2.6rem;
  font-size: 1.55rem;
  font-weight: 700;
}

.prose-article h3 {
  margin-top: 1.8rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.prose-article p,
.prose-article ul,
.prose-article ol,
.prose-article blockquote {
  margin-top: 1rem;
}

.prose-article ul,
.prose-article ol {
  padding-left: 1.2rem;
}

.prose-article ul { list-style: disc; }
.prose-article ol { list-style: decimal; }

.prose-article li + li {
  margin-top: 0.4rem;
}

.prose-article a {
  color: rgb(var(--accent));
  text-underline-offset: 3px;
}

.prose-article blockquote {
  margin-left: 0;
  border-left: 3px solid rgb(var(--accent));
  padding-left: 1rem;
  color: rgb(var(--text-muted));
}

.cover {
  position: relative;
  height: 10.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgb(var(--border));
  background:
    radial-gradient(circle at 20% 20%, rgb(var(--accent) / 0.35), transparent 42%),
    linear-gradient(160deg, rgb(var(--surface-2)), rgb(var(--bg)));
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(var(--text) / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--text) / 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0), transparent);
  mask-image: linear-gradient(to bottom, rgb(0 0 0), transparent);
}

.cover-b {
  background:
    radial-gradient(circle at 80% 0%, rgb(var(--accent) / 0.4), transparent 46%),
    linear-gradient(200deg, rgb(var(--accent-soft)), rgb(var(--surface)));
}

.cover-c {
  background:
    radial-gradient(circle at 50% 120%, rgb(var(--accent) / 0.45), transparent 50%),
    linear-gradient(180deg, rgb(var(--surface)), rgb(var(--accent-soft)));
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.guarantee-link {
  color: rgb(var(--text-muted));
  font-size: 0.75rem;
  text-decoration: none;
}

.guarantee-link:hover {
  color: rgb(var(--text));
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  body :where(*) {
    transition: background-color 150ms linear, border-color 150ms linear, color 150ms linear, fill 150ms linear, stroke 150ms linear;
  }

  .hover-lift,
  .btn,
  .icon-btn,
  .faq-plus,
  .video-tilt,
  .highlight-card {
    transition: background-color 150ms linear, border-color 150ms linear, color 150ms linear, box-shadow 150ms ease, transform 150ms ease, opacity 150ms ease;
  }

  .highlight-card:hover,
  .js .highlight-card.reveal.is-in:hover {
    transform: translateY(-4px);
    border-color: rgb(var(--accent) / 0.45);
    box-shadow: var(--shadow-card-hover);
  }

  .highlight-card:hover::before,
  .js .highlight-card.reveal.is-in:hover::before {
    opacity: 1;
  }

  .js .reveal.is-in {
    transition: opacity 500ms ease, transform 500ms ease;
  }

  .js .highlight-card.reveal.is-in {
    transition: opacity 500ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.marquee-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  margin: 0;
  padding: 0.35rem 0 1.25rem;
  list-style: none;
  animation: marquee-rtl 72s linear infinite;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.t-card {
  display: flex;
  width: 22.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0.7rem;
  border-radius: 1rem;
  border: 1px solid #e6e8ea;
  background: #fff;
  color: #0f1419;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 18px 40px -24px rgb(15 23 42 / 0.35);
  padding: 0.95rem 1rem 0.85rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.soc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.soc-profile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.soc-profile:hover .soc-name {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.soc-avatar {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  object-fit: cover;
  background: #e7e9ea;
}

.soc-id {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.soc-name {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #0f1419;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
}

.soc-badge {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.soc-handle {
  color: #536471;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.soc-follow {
  color: #1d9bf0;
  font-weight: 700;
}

.soc-mark {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  place-items: center;
  color: #0f1419;
}

.soc-mark svg {
  width: 1.15rem;
  height: 1.15rem;
}

.soc-mark-reddit svg,
.soc-mark-bsky svg {
  width: 1.35rem;
  height: 1.35rem;
}

.soc-title {
  color: #1a1a1b;
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.35;
}

.soc-copy {
  color: #0f1419;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.soc-copy p + p {
  margin-top: 0.65rem;
}

.soc-time {
  color: #536471;
  font-size: 0.8125rem;
}

.soc-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.1rem;
  border-top: 1px solid #eff3f4;
  padding-top: 0.65rem;
  color: #536471;
  font-size: 0.8125rem;
}

.soc-act {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.soc-act svg {
  width: 1.05rem;
  height: 1.05rem;
}

.soc-act.is-like {
  color: #f91880;
}

.soc-act.is-reply {
  color: #1d9bf0;
}

.soc-act.is-up {
  color: #ff4500;
  font-weight: 700;
}

.soc-more {
  display: block;
  border: 1px solid #cfd9de;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: #1d9bf0;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
}

.t-reddit .soc-more {
  color: #ff4500;
}

.t-bsky .soc-follow,
.t-bsky .soc-more,
.t-bsky .soc-act.is-reply {
  color: #1185fe;
}

.t-threads .soc-follow,
.t-threads .soc-more {
  color: #000;
}

.t-threads .soc-act.is-like {
  color: #ff3040;
}

@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .video-tilt {
    transform: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee {
    overflow-x: auto;
    mask-image: none;
  }

  .marquee-track {
    animation: none;
  }
}
