:root {
  --bg: #0c0c10;
  --text: #ffffff;
  --text-muted: #a9a9b3;
  --accent: #721ea7;
  --accent-hover: #9d2eff;
  --border: #1c1c24;
  --fg-rgb: 255, 255, 255;
  --bg-rgb: 12, 12, 16;
  --shadow-rgb: 0, 0, 0;
  --card: rgba(18, 18, 26, 0.78);
  --chip-pop: rgba(20, 20, 28, 0.95);
  --ring-core: #14141c;
  --chip-bg: #15151c;
  --cta-end: rgba(21, 21, 28, 0.6);
  --hero-tint: rgba(90, 30, 165, 0.38);
  --glass-fill: rgba(255, 255, 255, 0.03);
  --hi: rgba(255, 255, 255, 0.12);
  --orb: #ffffff;
  --code-text: #d6d6e2;
  --code-k: #c792ff;
  --code-a: #7fd1ff;
  --code-s: #ffd479;
  --code-c: #6f6f86;
}

html[data-theme="light"] {
  --bg: #f6f5fb;
  --text: #16132a;
  --text-muted: #5f5b75;
  --border: #e2dff0;
  --fg-rgb: 22, 19, 42;
  --bg-rgb: 246, 245, 251;
  --shadow-rgb: 70, 45, 120;
  --card: rgba(255, 255, 255, 0.82);
  --chip-pop: rgba(255, 255, 255, 0.96);
  --ring-core: #ffffff;
  --chip-bg: #ebe8f6;
  --cta-end: rgba(255, 255, 255, 0.7);
  --hero-tint: rgba(157, 46, 255, 0.16);
  --glass-fill: rgba(255, 255, 255, 0.62);
  --hi: rgba(255, 255, 255, 0.95);
  --orb: #9d2eff;
  --code-text: #3a3752;
  --code-k: #7a22c9;
  --code-a: #1d6fd1;
  --code-s: #b36b00;
  --code-c: #8b88a0;
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; 
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}

.navbar.scrolled,
.navbar.menu-open {
  background: rgba(var(--bg-rgb), 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(var(--fg-rgb), 0.06);
}

.navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr; 
  align-items: center;
}

.navbar__logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-decoration: none;
}

.navbar__logo span {
  color: var(--text);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.navbar__menu ul {
  display: flex;
  gap: 36px;
  list-style: none;
}

.navbar__menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 400;
  transition: color 0.2s;
}

.navbar__menu a:hover,
.navbar__menu a.active {
  color: var(--text);
}

.navbar__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme {
  --tw: 62px;
  position: relative;
  flex: none;
  width: var(--tw);
  height: 34px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(var(--fg-rgb), 0.18);
  background: rgba(var(--fg-rgb), 0.08);
  cursor: pointer;
  transition: border-color 0.2s, background 0.3s;
}

.theme:hover { border-color: rgba(var(--fg-rgb), 0.4); }

.theme__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #9d2eff, #721ea7);
  box-shadow: 0 0 14px rgba(157, 46, 255, 0.6);
  transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1), background 0.4s, box-shadow 0.4s;
}

html[data-theme="light"] .theme__knob {
  transform: translateX(calc(var(--tw) - 34px));
  background: linear-gradient(135deg, #ffb347, #ff8a3c);
  box-shadow: 0 0 14px rgba(255, 138, 60, 0.65);
}

.theme__knob svg {
  position: absolute;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.theme__sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

html[data-theme="light"] .theme__moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

html[data-theme="light"] .theme__sun {
  opacity: 1;
  transform: none;
}

.navbar__btn {
  padding: 12px 22px;
  background: var(--accent);
  color: #f1f1f6;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}

.navbar__btn:hover {
  background: var(--accent-hover);
}

.navbar__btn:active {
  transform: scale(0.97);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

.section {
  min-height: 100vh;
  min-height: 100svh;
  padding: 110px 24px 60px; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  scroll-margin-top: 0;
}

.section h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
}

.section--home { padding: 0; }

.hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  padding: 80px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg);
  background-image: linear-gradient(
    180deg,
    var(--bg) 0%,
    var(--hero-tint) 50%,
    var(--bg) 100%
  );
  color: var(--text);
  box-sizing: border-box;
}

.hero *,
.hero *::before,
.hero *::after {
  box-sizing: border-box;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 0%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-text {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: rgba(var(--fg-rgb), 0.6);
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 30%,
    #000 65%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 30%,
    #000 65%,
    transparent 100%
  );
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}

.glow-orb-1 {
  width: 380px;
  height: 380px;
  top: 30%;
  left: 15%;
  background: radial-gradient(circle, #a020f0 0%, transparent 70%);
  animation: orb-drift-1 10s ease-in-out infinite;
}

.glow-orb-2 {
  width: 440px;
  height: 440px;
  top: 32%;
  right: 10%;
  background: radial-gradient(circle, #7b2cff 0%, transparent 70%);
  animation: orb-drift-2 12s ease-in-out infinite;
}

.glow-orb-3 {
  width: 320px;
  height: 320px;
  top: 40%;
  left: 40%;
  background: radial-gradient(circle, #d070ff 0%, transparent 70%);
  animation: orb-drift-3 11s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(220px, -50px) scale(1.25); }
}

@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1.1); }
  50%      { transform: translate(-240px, 60px) scale(0.85); }
}

