@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&family=Instrument+Serif:ital@0;1&family=Manrope:wght@400..800&display=swap');

:root {
  --color-brand-primary: #2a1a8c;
  --color-brand-deep: #1e104e;
  --color-brand-deepest: #0f0828;
  --color-brand-secondary: #1e44e8;
  --color-brand-accent: #ffcb05;
  --color-brand-support: #3fb8c7;

  --color-neutral-ink: #0b0726;
  --color-neutral-muted: #8a7397;
  --color-neutral-border: #e6e1d4;
  --color-neutral-alt-bg: #f3f0e8;
  --color-neutral-bg: #fbfaf7;
  --color-white: #ffffff;
  --color-error: #e8484a;

  --font-sans: 'Inter', sans-serif;
  --font-display: 'Instrument Serif', serif;
  --font-heading: 'Manrope', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 999px;

  --shadow-btn: 0 4px 16px rgba(42, 26, 140, 0.35);
  --shadow-btn-hover: 0 10px 26px rgba(42, 26, 140, 0.45);
  --shadow-card: 0 4px 32px rgba(42, 26, 140, 0.1);
  --shadow-card-hover: 0 18px 60px rgba(42, 26, 140, 0.18);
  --shadow-dialog: 0 20px 80px rgba(15, 8, 40, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--color-neutral-bg);
  color: var(--color-neutral-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

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

.page {
  min-height: 100vh;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-neutral-muted);
}

.eyebrow-accent {
  color: var(--color-brand-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.25s, background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-brand-primary);
  color: white;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  box-shadow: var(--shadow-btn-hover);
  opacity: 0.94;
}

.btn-nav-primary {
  background: white;
  color: var(--color-brand-primary);
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.2);
}

.btn-nav-primary:hover {
  opacity: 0.94;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.nav.scrolled .btn-nav-primary {
  background: var(--color-brand-primary);
  color: white;
  box-shadow: var(--shadow-btn);
}

.nav.scrolled .btn-nav-primary:hover {
  box-shadow: var(--shadow-btn-hover);
}

.btn-accent {
  background: var(--color-brand-accent);
  color: var(--color-neutral-ink);
  box-shadow: 0 4px 16px rgba(255, 203, 5, 0.4);
}

.btn-accent:hover {
  box-shadow: 0 10px 26px rgba(255, 203, 5, 0.5);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-ink {
  background: transparent;
  border-color: var(--color-neutral-ink);
  color: var(--color-neutral-ink);
}

.btn-outline-ink:hover {
  background: var(--color-neutral-alt-bg);
}

.btn-ghost {
  background: transparent;
  color: white;
  padding: 0.85rem 0.5rem;
}

.btn-ghost:hover {
  opacity: 0.7;
}

.nav.scrolled .btn-ghost {
  color: var(--color-brand-primary);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 700px) {
  .container {
    padding: 0 20px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 {
  transition-delay: 0.08s;
}

.reveal-d2 {
  transition-delay: 0.16s;
}

.reveal-d3 {
  transition-delay: 0.24s;
}

.reveal-d4 {
  transition-delay: 0.32s;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 32px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--color-neutral-border);
}

.nav-logo {
  height: 28px;
  display: none;
}

.nav-logo.nav-logo-light {
  display: block;
}

.nav-logo.nav-logo-dark {
  display: none;
}

.nav.scrolled .nav-logo.nav-logo-light {
  display: none;
}

.nav.scrolled .nav-logo.nav-logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
  transition: opacity 0.2s, color 0.3s;
}

.nav-links a:hover {
  opacity: 1;
  color: white;
}

.nav.scrolled .nav-links a {
  color: var(--color-neutral-ink);
  opacity: 0.7;
}

.nav.scrolled .nav-links a:hover {
  opacity: 1;
  color: var(--color-neutral-ink);
}

.nav-links-cta {
  display: none;
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
}

@media (max-width: 880px) {
  .nav {
    grid-template-columns: 1fr auto;
    padding: 14px 20px;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-brand-deepest);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 55;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 24px;
    font-weight: 600;
    color: white;
  }

  .nav-links-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    align-items: center;
  }

  .nav-links-cta .btn-ghost {
    color: rgba(255, 255, 255, 0.7);
  }

  .nav-links-cta .btn-nav-primary {
    background: var(--color-brand-primary);
    color: white;
    box-shadow: var(--shadow-btn);
  }

  .split {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps::before {
    display: none;
  }
  .segments {
    grid-template-columns: 1fr;
  }
  .dashboard-inner {
    grid-template-columns: 1fr;
  }
  .dash-side {
    display: none;
  }
  .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 60;
}

.nav-hamburger-line {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.scrolled .nav-hamburger-line {
  background: var(--color-neutral-ink);
}

.nav-hamburger.active .nav-hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active .nav-hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active .nav-hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--color-brand-deepest);
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 100px 0 50px;
    min-height: auto;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 90px 0 40px;
  }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/lines.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.hero-glow.purple {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #4d2bc9 0%, transparent 65%);
  top: -180px;
  left: -200px;
}

