:root {
  --bg: #000000;
  --bg-soft: #0a0d14;

  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);

  --border: rgba(255, 255, 255, 0.09);

  --text: #f5f7fb;
  --muted: #9ca5b5;
  --muted-strong: #c7ced9;

  --cyan: #36e6ff;
  --blue: #5f7cff;
  --violet: #9f6cff;

  --max: 1180px;

  --radius-lg: 28px;
  --radius-md: 18px;

  --shadow-glow:
    0 0 40px rgba(54, 230, 255, 0.08),
    0 0 90px rgba(159, 108, 255, 0.08);
}


/* ------------------------------------------------ */
/* RESET                                            */
/* ------------------------------------------------ */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: #000;

  color: var(--text);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  font-size: 1rem;
  line-height: 1.7;

  -webkit-font-smoothing: antialiased;

  overflow-x: hidden;
}

body::before {
  display: none;
}

a {
  color: inherit;
}

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


/* ------------------------------------------------ */
/* LAYOUT                                           */
/* ------------------------------------------------ */

.container {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 8rem 0;
}


/* ------------------------------------------------ */
/* TYPOGRAPHY                                       */
/* ------------------------------------------------ */

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

h1,
h2,
h3 {
  color: var(--text);
}

h1,
h2 {
  letter-spacing: -0.04em;
}

h1 {
  margin-bottom: 1.5rem;

  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.95;
  font-weight: 650;
}

h1 span,
h2 span {
  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #d9e4ff 35%,
      #8cecff 65%,
      #a98cff 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

h2 {
  margin-bottom: 1.5rem;

  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.02;
  font-weight: 620;
}

h3 {
  margin-bottom: 0.8rem;

  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
}

p {
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 1rem;

  color: var(--cyan);

  font-size: 0.76rem;
  font-weight: 650;

  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-lead {
  font-size: 1.2rem;
  color: var(--muted-strong);
}


/* ------------------------------------------------ */
/* HEADER                                           */
/* ------------------------------------------------ */

.site-header {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 50;

  background: rgba(0, 0, 0, 0.82);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  min-height: 76px;

  display: grid;
  grid-template-columns: 1fr auto auto;

  align-items: center;

  gap: 2rem;
}


/* Logo */

.brand {
  display: inline-flex;
  align-items: center;

  width: fit-content;

  text-decoration: none;
}

.brand-logo {
  display: block;

  height: 34px;
  width: auto;

  filter:
    drop-shadow(0 0 6px rgba(54, 230, 255, 0.20))
    drop-shadow(0 0 12px rgba(159, 108, 255, 0.12));

  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}

.brand:hover .brand-logo {
  filter:
    drop-shadow(0 0 8px rgba(54, 230, 255, 0.32))
    drop-shadow(0 0 18px rgba(159, 108, 255, 0.20));

  transform: translateY(-1px);
}


/* Navigation */

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--muted);

  text-decoration: none;

  font-size: 0.9rem;

  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.7rem 1.1rem;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;

  color: var(--text);

  background: rgba(255, 255, 255, 0.045);

  text-decoration: none;

  font-size: 0.88rem;
  font-weight: 600;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);

  transform: translateY(-1px);
}


/* ------------------------------------------------ */
/* HERO                                             */
/* ------------------------------------------------ */

.hero {
  min-height: 100svh;

  display: flex;
  align-items: center;

  padding-top: 10rem;

  overflow: hidden;
}

