:root {
  color-scheme: dark;
  --bg: #020817;
  --bg-soft: #0f172a;
  --surface: rgba(15, 23, 42, 0.78);
  --surface-strong: rgba(15, 23, 42, 0.94);
  --surface-alt: rgba(30, 41, 59, 0.78);
  --line: rgba(148, 163, 184, 0.22);
  --line-strong: rgba(125, 211, 252, 0.34);
  --text: #e5eefb;
  --muted: #8ea2bf;
  --accent: #38bdf8;
  --accent-2: #22c55e;
  --accent-3: #f59e0b;
  --chip: rgba(30, 41, 59, 0.92);
  --chip-text: #f8fbff;
  --shadow: 0 30px 80px rgba(2, 6, 23, 0.45);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f8fbff;
  --bg-soft: #e2e8f0;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-alt: rgba(226, 232, 240, 0.7);
  --line: rgba(15, 23, 42, 0.12);
  --line-strong: rgba(29, 78, 216, 0.22);
  --text: #0f172a;
  --muted: #64748b;
  --accent: #0ea5e9;
  --accent-2: #10b981;
  --accent-3: #f97316;
  --chip: rgba(255, 255, 255, 0.95);
  --chip-text: #0f172a;
  --shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(34, 197, 94, 0.14), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, #07111f 100%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: hidden;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(34, 197, 94, 0.1), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
  padding: 28px 24px 72px;
}

.ambient,
.grid-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-a {
  background: radial-gradient(circle at 20% 12%, rgba(56, 189, 248, 0.16), transparent 24%);
}

.ambient-b {
  background: radial-gradient(circle at 84% 20%, rgba(245, 158, 11, 0.08), transparent 18%);
}

.grid-noise {
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at center, #000 48%, transparent 100%);
}

.topbar,
.hero,
.section-block {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 28px;
}

.brand-link,
.switcher,
.theme-btn,
.bookmarklet-cta,
.ghost-cta,
.ui-window,
.why-card,
.demo-panel,
.demo-canvas,
.feature-card,
.notes-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 999px;
}

.brand-badge,
.section-kicker,
.demo-label,
.selector-chip,
.window-pill,
.mock-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--accent);
}

.brand-name {
  font-weight: 700;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.switcher {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
}

.switch-btn,
.theme-btn,
.preset-btn,
.panel-btn {
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.switch-btn {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}

.switch-btn.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #020817;
}

.theme-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--chip);
  color: var(--chip-text);
  display: grid;
  place-items: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 28px;
  align-items: center;
  padding: 24px 0 40px;
}

.eyebrow,
.hero-flow,
.hero-text,
.hero-subtext,
.section-text,
.why-card p,
.notes-card p,
.feature-card p,
.demo-card p {
  margin: 0;
}

.eyebrow {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.headline-wrap {
  display: grid;
  gap: 16px;
  margin: 18px 0 10px;
}

.comic-chip {
  justify-self: start;
  padding: 9px 14px;
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-3);
  font-family: "Bangers", cursive;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  transform: rotate(-2deg);
}

h1,
h2,
h3,
.mock-card strong,
.demo-card strong {
  margin: 0;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3.4rem, 9vw, 7rem);
  line-height: 0.92;
}

.hero-flow {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
}

.hero-text {
  margin-top: 18px;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  max-width: 18ch;
}

.hero-subtext,
.section-text,
.why-card p,
.notes-card p,
.feature-card p,
.demo-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-subtext {
  margin-top: 18px;
  max-width: 58ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.bookmarklet-cta,
.ghost-cta {
  border-radius: 20px;
}

.bookmarklet-cta {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  min-width: 260px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(34, 197, 94, 0.12)),
    var(--surface-strong);
  overflow: hidden;
}

.bookmarklet-cta__label {
  font-weight: 700;
  text-align: center;
}

.bookmarklet-cta__hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.bookmarklet-cta__drag {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
}

.bookmarklet-cta__drag::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow:
    0 0 0 0 rgba(56, 189, 248, 0),
    0 0 0 0 rgba(34, 197, 94, 0);
  animation: bookmarklet-pulse-hint 3.2s ease-in-out infinite;
}

.ghost-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  min-width: 210px;
  background: var(--surface-strong);
  font-weight: 700;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-points li,
.selector-chip,
.demo-label,
.window-pill,
.mock-status {
  border-radius: 999px;
  background: var(--chip);
  color: var(--chip-text);
}

.hero-points li {
  padding: 10px 14px;
  border: 1px solid var(--line);
}

.ui-window {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.ui-window__top,
.demo-browser-bar,
.mock-editor__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ui-window__top {
  padding: 16px 18px;
  background: rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid var(--line);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.5);
}

.window-pill {
  margin-left: auto;
  padding: 8px 12px;
}

.ui-window__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  padding: 20px;
}

.mock-runtime {
  position: relative;
  min-height: 360px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(2, 6, 23, 0.08));
}

.mock-page {
  display: grid;
  gap: 14px;
  align-content: start;
}