@keyframes orb-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(0.9); opacity: 0.35; }
  50%      { transform: translate(-120px, -70px) scale(1.3); opacity: 0.65; }
}

.scroll-rail {
  --p: 0;
  position: fixed;
  left: 22px;
  top: 110px;
  bottom: 40px;
  width: 2px;
  z-index: 90;
  border-radius: 2px;
  background: rgba(var(--fg-rgb), 0.12);
  pointer-events: none;
}

.scroll-rail__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--p) * 100%);
  border-radius: 2px;
  background: linear-gradient(180deg, transparent 0%, #9d2eff 100%);
  box-shadow: 0 0 12px rgba(157, 46, 255, 0.8);
}

.scroll-rail__orb {
  position: absolute;
  left: 50%;
  top: calc(var(--p) * 100%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--orb);
  box-shadow:
    0 0 10px 3px rgba(208, 112, 255, 0.9),
    0 0 28px 10px rgba(157, 46, 255, 0.55);
}

.js .reveal {
  opacity: 0;
  transform: translate(var(--dx, 0), var(--dy, 0)) scale(var(--sc, 1));
  transition:
    opacity 0.9s ease,
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.js .reveal--up            { --dy: 30px; }
.js .svc__text             { --dx: -90px; }
.js .svc--rev .svc__text   { --dx: 90px; }
.js .svc__visual           { --dx: 90px; --sc: 0.95; }
.js .svc--rev .svc__visual { --dx: -90px; }
.js .contact__info         { --dx: -90px; }
.js .contact__card         { --dx: 90px; --sc: 0.95; }

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.section--about {
  position: relative;
  display: block;       
  min-height: 0;
  padding: 0;
  text-align: left;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(114, 30, 167, 0.12) 50%,
    var(--bg) 100%
  );
}

.section--about::before {
  content: "";
  position: absolute;
  top: 18%;
  left: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 46, 255, 0.3) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

.about__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 140px 24px 130px 64px; 
}

.section--about .about__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about__statement {
  margin-top: 36px;
  max-width: 1000px;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

.js .about__statement .w {
  color: rgba(var(--fg-rgb), 0.2);
  transition: color 0.35s ease;
}

.js .about__statement .w.lit {
  color: var(--text);
}

.about__more {
  margin-top: 56px;
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about__more p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.about__values {
  position: relative;
  isolation: isolate;
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about__values::before {
  content: "";
  position: absolute;
  inset: -30px -20px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 25%, rgba(157, 46, 255, 0.3), transparent 42%),
    radial-gradient(circle at 78% 25%, rgba(56, 108, 255, 0.26), transparent 42%),
    radial-gradient(circle at 25% 75%, rgba(214, 48, 150, 0.22), transparent 42%),
    radial-gradient(circle at 75% 75%, rgba(20, 184, 166, 0.2), transparent 42%);
  filter: blur(36px);
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
}

.about__value {
  --rgb: 157, 46, 255;
  position: relative;
  overflow: hidden;
  padding: 30px 28px 32px;
  border-radius: 22px;
  background:
    linear-gradient(150deg, rgba(var(--rgb), 0.14) 0%, var(--glass-fill) 60%);
  border: 1px solid rgba(var(--fg-rgb), 0.1);
  box-shadow:
    inset 0 1px 0 var(--hi),
    0 10px 30px rgba(var(--shadow-rgb), 0.25);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.about__value:nth-child(1) { --rgb: 157, 46, 255; }  
.about__value:nth-child(2) { --rgb: 56, 108, 255; }  
.about__value:nth-child(3) { --rgb: 214, 48, 150; }  
.about__value:nth-child(4) { --rgb: 20, 184, 166; }  
.about__value:nth-child(5) { --rgb: 255, 138, 60; }  
.about__value:nth-child(6) { --rgb: 56, 189, 248; }  

.about__value::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 0%),
    rgba(var(--rgb), 0.3),
    transparent 65%
  );
  transition: opacity 0.35s ease;
}