.hero-grid {
  display: grid;

  grid-template-columns: 1.15fr 0.85fr;

  align-items: center;

  gap: 4rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-lead {
  max-width: 650px;

  margin-bottom: 2rem;

  color: var(--muted-strong);

  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 1rem;

  margin-bottom: 1.2rem;
}

.micro-copy {
  margin: 0;

  font-size: 0.84rem;

  color: #767f90;
}


/* ------------------------------------------------ */
/* BUTTONS                                          */
/* ------------------------------------------------ */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding: 0.9rem 1.45rem;

  border-radius: 999px;

  text-decoration: none;

  font-size: 0.94rem;
  font-weight: 650;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

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

.btn-primary {
  --btn-angle: 0deg;

  position: relative;

  color: #ffffff;

  border: 1.5px solid transparent;

  background:
    linear-gradient(
      180deg,
      #0c0c11,
      #050507
    ) padding-box,

    conic-gradient(
      from var(--btn-angle),

      #ff4fd8 0deg,
      #c45cff 60deg,
      #8d6cff 120deg,
      #5f7cff 180deg,
      #36e6ff 240deg,
      #5fa8ff 300deg,
      #ff4fd8 360deg
    ) border-box;

  box-shadow:
    0 0 8px rgba(255, 79, 216, 0.10),
    0 0 16px rgba(159, 108, 255, 0.10),
    0 0 28px rgba(54, 230, 255, 0.08),
    0 10px 35px rgba(0, 0, 0, 0.45);

  animation:
    button-border-spin 7s linear infinite;
}

  animation:
    button-border-spin 3s linear infinite;

  z-index: -2;
}

  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 0 10px rgba(255, 79, 216, 0.22),
    0 0 22px rgba(159, 108, 255, 0.20),
    0 0 38px rgba(54, 230, 255, 0.18),
    0 0 60px rgba(95, 124, 255, 0.10),
    0 12px 38px rgba(0, 0, 0, 0.48);
}

@property --btn-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes button-border-spin {
  from {
    --btn-angle: 0deg;
  }

  to {
    --btn-angle: 360deg;
  }
}

/* ------------------------------------------------ */
/* HERO BACKGROUND GLOW                             */
/* ------------------------------------------------ */

.hero-glow {
  position: absolute;

  border-radius: 999px;

  filter: blur(110px);

  pointer-events: none;

  opacity: 0.55;
}

.hero-glow-one {
  width: 420px;
  height: 420px;

  top: 20%;
  right: 10%;

  background: rgba(95, 124, 255, 0.11);
}

.hero-glow-two {
  width: 320px;
  height: 320px;

  bottom: 10%;
  right: 24%;

  background: rgba(159, 108, 255, 0.10);
}


/* ------------------------------------------------ */
/* HERO VIDEO — FLOATING VISUAL                     */
/* ------------------------------------------------ */

.hero-visual {
  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;

  min-height: 560px;

  overflow: visible;
}

.hero-video-float {
  position: relative;

  width: min(520px, 100%);

  aspect-ratio: 1 / 1;

  isolation: isolate;

  overflow: visible;
}


/* Cyan glow */

.hero-video-float::before {
  content: "";

  position: absolute;

  inset: 12%;

  z-index: -2;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(54, 230, 255, 0.24) 0%,
      rgba(54, 230, 255, 0.10) 28%,
      rgba(54, 230, 255, 0.04) 46%,
      transparent 72%
    );

  filter: blur(70px);

  transform: scale(1.25);
}


/* Violet glow */

.hero-video-float::after {
  content: "";

  position: absolute;

  inset: 18%;

  z-index: -1;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(159, 108, 255, 0.24) 0%,
      rgba(159, 108, 255, 0.09) 30%,
      rgba(159, 108, 255, 0.03) 48%,
      transparent 76%
    );

  filter: blur(90px);

  transform: scale(1.35);
}


/* Video itself */

.hero-video {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  border: none;

  background: transparent;

  transform: scale(1.42);

  -webkit-mask-image:
    radial-gradient(
      ellipse 56% 54% at 50% 50%,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 34%,
      rgba(0, 0, 0, 0.96) 46%,
      rgba(0, 0, 0, 0.82) 58%,
      rgba(0, 0, 0, 0.42) 74%,
      rgba(0, 0, 0, 0.12) 86%,
      transparent 100%
    );

  mask-image:
    radial-gradient(
      ellipse 56% 54% at 50% 50%,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 34%,
      rgba(0, 0, 0, 0.96) 46%,
      rgba(0, 0, 0, 0.82) 58%,
      rgba(0, 0, 0, 0.42) 74%,
      rgba(0, 0, 0, 0.12) 86%,
      transparent 100%
    );

  filter:
    brightness(1)
    saturate(1.12)
    contrast(1.04);
}