@media (max-width: 700px) {
  .hero-glow.purple {
    width: 350px;
    height: 350px;
    top: -100px;
    left: -100px;
  }
}

@media (max-width: 480px) {
  .hero-glow.purple {
    width: 280px;
    height: 280px;
    top: -80px;
    left: -80px;
  }
}

.hero-glow.teal {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #3fb8c7 0%, transparent 65%);
  bottom: -200px;
  right: -150px;
  opacity: 0.35;
}

@media (max-width: 700px) {
  .hero-glow.teal {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: -80px;
  }
}

@media (max-width: 480px) {
  .hero-glow.teal {
    width: 240px;
    height: 240px;
    bottom: -80px;
    right: -60px;
  }
}

.hero-glow.yellow {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #ffcb05 0%, transparent 65%);
  top: 35%;
  right: 12%;
  opacity: 0.18;
}

@media (max-width: 700px) {
  .hero-glow.yellow {
    width: 200px;
    height: 200px;
    top: 20%;
    right: -40px;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }

  .hero-inner > div:first-child {
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-visual {
    order: 1;
  }
}

@media (max-width: 700px) {
  .hero-inner {
    gap: 32px;
  }

  .hero-inner > div:first-child {
    text-align: left;
  }

  .hero-sub {
    margin-left: 0;
    margin-right: 0;
    font-size: 16px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-meta {
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero-eyebrow .pulse {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(63, 184, 199, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-eyebrow .pulse::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3fb8c7;
  box-shadow: 0 0 0 0 rgba(63, 184, 199, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(63, 184, 199, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(63, 184, 199, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(63, 184, 199, 0);
  }
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 8vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 22px 0 0;
  color: white;
}

.hero h1 .serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  background: linear-gradient(95deg, #ffcb05 0%, #3fb8c7 50%, #6e91ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
}

.hero-sub {
  margin: 22px 0 36px;
  max-width: 540px;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 32px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-item svg {
  color: var(--color-brand-support);
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .hero-visual {
    max-width: 420px;
    aspect-ratio: 1 / 1;
    height: auto;
  }
}

@media (max-width: 700px) {
  .hero-visual {
    max-width: 360px;
    height: auto;
    aspect-ratio: 1 / 1;
    order: 1;
    margin-top: 0;
  }

  .diamond-stage svg {
    width: 50%;
  }

  .orbit-node {
    padding: 5px 9px;
    font-size: 10px;
    gap: 5px;
  }

  .orbit-node .dot {
    width: 4px;
    height: 4px;
  }

  .orbit-ellipse {
    width: 100%;
    height: 78%;
  }
}

@media (max-width: 480px) {
  .hero-visual {
    max-width: 290px;
  }

  .diamond-stage svg {
    width: 48%;
  }

  .orbit-node {
    padding: 4px 7px;
    font-size: 9px;
  }

  .orbit-node .dot {
    width: 3px;
    height: 3px;
  }
}

.orbit-ellipse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 78%;
  transform: translate(-50%, -50%) rotate(-15deg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.orbit-ellipse::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.orbit-node {
  position: absolute;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 500;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0.75;
  transition: opacity 0.4s ease, transform 0.2s ease, border-color 0.4s ease;
  will-change: transform, opacity;
}

.orbit-node.front {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.orbit-node .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.diamond-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 30px 80px rgba(30, 68, 232, 0.4));
  z-index: 5;
}

.diamond-stage svg {
  width: 56%;
  height: auto;
  animation: diamond-float 6s ease-in-out infinite;
}

@keyframes diamond-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.diamond-stage .facet-y {
  animation: facet-flicker-y 3.5s ease-in-out infinite;
  transform-origin: center;
}

.diamond-stage .facet-t {
  animation: facet-flicker-t 4.5s ease-in-out infinite 0.6s;
  transform-origin: center;
}

.diamond-stage .facet-b {
  animation: facet-flicker-b 5s ease-in-out infinite 0.3s;
  transform-origin: center;
}

@keyframes facet-flicker-y {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes facet-flicker-t {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes facet-flicker-b {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: hidden;
}

.trust-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  position: relative;
  padding: 130px 0;
}

.section-tight {
  padding: 90px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head .eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--color-brand-primary);
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 18px;
}

.section-head h2 .serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--color-brand-primary);
}

.section-head p {
  font-size: 18px;
  color: var(--color-neutral-muted);
  margin: 0;
  line-height: 1.6;
}

.section-head.left {
  text-align: left;
  margin: 0 0 64px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-radius: 28px;
  overflow: hidden;
  border: 1.5px solid var(--color-neutral-border);
  background: white;
}

@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split-side {
  padding: 56px 48px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.split-side.chaos {
  background: linear-gradient(135deg, #f3f0e8 0%, #eae3d2 100%);
  position: relative;
  overflow: hidden;
}

.split-side.chaos::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(232, 72, 74, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.split-side.order {
  background: linear-gradient(135deg, var(--color-brand-deep) 0%, var(--color-brand-primary) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.split-side.order::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.split-side h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
  line-height: 1.15;
}

.split-side p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.78;
  max-width: 420px;
}

.split-side .eyebrow {
  color: inherit;
  opacity: 0.6;
}

.chaos-stack {
  position: relative;
  height: 200px;
}

.chaos-bubble {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(15, 8, 40, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-neutral-border);
  animation: jitter 4s ease-in-out infinite;
}

.chaos-bubble .ico {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chaos-bubble.b1 {
  top: 0;
  left: 0;
  transform: rotate(-3deg);
  animation-delay: 0s;
}

.chaos-bubble.b2 {
  top: 30px;
  left: 130px;
  transform: rotate(2deg);
  animation-delay: 0.7s;
}

.chaos-bubble.b3 {
  top: 90px;
  left: 30px;
  transform: rotate(-2deg);
  animation-delay: 1.4s;
}

.chaos-bubble.b4 {
  top: 110px;
  left: 200px;
  transform: rotate(4deg);
  animation-delay: 2s;
}

.chaos-bubble.b5 {
  top: 60px;
  left: 280px;
  transform: rotate(-4deg);
  animation-delay: 0.4s;
}

.chaos-bubble.b6 {
  top: 150px;
  left: 110px;
  transform: rotate(3deg);
  animation-delay: 1.1s;
}

@keyframes jitter {
  0%,
  100% {
    transform: translate(0, 0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translate(2px, -3px) rotate(calc(var(--r, 0deg) + 1deg));
  }
}

.order-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  position: relative;
  overflow: hidden;
}

.order-row::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-brand-support);
}

.order-row.r2::after {
  background: var(--color-brand-accent);
}

.order-row.r3::after {
  background: #6e91ff;
}

.order-row .meta {
  margin-left: auto;
  opacity: 0.55;
  font-size: 12px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

@media (max-width: 880px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step-card {
  position: relative;
  background: white;
  border: 1.5px solid var(--color-neutral-border);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: color-mix(in srgb, var(--color-brand-primary) 25%, transparent);
}

.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--color-brand-primary);
  margin-bottom: 8px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 8px 0 10px;
}

.step-card p {
  font-size: 15px;
  color: var(--color-neutral-muted);
  margin: 0 0 24px;
  line-height: 1.55;
}

.step-visual {
  margin-top: auto;
  background: var(--color-neutral-bg);
  border-radius: 14px;
  border: 1px solid var(--color-neutral-border);
  padding: 16px;
  height: 140px;
  position: relative;
  overflow: hidden;
}

.ws-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ws-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--color-neutral-border);
  font-size: 12px;
  font-weight: 500;
}

.ws-pill .av {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
}

.ws-pill.add {
  border-style: dashed;
  color: var(--color-neutral-muted);
  justify-content: center;
}

.kanban-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  height: 100%;
}

.kanban-col {
  background: white;
  border-radius: 8px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--color-neutral-border);
}

.kanban-col .col-h {
  font-size: 9px;
  font-weight: 600;
  color: var(--color-neutral-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 4px;
}

.kanban-card {
  background: var(--color-neutral-bg);
  border-radius: 6px;
  padding: 5px 6px;
  font-size: 9px;
  line-height: 1.3;
  border: 1px solid var(--color-neutral-border);
}

.kanban-card .ttl {
  font-weight: 500;
  color: var(--color-neutral-ink);
  margin-bottom: 2px;
}

.kanban-card .av {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--color-brand-primary);
  display: inline-block;
}

.ring-vis {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
}

.ring-vis .ring {
  width: 90px;
  height: 90px;
}

.ring-vis .stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
}

.ring-vis .stats .v {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-neutral-ink);
}

.ring-vis .stats .l {
  color: var(--color-neutral-muted);
}

.ring-vis .stats .delta {
  font-size: 10px;
  color: var(--color-brand-support);
  font-weight: 600;
}

.steps::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  border-top: 1.5px dashed var(--color-neutral-border);
  z-index: 0;
  transform: translateY(-30px);
  pointer-events: none;
}

@media (max-width: 880px) {
  .steps::before {
    display: none;
  }
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
}

@media (max-width: 1080px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 700px) {
  .bento {
    grid-template-columns: 1fr;
  }
}

.bento-card {
  position: relative;
  background: white;
  border: 1.5px solid var(--color-neutral-border);
  border-radius: 20px;
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
  border-color: color-mix(in srgb, var(--color-brand-primary) 25%, transparent);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.bento-card .ft-eye {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
  margin-bottom: 10px;
}

.bento-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  line-height: 1.2;
}

.bento-card p {
  font-size: 15px;
  color: var(--color-neutral-muted);
  margin: 0;
  line-height: 1.55;
  max-width: 380px;
}

.bento-visual {
  margin-top: 20px;
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 140px;
}

@media (min-width: 1081px) {
  .bento-card.f-1 {
    grid-column: span 3;
    grid-row: span 2;
  }
  .bento-card.f-2 {
    grid-column: span 3;
  }
  .bento-card.f-3 {
    grid-column: span 2;
  }
  .bento-card.f-4 {
    grid-column: span 2;
  }
  .bento-card.f-5 {
    grid-column: span 2;
  }
}

.ws-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ws-tile {
  aspect-ratio: 1.4 / 1;
  border-radius: 14px;
  background: var(--color-neutral-bg);
  border: 1px solid var(--color-neutral-border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.ws-tile:hover {
  transform: translateY(-2px);
}

.ws-tile .ws-av {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 13px;
  font-family: var(--font-heading);
}

.ws-tile .ws-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-neutral-ink);
}

.ws-tile .ws-meta {
  font-size: 11px;
  color: var(--color-neutral-muted);
  margin-top: 2px;
}

.ws-tile .ws-bar {
  height: 3px;
  border-radius: 2px;
  background: var(--color-neutral-border);
  margin-top: 6px;
  overflow: hidden;
}

.ws-tile .ws-bar i {
  display: block;
  height: 100%;
  border-radius: 2px;
}

.init-rows {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.init-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-neutral-bg);
  border: 1px solid var(--color-neutral-border);
  border-radius: 12px;
  padding: 8px 12px;
}