.about__value > * {
  position: relative;
  z-index: 1;
}

.about__value::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 36px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: rgb(var(--rgb));
  box-shadow: 0 0 14px rgba(var(--rgb), 0.9);
}

.js .about__value.reveal {
  transition:
    opacity 0.9s ease,
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s;
}

@media (hover: hover) {
  .about__value:hover {
    border-color: rgba(var(--rgb), 0.65);
    box-shadow:
      inset 0 1px 0 var(--hi),
      0 0 0 1px rgba(var(--rgb), 0.25),
      0 18px 50px rgba(var(--rgb), 0.32);
  }

  .about__value:hover::after {
    opacity: 1;
  }
}

.about__value h3 {
  margin-top: 8px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.about__value p {
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(var(--fg-rgb), 0.68);
}

.section--services {
  display: block;       
  min-height: 0;
  padding: 0;
  text-align: left;
  overflow: hidden;     
}

.services__intro {
  padding: 130px 24px 20px;
  text-align: center;
}

.section--services .services__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.services__intro p {
  max-width: 460px;
  margin: 16px auto 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.svc {
  --rgb: 114, 30, 167;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 100px 24px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(var(--rgb), 0.14) 50%,
    var(--bg) 100%
  );
}

.svc--ux  { --rgb: 114, 30, 167; }
.svc--fe  { --rgb: 56, 108, 255; }
.svc--sm  { --rgb: 214, 48, 150; }
.svc--seo { --rgb: 20, 184, 166; }
.svc--gr  { --rgb: 255, 138, 60; }

.svc::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -140px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(var(--rgb), 0.38) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.svc--rev::before {
  right: auto;
  left: -140px;
}

.svc__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 40px; 
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.svc--rev .svc__text { order: 2; }

.svc__text h3 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.svc__text p {
  max-width: 480px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.svc__list {
  margin-top: 28px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc__list li {
  padding-left: 14px;
  border-left: 2px solid rgba(var(--rgb), 1);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
}

.svc__visual {
  position: relative;
}

.mock {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid rgba(var(--fg-rgb), 0.1);
  box-shadow:
    0 30px 80px rgba(var(--shadow-rgb), 0.5),
    0 0 60px rgba(var(--rgb), 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(var(--fg-rgb), 0.07);
}

.mock__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(var(--fg-rgb), 0.18);
}

.mock__file {
  margin-left: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ui__body { padding: 18px; }

.ui__nav {
  width: 42%;
  height: 10px;
  border-radius: 6px;
  background: rgba(var(--fg-rgb), 0.12);
}

.ui__hero { margin-top: 24px; }

.ui__h {
  display: block;
  width: 82%;
  height: 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(var(--rgb), 1), rgba(var(--rgb), 0.25));
}

.ui__h--s {
  width: 56%;
  margin-top: 10px;
}

.ui__btn {
  display: block;
  width: 96px;
  height: 30px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--accent-hover);
}

.ui__cards {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ui__cards b {
  aspect-ratio: 1 / 1.1;
  border-radius: 12px;
  background: rgba(var(--fg-rgb), 0.06);
  border: 1px solid rgba(var(--fg-rgb), 0.06);
}

.ui__cards b:first-child {
  background: linear-gradient(160deg, rgba(var(--rgb), 0.9), rgba(var(--rgb), 0.15));
  border-color: transparent;
}

.ui__palette {
  display: flex;
  gap: 8px;
  padding: 0 18px 18px;
}

.ui__palette i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(var(--fg-rgb), 0.25);
}

.ui__cursor {
  position: absolute;
  right: 56px;
  bottom: 90px;
  filter: drop-shadow(0 6px 10px rgba(var(--shadow-rgb), 0.5));
  animation: cursor-move 6s ease-in-out infinite;
}

@keyframes cursor-move {
  0%, 100% { transform: translate(0, 0); }
  45%      { transform: translate(-90px, -150px); }
  60%      { transform: translate(-90px, -150px) scale(0.9); }
}

.mock--code pre {
  padding: 20px;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--code-text);
}

.mock--code .k { color: var(--code-k); }
.mock--code .a { color: var(--code-a); }
.mock--code .s { color: var(--code-s); }
.mock--code .c { color: var(--code-c); }

.ring {
  --v: 98;
  position: absolute;
  right: 14px;
  bottom: -26px;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(rgb(var(--rgb)) calc(var(--v) * 1%), rgba(var(--fg-rgb), 0.1) 0);
  box-shadow: 0 16px 40px rgba(var(--shadow-rgb), 0.5), 0 0 40px rgba(var(--rgb), 0.35);
}

.ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--ring-core);
}

