:root {
  --ink: #1b1730;
  --paper: #f7f2ea;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --galaxy: #6d46c8;
  --nebula: #9f7dff;
  --starlight: #f8f3ea;
  --sky: #6bc6d9;
  --line: rgba(27, 23, 48, 0.12);
  --shadow: 0 22px 70px rgba(27, 23, 48, 0.14);
  --radius: 26px;
  --body-bg:
    radial-gradient(circle at 15% 14%, rgba(159, 125, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(107, 198, 217, 0.14), transparent 24%),
    radial-gradient(circle at 76% 72%, rgba(109, 70, 200, 0.14), transparent 26%),
    linear-gradient(180deg, #faf5ff 0%, #efe7fb 52%, #f7f2ea 100%);
  --topbar-bg: rgba(247, 243, 232, 0.84);
  --footer-link: rgba(27, 23, 48, 0.82);
  --footer-label: rgba(27, 23, 48, 0.52);
  --chip-bg: rgba(248, 243, 234, 0.7);
  --chip-line: rgba(27, 23, 48, 0.12);
  --field-bg: rgba(255, 255, 255, 0.92);
  --field-border: rgba(27, 23, 48, 0.14);
  --btn-light-bg: rgba(255, 255, 255, 0.72);
  --btn-light-text: var(--ink);
  --btn-secondary-bg: linear-gradient(135deg, rgba(109, 70, 200, 0.12), rgba(107, 198, 217, 0.1));
  --theme-toggle-bg: rgba(255, 255, 255, 0.72);
  --theme-toggle-border: rgba(27, 23, 48, 0.12);
  --theme-toggle-text: rgba(27, 23, 48, 0.82);
  --theme-toggle-dot: linear-gradient(135deg, var(--sky), var(--galaxy));
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f4ecff;
    --paper: #0f0b1a;
    --panel: rgba(20, 15, 35, 0.86);
    --panel-strong: rgba(27, 19, 48, 0.96);
    --line: rgba(248, 243, 234, 0.12);
    --shadow: 0 26px 80px rgba(3, 3, 10, 0.45);
    --body-bg:
      radial-gradient(circle at 15% 14%, rgba(159, 125, 255, 0.2), transparent 28%),
      radial-gradient(circle at 80% 18%, rgba(107, 198, 217, 0.16), transparent 24%),
      radial-gradient(circle at 76% 72%, rgba(109, 70, 200, 0.2), transparent 26%),
      linear-gradient(180deg, #0b0813 0%, #120d1d 52%, #0e0a18 100%);
    --topbar-bg: rgba(9, 7, 16, 0.78);
    --footer-link: rgba(244, 236, 255, 0.78);
    --footer-label: rgba(244, 236, 255, 0.44);
    --chip-bg: rgba(248, 243, 234, 0.04);
    --chip-line: rgba(248, 243, 234, 0.12);
    --field-bg: rgba(248, 243, 234, 0.06);
    --field-border: rgba(248, 243, 234, 0.16);
    --btn-light-bg: rgba(248, 243, 234, 0.06);
    --btn-light-text: var(--starlight);
    --btn-secondary-bg: linear-gradient(135deg, rgba(109, 70, 200, 0.22), rgba(107, 198, 217, 0.18));
    --theme-toggle-bg: rgba(248, 243, 234, 0.08);
    --theme-toggle-border: rgba(248, 243, 234, 0.14);
    --theme-toggle-text: rgba(244, 236, 255, 0.88);
    --theme-toggle-dot: linear-gradient(135deg, var(--nebula), #f7f2ea);
    color-scheme: dark;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  --ink: #f4ecff;
  --paper: #0f0b1a;
  --panel: rgba(20, 15, 35, 0.86);
  --panel-strong: rgba(27, 19, 48, 0.96);
  --line: rgba(248, 243, 234, 0.12);
  --shadow: 0 26px 80px rgba(3, 3, 10, 0.45);
  --body-bg:
    radial-gradient(circle at 15% 14%, rgba(159, 125, 255, 0.2), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(107, 198, 217, 0.16), transparent 24%),
    radial-gradient(circle at 76% 72%, rgba(109, 70, 200, 0.2), transparent 26%),
    linear-gradient(180deg, #0b0813 0%, #120d1d 52%, #0e0a18 100%);
  --topbar-bg: rgba(9, 7, 16, 0.78);
  --footer-link: rgba(244, 236, 255, 0.78);
  --footer-label: rgba(244, 236, 255, 0.44);
  --chip-bg: rgba(248, 243, 234, 0.04);
  --chip-line: rgba(248, 243, 234, 0.12);
  --field-bg: rgba(248, 243, 234, 0.06);
  --field-border: rgba(248, 243, 234, 0.16);
  --btn-light-bg: rgba(248, 243, 234, 0.06);
  --btn-light-text: var(--starlight);
  --btn-secondary-bg: linear-gradient(135deg, rgba(109, 70, 200, 0.22), rgba(107, 198, 217, 0.18));
  --theme-toggle-bg: rgba(248, 243, 234, 0.08);
  --theme-toggle-border: rgba(248, 243, 234, 0.14);
  --theme-toggle-text: rgba(244, 236, 255, 0.88);
  --theme-toggle-dot: linear-gradient(135deg, var(--nebula), #f7f2ea);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--body-bg);
  font-family: Georgia, "Times New Roman", serif;
}

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

.page {
  min-height: 100vh;
}

.shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(109, 70, 200, 0.28);
}

.brand-stack {
  display: grid;
  gap: 2px;
}

.brand-stack strong {
  font-size: 0.84rem;
}

.brand-stack span {
  font: 600 0.64rem "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: 0.14em;
  opacity: 0.76;
}

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

.nav a {
  font: 600 0.95rem "Avenir Next", "Segoe UI", sans-serif;
  color: inherit;
}

.nav .pill {
  background: linear-gradient(135deg, var(--nebula), var(--galaxy));
  color: #0d0917;
  padding: 10px 14px;
  border-radius: 999px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--theme-toggle-border);
  background: var(--theme-toggle-bg);
  color: var(--theme-toggle-text);
  font: 700 0.84rem "Avenir Next", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.theme-toggle-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--theme-toggle-dot);
  box-shadow: 0 0 0 3px rgba(109, 70, 200, 0.12);
}

.hero {
  padding: 78px 0 44px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero-tight {
  padding-top: 54px;
}

.hero h1,
.page-title {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.hero-copy p,
.lede,
.section p,
.card p,
label,
input,
textarea,
select {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

.lede {
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 62ch;
  color: color-mix(in srgb, var(--ink) 84%, transparent);
}

.accent {
  color: var(--nebula);
}

.hero-panel,
.card,
.cta-band,
.form-card,
.proof-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-panel {
  padding: 24px;
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid var(--chip-line);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--chip-bg);
  font: 600 0.85rem "Avenir Next", sans-serif;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font: 700 0.95rem "Avenir Next", sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--nebula), #c5b0ff);
  color: #0d0917;
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-light-text);
}

.btn-light {
  background: var(--btn-light-bg);
  color: var(--btn-light-text);
}

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

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

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

.section {
  padding: 28px 0;
}

.card,
.form-card,
.proof-panel {
  padding: 22px;
}

.card h3,
.proof-panel h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.meta {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font: 700 0.78rem "Avenir Next", sans-serif;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}

.cta-band {
  margin: 30px 0;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(109, 70, 200, 0.16), rgba(107, 198, 217, 0.1)),
    var(--panel-strong);
}

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

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

.field-full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--field-border);
  border-radius: 18px;
  background: var(--field-bg);
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.status {
  margin-top: 14px;
  min-height: 24px;
  font: 600 0.94rem "Avenir Next", sans-serif;
}

.footer {
  padding: 40px 0 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 36px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  width: 100%;
  font: 600 0.78rem "Avenir Next", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--footer-link);
}

