/* ==========================================================================
   FRENOVA STUDIO — Global Stylesheet
   All pages (index, about, services, why-choose-us) share this single file.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --violet:        #7c3aed;
  --violet-600:    #6d28d9;
  --violet-400:    #a78bfa;
  --violet-300:    #c4b5fd;
  --violet-soft:   #f3efff;
  --violet-soft-2: #ede9fe;
  --gold:          #c79a6b;
  --gold-light:    #e0bd93;

  /* Accent hues used by the service cards */
  --pink:   #ec4899;
  --orange: #f97316;
  --green:  #22c55e;

  /* Surfaces */
  --night:      #06021a;
  --night-2:    #12063a;
  --night-3:    #1b0a52;
  --ink:        #0f1020;
  --body:       #ffffff;
  --body-alt:   #f7f5ff;
  --line:       #e7e3f3;
  --line-dark:  rgba(255, 255, 255, .12);

  /* Text */
  --text:        #14142b;
  --text-muted:  #5c5b74;
  --text-invert: #ffffff;
  --text-dim:    #bfb8dd;

  /* Shape & motion */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(20, 12, 60, .06);
  --shadow-md: 0 10px 30px rgba(20, 12, 60, .08);
  --shadow-lg: 0 24px 60px rgba(20, 12, 60, .14);
  --shadow-violet: 0 12px 28px rgba(124, 58, 237, .32);
  --ease: cubic-bezier(.4, .14, .3, 1);

  /* Layout */
  --container: 1180px;
  --nav-h: 78px;

  /* How far assets/LOGO.png is zoomed inside its box.
     1 = show the whole artwork, higher = crop in on the FS monogram. */
  --logo-zoom: 1.5;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color .22s var(--ease);
}

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.18;
  color: var(--text);
}

p { margin: 0; }

button { font: inherit; cursor: pointer; }

::selection { background: var(--violet); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(18px, 3.4vw, 24px);
}

/* --------------------------------------------------------------------------
   3. Logo lockup (rebuilt from the FRENOVA STUDIO mark)
   -------------------------------------------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

/* The mark is the supplied artwork: assets/LOGO.png (transparent background).
   No tile, no fill — the PNG sits directly on the dark header/footer.
   Sized fluidly so it scales with the viewport instead of using fixed pixels. */
.logo-mark {
  position: relative;
  flex-shrink: 0;
  display: block;
  width: clamp(36px, 3.4vw, 46px);
  aspect-ratio: 1 / 1;
  background: none;
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Trims the artwork's empty margins so the monogram fills the space.
     Tune --logo-zoom (in :root) — 1 shows the PNG whole, higher crops in. */
  transform: scale(var(--logo-zoom));
}

.logo-text {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}

.logo-text span { color: var(--violet-400); }

/* Logo on light backgrounds */
.logo--light .logo-text { color: var(--text); }
.logo--light .logo-text span { color: var(--violet); }