.ring span {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.ring b {
  font-size: 1.7rem;
  font-weight: 700;
}

.ring small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cal__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 4px;
}

.cal__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8a3c, #d6309a 55%, #721ea7);
}

.cal__lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cal__lines i {
  display: block;
  width: 110px;
  height: 9px;
  border-radius: 5px;
  background: rgba(var(--fg-rgb), 0.16);
}

.cal__lines i + i {
  width: 70px;
  background: rgba(var(--fg-rgb), 0.08);
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding: 18px;
}

.cal__day {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cal__grid b {
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(var(--fg-rgb), 0.05);
}

.cal__grid b.on {
  background: linear-gradient(145deg, rgba(var(--rgb), 1), rgba(var(--rgb), 0.35));
}

.cal__grid b.on.alt {
  background: linear-gradient(145deg, #9d2eff, rgba(157, 46, 255, 0.3));
}

.chip {
  position: absolute;
  top: -20px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--chip-pop);
  border: 1px solid rgba(var(--fg-rgb), 0.1);
  box-shadow: 0 16px 40px rgba(var(--shadow-rgb), 0.5);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.chip__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgb(var(--rgb));
  box-shadow: 0 0 10px rgb(var(--rgb));
}

.mock--seo {
  padding: 18px;
}

.seo__search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(var(--fg-rgb), 0.07);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.seo__search span { color: var(--text); }

.seo__res {
  position: relative;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(var(--fg-rgb), 0.04);
}

.seo__res--top {
  background: rgba(var(--rgb), 0.12);
  border: 1px solid rgba(var(--rgb), 0.55);
}

.seo__t,
.seo__l {
  display: block;
  height: 9px;
  border-radius: 5px;
}

.seo__t {
  width: 46%;
  height: 12px;
  background: rgba(var(--rgb), 0.9);
}

.seo__l {
  width: 88%;
  margin-top: 10px;
  background: rgba(var(--fg-rgb), 0.12);
}

.seo__l--s { width: 62%; }

.seo__badge {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(var(--rgb));
  color: #04201d;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
}

.seo__chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 96px;
  margin-top: 20px;
  padding-top: 8px;
  border-top: 1px solid rgba(var(--fg-rgb), 0.07);
}

.seo__chart .bar {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgb(var(--rgb)), rgba(var(--rgb), 0.25));
  transform-origin: bottom;
}

.js .reveal .bar {
  transform: scaleY(0);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(0.5s + var(--i) * 0.09s);
}

.js .reveal.in .bar {
  transform: scaleY(1);
}

.gr {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 460px;
  margin: 0 auto;
}

.gr__story,
.gr__post {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(var(--shadow-rgb), 0.55), 0 0 50px rgba(var(--rgb), 0.3);
  animation: float-tilt 7s ease-in-out infinite;
}