.footer-links .label {
  color: var(--footer-label);
}

.footer small {
  font: 500 0.9rem "Avenir Next", sans-serif;
  color: color-mix(in srgb, var(--ink) 70%, transparent);
}

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

.stat {
  padding: 16px;
  background: linear-gradient(135deg, rgba(109, 70, 200, 0.18), rgba(107, 198, 217, 0.1));
  border-radius: 18px;
}

.stat strong {
  display: block;
  font-size: 1.45rem;
}

.proof-list,
.bullet-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.brand-banner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--nebula) 20%, transparent);
  background: linear-gradient(135deg, rgba(109, 70, 200, 0.12), rgba(107, 198, 217, 0.08));
}

.brand-banner img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.brand-banner strong {
  display: block;
  font-size: 1rem;
}

.brand-banner span {
  display: block;
  font: 600 0.82rem "Avenir Next", sans-serif;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
}

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

.showcase-shot {
  overflow: hidden;
}

.showcase-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 37 / 65;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(12, 9, 24, 0.18);
}

.showcase-shot figcaption {
  margin-top: 14px;
  font: 600 0.88rem "Avenir Next", sans-serif;
  color: color-mix(in srgb, var(--ink) 76%, transparent);
}

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

.contact-direct {
  display: grid;
  gap: 12px;
}

.contact-direct a {
  font: 700 1rem "Avenir Next", sans-serif;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 700ms ease forwards;
}

.reveal:nth-child(2) { animation-delay: 120ms; }
.reveal:nth-child(3) { animation-delay: 240ms; }
.reveal:nth-child(4) { animation-delay: 360ms; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .hero,
  .grid-3,
  .grid-2,
  .form-grid,
  .hero-stats,
  .showcase-grid,
  .contact-options {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100vw - 20px, 1120px);
  }

  .hero,
  .hero-tight {
    padding-top: 52px;
  }

  .hero h1,
  .page-title {
    font-size: clamp(2.25rem, 12vw, 3.3rem);
  }

  .theme-toggle {
    width: 100%;
    justify-content: center;
  }
}
