@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600&family=Playfair+Display:ital,wght@1,600&display=swap");

:root {
  --ink: #171124;
  --muted: #685f72;
  --paper: #fbf8f2;
  --paper-deep: #f1ebe1;
  --violet: #7051d6;
  --plum: #4e245e;
  --rose: #c45582;
  --gold: #d49f58;
  --line: rgba(23, 17, 36, 0.14);
  --white: #fffdf9;
  --radius: 28px;
  --max: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(196, 85, 130, 0.10), transparent 25rem),
    radial-gradient(circle at 8% 30%, rgba(112, 81, 214, 0.07), transparent 28rem),
    var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: relative;
  z-index: 20;
  width: min(calc(100% - 48px), var(--max));
  height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: 1.08rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.brand-mark svg { width: 100%; height: 100%; }
.brand-mark path:first-child { fill: rgba(112, 81, 214, 0.13); stroke: var(--violet); stroke-width: 1.6; }
.brand-mark path:last-child { fill: none; stroke: var(--violet); stroke-width: 1.4; }

.desktop-nav { display: flex; gap: 34px; font-size: 0.83rem; color: var(--muted); }
.desktop-nav a, .header-link { transition: color .2s ease; }
.desktop-nav a:hover, .header-link:hover { color: var(--violet); }

.header-link {
  justify-self: end;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: 730px;
  margin: 0 auto;
  padding: 92px 0 88px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 45px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .72rem;
  font-weight: 600;
}

.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero .eyebrow span { width: 28px; height: 1px; background: currentColor; }

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

h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.6rem, 6.8vw, 6.3rem);
  line-height: .99;
  letter-spacing: -.07em;
  font-weight: 500;
}

h1 em {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  color: var(--plum);
  letter-spacing: -.045em;
}

.hero-lede {
  max-width: 585px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--ink); box-shadow: 0 12px 30px rgba(23,17,36,.15); }
.button-primary:hover { background: var(--violet); box-shadow: 0 14px 32px rgba(112,81,214,.25); }
.button-light { background: var(--white); color: var(--ink); }

.text-link { font-size: .85rem; font-weight: 600; border-bottom: 1px solid var(--line); padding: 9px 0; }
.text-link span { margin-left: 6px; color: var(--violet); }

.hero-art {
  position: relative;
  height: 570px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 9% 7%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.92), rgba(230,219,248,.52) 48%, transparent 69%);
  filter: blur(7px);
  z-index: -2;
}

.facet-shell { width: min(84%, 440px); animation: float 8s ease-in-out infinite; }
.facet-shell svg { display: block; width: 100%; overflow: visible; }
.gem { transform-origin: center; }

.orbit {
  position: absolute;
  border: 1px solid rgba(112,81,214,.18);
  border-radius: 50%;
  transform: rotate(-22deg);
  z-index: -1;
}

.orbit::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 4%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(212,159,88,.12);
}

.orbit-one { width: 94%; height: 67%; }
.orbit-two { width: 78%; height: 83%; transform: rotate(35deg); }
.orbit-two::after { top: auto; bottom: 8%; right: 17%; background: var(--rose); }