/* Logo on dark backgrounds */
.logo--dark .logo-text { color: #fff; }
.logo--dark .logo-text span { color: var(--violet-400); }

/* Slightly larger lockup in the footer */
.footer-brand .logo-mark { width: clamp(40px, 3.6vw, 48px); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background .22s var(--ease), color .22s var(--ease);
}

.btn .arw { font-size: 15px; line-height: 1; transition: transform .22s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: var(--shadow-violet);
}
.btn-primary:hover { background: var(--violet-600); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }

.btn-white {
  background: #fff;
  color: var(--violet);
  box-shadow: var(--shadow-md);
}

.btn-gold  { background: #f0b429; color: #3d2a00; }
.btn-pink  { background: var(--pink);   color: #fff; }
.btn-orange{ background: var(--orange); color: #fff; }
.btn-green { background: var(--green);  color: #fff; }

.btn-sm { padding: 9px 17px; font-size: 13px; border-radius: var(--r-sm); }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
.site-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

/* `nav.site-nav` keeps this rule ahead of the `.hero .container` grid below */
nav.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--violet-400);
  transition: width .25s var(--ease);
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active { color: var(--violet-400); font-weight: 600; }
.nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 28px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .06);
  border-radius: var(--r-sm);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   6. Section helpers
   -------------------------------------------------------------------------- */
.section { padding: clamp(58px, 7.2vw, 92px) 0; }
.section--tight { padding: clamp(48px, 5.8vw, 74px) 0; }
.section--alt { background: var(--body-alt); }

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

.section-title {
  font-size: clamp(26px, 3.1vw, 36px);
  margin-bottom: 12px;
  text-wrap: balance;
}

.section-sub {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 540px;
  margin-inline: auto;
}

.accent { color: var(--violet); }

.pill {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--r-pill);
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}

.eyebrow--light { color: var(--violet-400); }

/* --------------------------------------------------------------------------
   7. Landing hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 520px at 78% 22%, rgba(109, 40, 217, .55), transparent 60%),
    radial-gradient(700px 420px at 10% 0%, rgba(59, 20, 140, .55), transparent 62%),
    linear-gradient(160deg, #07021c 0%, #0c0430 52%, #100640 100%);
  color: var(--text-invert);
  padding: calc(var(--nav-h) + 60px) 0 122px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -78px;
  height: 150px;
  background: var(--body);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid rgba(167, 139, 250, .38);
  border-radius: var(--r-pill);
  background: rgba(124, 58, 237, .16);
  font-size: 13px;
  color: #ddd4ff;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(34px, 3.9vw, 48px);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--violet-400); }

.hero p {
  color: rgba(233, 228, 255, .82);
  font-size: 16px;
  max-width: 430px;
  margin-bottom: 32px;
}

/* Inner-page hero (about / services / why-choose-us) */
.page-hero {
  position: relative;
  background:
    radial-gradient(760px 460px at 80% 26%, rgba(109, 40, 217, .5), transparent 62%),
    linear-gradient(150deg, #07021c 0%, #0d0432 55%, #120744 100%);
  color: var(--text-invert);
  padding: calc(var(--nav-h) + 56px) 0 76px;
  overflow: hidden;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 44px;
}

.page-hero h1 {
  font-size: clamp(32px, 4.1vw, 46px);
  color: #fff;
  margin-bottom: 16px;
}

.page-hero h1 span { color: var(--violet-400); }

.page-hero p {
  color: rgba(226, 220, 255, .8);
  font-size: 15.5px;
  max-width: 430px;
  margin-bottom: 26px;
}

/* --------------------------------------------------------------------------
   8. Hero artwork (pure CSS / inline SVG mockups)
   -------------------------------------------------------------------------- */
.art { position: relative; }

/* --- Laptop mockup (landing) --- */
.laptop { position: relative; width: 100%; max-width: 468px; margin-left: auto; margin-right: 56px; }

.laptop-screen {
  border: 9px solid #b9bdc9;
  border-bottom-width: 6px;
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(150deg, #150a3f, #2a0f6b 55%, #3b1490);
  aspect-ratio: 16 / 10;
  padding: 12px 14px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}

.laptop-base {
  height: 13px;
  background: linear-gradient(180deg, #c6cad4, #8f95a4);
  border-radius: 0 0 12px 12px;
  margin: 0 -22px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, .35);
}

.screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 14px;
}

.screen-bar .mini-logo { font-weight: 800; letter-spacing: .06em; }
.screen-bar .mini-logo i { color: var(--violet-400); font-style: normal; }

.screen-bar .mini-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.screen-bar .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255, 255, 255, .45);
}

.screen-bar .mini-btn {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--violet);
  color: #fff;
  font-size: 7px;
}

.screen-body {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 8px;
  align-items: center;
}

.screen-body h4 {
  color: #fff;
  font-size: clamp(13px, 2.3vw, 20px);
  line-height: 1.2;
  margin-bottom: 8px;
}

.screen-body h4 em {
  display: block;
  font-style: italic;
  color: var(--violet-400);
}

.screen-body p {
  font-size: 6.5px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  margin-bottom: 8px;
}

.screen-body .mini-cta {
  display: inline-block;
  font-size: 6.5px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 4px;
  padding: 3px 9px;
}

.astro {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}

.astro::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(167, 139, 250, .55), rgba(76, 29, 149, .25) 55%, transparent 72%);
  filter: blur(2px);
}

.astro span { position: relative; font-size: clamp(30px, 6vw, 58px); }
.astro svg { position: relative; width: 76%; height: auto; }