/* ------------------------------------------------ */
/* PROBLEM SECTION                                  */
/* ------------------------------------------------ */

.section-heading {
  max-width: 820px;

  margin-bottom: 4rem;
}

.section-heading p:last-child {
  max-width: 700px;

  font-size: 1.05rem;
}

.problem-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 1rem;
}

.problem-card {
  min-height: 240px;

  padding: 2rem;

  border: 1px solid var(--border);

  border-radius: var(--radius-md);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.02)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.problem-card:hover {
  transform: translateY(-4px);

  border-color: rgba(54, 230, 255, 0.18);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.025)
    );
}

.card-number {
  display: inline-block;

  margin-bottom: 3rem;

  color: #6f7888;

  font-size: 0.78rem;

  letter-spacing: 0.16em;
}

.problem-card p {
  max-width: 420px;

  margin-bottom: 0;
}


/* ------------------------------------------------ */
/* SCORE                                            */
/* ------------------------------------------------ */

.score-section {
  background: transparent;
}

.score-grid {
  display: grid;

  grid-template-columns: 1fr 0.85fr;

  gap: 5rem;

  align-items: center;
}

.score-copy > p:last-child {
  max-width: 630px;
}

.score-panel {
  padding: 1.4rem;

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    );

  box-shadow: var(--shadow-glow);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.score-panel-top {
  display: flex;

  justify-content: space-between;

  gap: 1rem;

  padding: 0.4rem 0.3rem 1.4rem;

  color: var(--muted);

  font-size: 0.78rem;
}

.score-label {
  text-transform: uppercase;

  letter-spacing: 0.16em;
}

.score-status {
  color: var(--cyan);
}

.score-metric {
  display: grid;

  grid-template-columns: auto 1fr;

  gap: 1.1rem;

  align-items: center;

  padding: 1.25rem 0.35rem;

  border-top:
    1px solid rgba(255, 255, 255, 0.07);
}

.score-index {
  color: #5d6675;

  font-size: 0.76rem;
}

.score-metric small {
  display: block;

  color: #757f90;

  font-size: 0.72rem;

  text-transform: uppercase;

  letter-spacing: 0.12em;
}

.score-metric strong {
  display: block;

  margin-top: 0.2rem;

  font-size: 1.12rem;

  font-weight: 600;
}


/* ------------------------------------------------ */
/* ASSESSMENT                                       */
/* ------------------------------------------------ */

.assessment-section {
  padding-top: 5rem;
}

.assessment-shell {
  border: 1px solid var(--border);

  border-radius: var(--radius-lg);

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.015)
    );
}

.assessment-heading {
  padding: 3rem 3rem 2rem;

  max-width: 760px;
}

.assessment-heading p:last-child {
  margin-bottom: 0;
}

.assessment-placeholder {
  min-height: 420px;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  padding: 3rem;

  text-align: center;

  border-top: 1px solid var(--border);

  background:
    radial-gradient(
      circle at center,
      rgba(54, 230, 255, 0.055),
      transparent 30%
    ),
    rgba(255, 255, 255, 0.008);
}

.placeholder-label {
  margin-bottom: 1rem;

  color: var(--cyan);

  font-size: 0.72rem;

  text-transform: uppercase;

  letter-spacing: 0.16em;
}

.assessment-placeholder h3 {
  margin-bottom: 0.7rem;
}

.assessment-placeholder p {
  max-width: 520px;

  margin-bottom: 0;
}


/* ------------------------------------------------ */
/* FIT CALL                                         */
/* ------------------------------------------------ */

.fit-call-section {
  border-top:
    1px solid rgba(255, 255, 255, 0.05);
}

.fit-call-grid {
  display: grid;

  grid-template-columns: 1fr 0.8fr;

  gap: 5rem;

  align-items: start;
}

.fit-call-copy p {
  margin-bottom: 2rem;
}


/* ------------------------------------------------ */
/* FOOTER                                           */
/* ------------------------------------------------ */

.footer {
  padding: 2.5rem 0;

  border-top:
    1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: grid;

  grid-template-columns: 1fr auto auto;

  gap: 2rem;

  align-items: center;
}

.footer strong {
  display: block;

  margin-bottom: 0.15rem;
}

