:root {
  --bg: #fcf8f3;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --lavender: #eae7f6;
  --peach: #f8e6dc;
  --sage: #e7f1e7;
  --butter: #f7f1c9;
  --ink: #57486a;
  --muted: #85779a;
  --plum: #6d5b8c;
  --peach-accent: #e6b8a2;
  --border: #e9dfd7;
  --shadow: 0 24px 80px rgba(109, 91, 140, 0.09);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family:
    "Avenir Next",
    "Segoe UI",
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(234, 231, 246, 0.9), transparent 28%),
    radial-gradient(circle at top right, rgba(248, 230, 220, 0.8), transparent 24%),
    linear-gradient(180deg, #fffdfb 0%, var(--bg) 56%, #f8f2ec 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(252, 248, 243, 0.84);
  border-bottom: 1px solid rgba(233, 223, 215, 0.75);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(109, 91, 140, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.nav .nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.nav a:hover,
.nav .nav-cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.7);
  color: var(--plum);
}

.nav-cta {
  background: var(--plum);
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(109, 91, 140, 0.25);
}

.hero {
  padding: 72px 0 54px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(233, 223, 215, 0.85);
  color: var(--plum);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.legal-hero h1,
.notfound h1 {
  margin: 22px 0 18px;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.97;
  letter-spacing: -0.05em;
  font-weight: 700;
  max-width: 10ch;
}

.hero p.lead,
.legal-hero p,
.notfound p {
  margin: 0;
  max-width: 640px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.48;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--plum), #8f79b5);
  box-shadow: 0 18px 34px rgba(109, 91, 140, 0.22);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--border);
  color: var(--ink);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pill {
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(233, 223, 215, 0.9);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero-card {
  position: relative;
  padding: 34px;
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86)),
    linear-gradient(135deg, rgba(234, 231, 246, 0.6), rgba(248, 230, 220, 0.4));
  border: 1px solid rgba(233, 223, 215, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 241, 201, 0.7), transparent 65%);
}

.device-frame {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 18px;
  border-radius: 44px;
  background: linear-gradient(180deg, #191622, #3d3254);
  box-shadow: 0 28px 60px rgba(87, 72, 106, 0.26);
}

.device-frame img {
  width: 100%;
  border-radius: 30px;
}

.device-caption {
  margin-top: 24px;
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(233, 223, 215, 0.9);
}

.device-caption strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.section {
  padding: 36px 0;
}

.section--tight {
  padding-top: 12px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-intro--compact {
  max-width: 520px;
  margin: 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-intro {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid rgba(233, 223, 215, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 26px;
}

.card--lavender {
  background: linear-gradient(180deg, rgba(234, 231, 246, 0.8), rgba(255, 255, 255, 0.9));
}

.card--peach {
  background: linear-gradient(180deg, rgba(248, 230, 220, 0.8), rgba(255, 255, 255, 0.9));
}

.card--sage {
  background: linear-gradient(180deg, rgba(231, 241, 231, 0.8), rgba(255, 255, 255, 0.9));
}

.card h3,
.legal-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.card p,
.card li,
.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.grid--one {
  grid-template-columns: 1fr;
}

.collaboration-slot[hidden] {
  display: none !important;
}

.collab-grid {
  margin-top: 12px;
}

.collab-card {
  position: relative;
  overflow: hidden;
}

.collab-card::after {
  content: "";
  position: absolute;
  inset: auto -42px -62px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 241, 201, 0.58), transparent 66%);
}

.collab-card__header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.collab-card__header h3 {
  margin-top: 8px;
}

.collab-card__logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(233, 223, 215, 0.92);
  box-shadow: 0 16px 34px rgba(109, 91, 140, 0.12);
}

.collab-card__logo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--plum);
}

.collab-card__partner {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.collab-card__button {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

.eyebrow--soft {
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.studio-layout {
  display: grid;
  gap: 24px;
}

.studio-login,
.studio-shell {
  display: grid;
  gap: 18px;
}

.studio-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.studio-form,
.studio-list {
  display: grid;
  gap: 16px;
}

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

.studio-field {
  display: grid;
  gap: 8px;
}

.studio-field span {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.studio-field input,
.studio-field textarea {
  width: 100%;
  border: 1px solid rgba(233, 223, 215, 0.96);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
}

.studio-field input:focus,
.studio-field textarea:focus {
  outline: 2px solid rgba(109, 91, 140, 0.24);
  border-color: rgba(109, 91, 140, 0.4);
}

.studio-field--checkbox {
  align-content: end;
}

.studio-field--checkbox input {
  width: 22px;
  height: 22px;
}

.studio-note,
.studio-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.studio-metric {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(233, 223, 215, 0.94);
}

.studio-metric strong {
  font-size: 28px;
  line-height: 1;
}

.studio-metric span {
  color: var(--muted);
  font-size: 14px;
}

.studio-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(233, 223, 215, 0.96);
  box-shadow: var(--shadow);
}

.studio-card__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.studio-status {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.studio-status--active {
  background: rgba(231, 241, 231, 1);
  color: #487556;
}

.studio-status--upcoming {
  background: rgba(247, 241, 201, 1);
  color: #806b10;
}

.studio-status--ended,
.studio-status--hidden {
  background: rgba(234, 231, 246, 1);
  color: var(--plum);
}

.studio-metrics,
.studio-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.studio-metrics span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(252, 248, 243, 0.92);
  border: 1px solid rgba(233, 223, 215, 0.92);
  font-size: 14px;
  color: var(--muted);
}

.feature-list,
.legal-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.quote {
  position: relative;
  padding-left: 20px;
}

.quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--plum), var(--peach-accent));
}

.legal-hero {
  padding: 60px 0 26px;
}

.legal-hero h1 {
  max-width: none;
}

.legal-meta {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  padding-bottom: 72px;
}

.legal-aside,
.legal-card {
  background: var(--surface);
  border: 1px solid rgba(233, 223, 215, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.legal-aside {
  padding: 26px;
  height: fit-content;
  position: sticky;
  top: 104px;
}

.legal-aside h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.legal-aside p,
.legal-aside li {
  color: var(--muted);
  line-height: 1.6;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: 28px;
}

.footer {
  padding: 32px 0 50px;
  color: var(--muted);
  font-size: 14px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(233, 223, 215, 0.9);
}

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

.notfound {
  padding: 120px 0 90px;
}

@media (max-width: 980px) {
  .hero__grid,
  .grid--three,
  .grid--two,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .studio-panel__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-grid,
  .studio-metrics-grid {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }

  .hero {
    padding-top: 48px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero h1,
  .legal-hero h1,
  .notfound h1 {
    max-width: 11ch;
  }

  .hero-card,
  .card,
  .legal-card,
  .legal-aside {
    padding: 22px;
    border-radius: 26px;
  }

  .button {
    width: 100%;
  }
}