.node {
  position: absolute;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  background: rgba(255,253,249,.72);
  box-shadow: 0 10px 28px rgba(65,43,93,.10);
  backdrop-filter: blur(10px);
  color: var(--plum);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.node-inventory { top: 15%; left: 9%; }
.node-clients { top: 22%; right: 5%; }
.node-orders { bottom: 21%; left: 2%; }
.node-channels { bottom: 11%; right: 12%; }

.manifesto {
  padding: 92px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: 80px 1.35fr .75fr;
  gap: 50px;
  align-items: start;
}

.section-number { color: #a99dbc; font-size: .72rem; letter-spacing: .12em; }
.manifesto .eyebrow { color: #b8a6fa; }

.manifesto h2, .section-heading h2, .system-copy h2, .focus-copy h2, .contact h2 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -.055em;
  font-weight: 500;
}

.manifesto h2 { max-width: 700px; margin: 0; font-size: clamp(2rem, 3.7vw, 3.75rem); line-height: 1.12; }
.manifesto-copy { margin: 45px 0 0; color: #cfc7d6; font-size: .96rem; line-height: 1.8; }

.section-shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 130px 0; }

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading h2, .system-copy h2 { margin: 0; font-size: clamp(2.5rem, 4.8vw, 4.6rem); line-height: 1.05; }
.section-heading > p { max-width: 430px; margin: 0 0 6px; color: var(--muted); line-height: 1.75; }

.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.audience-card {
  min-height: 350px;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.54);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(23,17,36,.035), 0 18px 50px rgba(23,17,36,.05);
  transition: transform .3s ease;
}
.audience-card:hover { transform: translateY(-5px); }
.gem-card { background: linear-gradient(145deg, #e8ddfb, #f7ecf5); }
.herbal-card { background: linear-gradient(145deg, #dcefe5, #eef2e3); }
.creative-card { background: linear-gradient(145deg, #dff3f1, #edf1fb); }
.service-card { background: linear-gradient(145deg, #faeadb, #f6e5df); }
.card-index { font-size: .68rem; letter-spacing: .12em; color: var(--muted); }
.card-symbol { margin: auto 0 68px; font-size: 3.2rem; color: var(--plum); }
.audience-card h3 { margin-bottom: 11px; font-family: "Manrope", sans-serif; font-size: 1.42rem; letter-spacing: -.035em; }
.audience-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }

.system {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(70px, 10vw, 155px);
  align-items: start;
  border-top: 1px solid var(--line);
}
.system-copy { position: sticky; top: 50px; }
.system-copy > p:last-child { max-width: 470px; margin: 32px 0 0; color: var(--muted); line-height: 1.8; }
.system-item { display: grid; grid-template-columns: 45px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.system-item:first-child { padding-top: 0; }
.system-item > span { padding-top: 6px; color: var(--rose); font-size: .68rem; font-weight: 600; letter-spacing: .12em; }
.system-item h3 { margin-bottom: 8px; font-family: "Manrope", sans-serif; font-size: 1.45rem; letter-spacing: -.035em; }
.system-item p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }

.focus { padding-top: 0; }
.focus-panel { min-height: 610px; padding: 58px; border-radius: 38px; background: linear-gradient(145deg, #241733, #171124 68%); color: var(--white); display: grid; grid-template-columns: .55fr 1.3fr; gap: 30px 90px; position: relative; overflow: hidden; }
.focus-panel::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -110px; bottom: -180px; background: radial-gradient(circle at 35% 35%, rgba(232,121,249,.42), rgba(112,81,214,.08) 55%, transparent 70%); }
.focus-label { display: flex; gap: 15px; align-items: flex-start; color: #d2c7dc; font-size: .77rem; letter-spacing: .08em; text-transform: uppercase; }
.focus-star { color: #f7d291; font-size: 1rem; }
.focus-copy { max-width: 650px; }
.focus-copy .eyebrow { color: #b8a6fa; }
.focus-copy h2 { margin-bottom: 26px; font-size: clamp(3rem, 5.3vw, 5.7rem); line-height: .98; }
.focus-copy > p:last-child { color: #d2cbd8; line-height: 1.82; }
.focus-note { grid-column: 1 / -1; align-self: end; display: flex; align-items: center; gap: 18px; color: #a99dbc; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.focus-note .line { width: 150px; height: 1px; background: rgba(255,255,255,.2); }

.contact { padding-top: 0; }
.contact-inner { padding: 95px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(55px, 8vw, 115px); align-items: start; }
.contact h2 { max-width: 620px; margin: 0 0 24px; font-size: clamp(2.6rem, 4.6vw, 4.8rem); line-height: 1.04; }
.contact-copy > p:not(.eyebrow) { max-width: 560px; color: var(--muted); line-height: 1.8; }
.contact-note { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .84rem; }
.button-light { border: 1px solid var(--line); }
.button-light:hover { border-color: var(--violet); color: var(--violet); }

.early-access-form { display: grid; gap: 20px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,253,249,.76); box-shadow: 0 20px 55px rgba(23,17,36,.06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.early-access-form label { display: grid; gap: 8px; color: var(--ink); font-size: .78rem; font-weight: 600; letter-spacing: .01em; }
.early-access-form input:not([type="checkbox"]), .early-access-form select, .early-access-form textarea { width: 100%; min-height: 49px; border: 1px solid rgba(23,17,36,.18); border-radius: 12px; padding: 12px 14px; background: var(--white); color: var(--ink); font: inherit; font-size: .92rem; font-weight: 400; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.early-access-form textarea { min-height: 135px; resize: vertical; }
.early-access-form input:focus, .early-access-form select:focus, .early-access-form textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(112,81,214,.12); }
.optional, .field-note { color: var(--muted); font-size: .7rem; font-weight: 400; }
.field-note { margin-top: -3px; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.consent { grid-template-columns: 18px 1fr !important; align-items: start; gap: 11px !important; color: var(--muted) !important; font-weight: 400 !important; line-height: 1.55; }
.consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--violet); }
.form-submit { border: 0; cursor: pointer; width: fit-content; font-family: inherit; }
.form-submit:disabled { cursor: wait; opacity: .65; transform: none; }
.form-status { min-height: 24px; margin: -7px 0 0; color: var(--muted); font-size: .82rem; }
.form-status.is-error { color: #a12d46; }
.form-status.is-success { color: #376b4d; }

footer { width: min(calc(100% - 48px), var(--max)); min-height: 170px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; color: var(--muted); font-size: .76rem; }
.footer-brand { color: var(--ink); }
footer p { margin: 0; }
footer p:last-child { justify-self: end; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .facet-shell { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-art { height: 470px; margin-top: -35px; }
  .manifesto { grid-template-columns: 55px 1fr; }
  .manifesto-copy { grid-column: 2; margin-top: 0; max-width: 650px; }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 320px; }
  .card-symbol { margin-bottom: 45px; }
  .system { grid-template-columns: 1fr; gap: 70px; }
  .system-copy { position: static; }
  .focus-panel { grid-template-columns: 1fr; gap: 50px; }
  .focus-copy { max-width: 700px; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header, .hero, .section-shell, footer { width: min(calc(100% - 32px), var(--max)); }
  .site-header { height: 78px; }
  .header-link { font-size: .66rem; }
  .hero { min-height: 0; padding: 70px 0 50px; }
  h1 { font-size: clamp(3.1rem, 16vw, 4.4rem); }
  .hero-lede { font-size: 1rem; }
  .hero-art { height: 390px; margin-top: -15px; }
  .node { font-size: .62rem; }
  .node-inventory { left: 0; }
  .node-clients { right: 0; }
  .node-orders { left: 0; }
  .node-channels { right: 0; }
  .manifesto { padding: 75px 24px; grid-template-columns: 1fr; gap: 25px; }
  .manifesto-copy { grid-column: 1; }
  .section-shell { padding: 95px 0; }
  .audience-card { min-height: 350px; }
  .focus { padding-top: 0; }
  .focus-panel { padding: 36px 27px; min-height: 650px; border-radius: 26px; }
  .focus-note { display: none; }
  .contact { padding-top: 0; }
  .contact-inner { padding: 75px 0; }
  .early-access-form { padding: 25px 20px; }
  .form-row { grid-template-columns: 1fr; }
  footer { min-height: 220px; grid-template-columns: 1fr; justify-items: start; align-content: center; gap: 15px; }
  footer p:last-child { justify-self: start; }
}