.footer p {
  margin-bottom: 0;

  font-size: 0.84rem;
}

.footer-links {
  display: flex;

  flex-wrap: wrap;

  gap: 1rem;
}

.footer-links a {
  color: var(--muted);

  text-decoration: none;

  font-size: 0.82rem;
}

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

.copyright {
  color: #6f7888;
}


/* ------------------------------------------------ */
/* ACCESSIBILITY                                    */
/* ------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }
}


/* ------------------------------------------------ */
/* TABLET                                           */
/* ------------------------------------------------ */

@media (max-width: 980px) {

  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;

    padding-top: 9rem;
  }

  .hero-grid,
  .score-grid,
  .fit-call-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-video-float {
    width: min(460px, 92%);
  }

  .hero-video {
    transform: scale(1.34);
  }

  .score-grid,
  .fit-call-grid {
    gap: 3rem;
  }

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

    gap: 1.3rem;
  }
}


/* ------------------------------------------------ */
/* MOBILE                                           */
/* ------------------------------------------------ */

@media (max-width: 720px) {

  .container {
    width: min(100% - 2rem, var(--max));
  }

  .section {
    padding: 6rem 0;
  }

  .site-header {
    position: sticky;
  }

  .nav {
    min-height: 68px;
  }

  .brand-logo {
    height: 28px;
  }

  .nav-cta {
    padding: 0.62rem 0.9rem;

    font-size: 0.8rem;
  }

  h1 {
    font-size:
      clamp(3rem, 16vw, 4.7rem);
  }

  h2 {
    font-size:
      clamp(2.2rem, 11vw, 3.5rem);
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-grid {
    gap: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;

    margin-top: 2rem;
  }

  .hero-video-float {
    width: min(360px, 100%);
  }

  .hero-video {
    transform: scale(1.28);
  }

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

  .problem-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 2rem;
  }

  .assessment-heading {
    padding: 2rem 1.5rem 1.5rem;
  }

  .assessment-placeholder {
    min-height: 340px;

    padding: 2rem 1.5rem;
  }

  .footer-links {
    flex-direction: column;
  }
}
/* ================================================= */
/* LEGAL EXPERIENCE                                  */
/* ================================================= */

.legal-hero {
  position: relative;

  padding:
    12rem 0
    7rem;

  overflow: hidden;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.06);
}

.legal-hero-inner {
  position: relative;

  z-index: 2;

  max-width: 1000px;
}

.legal-hero h1 {
  max-width: 900px;

  margin-bottom: 2rem;

  font-size:
    clamp(4rem, 9vw, 8rem);

  line-height: 0.92;
}

.legal-intro {
  max-width: 760px;

  margin-bottom: 4rem;

  color: var(--muted-strong);

  font-size:
    clamp(1.1rem, 2vw, 1.35rem);
}


/* Legal hero glow */

.legal-glow {
  position: absolute;

  pointer-events: none;

  border-radius: 50%;

  filter: blur(120px);
}

.legal-glow-one {
  width: 500px;
  height: 500px;

  top: -100px;
  right: 4%;

  background:
    rgba(54, 230, 255, 0.09);
}

.legal-glow-two {
  width: 420px;
  height: 420px;

  top: 120px;
  right: 20%;

  background:
    rgba(159, 108, 255, 0.09);
}


/* Metadata */

.legal-meta {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 1rem;
}

.legal-meta-item {
  padding: 1.25rem 1.4rem;

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.015)
    );
}

