:root {
  --background: #232431;
  --header: #20202c;
  --footer: #303041;
  --panel: rgba(63, 50, 91, 0.64);
  --panel-soft: rgba(231, 224, 255, 0.1);
  --border: #d8ddff;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --pink: #f2c3e3;
  --pink-strong: #ffd7ef;
  --lilac: #ded6ff;
  --ink: #302844;
  --green: #d8ffee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: "Quicksand", "Montserrat", "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer {
  background: rgba(32, 32, 44, 0.86);
  backdrop-filter: blur(10px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 221, 255, 0.2);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
}

.brand-wordmark {
  width: 220px;
  max-width: 58vw;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  border-radius: 10px;
  background: linear-gradient(90deg, #f6d2ec 0%, #dcebff 100%);
  box-shadow: inset 0 0 0 2px #998dc3;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  padding: 0 18px;
  text-decoration: none;
}

.button.secondary {
  background: rgba(231, 224, 255, 0.16);
  color: #ffffff;
  box-shadow: none;
}

.main {
  flex: 1;
  background:
    linear-gradient(180deg, rgba(36, 36, 49, 0.2) 0%, rgba(36, 36, 49, 0.88) 78%),
    url("/assets/bg-decor.svg") center top / cover no-repeat,
    #242431;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 176px);
  padding: 70px 0 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pink-strong);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.94;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.48;
}

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

.hero-panel,
.legal-card,
.feature-card {
  border: 3px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.2);
}

.hero-panel {
  padding: 22px;
}

.hero-note,
.widget-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-note {
  margin-top: 26px;
}

.widget-preview {
  display: grid;
  gap: 16px;
}

.widget-card {
  border: 2px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  background: rgba(48, 40, 68, 0.72);
  padding: 14px;
}

.widget-card h3 {
  margin: 0 0 6px;
  color: var(--pink-strong);
  font-size: 16px;
}

.widget-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.38;
}

.widget-card-featured {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  background: rgba(63, 50, 91, 0.86);
}

.widget-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 10px;
  background: var(--lilac);
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

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

.widget-tags {
  margin-top: 12px;
}

.chat-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.avatar {
  width: 34px;
  height: 34px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  background: var(--lilac);
}

.message {
  min-width: 0;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 7px;
  background: rgba(48, 40, 68, 0.7);
  padding: 10px 12px;
}

.message strong {
  display: block;
  margin-bottom: 4px;
  color: var(--pink-strong);
  font-size: 14px;
}

.message span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.platform-strip span,
.pill {
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(231, 224, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 11px;
}

.section {
  padding: 24px 0 66px;
}

.section h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
}

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

.feature-card {
  padding: 22px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.workflow-step {
  border: 2px solid rgba(216, 221, 255, 0.62);
  border-radius: 8px;
  background: rgba(32, 32, 44, 0.58);
  padding: 18px;
}

.workflow-step span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.workflow-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.legal-page {
  padding: 54px 0 76px;
}

.legal-card {
  padding: clamp(22px, 4vw, 42px);
}

.legal-card h1 {
  font-size: clamp(38px, 6vw, 58px);
}

.legal-card h2 {
  margin: 34px 0 10px;
  color: #ffffff;
  font-size: 24px;
}

.legal-card p,
.legal-card li {
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  font-weight: 620;
  line-height: 1.62;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-meta {
  color: var(--pink-strong);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid rgba(216, 221, 255, 0.2);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .feature-grid,
  .workflow,
  .widget-grid {
    grid-template-columns: 1fr;
  }
}
