:root {
  color-scheme: light dark;
  --ink: #33222b;
  --muted: #795867;
  --pink: #ff8fbd;
  --pink-dark: #df5f96;
  --pink-soft: #ffe5ef;
  --cream: #fff9fb;
  --white: #ffffff;
  --line: #f2c8da;
  --body-bg:
    radial-gradient(circle at top left, #ffe1ee 0, transparent 32rem),
    linear-gradient(180deg, #fff7fb 0%, #fff 48%, #fff5fa 100%);
  --header-bg: rgba(255, 249, 251, 0.82);
  --panel-bg: rgba(255, 255, 255, 0.82);
  --panel-bg-strong: rgba(255, 255, 255, 0.78);
  --message-bg: linear-gradient(180deg, #fff, #fff5fa);
  --secondary-bg: rgba(255, 255, 255, 0.76);
  --toggle-bg: rgba(255, 255, 255, 0.74);
  --code: #92385f;
  --shadow: 0 22px 70px rgba(170, 75, 119, 0.18);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #fff2f7;
    --muted: #d8adbf;
    --pink: #ff8fbd;
    --pink-dark: #ff70ad;
    --pink-soft: #4c2438;
    --cream: #171018;
    --white: #231522;
    --line: #5c3147;
    --body-bg:
      radial-gradient(circle at top left, rgba(121, 52, 83, 0.62) 0, transparent 34rem),
      linear-gradient(180deg, #120b13 0%, #1a1019 48%, #130b12 100%);
    --header-bg: rgba(23, 16, 24, 0.86);
    --panel-bg: rgba(35, 21, 34, 0.86);
    --panel-bg-strong: rgba(35, 21, 34, 0.86);
    --message-bg: linear-gradient(180deg, #2a1a29, #211421);
    --secondary-bg: rgba(35, 21, 34, 0.82);
    --toggle-bg: rgba(35, 21, 34, 0.82);
    --code: #ff8fbd;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --ink: #33222b;
  --muted: #795867;
  --pink: #ff8fbd;
  --pink-dark: #df5f96;
  --pink-soft: #ffe5ef;
  --cream: #fff9fb;
  --white: #ffffff;
  --line: #f2c8da;
  --body-bg:
    radial-gradient(circle at top left, #ffe1ee 0, transparent 32rem),
    linear-gradient(180deg, #fff7fb 0%, #fff 48%, #fff5fa 100%);
  --header-bg: rgba(255, 249, 251, 0.82);
  --panel-bg: rgba(255, 255, 255, 0.82);
  --panel-bg-strong: rgba(255, 255, 255, 0.78);
  --message-bg: linear-gradient(180deg, #fff, #fff5fa);
  --secondary-bg: rgba(255, 255, 255, 0.76);
  --toggle-bg: rgba(255, 255, 255, 0.74);
  --code: #92385f;
  --shadow: 0 22px 70px rgba(170, 75, 119, 0.18);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #fff2f7;
  --muted: #d8adbf;
  --pink: #ff8fbd;
  --pink-dark: #ff70ad;
  --pink-soft: #4c2438;
  --cream: #171018;
  --white: #231522;
  --line: #5c3147;
  --body-bg:
    radial-gradient(circle at top left, rgba(121, 52, 83, 0.62) 0, transparent 34rem),
    linear-gradient(180deg, #120b13 0%, #1a1019 48%, #130b12 100%);
  --header-bg: rgba(23, 16, 24, 0.86);
  --panel-bg: rgba(35, 21, 34, 0.86);
  --panel-bg-strong: rgba(35, 21, 34, 0.86);
  --message-bg: linear-gradient(180deg, #2a1a29, #211421);
  --secondary-bg: rgba(35, 21, 34, 0.82);
  --toggle-bg: rgba(35, 21, 34, 0.82);
  --code: #ff8fbd;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--body-bg);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 72px);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(242, 200, 218, 0.7);
  backdrop-filter: blur(18px);
}

@media (prefers-color-scheme: dark) {
  .site-header {
    background: rgba(23, 16, 24, 0.86);
    border-bottom-color: rgba(92, 49, 71, 0.9);
  }
}

:root[data-theme="light"] .site-header {
  background: rgba(255, 249, 251, 0.82);
  border-bottom-color: rgba(242, 200, 218, 0.7);
}

:root[data-theme="dark"] .site-header {
  background: rgba(23, 16, 24, 0.86);
  border-bottom-color: rgba(92, 49, 71, 0.9);
}

.brand,
nav,
.header-actions {
  display: flex;
  align-items: center;
}

.brand,
nav {
  gap: 12px;
  font-weight: 800;
}

.header-actions {
  gap: 18px;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(255, 157, 195, 0.5);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(223, 95, 150, 0.28);
}

nav {
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 4px 10px 4px 4px;
  color: var(--muted);
  background: var(--toggle-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.theme-toggle:hover {
  color: var(--ink);
}

.theme-toggle-track {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 28px;
  background: var(--pink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.theme-toggle-track span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(223, 95, 150, 0.28);
  transition: transform 160ms ease;
}

.theme-toggle[aria-pressed="true"] .theme-toggle-track span {
  transform: translateX(20px);
}

.hero,
.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 38px;
  min-height: 680px;
  align-items: center;
  padding: 64px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--pink-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.9;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lede {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(223, 95, 150, 0.25);
}

.button.secondary {
  background: var(--secondary-bg);
}

.bot-preview {
  position: relative;
  padding: 18px;
  background: var(--panel-bg-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.preview-top {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
}

.preview-top span {
  width: 10px;
  height: 10px;
  background: var(--pink-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.message-card {
  padding: 22px;
  background: var(--message-bg);
  border: 1px solid var(--line);
  border-left: 5px solid var(--pink);
  border-radius: 8px;
}

.small {
  margin-bottom: 8px;
  color: var(--pink-dark);
  font-size: 13px;
  font-weight: 800;
}

.message-card p:last-child,
.feature-grid p,
.steps p {
  color: var(--muted);
  line-height: 1.6;
}

.mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.mini-row span,
.command-tabs button {
  padding: 10px 14px;
  color: var(--pink-dark);
  background: var(--pink-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.petal {
  position: absolute;
  width: 110px;
  height: 68px;
  background: rgba(255, 143, 189, 0.18);
  border-radius: 80px 10px 80px 10px;
  transform: rotate(-22deg);
}

.petal-one {
  top: 120px;
  right: 42%;
}

.petal-two {
  right: 4%;
  bottom: 150px;
  transform: rotate(18deg);
}

.petal-three {
  left: -20px;
  bottom: 90px;
  transform: rotate(32deg);
}

.section {
  padding: 78px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

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

.feature-grid article,
.command-list,
.steps div {
  padding: 22px;
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(170, 75, 119, 0.08);
}

.command-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
}

.command-tabs {
  display: grid;
  gap: 10px;
  align-content: start;
}

.command-tabs button {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.command-tabs button.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  border-color: transparent;
}

.command-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.command-item:last-child {
  border-bottom: 0;
}

code,
.command-name {
  color: var(--code);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 800;
}

.command-item p {
  margin: 7px 0 0;
  color: var(--muted);
}

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

.support-hero {
  min-height: 560px;
}

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

.support-list {
  display: grid;
  gap: 14px;
}

.support-list article {
  padding: 22px;
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(170, 75, 119, 0.08);
}

.steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: var(--white);
  background: var(--pink-dark);
  border-radius: 50%;
  font-weight: 900;
}

footer {
  padding: 28px 18px 42px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 880px) {
  .site-header,
  .header-actions,
  nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .command-layout,
  .feature-grid,
  .support-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}