.legal-meta-item span {
  display: block;

  margin-bottom: 0.35rem;

  color: #747d8c;

  font-size: 0.69rem;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.legal-meta-item strong {
  font-size: 0.9rem;

  font-weight: 550;
}


/* ------------------------------------------------ */
/* LEGAL DOCUMENT                                   */
/* ------------------------------------------------ */

.legal-document {
  padding: 6rem 0 10rem;
}

.legal-layout {
  display: grid;

  grid-template-columns:
    230px minmax(0, 760px);

  justify-content: space-between;

  gap: 7rem;
}


/* Sidebar */

.legal-sidebar {
  position: relative;
}

.legal-sidebar-inner {
  position: sticky;

  top: 110px;
}

.legal-sidebar-label {
  display: block;

  margin-bottom: 1.2rem;

  color: #626b7a;

  font-size: 0.68rem;

  font-weight: 650;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}

.legal-index {
  display: flex;

  flex-direction: column;

  gap: 0.25rem;
}

.legal-index a {
  padding:
    0.45rem 0;

  color: #737c8c;

  font-size: 0.76rem;

  line-height: 1.35;

  text-decoration: none;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.legal-index a:hover {
  color: var(--cyan);

  transform:
    translateX(3px);
}


/* Main legal content */

.legal-content {
  min-width: 0;
}

.legal-opening {
  margin-bottom: 6rem;

  padding: 2rem;

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.018)
    );
}

.legal-opening p {
  color: var(--muted-strong);

  font-size: 1.06rem;

  line-height: 1.85;
}

.legal-opening p:last-child {
  margin-bottom: 0;
}


/* Sections */

.legal-section {
  scroll-margin-top: 110px;

  padding:
    0 0 6rem;

  margin-bottom: 6rem;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.07);
}

.legal-section:last-child {
  margin-bottom: 0;

  border-bottom: none;
}

.legal-section-number {
  margin-bottom: 1.4rem;

  color: var(--cyan);

  font-size: 0.72rem;

  font-weight: 650;

  letter-spacing: 0.15em;
}

.legal-section h2 {
  max-width: 700px;

  margin-bottom: 2rem;

  font-size:
    clamp(2rem, 4vw, 3.25rem);
}

.legal-section h3 {
  margin-top: 2.5rem;

  margin-bottom: 1rem;

  color: #dce1ea;

  font-size: 1.08rem;
}

.legal-section p {
  color: var(--muted);

  line-height: 1.9;
}

.legal-section strong {
  color: var(--text);
}


/* Lists */

.legal-list {
  display: grid;

  gap: 0.75rem;

  margin:
    1.7rem 0
    2rem;

  padding: 0;

  list-style: none;
}

.legal-list li {
  position: relative;

  padding-left: 1.6rem;

  color: var(--muted);

  line-height: 1.7;
}

.legal-list li::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0.72rem;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--cyan),
      var(--violet)
    );

  box-shadow:
    0 0 12px rgba(54, 230, 255, 0.25);
}


/* Info card */

.legal-info-card {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 1px;

  margin-top: 2rem;

  overflow: hidden;

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 20px;

  background:
    rgba(255, 255, 255, 0.07);
}

.legal-info-card > div {
  padding: 1.5rem;

  background: #07080c;
}

.legal-info-card span,
.legal-contact-card span {
  display: block;

  margin-bottom: 0.4rem;

  color: #626b7a;

  font-size: 0.68rem;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.legal-info-card strong {
  display: block;

  font-size: 0.92rem;

  line-height: 1.55;
}


/* Callouts */

.legal-callout {
  display: flex;

  gap: 1.3rem;

  margin:
    2.5rem 0;

  padding: 1.5rem;

  border:
    1px solid rgba(54, 230, 255, 0.14);

  border-radius: 18px;

  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(54, 230, 255, 0.07),
      transparent 45%
    ),
    rgba(255, 255, 255, 0.018);
}

.legal-callout-icon {
  flex:
    0 0 auto;

  display: grid;

  place-items: center;

  width: 32px;
  height: 32px;

  border-radius: 50%;

  color: #081015;

  background:
    var(--cyan);

  font-weight: 800;

  box-shadow:
    0 0 25px rgba(54, 230, 255, 0.22);
}

.legal-callout p {
  margin:
    0.5rem 0 0;
}

.legal-callout-soft {
  border-color:
    rgba(159, 108, 255, 0.12);

  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(159, 108, 255, 0.07),
      transparent 45%
    ),
    rgba(255, 255, 255, 0.018);
}


/* Provider cards */

.provider-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 1rem;

  margin:
    2.5rem 0;
}

.provider-card {
  padding: 1.6rem;

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 18px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.015)
    );

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.provider-card:hover {
  transform:
    translateY(-3px);

  border-color:
    rgba(54, 230, 255, 0.16);
}