.mock-page__card {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.12), rgba(34, 197, 94, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.mock-page__card.selected::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px dashed rgba(56, 189, 248, 0.6);
  border-radius: 30px;
}

.mock-page__line {
  height: 14px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
}

.mock-page__line.short {
  width: 62%;
}

.mock-overlay-box {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.26);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.32);
}

html[data-theme="light"] .mock-overlay-box {
  background: rgba(255, 255, 255, 0.96);
}

.mock-overlay-box__label {
  font-size: 0.8rem;
  color: var(--muted);
}

.mock-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
}

.mock-page__card strong,
.demo-card strong {
  display: block;
  font-size: 1.2rem;
}

.mock-page__card p {
  margin: 10px 0 0;
  max-width: 32ch;
  color: var(--muted);
  line-height: 1.7;
}

.mock-page__card button,
.demo-primary,
.demo-secondary,
.panel-btn-primary {
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #020817;
  font-weight: 700;
}

.mock-page__card button {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 16px;
}

.mock-note {
  padding: 16px;
  border-radius: 18px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--line);
}

.mock-note span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.mock-note code,
.demo-browser-bar code,
.selector-chip,
textarea {
  font-family: "JetBrains Mono", monospace;
}

.mock-editor {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.42);
}

html[data-theme="light"] .mock-editor {
  background: rgba(248, 250, 252, 0.92);
}

.mock-editor__head {
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.mock-editor__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 16px 0;
}

.mock-status {
  padding: 6px 10px;
}

.mock-editor pre,
textarea {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.65;
  font-size: 0.92rem;
}

.mock-editor pre {
  padding: 18px 16px 20px;
  color: var(--text);
}

.section-block {
  padding-top: 44px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 22px;
}

.section-kicker {
  color: var(--accent);
  margin: 0 0 12px;
  padding-top: 10px;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
}

.why-grid,
.feature-grid {
  display: grid;
  gap: 18px;
}

.why-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-card,
.notes-card {
  padding: 24px;
  border-radius: 24px;
}

.why-card-ai {
  grid-row: span 2;
}

.why-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.1;
}

.ai-card {
  display: grid;
  gap: 16px;
}

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

.ai-inline {
  display: grid;
  gap: 12px;
}

.mini-mock {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.34), rgba(2, 6, 23, 0.2));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 30px rgba(2, 6, 23, 0.12);
}

html[data-theme="light"] .mini-mock {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.82));
}

.mini-mock__head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--muted);
  font-size: 0.88rem;
}

.mini-mock__head::before {
  content: "";
  width: 34px;
  height: 10px;
  flex: 0 0 34px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(248, 250, 252, 0.92) 0 3px, transparent 3.5px) left center / 10px 10px no-repeat,
    radial-gradient(circle, rgba(203, 213, 225, 0.9) 0 3px, transparent 3.5px) center center / 10px 10px no-repeat,
    radial-gradient(circle, rgba(148, 163, 184, 0.84) 0 3px, transparent 3.5px) right center / 10px 10px no-repeat;
  opacity: 0.85;
}

.mini-mock__head span:first-child {
  flex: 1;
}

.mini-mock pre {
  margin: 0;
  position: relative;
  padding: 14px 14px 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(90deg, rgba(56, 189, 248, 0.12), rgba(56, 189, 248, 0) 18px),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 28px
    ),
    rgba(2, 6, 23, 0.16);
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.mini-mock--text pre {
  background:
    linear-gradient(90deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0) 18px),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 28px
    ),
    rgba(2, 6, 23, 0.14);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
}

.ai-card__layout {
  display: grid;
  gap: 14px;
}

.ai-footnote {
  margin-left: 4px;
  color: var(--accent-3);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72em;
  vertical-align: super;
}

.ai-inline__prompt,
.ai-inline__code {
  padding: 16px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.22);
  border: 1px solid var(--line);
}

html[data-theme="light"] .ai-inline__prompt,
html[data-theme="light"] .ai-inline__code {
  background: rgba(255, 255, 255, 0.72);
}

.ai-inline__prompt span,
.ai-inline__code span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.ai-inline__prompt p {
  margin: 0;
}

.ai-inline__code pre {
  margin: 0;
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.why-card-accent {
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(245, 158, 11, 0.08)),
    var(--surface);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.demo-canvas,
.demo-panel {
  border-radius: 28px;
  padding: 18px;
}

.demo-browser-bar {
  padding: 4px 0 18px;
}

.demo-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.5);
}

.demo-browser-bar code {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.82rem;
}

.demo-hero,
.demo-card,
.code-wrap textarea {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.demo-hero,
.demo-card {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.06);
}

.demo-hero {
  padding: 24px;
}

.demo-hero h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-top: 10px;
}