.gr__story {
  --r: -5deg;
  left: 4%;
  top: 0;
  width: 220px;
  aspect-ratio: 9 / 16;
  padding: 26px 22px;
  border-radius: 24px;
  background: linear-gradient(165deg, #ff8a3c 0%, #d6309a 58%, #721ea7 100%);
}

.gr__post {
  --r: 4deg;
  right: 2%;
  bottom: 0;
  width: 240px;
  aspect-ratio: 1;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #721ea7 0%, #9d2eff 55%, #ff8a3c 130%);
  animation-delay: -3s;
}

.gr strong {
  color: #fff;
  position: relative;
  z-index: 1;
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.gr__post strong {
  font-size: 1.6rem;
}

.gr__story i {
  position: absolute;
  left: 22px;
  bottom: 26px;
  width: 80px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.gr__circle {
  position: absolute;
  right: -50px;
  bottom: 70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.gr__shape {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  border-radius: 38px;
  transform: rotate(25deg);
  background: rgba(255, 255, 255, 0.2);
}

@keyframes float-tilt {
  0%, 100% { transform: rotate(var(--r)) translateY(0); }
  50%      { transform: rotate(var(--r)) translateY(-12px); }
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-btn {
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.hero-btn--primary {
  background: var(--accent);
  color: #f1f1f6;
}

.hero-btn--primary:hover { background: var(--accent-hover); }

.hero-btn--ghost {
  border: 1px solid rgba(var(--fg-rgb), 0.28);
  color: var(--text);
}

.hero-btn--ghost:hover {
  border-color: rgba(var(--fg-rgb), 0.6);
  background: rgba(var(--fg-rgb), 0.06);
}

.hero-btn:active { transform: scale(0.97); }

.section--process {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  text-align: left;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(56, 108, 255, 0.1) 50%,
    var(--bg) 100%
  );
}

.process__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 130px 24px 120px 64px;
}

.process__head { text-align: center; }

.section--process .process__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.process__head p {
  max-width: 480px;
  margin: 16px auto 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.process__steps {
  list-style: none;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  --rgb: 157, 46, 255;
  position: relative;
}

.step:nth-child(2) { --rgb: 56, 108, 255; }
.step:nth-child(3) { --rgb: 214, 48, 150; }
.step:nth-child(4) { --rgb: 20, 184, 166; }

.step__no {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(var(--rgb), 0.18);
  border: 1px solid rgba(var(--rgb), 0.75);
  box-shadow: 0 0 24px rgba(var(--rgb), 0.45);
  font-weight: 600;
}

.step::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 60px;
  width: calc(100% - 40px);
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--rgb), 0.8), rgba(var(--rgb), 0.05));
  transform-origin: left;
}

.step:last-child::after { display: none; }

.js .step::after {
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--d, 0s) + 0.4s);
}

.js .step.in::after { transform: scaleX(1); }

.step h3 {
  margin-top: 22px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step p {
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.section--faq {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  text-align: left;
  overflow: hidden;
}

.faq__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 110px 24px 120px 64px;
}

.section--faq .faq__title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq__list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  border-radius: 18px;
  background: var(--glass-fill);
  border: 1px solid rgba(var(--fg-rgb), 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color 0.25s, background 0.25s;
}

@media (hover: hover) {
  .faq__item:hover { border-color: rgba(var(--fg-rgb), 0.22); }
}

.faq__item[open] {
  border-color: rgba(157, 46, 255, 0.55);
  background: linear-gradient(150deg, rgba(157, 46, 255, 0.14), var(--glass-fill));
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-size: 1.08rem;
  font-weight: 500;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  flex: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent-hover);
  transition: transform 0.3s;
}

.faq__item[open] summary::after { transform: rotate(45deg); }

.faq__item summary:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: -2px;
  border-radius: 18px;
}

.faq__item p {
  max-width: 680px;
  padding: 0 24px 22px;
  line-height: 1.65;
  color: var(--text-muted);
}

.faq__item[open] p { animation: faq-in 0.35s ease; }

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #05250f;
  box-shadow: 0 12px 30px rgba(var(--shadow-rgb), 0.45), 0 0 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}

.wa[hidden] { display: none; }
.wa:hover { transform: scale(1.07); }

@media (prefers-reduced-motion: reduce) {
  .js .step::after {
    transform: none !important;
    transition: none !important;
  }
  .faq__item[open] p { animation: none; }
}

.section--contact {
  position: relative;
  display: block;       
  min-height: 0;
  padding: 0;
  text-align: left;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(114, 30, 167, 0.2) 55%,
    var(--bg) 100%
  );
}