.provider-card > span {
  display: block;

  margin-bottom: 1.3rem;

  color: var(--cyan);

  font-size: 0.66rem;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.provider-card h3 {
  margin:
    0 0 0.65rem;

  font-size: 1.1rem;
}

.provider-card p {
  margin: 0;

  font-size: 0.88rem;

  line-height: 1.7;
}


/* Data flow */

.data-flow {
  display: grid;

  gap: 0.65rem;

  margin:
    2.5rem 0 1rem;
}

.flow-item {
  display: grid;

  grid-template-columns:
    40px 1fr auto;

  align-items: center;

  gap: 1rem;

  padding:
    1rem 1.2rem;

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 14px;

  background:
    rgba(255, 255, 255, 0.02);
}

.flow-item > span {
  color: #596271;

  font-size: 0.7rem;
}

.flow-item strong {
  font-size: 0.95rem;
}

.flow-item small {
  color: #6f7888;

  font-size: 0.72rem;
}

.flow-arrow {
  height: 20px;

  display: grid;

  place-items: center;

  color: #49515e;
}

.flow-optional {
  display: flex;

  justify-content: space-between;

  gap: 1rem;

  margin-top: 1rem;

  padding:
    1rem 1.2rem;

  border:
    1px dashed rgba(159, 108, 255, 0.22);

  border-radius: 14px;
}

.flow-optional span {
  color: var(--violet);

  font-size: 0.72rem;

  text-transform: uppercase;

  letter-spacing: 0.12em;
}


/* Statement */

.legal-statement {
  margin-top: 2.5rem;

  padding: 2rem;

  border-radius: 20px;

  color: var(--text);

  background:
    linear-gradient(
      135deg,
      rgba(54, 230, 255, 0.07),
      rgba(159, 108, 255, 0.07)
    );

  border:
    1px solid rgba(255, 255, 255, 0.08);

  font-size: 1.35rem;

  font-weight: 650;

  letter-spacing: -0.025em;
}


/* ARCO */

.arco-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 1rem;

  margin:
    2.5rem 0;
}

.arco-card {
  padding: 1.6rem;

  border:
    1px solid rgba(255, 255, 255, 0.08);

  border-radius: 18px;

  background:
    rgba(255, 255, 255, 0.02);
}

.arco-card > span {
  display: grid;

  place-items: center;

  width: 36px;
  height: 36px;

  margin-bottom: 1.4rem;

  border-radius: 50%;

  color: #05060a;

  background:
    linear-gradient(
      135deg,
      var(--cyan),
      var(--violet)
    );

  font-weight: 800;
}

.arco-card h3 {
  margin:
    0 0 0.5rem;
}

.arco-card p {
  margin: 0;

  font-size: 0.88rem;
}


/* Legal email */

.legal-email {
  display: inline-block;

  margin:
    0.5rem 0 2rem;

  color: var(--cyan);

  font-size:
    clamp(1.15rem, 2.4vw, 1.5rem);

  font-weight: 600;

  text-decoration: none;

  transition:
    color 0.2s ease;
}

.legal-email:hover {
  color: #b198ff;
}


/* Contact */

.legal-contact-section {
  padding:
    4rem;

  border:
    1px solid rgba(255, 255, 255, 0.09);

  border-radius: 28px;

  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(54, 230, 255, 0.06),
      transparent 35%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(159, 108, 255, 0.06),
      transparent 35%
    ),
    rgba(255, 255, 255, 0.018);
}

.legal-contact-card {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 1.5rem;

  margin-top: 3rem;
}

.legal-contact-card strong,
.legal-contact-card a {
  display: block;

  color: var(--text);

  font-size: 0.9rem;

  line-height: 1.55;

  text-decoration: none;
}


/* Active legal nav */

.legal-nav .active {
  color: var(--text);
}


/* ------------------------------------------------ */
/* LEGAL RESPONSIVE                                 */
/* ------------------------------------------------ */

@media (max-width: 980px) {

  .legal-meta {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;

    gap: 3rem;
  }

  .legal-sidebar {
    display: none;
  }

  .legal-content {
    max-width: 760px;
  }
}


