:root {
  --yv-ink: #171425;
  --yv-cloud: #f8f6ff;
  --yv-violet: #7657ff;
  --yv-blue: #2ab7ff;
  --yv-coral: #ff647c;
  --yv-butter: #ffd95a;
  --yv-line: rgba(23, 20, 37, 0.16);
  --yv-shadow: 8px 10px 0 var(--yv-ink);
}

.yv-home-page {
  color: var(--yv-ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 5%, rgba(42, 183, 255, 0.16), transparent 26rem),
    radial-gradient(circle at 92% 32%, rgba(255, 100, 124, 0.12), transparent 25rem),
    var(--yv-cloud);
  font-family: "DM Sans", system-ui, sans-serif;
}

.yv-home-page :is(h1, h2, h3) {
  color: var(--yv-ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.045em;
}

.yv-home-page > nav.container {
  max-width: 1240px;
  padding-block: 0.75rem;
}

.yv-home-page .site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.yv-home-page .site-wordmark {
  color: var(--yv-ink);
  font-family: "League Spartan", system-ui, sans-serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.82;
  text-shadow: 3px 3px 0 var(--yv-violet);
  transition: transform 160ms ease, text-shadow 160ms ease;
}

.yv-home-page .site-brand:hover .site-wordmark {
  transform: translate(-1px, -1px);
  text-shadow: 5px 5px 0 var(--yv-violet);
}

.yv-home-page > nav a:not([role="button"]) {
  color: var(--yv-ink);
  font-weight: 700;
}

.yv-home-page > nav a[role="button"] {
  border: 2px solid var(--yv-ink);
  border-radius: 999px;
  background: var(--yv-ink);
  color: white;
  font-weight: 700;
}

.yv-home-page .site-logo { height: 72px; }

.yv-home-page > main.container {
  max-width: none;
  padding: 0;
  overflow: hidden;
}

.yv-home-hero,
.yv-section,
.yv-final-cta {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.yv-home-hero {
  position: relative;
  min-height: 700px;
  padding: clamp(3rem, 8vw, 7rem) 0 5rem;
}

.yv-hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image: radial-gradient(rgba(23, 20, 37, 0.22) 0.6px, transparent 0.6px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.yv-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.97fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.yv-kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.3rem;
  color: var(--yv-ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.yv-kicker > span {
  padding: 0.36rem 0.68rem;
  border: 1.5px solid var(--yv-ink);
  border-radius: 999px;
  background: var(--yv-butter);
}

.yv-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 1.5rem;
  font-size: clamp(3.65rem, 7vw, 7rem);
  line-height: 0.91;
}

.yv-hero-copy h1 span {
  position: relative;
  color: var(--yv-violet);
  white-space: nowrap;
}

.yv-hero-copy h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.02em;
  height: 0.09em;
  border-radius: 99px;
  background: var(--yv-coral);
  transform: rotate(-1.5deg);
}

.yv-hero-lead {
  max-width: 610px;
  margin: 0 0 2rem;
  color: #4d475f;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.58;
}

.yv-hero-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.yv-button {
  display: inline-flex;
  min-height: 3.3rem;
  padding: 0.82rem 1.2rem 0.82rem 1.5rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 2px solid var(--yv-ink);
  border-radius: 999px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.yv-button-primary {
  background: var(--yv-ink);
  color: white;
  box-shadow: 4px 5px 0 var(--yv-violet);
}

.yv-button-primary:hover {
  color: white;
  transform: translate(-2px, -2px);
  box-shadow: 7px 8px 0 var(--yv-violet);
}

.yv-button span { font-size: 1.25em; }

.yv-text-link {
  color: var(--yv-ink);
  font-weight: 700;
  text-underline-offset: 0.28rem;
}

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

.yv-hero-proof {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  color: #6b647a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.yv-hero-proof span:not(:last-child)::after {
  content: "/";
  margin-left: 0.7rem;
  color: var(--yv-coral);
}

.yv-identity-stage {
  position: relative;
  min-height: 530px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.yv-orbit {
  position: absolute;
  z-index: -2;
  border: 2px solid var(--yv-line);
  border-radius: 50%;
}

.yv-orbit-one { width: 510px; height: 510px; }
.yv-orbit-two { width: 390px; height: 390px; border-style: dashed; animation: yv-spin 30s linear infinite; }

.yv-persona-card {
  border: 2px solid var(--yv-ink);
  border-radius: 24px;
  color: var(--yv-ink);
}

.yv-persona-card-main {
  position: relative;
  z-index: 3;
  width: min(360px, 82vw);
  margin: 0;
  padding: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--yv-shadow);
  transform: rotate(2.5deg);
  animation: yv-float 5s ease-in-out infinite;
}

.yv-persona-card-main > header,
.yv-persona-card-main > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0.15rem 0.1rem 0.85rem;
  border: 0;
  background: transparent;
}

.yv-persona-card-main > footer {
  gap: 0.4rem;
  padding: 0.85rem 0.1rem 0.05rem;
  color: #635c72;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.yv-live-dot,
.yv-status-online {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.yv-live-dot::before,
.yv-status-online::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #31c47b;
  box-shadow: 0 0 0 4px rgba(49, 196, 123, 0.18);
}

.yv-card-code,
.yv-card-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.yv-character-portrait {
  position: relative;
  display: grid;
  height: 250px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--yv-ink);
  border-radius: 16px;
  background: linear-gradient(145deg, var(--yv-blue), #8268ff 48%, var(--yv-coral));
}

.yv-character-portrait::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
}

.yv-character-portrait img {
  position: relative;
  z-index: 2;
  width: 69%;
  mix-blend-mode: multiply;
  filter: contrast(1.08) saturate(1.18);
}

.yv-character-halo {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 217, 90, 0.82);
  filter: blur(1px);
}

.yv-spark {
  position: absolute;
  z-index: 3;
  color: white;
  font-size: 1.8rem;
}

.yv-spark-one { top: 1rem; right: 1.2rem; }
.yv-spark-two { bottom: 1rem; left: 1.2rem; font-size: 1rem; }

.yv-character-meta { padding: 1rem 0.2rem 0.25rem; }
.yv-character-meta .yv-card-label { color: var(--yv-violet); }
.yv-character-meta h2 { margin: 0.1rem 0 0.2rem; font-size: 2rem; }
.yv-character-meta p:not(.yv-card-label) { margin: 0; color: #5f586e; font-size: 0.86rem; }

.yv-tag-row { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.8rem; }
.yv-tag-row span {
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--yv-line);
  border-radius: 999px;
  background: #f4f0ff;
  font-size: 0.68rem;
  font-weight: 700;
}

.yv-persona-card-back {
  position: absolute;
  z-index: 1;
  width: 230px;
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
  box-shadow: 5px 6px 0 var(--yv-ink);
  font-size: 0.78rem;
}

.yv-persona-card-back strong { font-family: "Space Grotesk", sans-serif; font-size: 1rem; }
.yv-persona-card-back > span:last-child { line-height: 1.35; }
.yv-card-lore { top: 3rem; left: -0.5rem; background: var(--yv-butter); transform: rotate(-10deg); }
.yv-card-voice { right: -1.5rem; bottom: 2.8rem; background: #ffc4d0; transform: rotate(9deg); }

.yv-signal-strip {
  width: 100%;
  display: flex;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  overflow: hidden;
  border-block: 2px solid var(--yv-ink);
  background: var(--yv-violet);
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.75rem, 1.5vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.yv-signal-strip i {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  background: var(--yv-butter);
  transform: rotate(45deg);
}

.yv-section { padding: clamp(5rem, 10vw, 9rem) 0; }

.yv-section-heading { max-width: 800px; margin-bottom: 3rem; }
.yv-section-heading h2,
.yv-persistence-copy h2,
.yv-final-cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 0.96;
}
.yv-section-heading h2 span { color: var(--yv-violet); }
.yv-section-heading > p:last-child,
.yv-persistence-copy > p:not(.yv-kicker),
.yv-final-cta > p:not(.yv-kicker),
.yv-section-heading-row > p {
  max-width: 620px;
  margin-bottom: 0;
  color: #5f586e;
  font-size: 1.08rem;
}

.yv-build-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.yv-build-card {
  min-height: 460px;
  margin: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--yv-ink);
  border-radius: 22px;
  box-shadow: 5px 6px 0 var(--yv-ink);
}

.yv-build-card:nth-child(2) { transform: translateY(1.5rem); }
.yv-build-face { background: #c9eeff; }
.yv-build-lore { background: #eee8ff; }
.yv-build-life { background: #ffd5dc; }

.yv-step-line {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.8rem;
  border-bottom: 1.5px solid var(--yv-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.yv-build-card h3 { margin: auto 0 0.55rem; font-size: 1.7rem; }
.yv-build-card > p { margin: 0; color: #4f485e; font-size: 0.92rem; line-height: 1.5; }

.yv-face-tiles {
  display: flex;
  height: 160px;
  align-items: center;
  justify-content: center;
}
.yv-face-tiles span {
  width: 84px;
  height: 106px;
  display: grid;
  place-items: center;
  border: 2px solid var(--yv-ink);
  border-radius: 16px;
  background: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 3px 4px 0 var(--yv-ink);
}
.yv-face-tiles span:first-child { transform: rotate(-10deg) translateX(15px); background: var(--yv-butter); }
.yv-face-tiles span:nth-child(2) { z-index: 2; height: 126px; background: var(--yv-violet); color: white; }
.yv-face-tiles span:last-child { transform: rotate(10deg) translateX(-15px); background: var(--yv-coral); }

.yv-build-card blockquote {
  margin: 2.2rem 0 1.2rem;
  padding: 1rem;
  border: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.28;
}
.yv-lore-lines { display: grid; gap: 0.42rem; padding-inline: 1rem; }
.yv-lore-lines span { height: 6px; border-radius: 99px; background: rgba(23,20,37,0.15); }
.yv-lore-lines span:nth-child(2) { width: 75%; }
.yv-lore-lines span:nth-child(3) { width: 50%; }

.yv-output-stack { display: grid; gap: 0.55rem; margin: 2.4rem 0; }
.yv-output-stack span {
  padding: 0.65rem 0.8rem;
  border: 2px solid var(--yv-ink);
  border-radius: 10px;
  background: white;
  box-shadow: 3px 3px 0 var(--yv-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.yv-output-stack span:nth-child(2) { margin-left: 1.25rem; background: var(--yv-butter); }
.yv-output-stack span:nth-child(3) { margin-left: 2.5rem; background: var(--yv-violet); color: white; }

.yv-persistence-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 9vw, 8rem);
  align-items: center;
}
.yv-persistence-copy > p:not(.yv-kicker) { margin-bottom: 1.8rem; }

.yv-memory-board {
  position: relative;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 2px solid var(--yv-ink);
  border-radius: 24px;
  background: var(--yv-ink);
  color: white;
  box-shadow: 10px 12px 0 var(--yv-blue);
}
.yv-memory-board::before {
  content: "";
  position: absolute;
  width: 72px;
  height: 28px;
  top: -14px;
  left: 16%;
  background: rgba(255, 217, 90, 0.86);
  transform: rotate(-3deg);
}
.yv-memory-header { display: flex; justify-content: space-between; margin-bottom: 1.2rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; }
.yv-status-online::before { width: 0.4rem; height: 0.4rem; }
.yv-memory-board dl { margin: 0; }
.yv-memory-board dl div { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.2); }
.yv-memory-board dt { color: #aaa3b7; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; }
.yv-memory-board dd { margin: 0.25rem 0 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(1rem, 2vw, 1.35rem); }
.yv-memory-note { margin: 1rem 0 0; padding: 0.75rem 0.9rem; border-radius: 10px; background: var(--yv-violet); font-size: 0.85rem; }

.yv-section-heading-row { max-width: none; display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.yv-section-heading-row > div { max-width: 720px; }
.yv-section-heading-row > p { max-width: 390px; }
.yv-use-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--yv-ink); }
.yv-use-grid article { margin: 0; padding: 1.5rem 1.5rem 1.5rem 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.yv-use-grid article + article { padding-left: 1.5rem; border-left: 2px solid var(--yv-ink); }
.yv-use-index { color: var(--yv-violet); font-size: 0.72rem; font-weight: 800; }
.yv-use-grid h3 { margin: 2.5rem 0 0.5rem; font-size: 1.8rem; }
.yv-use-grid p { margin: 0; color: #5f586e; }

.yv-final-cta {
  position: relative;
  margin-bottom: 6rem;
  padding: clamp(4rem, 9vw, 7rem) 1.5rem;
  overflow: hidden;
  border: 2px solid var(--yv-ink);
  border-radius: 30px;
  background: var(--yv-butter);
  text-align: center;
  box-shadow: var(--yv-shadow);
}
.yv-final-cta .yv-kicker { justify-content: center; }
.yv-final-cta > p:not(.yv-kicker) { margin-inline: auto; }
.yv-final-cta .yv-button { margin-top: 1.5rem; }
.yv-cta-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(118, 87, 255, 0.12);
  font-family: "Space Grotesk", sans-serif;
  font-size: min(42vw, 34rem);
  font-weight: 700;
  line-height: 1;
  transform: translate(-50%, -52%);
}
.yv-final-cta > *:not(.yv-cta-mark) { position: relative; z-index: 1; }
.yv-signin-note { margin-top: 1rem !important; font-size: 0.78rem !important; }

.yv-home-page footer.site-footer {
  border-top: 2px solid var(--yv-ink);
  color: #655e73;
}
.yv-home-page footer.site-footer a { color: var(--yv-ink); }

.yv-home-page :focus-visible { outline: 3px solid var(--yv-coral); outline-offset: 4px; }

@keyframes yv-float {
  0%, 100% { transform: rotate(2.5deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-10px); }
}

@keyframes yv-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .yv-hero-grid { grid-template-columns: 1fr; }
  .yv-hero-copy { text-align: center; }
  .yv-kicker, .yv-hero-actions, .yv-hero-proof { justify-content: center; }
  .yv-hero-lead { margin-inline: auto; }
  .yv-identity-stage { margin-top: 1rem; }
  .yv-build-grid { grid-template-columns: 1fr; }
  .yv-build-card { min-height: 390px; }
  .yv-build-card:nth-child(2) { transform: none; }
  .yv-persistence-section { grid-template-columns: 1fr; }
  .yv-section-heading-row { display: block; }
  .yv-section-heading-row > p { max-width: 620px; }
}

@media (max-width: 640px) {
  .yv-home-page > nav.container { padding-inline: 0.8rem; }
  .yv-home-page .site-logo { height: 58px; }
  .yv-home-page .site-brand { gap: 0.45rem; }
  .yv-home-page .site-wordmark { font-size: clamp(1.35rem, 7vw, 2rem); text-shadow: 2px 2px 0 var(--yv-violet); }
  .yv-home-page > nav ul { gap: 0.55rem; }
  .yv-home-page > nav ul:last-child { font-size: 0.82rem; }
  .yv-home-hero, .yv-section, .yv-final-cta { width: min(100% - 1.5rem, 1180px); }
  .yv-home-hero { min-height: auto; padding: 3rem 0 3.5rem; }
  .yv-hero-copy .yv-kicker { max-width: 100%; flex-wrap: wrap; font-size: 0.64rem; }
  .yv-hero-copy h1 { font-size: clamp(2.85rem, 13vw, 3.65rem); }
  .yv-hero-copy h1 span { white-space: normal; }
  .yv-hero-lead { font-size: 1rem; }
  .yv-hero-actions { flex-direction: column; }
  .yv-hero-actions > * { width: 100%; }
  .yv-identity-stage { min-height: 480px; transform: scale(0.92); margin-inline: -0.5rem; }
  .yv-card-lore { left: -0.1rem; top: 1rem; }
  .yv-card-voice { right: 0; bottom: 1rem; }
  .yv-signal-strip { justify-content: flex-start; }
  .yv-section { padding: 5rem 0; }
  .yv-build-card { min-height: 410px; }
  .yv-use-grid { grid-template-columns: 1fr; }
  .yv-use-grid article { padding: 1.25rem 0; }
  .yv-use-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--yv-line); }
  .yv-use-grid h3 { margin-top: 1rem; }
  .yv-final-cta { margin-bottom: 4rem; border-radius: 22px; }
}

@media (max-width: 420px) {
  .yv-home-page .site-logo { height: 48px; }
  .yv-home-page .site-wordmark { font-size: 1.15rem; }
  .yv-home-page > nav.container { padding-inline: 0.45rem; }
  .yv-home-page > nav ul { gap: 0.35rem; }
  .yv-home-page > nav ul:last-child { font-size: 0.74rem; }
  .yv-home-page > nav a[role="button"] { padding-inline: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .yv-persona-card-main, .yv-orbit-two { animation: none; }
  .yv-button, .yv-home-page .site-wordmark { transition: none; }
}