/* Floating side rails */
.tool-rail {
  position: absolute;
  z-index: 3;
  top: 8%;
  left: -6%;
  display: grid;
  gap: 6px;
  padding: 8px 6px;
  border-radius: 10px;
  background: rgba(18, 8, 52, .92);
  border: 1px solid rgba(167, 139, 250, .25);
  box-shadow: var(--shadow-lg);
}

.tool-rail i {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  font-size: 11px;
  font-style: normal;
}

.type-card {
  position: absolute;
  z-index: 3;
  top: 4%;
  right: -8%;
  width: 92px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.type-card .tc-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 9px;
  color: var(--ink);
}

.type-card .tc-lines { display: grid; gap: 3px; margin-bottom: 9px; }
.type-card .tc-lines b {
  display: block; height: 3px; border-radius: 2px;
  background: #d9d6e6;
}
.type-card .tc-lines b:nth-child(2) { width: 72%; }
.type-card .tc-lines b:nth-child(3) { width: 55%; }

.swatches { display: flex; gap: 3px; }
.swatches i { width: 12px; height: 12px; border-radius: 3px; display: block; }

.pen-badge {
  position: absolute;
  right: -4%;
  bottom: 6%;
  font-size: 30px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .4));
}

/* --- Generic floating icon bubbles (inner pages) --- */
.orbit { position: relative; display: grid; place-items: center; min-height: 240px; }