@media (max-width: 720px) {

  .legal-hero {
    padding:
      8rem 0
      4rem;
  }

  .legal-hero h1 {
    font-size:
      clamp(3.5rem, 18vw, 5rem);
  }

  .legal-document {
    padding:
      4rem 0
      6rem;
  }

  .legal-opening {
    padding: 1.4rem;
  }

  .legal-section {
    padding-bottom: 4rem;

    margin-bottom: 4rem;
  }

  .legal-info-card,
  .provider-grid,
  .arco-grid,
  .legal-contact-card {
    grid-template-columns: 1fr;
  }

  .flow-item {
    grid-template-columns:
      32px 1fr;
  }

  .flow-item small {
    grid-column: 2;
  }

  .flow-optional {
    flex-direction: column;
  }

  .legal-contact-section {
    padding:
      2rem 1.4rem;
  }
}

/* ================================================= */
/* COOKIE CONSENT                                    */
/* ================================================= */

.cookie-banner {
  position: fixed;

  left: 50%;
  bottom: 24px;

  z-index: 1000;

  width: min(920px, calc(100% - 32px));

  transform: translateX(-50%);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;

  transform:
    translateX(-50%)
    translateY(0);
}

.cookie-banner-inner {
  display: grid;

  grid-template-columns:
    1fr auto;

  align-items: end;

  gap: 2rem;

  padding: 1.6rem;

  border:
    1px solid rgba(255,255,255,0.10);

  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(20,22,28,0.96),
      rgba(8,9,13,0.97)
    );

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  box-shadow:
    0 20px 80px rgba(0,0,0,0.55),
    0 0 40px rgba(54,230,255,0.04),
    0 0 70px rgba(159,108,255,0.04);
}

.cookie-copy {
  max-width: 630px;
}

.cookie-eyebrow {
  display: block;

  margin-bottom: 0.5rem;

  color: var(--cyan);

  font-size: 0.66rem;
  font-weight: 650;

  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cookie-copy h3 {
  margin-bottom: 0.6rem;

  font-size: 1.15rem;
}

.cookie-copy p {
  margin-bottom: 0.6rem;

  font-size: 0.85rem;
  line-height: 1.65;
}

.cookie-copy a {
  color: var(--muted-strong);

  font-size: 0.8rem;

  text-decoration: underline;

  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;

  gap: 0.7rem;

  flex-shrink: 0;
}

.cookie-btn {
  min-height: 44px;

  padding:
    0.7rem 1rem;

  border-radius: 999px;

  font: inherit;

  font-size: 0.8rem;
  font-weight: 600;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

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

.cookie-btn-primary {
  border: none;

  background:
    linear-gradient(
      135deg,
      #f4f6fb,
      #dce4ff
    );

  color: #08090d;
}

.cookie-btn-secondary {
  border:
    1px solid rgba(255,255,255,0.12);

  background:
    rgba(255,255,255,0.04);

  color: var(--text);
}


@media (max-width: 720px) {

  .cookie-banner {
    bottom: 12px;

    width:
      calc(100% - 24px);
  }

  .cookie-banner-inner {
    grid-template-columns: 1fr;

    gap: 1.2rem;

    padding: 1.3rem;

    border-radius: 18px;
  }

  .cookie-actions {
    flex-direction: column-reverse;
  }

  .cookie-btn {
    width: 100%;
  }

}

/* ================================================= */
/* TALLY EMBED                                       */
/* ================================================= */

.assessment-embed {
  width: 100%;
  min-height: 720px;

  padding: 1.5rem;

  border-top: 1px solid var(--border);

  background:
    radial-gradient(
      circle at center,
      rgba(54, 230, 255, 0.04),
      transparent 35%
    ),
    rgba(255, 255, 255, 0.008);
}

.assessment-embed iframe {
  display: block;

  width: 100%;
  min-height: 720px;

  border: 0;

  background: transparent;
}

@media (max-width: 720px) {

  .assessment-embed {
    min-height: 680px;

    padding: 0.75rem;
  }

  .assessment-embed iframe {
    min-height: 680px;
  }

}