.section--contact::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(157, 46, 255, 0.35) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 140px 24px 120px 64px; 
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.section--contact .contact__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact__lead {
  margin-top: 20px;
  max-width: 420px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.contact__text {
  margin-top: 16px;
  max-width: 440px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.contact__info .footer__mail {
  margin-top: 32px;
}

.contact__card {
  padding: 32px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(var(--fg-rgb), 0.1);
  box-shadow:
    0 30px 80px rgba(var(--shadow-rgb), 0.5),
    0 0 70px rgba(114, 30, 167, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.contact__services {
  min-width: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact__services legend,
.field > span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}

.contact__services legend {
  width: 100%;
  float: left; 
}

.pill {
  position: relative;
  display: inline-block;
}

.pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.pill span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(var(--fg-rgb), 0.14);
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pill:hover span {
  border-color: rgba(var(--fg-rgb), 0.3);
  color: var(--text);
}

.pill input:checked + span {
  background: rgba(114, 30, 167, 0.45);
  border-color: var(--accent-hover);
  color: var(--text);
}

.pill input:focus-visible + span {
  outline: 2px solid var(--accent-hover);
  outline-offset: 3px;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.field {
  display: block;
}

.contact__card > .field {
  margin-top: 20px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(var(--fg-rgb), 0.1);
  background: rgba(var(--fg-rgb), 0.05);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-hover);
  background: rgba(var(--fg-rgb), 0.08);
}

.contact__submit {
  margin-top: 24px;
  padding: 14px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #f1f1f6;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.contact__submit:hover {
  background: var(--accent-hover);
}

.contact__submit:active {
  transform: scale(0.97);
}

.contact__status {
  min-height: 1.4em;
  margin-top: 14px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal .bar {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .mock,
  .gr__story,
  .gr__post,
  .ui__cursor {
    animation: none !important;
  }
  .gr__story { transform: rotate(-5deg); }
  .gr__post  { transform: rotate(4deg); }
}

.footer {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 24px 0;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer__tagline {
  max-width: 340px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: border-color 0.2s;
}

.footer__mail svg {
  transition: transform 0.2s, color 0.2s;
}

.footer__mail:hover {
  border-bottom-color: var(--accent-hover);
}

.footer__mail:hover svg {
  transform: translate(3px, -3px);
  color: var(--accent-hover);
}

.footer__loc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--chip-bg);
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.footer__social a:hover {
  background: var(--accent);
  color: var(--text);
}

.footer__social a:active {
  transform: scale(0.94);
}

.footer__side {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
}

.footer__title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__list a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.98rem;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.footer__list a:hover {
  opacity: 1;
  color: var(--accent-hover);
}

.footer__cta {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(
    160deg,
    rgba(114, 30, 167, 0.22) 0%,
    var(--cta-end) 70%
  );
}

.footer__cta-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer__cta-text {
  margin-top: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.footer__cta-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 22px;
  background: var(--accent);
  color: #f1f1f6;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}

.footer__cta-btn:hover {
  background: var(--accent-hover);
}

.footer__cta-btn:active {
  transform: scale(0.97);
}

.footer__mark {
  margin-top: 36px;
  text-align: center;
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.04em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(var(--fg-rgb), 0.09) 0%,
    rgba(var(--fg-rgb), 0) 90%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 460px) {
  .navbar__logo img {
    width: 120px;
    height: auto;
  }

  .theme { --tw: 52px; }

  .navbar__actions { gap: 8px; }

  .navbar__btn { padding: 10px 14px; }
}

@media (max-width: 600px) {
  .glow-orb {
    filter: blur(60px);
  }
  .glow-orb-1 { width: 240px; height: 240px; }
  .glow-orb-2 { width: 280px; height: 280px; }
  .glow-orb-3 { width: 200px; height: 200px; }

  .contact__row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact__card {
    padding: 24px 20px;
  }

  .about__values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .about__inner {
    padding: 110px 24px 100px 28px;
  }

  .about__more {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .about__values {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 64px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 110px 24px 90px 28px;
  }

  .svc {
    min-height: 0;
    padding: 80px 24px 90px;
  }

  .svc__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-left: 12px;
  }

  
  .svc--rev .svc__text { order: 0; }

  .svc::before,
  .svc--rev::before {
    right: -240px;
    left: auto;
    width: 480px;
    height: 480px;
  }

  .js .svc__text             { --dx: -40px; }
  .js .svc--rev .svc__text   { --dx: 40px; }
  .js .svc__visual           { --dx: 40px; }
  .js .svc--rev .svc__visual { --dx: -40px; }
  .js .contact__info         { --dx: -40px; }
  .js .contact__card         { --dx: 40px; }

  .faq__inner { padding: 90px 24px 90px 28px; }

  .process__inner { padding: 110px 24px 90px 28px; }

  .process__steps {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 56px;
  }

  .step { padding-left: 64px; }

  .step__no {
    position: absolute;
    left: 0;
    top: 0;
  }

  .step h3 {
    margin-top: 0;
    padding-top: 8px;
  }

  .step::after {
    top: 56px;
    left: 21px;
    width: 2px;
    height: calc(100% - 32px);
    background: linear-gradient(180deg, rgba(var(--rgb), 0.8), rgba(var(--rgb), 0.05));
    transform-origin: top;
  }

  .js .step::after { transform: scaleY(0); }
  .js .step.in::after { transform: scaleY(1); }

  .gr { height: 420px; }
  .gr__story { width: 190px; }
  .gr__post  { width: 210px; }
}

@media (max-width: 1000px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 800px) {
  .navbar__inner {
    grid-template-columns: 1fr auto;
    padding: 16px 20px;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__menu {
    display: none;
    grid-column: 1 / -1;
    padding-top: 16px;
  }

  .navbar__menu.open {
    display: block;
  }

  .navbar__menu ul {
    flex-direction: column;
    gap: 16px;
  }

  .scroll-rail { left: 8px; top: 90px; }
  .scroll-rail__orb { width: 10px; height: 10px; }

  
  .footer {
    padding-top: 40px;
  }

  .footer__side {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__mark {
    margin-top: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 6px;
  }
}

.footer__legal {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__legal:hover { color: var(--accent-hover); }

.legal {
  position: relative;
  overflow: hidden;
  padding: 150px 24px 90px;
}

.legal::before {
  content: "";
  position: absolute;
  top: 120px;
  right: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 46, 255, 0.28) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

.legal__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.legal__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.legal__date {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.legal__intro {
  margin-top: 24px;
  max-width: 680px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal__card {
  margin-top: 40px;
  padding: 40px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(var(--fg-rgb), 0.1);
  box-shadow:
    0 30px 80px rgba(var(--shadow-rgb), 0.35),
    0 0 70px rgba(114, 30, 167, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.legal__card h2 {
  margin-top: 36px;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal__card h2:first-child { margin-top: 0; }

.legal__card p,
.legal__card li {
  margin-top: 10px;
  line-height: 1.7;
  color: var(--text-muted);
}

.legal__card ul {
  margin-top: 6px;
  padding-left: 20px;
}

.legal__card strong {
  font-weight: 600;
  color: var(--text);
}

.legal__card a {
  color: var(--accent-hover);
  text-decoration: none;
  border-bottom: 1px solid rgba(157, 46, 255, 0.4);
}

.legal__card a:hover { border-bottom-color: var(--accent-hover); }

.legal-footer {
  border-top: 1px solid var(--border);
  padding: 22px 24px;
}

.legal-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-footer__inner a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-footer__inner a:hover { color: var(--accent-hover); }

@media (max-width: 800px) {
  .legal { padding: 120px 20px 70px; }
  .legal__card { padding: 26px 22px; }
  .legal-footer__inner { flex-direction: column; gap: 6px; }
}

.navbar--simple .navbar__inner {
  grid-template-columns: 1fr auto;
}

.nf {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 24px 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nf::before {
  content: "";
  position: absolute;
  top: 38%;
  left: 50%;
  width: 720px;
  height: 720px;
  max-width: 140vw;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(157, 46, 255, 0.32) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

.nf__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  text-align: center;
}

.nf__visual {
  position: relative;
}

.browser {
  --r: -2deg;
  position: relative;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid rgba(var(--fg-rgb), 0.12);
  box-shadow:
    0 30px 80px rgba(var(--shadow-rgb), 0.45),
    0 0 70px rgba(157, 46, 255, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: rotate(var(--r));
  animation: browser-float 6s ease-in-out infinite;
}

@keyframes browser-float {
  0%, 100% { transform: rotate(var(--r)) translateY(0); }
  50%      { transform: rotate(var(--r)) translateY(-10px); }
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(var(--fg-rgb), 0.08);
}

.dots {
  display: flex;
  gap: 7px;
}

.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}

.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }

.browser__url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(var(--fg-rgb), 0.07);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
}

.browser__url svg { flex: none; }

.browser__url span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.browser__url b {
  font-weight: 500;
  color: var(--text);
  text-decoration: underline wavy #ff5f57;
  text-underline-offset: 4px;
}

.browser__page {
  position: relative;
  overflow: hidden;
  height: 300px;
  padding: 20px 24px;
  border-radius: 0 0 18px 18px;
}

.bp__nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bp__nav span {
  width: 44px;
  height: 10px;
  border-radius: 6px;
  background: rgba(var(--fg-rgb), 0.14);
}

.bp__nav span:first-child {
  width: 72px;
  height: 14px;
  margin-right: auto;
  background: linear-gradient(90deg, #9d2eff, #721ea7);
}

.bp__nav span:nth-child(4) {
  transform: translate(10px, 40px) rotate(14deg);
  background: rgba(255, 95, 87, 0.5);
}

.bp__spin {
  position: absolute;
  top: 62px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bp__spin i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(var(--fg-rgb), 0.2);
  border-top-color: #9d2eff;
  animation: nf-spin 1s linear infinite;
}

@keyframes nf-spin {
  to { transform: rotate(360deg); }
}

.bp__code {
  margin-top: 26px;
  display: grid;
  place-items: center;
}

.glitch {
  position: relative;
  font-size: clamp(4.5rem, 15vw, 8.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 100% 0);
}

.glitch::before {
  color: #9d2eff;
  animation: glitch-a 3s infinite steps(1);
}

.glitch::after {
  color: #14b8a6;
  animation: glitch-b 3.4s infinite steps(1);
}

@keyframes glitch-a {
  0%, 100% { transform: translate(0); clip-path: inset(0 0 100% 0); }
  8%  { transform: translate(-7px, 2px); clip-path: inset(8% 0 58% 0); }
  10% { transform: translate(6px, -2px); clip-path: inset(42% 0 28% 0); }
  12% { transform: translate(0); clip-path: inset(0 0 100% 0); }
  62% { transform: translate(-5px, 0); clip-path: inset(20% 0 50% 0); }
  64% { transform: translate(0); clip-path: inset(0 0 100% 0); }
}

@keyframes glitch-b {
  0%, 100% { transform: translate(0); clip-path: inset(100% 0 0 0); }
  20% { transform: translate(7px, -2px); clip-path: inset(55% 0 12% 0); }
  23% { transform: translate(-6px, 2px); clip-path: inset(70% 0 4% 0); }
  26% { transform: translate(0); clip-path: inset(100% 0 0 0); }
  78% { transform: translate(5px, 0); clip-path: inset(35% 0 40% 0); }
  80% { transform: translate(0); clip-path: inset(100% 0 0 0); }
}

.bp__cards {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.bp__cards b {
  flex: 1;
  height: 62px;
  border-radius: 12px;
  background: rgba(var(--fg-rgb), 0.07);
  border: 1px solid rgba(var(--fg-rgb), 0.08);
}

.bp__cards b:nth-child(2) {
  transform: translate(8px, -20px) rotate(7deg);
  background: linear-gradient(150deg, rgba(157, 46, 255, 0.55), rgba(157, 46, 255, 0.12));
  border-color: rgba(157, 46, 255, 0.5);
}

.bp__cards b:nth-child(3) {
  height: 34px;
  background: transparent;
  border-style: dashed;
  border-color: rgba(var(--fg-rgb), 0.25);
}

.crack {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  pointer-events: none;
  stroke: rgba(var(--fg-rgb), 0.45);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 6px rgba(157, 46, 255, 0.7));
}

.shard {
  position: absolute;
  z-index: 2;
  --r: 14deg;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(157, 46, 255, 0.55), rgba(157, 46, 255, 0.15));
  border: 1px solid rgba(157, 46, 255, 0.5);
  transform: rotate(var(--r));
  animation: shard-fall 5s ease-in-out infinite;
}

.shard--1 {
  width: 46px;
  height: 30px;
  right: -12px;
  bottom: -20px;
}

.shard--2 {
  --r: -22deg;
  width: 30px;
  height: 22px;
  left: -10px;
  bottom: 34px;
  animation-delay: -2.2s;
}

@keyframes shard-fall {
  0%, 100% { transform: rotate(var(--r)) translateY(0); }
  50%      { transform: rotate(calc(var(--r) * 1.6)) translateY(12px); }
}

.nf__copy {
  margin-top: 56px;
}

.nf__copy h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nf__copy p {
  max-width: 480px;
  margin: 14px auto 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .browser,
  .shard,
  .bp__spin i {
    animation: none !important;
  }

  .glitch::before,
  .glitch::after {
    display: none;
  }
}

@media (max-width: 520px) {
  .browser__page { height: 260px; }
  .bp__spin { display: none; }
  .nf__copy { margin-top: 44px; }
}