.orbit .core {
  width: 190px; height: 190px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(from 200deg, #7c3aed, #a78bfa, #4c1d95, #7c3aed);
  box-shadow: 0 24px 60px rgba(124, 58, 237, .45);
  font-size: 62px;
}

.orbit .bub {
  position: absolute;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(167, 139, 250, .35);
  backdrop-filter: blur(6px);
  font-size: 19px;
}

.orbit .b1 { top: 4%;  left: 12%; }
.orbit .b2 { top: 16%; right: 6%; }
.orbit .b3 { bottom: 20%; left: 4%; }
.orbit .b4 { bottom: 4%;  right: 16%; }

/* Dartboard (why choose us hero) */
.dartboard { display: grid; place-items: center; }
.dartboard svg { width: 100%; max-width: 300px; height: auto; }

/* Monitor mockup (services hero) */
.monitor { width: 100%; max-width: 420px; margin-left: auto; }

.monitor-screen {
  border: 10px solid #2d2354;
  border-radius: 14px;
  background: linear-gradient(150deg, #1b0b4d, #3b1490);
  aspect-ratio: 4 / 3;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-content: center;
  box-shadow: 0 26px 54px rgba(0, 0, 0, .45);
}

.monitor-screen i {
  display: grid; place-items: center;
  aspect-ratio: 1;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(167, 139, 250, .22);
  font-size: 20px;
  font-style: normal;
}

.monitor-stand {
  width: 90px; height: 12px;
  margin: 0 auto;
  background: #2d2354;
}

.monitor-foot {
  width: 160px; height: 9px;
  margin: 0 auto;
  border-radius: 6px;
  background: #241c46;
}

/* --------------------------------------------------------------------------
   9. Split content sections
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 60px);
  align-items: center;
}

.split--reverse .split-media { order: -1; }

.split h2 {
  font-size: clamp(26px, 3.2vw, 35px);
  margin-bottom: 16px;
}

.split p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 14px;
  max-width: 460px;
}

.split .btn { margin-top: 12px; }

/* Studio "photo" card built with CSS */
.studio-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(520px 300px at 50% 0%, rgba(124, 58, 237, .35), transparent 65%),
    linear-gradient(160deg, #1a1330 0%, #241a44 55%, #120c26 100%);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
}

.studio-card h3 {
  color: #fff;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.studio-card h3 span { color: var(--violet-400); }

.studio-card p { color: rgba(226, 220, 255, .68); font-size: 13.5px; letter-spacing: .12em; }

.studio-card .desks {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  padding-bottom: 14px;
}

.studio-card .desks i {
  width: 46px; height: 30px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .16);
  display: block;
}

.float-stat {
  position: absolute;
  left: -26px;
  bottom: 34px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 20px;
  min-width: 128px;
}

.float-stat b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  color: var(--violet);
  line-height: 1.1;
}

.float-stat span { font-size: 13px; color: var(--text-muted); }

.split-media { position: relative; }

/* --------------------------------------------------------------------------
   10. Service cards
   -------------------------------------------------------------------------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--violet-300);
}

.card-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-size: 21px;
  margin-bottom: 20px;
  color: #fff;
}

.i-violet { background: var(--violet); }
.i-pink   { background: var(--pink); }
.i-orange { background: var(--orange); }
.i-green  { background: var(--green); }

.card h3 { font-size: 17px; margin-bottom: 10px; }

.card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1 1 auto;
}

/* Softer variant used on the Services page */
.card--soft { text-align: left; }
.card--soft .card-icon {
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 22px;
}
.card--soft p { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   11. Feature rows (why choose)
   -------------------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature .fi {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 21px;
  background: var(--violet-soft);
}

.feature h4 { font-size: 15px; margin-bottom: 5px; }
.feature p { color: var(--text-muted); font-size: 13.5px; line-height: 1.65; }

.features--2col { grid-template-columns: repeat(2, 1fr); gap: 34px 48px; }
.features--3col { grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }

.center-cta { text-align: center; margin-top: 46px; }

/* --------------------------------------------------------------------------
   12. Team
   -------------------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 20px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.avatar {
  position: relative;
  width: 92px; height: 92px;
  margin: 0 auto 16px;
}

.avatar .ring {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  background: linear-gradient(150deg, #7c3aed, #4c1d95);
  box-shadow: 0 10px 24px rgba(124, 58, 237, .28);
}

.avatar .tag {
  position: absolute;
  right: -2px; bottom: 2px;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--violet);
  color: #fff;
  font-size: 12px;
  border: 3px solid #fff;
}

.member h4 { font-size: 15.5px; margin-bottom: 3px; }
.member .role { color: var(--violet); font-size: 12.5px; font-weight: 600; margin-bottom: 10px; }
.member p { color: var(--text-muted); font-size: 13px; line-height: 1.65; margin-bottom: 16px; flex: 1 1 auto; }

.socials { display: flex; justify-content: center; gap: 8px; }

.socials a {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 13px;
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}

.socials a:hover { background: var(--violet); color: #fff; transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   13. Stats bar
   -------------------------------------------------------------------------- */
.stats-bar {
  margin-top: 46px;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, #0d0630, #1c0b56 60%, #24106b);
  color: #fff;
  padding: 30px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat { display: flex; align-items: center; justify-content: center; gap: 12px; }

.stat .si {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: rgba(167, 139, 250, .16);
  display: grid; place-items: center;
  font-size: 19px;
}

.stat b { display: block; font-size: 21px; line-height: 1.15; }
.stat span { font-size: 12.5px; color: var(--text-dim); }

/* --------------------------------------------------------------------------
   14. Pricing
   -------------------------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px 30px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.plan--featured {
  border-color: #f0b429;
  box-shadow: 0 16px 44px rgba(240, 180, 41, .18);
}

.plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: var(--r-pill);
  background: #f0b429;
  color: #3d2a00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }

.plan-medal {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.m-silver   { background: linear-gradient(150deg, #c3c8d2, #8c93a3); }
.m-gold     { background: linear-gradient(150deg, #f4c752, #d99a1c); }
.m-platinum { background: linear-gradient(150deg, #a78bfa, #6d28d9); }

.plan-head h3 { font-size: 18px; margin-bottom: 2px; }
.plan-head span { font-size: 12.5px; color: var(--text-muted); }

.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.price b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.price span { color: var(--text-muted); font-size: 13px; }

.plan > p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.7;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.plan-list { display: grid; gap: 11px; margin-bottom: 24px; }

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text);
}

.plan-list li::before {
  content: "\2713";
  color: var(--violet);
  font-weight: 800;
  font-size: 12px;
  line-height: 1.5;
}

.plan--featured .plan-list li::before { color: #d99a1c; }

/* Custom plan banner */
.custom-plan {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--violet-soft);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.custom-plan .cp-icon { font-size: 34px; flex-shrink: 0; }
.custom-plan h4 { font-size: 17px; margin-bottom: 4px; }
.custom-plan p { color: var(--text-muted); font-size: 14px; }
.custom-plan .btn { margin-left: auto; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   15. Highlight card (why choose us)
   -------------------------------------------------------------------------- */
.highlight-card {
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, #0b0530, #1a0a55 60%, #24106b);
  color: #fff;
  padding: 38px 34px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.highlight-card .hc-icon { font-size: 34px; margin-bottom: 16px; }
.highlight-card h3 { color: #fff; font-size: 21px; line-height: 1.35; margin-bottom: 14px; }
.highlight-card p { color: var(--text-dim); font-size: 14.5px; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(600px 300px at 12% 50%, rgba(124, 58, 237, .5), transparent 65%),
    linear-gradient(120deg, #150a41, #22106a 60%, #2c1480);
  color: #fff;
  padding: 44px 0;
  overflow: hidden;
}

.cta-band .container {
  display: flex;
  align-items: center;
  gap: 26px;
}

.cta-band .rocket { font-size: 52px; flex-shrink: 0; }
.cta-band h2 { color: #fff; font-size: clamp(21px, 2.6vw, 28px); margin-bottom: 6px; }
.cta-band p { color: rgba(226, 220, 255, .8); font-size: 14.5px; }
.cta-band .btn { margin-left: auto; flex-shrink: 0; }

/* Light CTA card (about page) */
.cta-card {
  margin-top: 40px;
  border-radius: var(--r-lg);
  background: var(--violet-soft);
  border: 1px solid var(--line);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-card .rocket { font-size: 34px; flex-shrink: 0; }
.cta-card h4 { font-size: 17px; margin-bottom: 4px; }
.cta-card p { color: var(--text-muted); font-size: 14px; }
.cta-card .btn { margin-left: auto; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0a0620;
  color: var(--text-dim);
  padding: 54px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  padding-bottom: 38px;
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  color: #fff;
  background: var(--violet);
  transition: transform .22s var(--ease), background .22s var(--ease);
}

.footer-socials a:nth-child(2) { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.footer-socials a:nth-child(3) { background: #0a66c2; }
.footer-socials a:nth-child(4) { background: #1d9bf0; }
.footer-socials a:hover { transform: translateY(-3px); }

.site-footer h4 {
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 18px;
}

.footer-list { display: grid; gap: 10px; }
.footer-list a, .footer-list li { font-size: 13.5px; }
.footer-list a:hover { color: var(--violet-400); }

.contact-list { display: grid; gap: 14px; }

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
}

.contact-list .ci {
  width: 18px;
  flex-shrink: 0;
  color: var(--violet-400);
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
}

.footer-bottom nav { display: flex; gap: 14px; align-items: center; }
.footer-bottom nav a:hover { color: var(--violet-400); }
.footer-bottom .sep { opacity: .4; }

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
/* Large laptops — tighten the nav and shrink the hero artwork so the
   floating type card stays inside the viewport. */
@media (max-width: 1150px) {
  .nav-links { gap: 22px; }
  .nav-cta { margin-left: 18px; }
  .laptop { max-width: 410px; margin-right: 40px; }
  .type-card { width: 82px; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features--3col { grid-template-columns: repeat(2, 1fr); }
  .pricing { gap: 18px; }
  .plan { padding: 24px 20px 26px; }
  .custom-plan { padding: 22px 24px; }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 18px;
    border-radius: var(--r-md);
    background: rgba(10, 4, 34, .97);
    border: 1px solid var(--line-dark);
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 9px 0; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero .container,
  .page-hero .container,
  .split { grid-template-columns: 1fr; }

  /* headline first, artwork below it */
  .hero .art, .page-hero .art { order: 0; margin-top: 34px; }
  .split--reverse .split-media { order: 0; }
  .hero p, .page-hero p, .split p { max-width: none; }

  .pricing { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 26px; }

  .cta-band .container { flex-direction: column; text-align: center; }
  .cta-band .btn { margin-left: 0; }
  .custom-plan, .cta-card { flex-direction: column; text-align: center; }
  .custom-plan .btn, .cta-card .btn { margin-left: 0; }

  .float-stat { left: 12px; bottom: -18px; }
  .laptop { margin-inline: auto; }
  .monitor { margin-inline: auto; }
  .type-card { right: -8%; }
  .tool-rail { left: -8%; }
}

@media (max-width: 620px) {
  :root { --nav-h: 68px; }

  .grid-4, .features, .team, .grid-2,
  .features--2col, .features--3col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat { justify-content: flex-start; }

  .hero { padding-bottom: 96px; }
  .hero::after { bottom: -60px; height: 110px; }
  .hero h1 br { display: none; }     /* let the headline wrap naturally */

  /* keep the laptop base (which bleeds 22px each side) inside the screen */
  .laptop { max-width: 300px; }
  .monitor { max-width: 300px; }

  /* drop the decorative overlays — no room for them beside a phone-width laptop */
  .tool-rail, .type-card, .pen-badge { display: none; }
  .screen-body p, .screen-body .mini-cta { display: none; }
  .screen-body h4 { font-size: 15px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 20px; }
  .hero p, .page-hero p { font-size: 15px; }

  .section-head { margin-bottom: 34px; }
  /* Full-width tap targets for the primary calls to action */
  .hero .btn,
  .page-hero .btn,
  .center-cta .btn,
  .cta-band .btn,
  .cta-card .btn,
  .custom-plan .btn,
  .split .btn { width: 100%; }

  .float-stat { left: 10px; bottom: -20px; padding: 12px 16px; }
  .cta-band { padding: 36px 0; }
  .highlight-card { padding: 30px 22px; }
  .highlight-card h3 { font-size: 19px; }
}

/* Small phones */
@media (max-width: 400px) {
  .logo-text { font-size: 15px; }
  .price b { font-size: 26px; }
  .plan { padding: 22px 18px 24px; }
  .card { padding: 22px 18px 24px; }
  .member { padding: 22px 16px 20px; }
  .stats-bar { padding: 24px 18px; }
  .highlight-card h3 br,
  .highlight-card p br { display: none; }
  .laptop { max-width: 252px; }
  .laptop-base { margin-inline: -10px; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .btn:hover, .card:hover, .member:hover, .plan:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   19. Motion — headline typewriter, entrance, scroll reveal
   All of it is opt-in: the classes below are added by js/main.js, so with
   JavaScript disabled (or "reduce motion" on) the page renders statically.
   -------------------------------------------------------------------------- */

/* --- typing caret --- */
.tw-caret {
  display: inline-block;
  width: .055em;
  min-width: 3px;
  height: .9em;
  margin-left: .06em;
  vertical-align: -.08em;
  border-radius: 2px;
  background: var(--violet-400);
  box-shadow: 0 0 14px rgba(167, 139, 250, .75);
  animation: caretBlink 1.05s steps(1, end) infinite;
}

.tw-caret.is-done {
  animation: caretBlink 1.05s steps(1, end) 2, caretOut .5s 2.1s forwards;
}

@keyframes caretBlink { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }
@keyframes caretOut   { to { opacity: 0; transform: scaleY(.4) } }

/* --- nav + hero entrance --- */
.js .site-nav { animation: navIn .7s .05s cubic-bezier(.22, .68, .3, 1) both; }

.js .hero-in > * {
  opacity: 0;
  animation: fadeUp .7s cubic-bezier(.22, .68, .3, 1) forwards;
}

.js .hero-in > *:nth-child(1) { animation-delay: .10s; }
.js .hero-in > *:nth-child(2) { animation-delay: .22s; }
.js .hero-in > *:nth-child(3) { animation-delay: .58s; }
.js .hero-in > *:nth-child(4) { animation-delay: .74s; }
.js .hero-in > *:nth-child(5) { animation-delay: .88s; }

.js .art-in {
  opacity: 0;
  animation: artIn .95s .5s cubic-bezier(.22, .68, .3, 1) forwards;
}

@keyframes navIn  { from { opacity: 0; transform: translateY(-14px) } to { opacity: 1; transform: none } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px) }  to { opacity: 1; transform: none } }
@keyframes artIn  { from { opacity: 0; transform: translateY(26px) scale(.97) } to { opacity: 1; transform: none } }

/* --- hero artwork drifts gently, so the panel never feels frozen --- */
.js .laptop  { animation: floaty 6.5s ease-in-out 1.6s infinite; }
.js .monitor { animation: floaty 7.5s ease-in-out 1.6s infinite; }
.js .orbit   { animation: floaty 8s   ease-in-out 1.6s infinite; }

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

/* --- scroll reveal --- */
.rv { opacity: 0; transform: translateY(22px); }

.js .rv {
  transition: opacity .65s cubic-bezier(.22, .68, .3, 1),
              transform .65s cubic-bezier(.22, .68, .3, 1);
  will-change: opacity, transform;
}

.rv.rv-in { opacity: 1; transform: none; will-change: auto; }

/* --- hard off switch --- */
.no-motion .rv,
.no-motion .hero-in > *,
.no-motion .art-in,
.no-motion .laptop,
.no-motion .monitor,
.no-motion .orbit {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

@media (max-width: 620px) {
  /* shorter travel on phones — long slides feel sluggish on small screens */
  .rv { transform: translateY(14px); }
  .js .laptop, .js .monitor, .js .orbit { animation: none; }
}

/* --------------------------------------------------------------------------
   20. WhatsApp chat widget
   Injected by js/main.js — no markup needed in the HTML files.
   Edit the phone number in WA_CONFIG at the top of js/main.js.
   -------------------------------------------------------------------------- */
.wa {
  --wa-green: #25d366;
  --wa-dark:  #075e54;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  font-family: inherit;
}

/* --- floating action button --- */
.wa-fab {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .42), 0 3px 10px rgba(0, 0, 0, .18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.wa-fab:hover { transform: scale(1.06); }
.wa-fab:active { transform: scale(.97); }

.wa-fab svg { width: 32px; height: 32px; }

/* pulsing halo — draws the eye without moving anything */
.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa-green);
  opacity: .55;
  z-index: -1;
  animation: waPulse 2.4s cubic-bezier(.3, 0, .5, 1) infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: .5 }
  70%  { transform: scale(1.7); opacity: 0 }
  100% { transform: scale(1.7); opacity: 0 }
}

.wa-ico, .wa-cross {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.wa-cross { font-size: 30px; line-height: 1; opacity: 0; transform: rotate(-90deg) scale(.6); }

.wa.is-open .wa-ico   { opacity: 0; transform: rotate(90deg) scale(.6); }
.wa.is-open .wa-cross { opacity: 1; transform: none; }
.wa.is-open .wa-fab::before { animation: none; opacity: 0; }

/* --- teaser bubble --- */
.wa-nudge {
  position: absolute;
  right: 72px;
  bottom: 12px;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  animation: waNudgeIn .45s cubic-bezier(.22, .68, .3, 1) both;
}

.wa-nudge::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: 16px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
}

@keyframes waNudgeIn { from { opacity: 0; transform: translateX(12px) } to { opacity: 1; transform: none } }

/* --- chat panel --- */
.wa-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: 328px;
  max-width: calc(100vw - 36px);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(12, 6, 40, .28), 0 4px 14px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
}

.wa.is-open .wa-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.wa-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  background: var(--wa-dark);
  color: #fff;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
}

.wa-avatar svg { width: 24px; height: 24px; }

.wa-who { display: grid; line-height: 1.35; }
.wa-who b { font-size: 14.5px; font-weight: 700; letter-spacing: .02em; }
.wa-who em { font-style: normal; font-size: 11.5px; opacity: .78; }

.wa-close {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  transition: background .2s var(--ease);
}

.wa-close:hover { background: rgba(255, 255, 255, .28); }

/* chat-paper background, like the real app */
.wa-body {
  padding: 18px 16px 16px;
  background: #ece5dd;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .55) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 65%, rgba(255, 255, 255, .45) 0 2px, transparent 3px);
  background-size: 46px 46px;
}

.wa-bubble {
  position: relative;
  max-width: 92%;
  padding: 11px 14px;
  border-radius: 4px 12px 12px 12px;
  background: #fff;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14);
  animation: waBubble .4s .12s cubic-bezier(.22, .68, .3, 1) both;
}

@keyframes waBubble { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

.wa-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }

.wa-chip {
  padding: 8px 14px;
  border: 1px solid rgba(7, 94, 84, .28);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92);
  color: var(--wa-dark);
  font-size: 12.5px;
  font-weight: 600;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.wa-chip:hover { background: var(--wa-dark); color: #fff; transform: translateY(-1px); }

.wa-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  background: #f4f2ef;
  border-top: 1px solid #e2ded8;
}

.wa-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid #ddd8d1;
  border-radius: var(--r-pill);
  background: #fff;
  font: inherit;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  transition: border-color .2s var(--ease);
}

.wa-input:focus { border-color: var(--wa-green); }
.wa-input::placeholder { color: #9a958e; }

.wa-send {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  transition: background .2s var(--ease), transform .2s var(--ease);
}

.wa-send:hover { background: #1fbe5b; transform: scale(1.05); }

.wa-fab:focus-visible,
.wa-chip:focus-visible,
.wa-send:focus-visible,
.wa-close:focus-visible { outline: 3px solid var(--violet-400); outline-offset: 2px; }

@media (max-width: 620px) {
  .wa { right: 16px; bottom: 16px; }
  .wa-fab { width: 54px; height: 54px; }
  .wa-fab svg { width: 29px; height: 29px; }
  .wa-panel { width: calc(100vw - 32px); bottom: 68px; }
  .wa-nudge { font-size: 12.5px; padding: 9px 13px; }
}

.no-motion .wa-fab::before,
.no-motion .wa-bubble,
.no-motion .wa-nudge { animation: none; }


21. Legal pages (Terms & Conditions, Privacy Policy)
   -------------------------------------------------------------------------- */
.page-hero--slim { padding: calc(var(--nav-h) + 52px) 0 62px; }
.page-hero--slim .container { display: block; text-align: center; }
.page-hero--slim h1 { margin-bottom: 14px; }
.page-hero--slim p { margin-inline: auto; max-width: 560px; margin-bottom: 0; }
 
.legal-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 22px;
  padding: 10px 22px;
  border: 1px solid rgba(167, 139, 250, .28);
  border-radius: var(--r-pill);
  background: rgba(124, 58, 237, .14);
  font-size: 13px;
  color: #ddd4ff;
}
 
.legal-meta b { color: #fff; font-weight: 700; }
 
/* --- two-column layout: sticky contents + prose --- */
.legal {
  display: grid;
  grid-template-columns: 236px 1fr;
  gap: 54px;
  align-items: start;
}
 
.legal-toc {
  position: sticky;
  top: 28px;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
 
.legal-toc h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
}
 
.legal-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 2px; }
 
.legal-toc a {
  display: block;
  padding: 5px 8px 5px 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-muted);
  border-radius: 5px;
  counter-increment: toc;
}
 
.legal-toc a::before {
  content: counter(toc) ". ";
  color: var(--violet-300);
  font-weight: 700;
}
 
.legal-toc a:hover { color: var(--violet); }
 
/* --- prose --- */
.legal-body { max-width: 760px; font-size: 15px; color: var(--text-muted); }
 
.legal-body > p { margin-bottom: 14px; line-height: 1.75; }
 
.legal-body section { scroll-margin-top: 24px; padding-bottom: 34px; }
.legal-body section + section { border-top: 1px solid var(--line); padding-top: 32px; }
 
.legal-body h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 14px;
}
 
.legal-body h2 .num {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--violet);
  background: var(--violet-soft);
  border-radius: 6px;
  padding: 3px 9px;
  letter-spacing: .02em;
}
 
.legal-body h3 {
  font-size: 15.5px;
  color: var(--text);
  margin: 20px 0 8px;
}
 
.legal-body p { line-height: 1.75; margin-bottom: 13px; }
.legal-body p:last-child { margin-bottom: 0; }
 
.legal-body ul { display: grid; gap: 8px; margin: 12px 0 16px; }
 
.legal-body li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.65;
}
 
.legal-body li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-300);
}
 
.legal-body strong { color: var(--text); font-weight: 700; }
 
/* callout for the commercially important clauses */
.legal-note {
  border-left: 3px solid var(--violet);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--violet-soft);
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
}
 
.legal-price {
  display: inline-block;
  margin: 6px 0 4px;
  padding: 10px 20px;
  border-radius: var(--r-md);
  background: var(--violet);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
}
 
/* closing contact card */
.legal-contact {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--body-alt);
  padding: 26px 28px;
}
 
.legal-contact h3 { margin-top: 0; font-size: 17px; }
.legal-contact ul { margin-bottom: 0; }
.legal-contact li { padding-left: 0; }
.legal-contact li::before { display: none; }
.legal-contact a:hover { color: var(--violet); }
 
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; gap: 30px; }
  .legal-toc {
    position: static;
    max-height: none;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 20px;
  }
  .legal-toc ol { grid-template-columns: 1fr 1fr; display: grid; gap: 2px 16px; }
}
 
@media (max-width: 560px) {
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-body h2 { font-size: 18px; }
}
 