.init-row .ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.init-row .name {
  font-size: 13px;
  font-weight: 500;
  flex: 1;
}

.init-row .t-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.bud-vis {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bud-vis svg {
  flex-shrink: 0;
}

.bud-vis .bud-stats {
  font-size: 12px;
}

.bud-vis .bud-stats .pct {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-neutral-ink);
}

.bud-vis .bud-stats .l {
  color: var(--color-neutral-muted);
  margin-top: 2px;
}

.task-mini {
  width: 100%;
  background: var(--color-neutral-bg);
  border: 1px solid var(--color-neutral-border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task-mini .t-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.task-mini .check {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.5px solid var(--color-neutral-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.task-mini .check.done {
  background: var(--color-brand-support);
  border-color: var(--color-brand-support);
  color: white;
}

.task-mini .check.review {
  background: var(--color-brand-accent);
  border-color: var(--color-brand-accent);
}

.task-mini .ttl {
  flex: 1;
  color: var(--color-neutral-ink);
  font-weight: 500;
}

.task-mini .ttl.done {
  text-decoration: line-through;
  color: var(--color-neutral-muted);
  font-weight: 400;
}

.task-mini .av {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--color-brand-primary);
}

.asset-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.asset-tile {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--color-neutral-bg);
  border: 1px solid var(--color-neutral-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--color-neutral-muted);
  position: relative;
  overflow: hidden;
}

.asset-tile.img-1 {
  background: linear-gradient(135deg, #ffcb05, #ff9a3f);
}

.asset-tile.img-2 {
  background: linear-gradient(135deg, #3fb8c7, #1e44e8);
}

.asset-tile.img-3 {
  background: linear-gradient(135deg, #2a1a8c, #6e91ff);
}

.asset-tile.img-4 {
  background: var(--color-neutral-alt-bg);
  color: var(--color-neutral-muted);
}

.asset-tile.img-5 {
  background: linear-gradient(135deg, #1e104e, #2a1a8c);
}

.asset-tile.img-6 {
  background: linear-gradient(135deg, #ffcb05 30%, #3fb8c7);
}

.asset-tile.img-7 {
  background: linear-gradient(135deg, #1e44e8, #2a1a8c);
}

.asset-tile.img-8 {
  background: linear-gradient(135deg, #3fb8c7 40%, white);
}

.product-showcase {
  position: relative;
  padding: 120px 0 0;
  background: linear-gradient(180deg, var(--color-neutral-bg) 0%, var(--color-neutral-alt-bg) 100%);
}

.dashboard-frame {
  position: relative;
  margin: 60px auto 0;
  max-width: 1180px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--color-neutral-border);
  box-shadow: 0 30px 80px rgba(42, 26, 140, 0.18), 0 10px 30px rgba(15, 8, 40, 0.05);
  overflow: hidden;
}

.dashboard-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: var(--color-neutral-bg);
  border-bottom: 1px solid var(--color-neutral-border);
  z-index: 1;
}

.dashboard-frame::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff6058;
  box-shadow: 18px 0 0 #ffbd30, 36px 0 0 #28c940;
  z-index: 2;
}

.dashboard-inner {
  padding-top: 36px;
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 540px;
}

.dash-side {
  background: var(--color-brand-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-side-h {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  padding: 8px 10px;
  margin-top: 12px;
}

.dash-side-h:first-child {
  margin-top: 0;
}

.dash-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.dash-link.active {
  background: white;
  color: var(--color-brand-deep);
}

.dash-link .ico {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.dash-link.active .ico {
  opacity: 1;
}

.dash-main {
  padding: 24px 28px;
  background: var(--color-neutral-bg);
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dash-topbar h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.dash-topbar .topnav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dash-topbar .av {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--color-brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.kpi {
  background: white;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid var(--color-neutral-border);
}

.kpi .ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.kpi .v {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
}

.kpi .l {
  font-size: 11px;
  color: var(--color-neutral-muted);
  margin-top: 2px;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

.dash-card {
  background: white;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--color-neutral-border);
}

.dash-card h5 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.dc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-neutral-border);
  font-size: 12px;
}

.dc-row:last-child {
  border-bottom: none;
}

.dc-row .name {
  flex: 1;
  font-weight: 500;
}

.dc-row .meta {
  color: var(--color-neutral-muted);
  font-size: 11px;
}

.dc-row .badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 999px;
  text-transform: uppercase;
}

.dc-row .ico {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--color-brand-primary) 8%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.donut-card {
  display: flex;
  flex-direction: column;
}

.donut-vis {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.donut-vis .legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

.donut-vis .legend > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.donut-vis .legend .sw {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.donut-vis .legend .num {
  color: var(--color-neutral-muted);
  margin-left: auto;
  padding-left: 8px;
}

@media (max-width: 880px) {
  .dashboard-inner {
    grid-template-columns: 1fr;
  }
  .dash-side {
    display: none;
  }
  .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-grid {
    grid-template-columns: 1fr;
  }
}

.segments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 880px) {
  .segments {
    grid-template-columns: 1fr;
  }
}

.seg-card {
  position: relative;
  padding: 48px 40px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.seg-empresa {
  background: linear-gradient(135deg, #e2f4f7 0%, #c5eaef 100%);
  border: 1.5px solid color-mix(in srgb, #3fb8c7 30%, transparent);
}

.seg-agencia {
  background: linear-gradient(135deg, var(--color-brand-deep) 0%, #2a1a8c 100%);
  color: white;
}

.seg-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.seg-empresa .seg-tag {
  background: rgba(63, 184, 199, 0.2);
  color: #1a7f8a;
}

.seg-agencia .seg-tag {
  background: rgba(255, 203, 5, 0.2);
  color: var(--color-brand-accent);
}

.seg-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.seg-empresa .seg-tag .dot {
  background: #3fb8c7;
}

.seg-agencia .seg-tag .dot {
  background: var(--color-brand-accent);
}

.seg-card h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 18px 0 14px;
}

.seg-card p {
  font-size: 16px;
  opacity: 0.78;
  margin: 0 0 28px;
  line-height: 1.55;
  max-width: 360px;
}

.seg-empresa p {
  color: var(--color-brand-deep);
}

.seg-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seg-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.seg-bullets li .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seg-empresa .seg-bullets li .dot {
  background: rgba(63, 184, 199, 0.25);
  color: #1a7f8a;
}

.seg-agencia .seg-bullets li .dot {
  background: rgba(255, 203, 5, 0.2);
  color: var(--color-brand-accent);
}

.seg-bullets li .dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.seg-visual {
  margin-top: auto;
}

.beta-cta {
  position: relative;
  padding: 100px 0;
  background: var(--color-brand-deepest);
  color: white;
  overflow: hidden;
}

.beta-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/lines.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black 30%, transparent 70%);
  pointer-events: none;
}

.beta-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(63, 184, 199, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 203, 5, 0.12) 0%, transparent 40%);
}

.beta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.beta-inner h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 20px;
}

.beta-inner h2 .serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--color-brand-accent);
}

.beta-inner p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.beta-stats {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.beta-stats > div {
  text-align: center;
}

.beta-stats .v {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.beta-stats .v .serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--color-brand-accent);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1.5px solid var(--color-neutral-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item.open {
  border-color: color-mix(in srgb, var(--color-brand-primary) 30%, transparent);
  box-shadow: var(--shadow-card);
}

.faq-q {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-neutral-ink);
  letter-spacing: -0.01em;
}

.faq-q .plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-neutral-bg);
  border: 1.5px solid var(--color-neutral-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
  background: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
  color: white;
}

.faq-q .plus svg {
  width: 14px;
  height: 14px;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 280px;
}

.faq-a-inner {
  padding: 0 26px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-neutral-muted);
  max-width: 640px;
}

.footer {
  background: var(--color-brand-deepest);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 36px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer h6 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.65;
  margin: 16px 0 0;
  max-width: 280px;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
}

.modal-back {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(11, 7, 38, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-back.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  background: white;
  border-radius: 24px;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-dialog);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-back.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--color-neutral-bg);
  border: 1.5px solid var(--color-neutral-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-neutral-ink);
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--color-neutral-alt-bg);
}

.modal h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.modal-sub {
  font-size: 14px;
  color: var(--color-neutral-muted);
  margin: 0 0 22px;
  line-height: 1.5;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-neutral-ink);
}

.field label .req {
  color: var(--color-error);
}

.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--color-neutral-border);
  background: white;
  color: var(--color-neutral-ink);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--color-brand-primary);
}

.field textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 540px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.modal-success {
  text-align: center;
  padding: 16px 0;
}

.modal-success .check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-brand-support) 20%, transparent);
  color: var(--color-brand-support);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  animation: checkin 0.5s cubic-bezier(0.2, 0.9, 0.2, 1);
}

@keyframes checkin {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-success h3 {
  margin-bottom: 10px;
}

.modal-success p {
  color: var(--color-neutral-muted);
  font-size: 15px;
  line-height: 1.55;
}
