:root {
  --porcelain: #f7f3ec;
  --porcelain-2: #efe9df;
  --paper: #fffdf8;
  --ink: #0b0f1f;
  --ink-soft: #1b2340;
  --muted: #6b6f7b;
  --line: rgba(11, 15, 31, 0.13);
  --line-strong: rgba(11, 15, 31, 0.22);
  --iris: #6757d7;
  --iris-soft: #e7e1fb;
  --jade: #5fa78f;
  --jade-soft: #dcefe8;
  --lilac: #c9bdf3;
  --shadow: 0 24px 70px rgba(11, 15, 31, 0.08);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

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

.section {
  padding: 112px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--iris);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: 0.15em;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.96;
  font-weight: 650;
  max-width: 820px;
}

h1 span {
  color: var(--iris);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.02;
  font-weight: 620;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 650;
}

p {
  line-height: 1.68;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(11, 15, 31, 0.04);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-wordmark {
  width: 132px;
  height: 54px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.primary-nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.primary-nav a:not(.button):hover {
  color: var(--iris);
}

.nav-signin {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.nav-toggle-mark,
.nav-toggle-mark::before,
.nav-toggle-mark::after {
  width: 18px;
  height: 1.5px;
  display: block;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.nav-toggle-mark::before {
  transform: translateY(-5px);
}

.nav-toggle-mark::after {
  transform: translateY(3.5px);
}

.button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--iris);
  border-color: var(--iris);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}

.text-link:hover {
  color: var(--iris);
}

.hero {
  padding-top: 84px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 74px;
  align-items: center;
}

.hero-lede {
  max-width: 670px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}

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

.proof-row span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  background: rgba(255, 253, 248, 0.45);
}

.hero-visual {
  position: relative;
  min-height: 610px;
}

.editorial-frame {
  position: absolute;
  inset: 24px 0 24px 46px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.editorial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
}

.editorial-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  background: rgba(11, 15, 31, 0.78);
  color: #fff;
  backdrop-filter: blur(16px);
}

.editorial-note strong {
  display: block;
  font-size: 18px;
  line-height: 1.3;
}