.demo-hero p:last-of-type {
  margin-top: 14px;
  max-width: 48ch;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.demo-primary,
.demo-secondary,
.panel-btn {
  padding: 12px 16px;
  border-radius: 16px;
}

.demo-secondary,
.panel-btn {
  color: var(--text);
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.demo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.demo-card {
  padding: 18px;
}

.demo-card strong {
  margin: 14px 0 8px;
}

.demo-pill {
  display: inline-flex;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent);
  font-weight: 700;
}

.demo-panel {
  display: grid;
  gap: 18px;
}

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

.selector-chip {
  padding: 10px 12px;
}

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

.control {
  display: grid;
  gap: 8px;
}

.control span,
.code-wrap span {
  font-size: 0.92rem;
  font-weight: 500;
}

.control input[type="color"] {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px;
  background: var(--surface-alt);
}

.control input[type="range"] {
  width: 100%;
}

.control-range {
  grid-column: span 2;
}

.preset-row,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preset-btn {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--text);
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.code-wrap {
  display: grid;
  gap: 8px;
}

textarea {
  min-height: 240px;
  width: 100%;
  resize: vertical;
  padding: 16px;
  color: var(--text);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.5);
}

html[data-theme="light"] textarea {
  background: rgba(248, 250, 252, 0.92);
}

.feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card {
  min-height: 200px;
  padding: 18px;
  border-radius: 22px;
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  line-height: 1.1;
}

.feature-card p {
  margin-top: 12px;
}

.notes-card {
  max-width: 760px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(34, 197, 94, 0.08)),
    var(--surface);
}

.notes-card h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
}

.notes-meta {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.notes-legal {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.notes-legal__item {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.notes-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  /* border: 1px solid var(--line); */
  border: 1px dashed rgba(56, 189, 248, 0.6);
  background: var(--surface-alt);
  font-weight: 700;
}

.notes-link__comic {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-3);
  font-family: "Bangers", cursive;
  font-size: 1rem;
  letter-spacing: 0.06em;
  transform: rotate(-2deg);
}

[data-demo-target] {
  cursor: pointer;
}

[data-demo-target].is-selected {
  position: relative;
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.bookmarklet-cta:hover,
.ghost-cta:hover,
.brand-link:hover,
.feature-card:hover,
.why-card:hover,
.notes-card:hover,
.preset-btn:hover,
.panel-btn:hover,
.switch-btn:hover,
.theme-btn:hover {
  transform: translateY(-2px);
}

@keyframes bookmarklet-pulse-hint {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(56, 189, 248, 0),
      0 0 0 0 rgba(34, 197, 94, 0);
    opacity: 0.78;
  }

  24% {
    box-shadow:
      0 0 0 8px rgba(56, 189, 248, 0.08),
      0 0 0 0 rgba(34, 197, 94, 0);
    opacity: 1;
  }

  46% {
    box-shadow:
      0 0 0 0 rgba(56, 189, 248, 0),
      0 0 0 0 rgba(34, 197, 94, 0);
    opacity: 0.8;
  }

  66% {
    box-shadow:
      0 0 0 0 rgba(56, 189, 248, 0),
      0 0 0 8px rgba(34, 197, 94, 0.08);
    opacity: 1;
  }

  86% {
    box-shadow:
      0 0 0 0 rgba(56, 189, 248, 0),
      0 0 0 0 rgba(34, 197, 94, 0);
    opacity: 0.8;
  }
}

@media (max-width: 1100px) {
  .hero,
  .demo-layout {
    grid-template-columns: 1fr;
  }

  .ui-window__body {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .page-shell {
    padding-inline: 16px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions {
    justify-content: space-between;
  }

  .why-grid,
  .demo-cards,
  .feature-grid,
  .control-grid {
    grid-template-columns: 1fr;
  }

  .why-card-ai {
    grid-row: auto;
  }

  .control-range {
    grid-column: auto;
  }

  h1 {
    font-size: clamp(2.8rem, 18vw, 4.6rem);
  }

  h2 {
    font-size: clamp(1.8rem, 11vw, 3rem);
  }

  .cta-row,
  .panel-actions,
  .preset-row {
    flex-direction: column;
  }

  .bookmarklet-cta,
  .ghost-cta,
  .panel-btn {
    width: 100%;
  }

  .demo-panel__top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*branding*/
.footer-brending {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
}

.footer-brending .card__photo {
  width: 48px;
  height: auto;
  object-fit: cover;
}

.footer-brending .site-footer__copy {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.footer-brending .site-footer__link {
  text-decoration: none;
}

.footer-brending .site-footer__link:hover {
  text-decoration: underline;
}



html[data-theme="light"] #ai-asist {
  background: linear-gradient(135deg, #dffaf5 0%, #e6f3ff 100%);
  border: 1px dashed rgba(56, 189, 248, 0.6);
}

html[data-theme="dark"] #ai-asist {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(34, 197, 94, 0.12));
  border: 1px dashed rgba(56, 189, 248, 0.6);
}

#txt-asist {
  background-image: linear-gradient(135deg, #d9f7ff 0%, #b6f0de 45%, #e6fbff 100%), linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0) 40%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #03363a;
  padding: 6px 10px;
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 2px 6px rgba(2,16,24,0.08);
}
.sub2 {
text-decoration-line: underline;
    text-decoration-style: dashed;
    text-decoration-color: #f97315;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}