.note-kicker,
.mini-label {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.note-kicker {
  color: var(--lilac);
}

.floating-card {
  position: absolute;
  width: 220px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 20px 55px rgba(11, 15, 31, 0.1);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card strong {
  margin-bottom: 5px;
  font-size: 16px;
}

.floating-card span:last-child {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.floating-card .mini-label {
  color: var(--iris);
}

.floating-card-a {
  top: 0;
  right: -18px;
}

.floating-card-b {
  bottom: 4px;
  left: 0;
}

.quiet-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.quiet-strip::-webkit-scrollbar {
  display: none;
}

.quiet-strip-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.quiet-strip-inner p {
  margin: 0;
}

.quiet-strip-inner span {
  color: var(--lilac);
}

.workflow-section {
  background: var(--paper);
}

.section-heading {
  max-width: 870px;
  margin-bottom: 64px;
}

.section-heading.compact {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading > p:last-child {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.timeline {
  border-top: 1px solid var(--line-strong);
}

.timeline-step {
  min-height: 148px;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.timeline-step h3 {
  margin-bottom: 8px;
}

.timeline-step p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.step-number {
  color: var(--iris);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.workspace-section {
  background: var(--porcelain);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-card {
  grid-column: span 4;
  min-height: 300px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.bento-card p {
  color: var(--muted);
}

.bento-large {
  grid-column: span 8;
  min-height: 420px;
}

.bento-wide {
  grid-column: span 8;
  min-height: 250px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.bento-ink {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.bento-ink p {
  color: rgba(255, 255, 255, 0.66);
}

.card-index {
  display: inline-flex;
  width: 30px;
  height: 30px;
  margin-bottom: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--iris);
  font-size: 11px;
  font-weight: 750;
}

.bento-ink .card-index {
  border-color: rgba(255,255,255,0.2);
  color: var(--lilac);
}

.paper-stack {
  position: absolute;
  width: 260px;
  height: 210px;
  right: 38px;
  bottom: -20px;
}

.paper {
  position: absolute;
  width: 190px;
  height: 240px;
  border-radius: 15px 15px 0 0;
  background: #fff;
  border: 1px solid var(--line);
}

.paper-back {
  right: 0;
  bottom: 0;
  transform: rotate(8deg);
  background: var(--iris-soft);
}

.paper-front {
  right: 30px;
  bottom: 0;
  padding: 34px 24px;
  box-shadow: 0 12px 35px rgba(11, 15, 31, 0.08);
}

.paper-front span {
  display: block;
  height: 6px;
  margin-bottom: 16px;
  border-radius: 99px;
  background: rgba(11, 15, 31, 0.14);
}

.paper-front span:nth-child(1) {
  width: 45%;
  background: var(--iris);
}

.paper-front span:nth-child(2) {
  width: 78%;
}

.paper-front span:nth-child(3) {
  width: 65%;
}

.paper-front span:nth-child(4) {
  width: 86%;
}

.metric-row {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.metric-row strong {
  font-size: 24px;
  color: var(--jade);
}

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

.sparkline {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 30px;
  height: 80px;
  display: flex;
  align-items: end;
  gap: 10px;
}

.sparkline i {
  flex: 1;
  min-height: 18px;
  border-radius: 99px 99px 5px 5px;
  background: var(--lilac);
  opacity: 0.82;
}

.sparkline i:nth-child(1) { height: 28%; }
.sparkline i:nth-child(2) { height: 44%; }
.sparkline i:nth-child(3) { height: 36%; }
.sparkline i:nth-child(4) { height: 64%; }
.sparkline i:nth-child(5) { height: 56%; }
.sparkline i:nth-child(6) { height: 86%; background: var(--jade); }

.avatar-row {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
}

.avatar-row i {
  width: 44px;
  height: 44px;
  margin-left: -7px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--iris-soft);
  color: var(--ink);
  font-style: normal;
  font-size: 12px;
  font-weight: 750;
}

.avatar-row i:first-child {
  margin-left: 0;
  background: var(--jade-soft);
}

.boundary-pill {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(95, 167, 143, 0.45);
  border-radius: 999px;
  background: var(--jade-soft);
  color: #275c4c;
  font-size: 12px;
  font-weight: 700;
}

.lyva-section {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.lyva-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.lyva-mark {
  min-height: 470px;
  position: relative;
  display: grid;
  place-items: center;
}

.lyva-logo {
  width: min(360px, 76%);
  position: relative;
  z-index: 2;
}

.lyva-orbit {
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(201, 189, 243, 0.33);
  border-radius: 50%;
}

.lyva-orbit::before,
.lyva-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(95, 167, 143, 0.24);
}

.lyva-orbit::before {
  inset: 34px;
}

.lyva-orbit::after {
  inset: 84px;
  border-color: rgba(201, 189, 243, 0.2);
}

.lyva-copy .eyebrow {
  color: var(--lilac);
}

.lyva-copy p {
  max-width: 620px;
  color: rgba(255,255,255,0.68);
  font-size: 18px;
}

.check-list {
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255,255,255,0.8);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--jade);
  font-weight: 800;
}

.audience-section {
  background: var(--paper);
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-grid span {
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--porcelain);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 650;
}

.closing-section {
  background: var(--paper);
  padding-top: 34px;
}

.closing-card {
  min-height: 440px;
  padding: clamp(34px, 6vw, 76px);
  border-radius: var(--radius-lg);
  background: var(--iris);
  color: #fff;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  position: relative;
}

.closing-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -120px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 54px rgba(255,255,255,0.06),
    0 0 0 108px rgba(255,255,255,0.035);
}

.closing-card > * {
  position: relative;
  z-index: 2;
}

.closing-card .eyebrow {
  color: rgba(255,255,255,0.72);
}

.closing-card h2 {
  margin-bottom: 16px;
}

.closing-card p {
  max-width: 580px;
  color: rgba(255,255,255,0.75);
}

.closing-actions {
  min-width: 250px;
  display: grid;
  gap: 18px;
  justify-items: start;
}

.button-light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.button-light:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.text-link-light {
  color: #fff;
}

.text-link-light:hover {
  color: var(--jade-soft);
}

.site-footer {
  padding: 56px 0 36px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: start;
}

.footer-wordmark {
  width: 126px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 8px;
}

.site-footer p {
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: grid;
  justify-items: end;
  gap: 10px;
  font-size: 13px;
  font-weight: 650;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .section {
    padding: 88px 0;
  }

  .hero-grid,
  .lyva-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .editorial-frame {
    left: 28px;
  }

  .lyva-grid {
    gap: 28px;
  }

  .lyva-mark {
    min-height: 390px;
  }

  .bento-card {
    grid-column: span 6;
  }

  .bento-large,
  .bento-wide {
    grid-column: 1 / -1;
  }

  .closing-card {
    align-items: start;
    flex-direction: column;
    justify-content: end;
  }

  .primary-nav {
    gap: 18px;
  }

  .primary-nav > a:not(.nav-signin):not(.button) {
    display: none;
  }
}

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

  .header-inner {
    min-height: 70px;
  }

  .brand-wordmark {
    width: 112px;
    height: 46px;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
    box-shadow: var(--shadow);
    display: none;
    align-items: stretch;
    gap: 6px;
    flex-direction: column;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav > a:not(.nav-signin):not(.button) {
    display: flex;
  }

  .primary-nav a {
    min-height: 44px;
    padding: 0 10px;
    align-items: center;
  }

  .primary-nav .button {
    margin-top: 8px;
  }

  .nav-signin {
    margin-left: 0;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  h2 {
    font-size: clamp(36px, 10vw, 50px);
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 460px;
  }

  .editorial-frame {
    inset: 20px 0 34px 12px;
  }

  .floating-card {
    width: 188px;
    padding: 15px;
  }

  .floating-card-a {
    right: -4px;
  }

  .floating-card-b {
    left: -2px;
  }

  .quiet-strip-inner {
    width: max-content;
    min-width: 100%;
    padding-right: 28px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .timeline-step {
    grid-template-columns: 58px 1fr;
    min-height: 132px;
    gap: 10px;
  }

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

  .bento-card,
  .bento-large,
  .bento-wide {
    grid-column: 1;
    min-height: 280px;
  }

  .bento-large {
    min-height: 430px;
  }

  .bento-wide {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
  }

  .paper-stack {
    width: 220px;
    right: 10px;
  }

  .lyva-mark {
    min-height: 320px;
  }

  .lyva-orbit {
    width: 290px;
    height: 290px;
  }

  .lyva-logo {
    width: min(290px, 78%);
  }

  .closing-card {
    min-height: 480px;
    padding: 34px 26px;
  }

  .closing-actions {
    min-width: 0;
    width: 100%;
  }

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

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    min-height: 420px;
  }

  .editorial-note {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 15px;
  }

  .floating-card {
    width: 170px;
  }

  .floating-card-b {
    display: none;
  }

  .audience-grid span {
    padding: 12px 14px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
