/* Clipper Contractor Group Ltd — site styles.
   Design reference: Figma "CC Groups website templete" (1440 grid, Satoshi +
   Playfair Display italic accents). Accent colours come from the CC Groups logo. */

/* ------------------------------------------------------------------ tokens */
:root {
  --black: #010101;
  --ink: #272727;
  --ink-2: #22282b;
  --muted: #6b7280;
  --muted-2: #777e90;
  --line: #ededed;
  --line-2: #e6e9ea;
  --soft: #f9f9f9;
  --soft-2: #f8f8f8;
  --white: #ffffff;

  --pink: #fc3a91;
  --violet: #6e38e9;
  --plum: #4b1d82;
  --grad: linear-gradient(90deg, #fc3a91 0%, #6e38e9 100%);
  --grad-text: linear-gradient(90deg, #ff4d9d 0%, #7a48ff 100%);

  --r-btn: 16px;
  --r-card: 24px;
  --r-panel: 40px;
  --r-faq: 20px;

  --font: 'Satoshi', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --container: 1316px;
  --gutter: clamp(20px, 4.3vw, 62px);
  --section: clamp(72px, 8.4vw, 120px);

  --ease: cubic-bezier(.22, .68, .2, 1);
  --shadow-card: 0 20px 44px rgba(20, 20, 30, .08);
  --shadow-float: 0 0 44px rgba(0, 0, 0, .08);
  --shadow-btn: 0 0 6px rgba(208, 208, 255, .5), 0 12px 30px rgba(110, 56, 233, .28);
}

/* ------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
strong { font-weight: 700; }
.icon { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  padding: 12px 18px; background: var(--white); color: var(--ink); border-radius: 12px;
  font-weight: 500; box-shadow: var(--shadow-card); transition: top .2s;
}
.skip-link:focus { top: 16px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ----------------------------------------------------------------- layout */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--panel { padding-top: 0; }
.section--services { padding-top: calc(var(--section) + 24px); overflow: hidden; }
.section--dark { background: var(--black); color: var(--white); overflow: hidden; }
.section--dark__note { max-width: 720px; margin-top: 40px; color: rgba(255,255,255,.75); font-size: 18px; }
.section__action { display: flex; justify-content: center; margin-top: 48px; }
.section__action--left { justify-content: flex-start; }
.panel {
  position: relative; overflow: hidden;
  background: var(--soft); border-radius: var(--r-panel);
  padding: clamp(32px, 5.5vw, 80px);
}
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }
.center { text-align: center; }
.strong { font-weight: 500; color: var(--ink); }
.small { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------- typography */
.h-hero {
  font-weight: 400; font-size: clamp(40px, 5.55vw, 80px); line-height: 1.15;
  letter-spacing: -.055em; color: var(--white);
}
.h-page {
  font-weight: 400; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.15;
  letter-spacing: -.045em; color: var(--white); max-width: 900px;
}
.h-section {
  font-weight: 500; font-size: clamp(32px, 3.9vw, 56px); line-height: 1.18;
  letter-spacing: -.02em; color: var(--ink);
}
.h-section--sm { font-size: clamp(26px, 2.8vw, 36px); }
.h-section--light { color: var(--white); }
.grad {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em; /* keeps the italic overhang from being clipped */
}
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--muted); }
.sec-head { margin-bottom: clamp(40px, 4.4vw, 64px); }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__main { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 820px; margin: 0 auto; }
.sec-head--center .lead { max-width: 643px; }
.sec-head:not(.sec-head--center) .sec-head__main { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sec-head:not(.sec-head--center) .lead { max-width: 640px; }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end; }
.sec-head__aside { margin: 0; color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; max-width: 480px; justify-self: end; }
.section--dark .h-section { color: var(--white); }
.section--dark .lead, .section--dark .sec-head__aside { color: rgba(255,255,255,.72); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px; border-radius: 50px; border: 1px solid rgba(39,39,39,.55);
  font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--ink);
  
}
.pill--light, .section--dark .pill, .cta-band .pill { color: var(--white); border-color: rgba(255,255,255,.4); }
.split__text .pill, .prose .pill { margin-bottom: 20px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--r-btn); border: 1px solid transparent;
  font-size: 16px; font-weight: 500; line-height: 1.6; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s, color .35s, border-color .35s;
  overflow: hidden; isolation: isolate;
}
.btn .btn__icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .btn__icon, .btn:focus-visible .btn__icon { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; border-radius: 12px; font-size: 15px; }
.btn--primary { background: var(--grad); color: var(--white); box-shadow: var(--shadow-btn); }
.btn--primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #ff5ca6 0%, #8555ff 100%); opacity: 0; transition: opacity .35s;
}
.btn--primary:hover::before { opacity: 1; }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.8); box-shadow: 0 0 6px rgba(208,208,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--black); box-shadow: 0 14px 30px rgba(20,20,30,.18); }

/* ----------------------------------------------------------------- header */
.site-header {
  position: absolute; top: 20px; left: 0; right: 0; z-index: 100;
  transition: transform .4s var(--ease), top .3s;
}
.site-header.is-stuck { position: fixed; top: 12px; animation: navDrop .5s var(--ease); }
@keyframes navDrop { from { transform: translateY(-120%); } to { transform: none; } }
.site-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 16px; border-radius: 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1);
  
  transition: background .3s, box-shadow .3s;
}
.is-stuck .site-nav { background: rgba(6,6,10,.9); box-shadow: 0 20px 50px rgba(0,0,0,.35); border-color: rgba(255,255,255,.14); }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 40px; }
.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__menu > li { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 40px;
  font-size: 15.5px; line-height: 1.5; color: #f8f8f8; transition: background .25s, color .25s;
}
.nav__link:hover, .has-sub:hover > .nav__link { background: rgba(255,255,255,.08); }
.nav__link[aria-current="page"] { background: rgba(255,255,255,.12); font-weight: 700; }
.nav__sub-toggle { display: inline-flex; align-items: center; padding: 10px 6px 10px 0; color: #f8f8f8; border-radius: 40px; }
.nav__sub-toggle .icon { width: 16px; height: 16px; transition: transform .3s; }
.has-sub.is-open .nav__sub-toggle .icon, .has-sub:hover .nav__sub-toggle .icon { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 14px); left: -8px; min-width: 330px;
  padding: 10px; border-radius: 18px; background: var(--white); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(20,20,30,.16);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav__sub::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover .nav__sub, .has-sub.is-open .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub li a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  font-size: 15px; font-weight: 500; transition: background .2s;
}
.nav__sub li a:hover, .nav__sub li a[aria-current="page"] { background: var(--soft); }
.nav__sub-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 10px; background: var(--soft-2); border: 1px solid var(--line); color: var(--violet);
}
.nav__sub-icon .icon { width: 18px; height: 18px; }
.nav__sub-all { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 6px; }
.nav__sub-all a { color: var(--violet); }
.nav__sub-all .icon { width: 16px; height: 16px; margin-left: auto; }
.nav__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav__toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; color: var(--white); background: rgba(255,255,255,.08);
}
.nav__toggle .icon { width: 22px; height: 22px; }
.nav__toggle .icon--close { display: none; }
.is-menu-open .nav__toggle .icon--open { display: none; }
.is-menu-open .nav__toggle .icon--close { display: block; }

@media (max-width: 1180px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu, .nav__actions { display: none; }
  .site-nav.is-open .nav__menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; left: 0; right: 0; top: calc(100% + 10px);
    padding: 12px; border-radius: 18px; background: #0b0b12; border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 30px 60px rgba(0,0,0,.4);
    max-height: calc(100vh - 120px); overflow: auto;
    animation: menuIn .35s var(--ease);
  }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav__menu > li { flex-wrap: wrap; }
  .nav__link { flex: 1; padding: 12px 14px; font-size: 16px; }
  .nav__sub-toggle { padding: 12px 12px; }
  .nav__sub {
    position: static; width: 100%; min-width: 0; margin: 4px 0 8px; transform: none;
    background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); color: var(--white);
    box-shadow: none; display: none; opacity: 1; visibility: visible;
  }
  .has-sub.is-open .nav__sub { display: block; }
  .has-sub:hover .nav__sub { display: none; }
  .has-sub.is-open:hover .nav__sub { display: block; }
  .nav__sub li a:hover, .nav__sub li a[aria-current="page"] { background: rgba(255,255,255,.08); }
  .nav__sub-icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1); color: #d9c6ff; }
  .nav__sub-all { border-color: rgba(255,255,255,.1); }
  .nav__sub-all a { color: #ff7ab8; }
  .nav__mobile-cta { display: block; padding: 4px; }
  .nav__mobile-cta .btn { width: 100%; }
}

/* ------------------------------------------------------------ dark decor */
.dark-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dark-decor__grid {
  position: absolute; inset: -40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88'%3E%3Cpath d='M44 36v16M36 44h16' stroke='rgba(255,255,255,.085)' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 88px 88px;
}
.dark-decor__vignette {
  position: absolute; left: 50%; top: 45%; width: 1100px; height: 1100px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, #010101 0%, #010101 40%, rgba(1,1,1,.7) 55%, rgba(1,1,1,0) 72%);
}
.dark-decor__glow { position: absolute; border-radius: 50%; opacity: .6; will-change: transform; }
.dark-decor__glow--a {
  width: 820px; height: 520px; left: 50%; top: 10%; margin-left: -410px;
  background: radial-gradient(closest-side, rgba(110,56,233,.55), rgba(110,56,233,0));
  animation: drift 16s ease-in-out infinite alternate;
}
.dark-decor__glow--b {
  width: 640px; height: 420px; left: 14%; top: 42%;
  background: radial-gradient(closest-side, rgba(252,58,145,.42), rgba(252,58,145,0));
  transform: rotate(-38deg);
  animation: driftB 20s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate(-6%, -4%) scale(1); } to { transform: translate(8%, 10%) scale(1.15); } }
@keyframes driftB { from { transform: rotate(-38deg) translate(0, 0); } to { transform: rotate(-30deg) translate(14%, -12%); } }

.soft-glow { position: absolute; pointer-events: none; z-index: 0; opacity: .55; }
.soft-glow--top {
  left: 50%; top: -260px; width: 1000px; height: 480px; transform: translateX(-50%) rotate(-9deg);
  background:
    radial-gradient(closest-side at 70% 55%, rgba(252,58,145,.35), transparent 70%),
    radial-gradient(closest-side at 45% 60%, rgba(110,56,233,.3), transparent 70%),
    radial-gradient(closest-side at 25% 50%, rgba(255,190,220,.5), transparent 70%);
}
.soft-glow--corner {
  right: -180px; top: -140px; width: 600px; height: 380px; transform: rotate(-9deg);
  background:
    radial-gradient(closest-side at 60% 50%, rgba(252,58,145,.35), transparent 70%),
    radial-gradient(closest-side at 30% 60%, rgba(110,56,233,.28), transparent 70%);
}
.section > .container { position: relative; z-index: 1; }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding: 150px 0 0; }
.hero__spot {
  position: absolute; left: 0; top: 0; width: 700px; height: 700px; border-radius: 50%; pointer-events: none;
  transform: translate(calc(var(--mx, 50vw) - 350px), calc(var(--my, 300px) - 350px));
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 60%);
  transition: transform .25s ease-out; opacity: 0;
}
.hero.has-spot .hero__spot { opacity: 1; }
.hero .container { position: relative; z-index: 1; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; max-width: 900px; margin: 0 auto; }
.hero__pill { animation: fadeUp .8s var(--ease) both; }
.hero__lead { max-width: 660px; margin: 0; color: rgba(255,255,255,.88); font-size: clamp(16px, 1.2vw, 17px); font-weight: 500; animation: fadeUp .9s var(--ease) .55s both; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 20px; animation: fadeUp .9s var(--ease) .75s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* staggered heading words */
.h-hero .w, .h-page .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(1.5deg); animation: wordIn .9s var(--ease) forwards; animation-delay: calc(.12s + var(--i) * 65ms); transform-origin: left bottom; }
@keyframes wordIn { to { opacity: 1; transform: none; } }

.hero__stage { position: relative; max-width: 1066px; margin: 72px auto 0; padding-top: 30px; }
.hero__frame {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 11px solid rgba(255,255,255,.45);
  background: rgba(0,0,0,.2); box-shadow: 0 -30px 120px rgba(110,56,233,.18);
  margin-bottom: -14%;
  transform-origin: 50% 100%;
}
.hero__frame::before {
  content: ''; position: absolute; inset: -80px 42px auto; height: 200px; border-radius: 8px;
  border: 8px solid rgba(255,255,255,.1); z-index: -1;
}
.hero__stage::before {
  content: ''; position: absolute; left: 56px; right: 56px; top: 0; height: 120px; border-radius: 8px 8px 0 0;
  border: 8px solid rgba(255,255,255,.1); border-bottom: 0;
}
.hero__frame-inner { position: relative; background: #0b0b12; }
.hero__bar { display: flex; gap: 6px; padding: 12px 14px; background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.08); }
.hero__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }
.hero__frame img { width: 100%; height: auto; aspect-ratio: 14 / 9; object-fit: cover; opacity: .92; }
.reveal-frame { opacity: 0; transform: perspective(1400px) rotateX(14deg) translateY(60px) scale(.96); animation: frameIn 1.3s var(--ease) .5s forwards; }
@keyframes frameIn { to { opacity: 1; transform: none; } }

.hero__chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px; background: rgba(28,28,36,.92); border: 1px solid rgba(255,255,255,.12);
  font-size: 12px; line-height: 1.4; color: #c4c3c5;
  animation: chipFloat 6s ease-in-out infinite alternate, fadeUp 1s var(--ease) 1s both;
}
.hero__chip strong { display: block; color: #f3f3f5; font-weight: 500; }
.hero__chip small { display: block; font-size: 11px; color: #9d9da0; }
.hero__chip-icon { display: inline-flex; width: 30px; height: 30px; border-radius: 8px; align-items: center; justify-content: center; background: var(--grad); color: var(--white); }
.hero__chip-icon .icon { width: 16px; height: 16px; }
.hero__chip--l { left: -100px; top: -40px; }
.hero__chip--r { right: -110px; top: -90px; animation-delay: 1.5s, 1.2s; }
@keyframes chipFloat { from { translate: 0 0; } to { translate: 0 -10px; } }

.hero__role {
  position: absolute; left: -150px; top: 56%; z-index: 3; width: 300px;
  padding: 20px 22px; border-radius: 20px; background: rgba(16,16,22,.9); border: 1px solid rgba(255,255,255,.14);
  
  color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.55; text-align: left;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.hero__role-label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; color: var(--white); font-size: 15px; }
.hero__role-label .icon { width: 18px; height: 18px; color: #ff7ab8; }

@media (max-width: 1360px) {
  .hero__chip--l { left: 0; } .hero__chip--r { right: 0; }
  .hero__role { left: 0; }
}
@media (max-width: 860px) {
  .hero { padding-top: 120px; }
  .hero__stage { margin-top: 48px; }
  .hero__chip { display: none; }
  .hero__role { position: static; width: auto; margin: 20px 0 32px; }
  .hero__frame { margin-bottom: 0; border-width: 6px; }
  .hero__frame::before, .hero__stage::before { display: none; }
  .hero__actions .btn { width: 100%; }
}

/* ----------------------------------------------------------- page hero */
.page-hero { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding: 168px 0 88px; }
.page-hero--tall { padding: 220px 0 160px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 900px; }
.page-hero__inner--center { align-items: center; text-align: center; margin: 0 auto; }
.page-hero__lead { max-width: 720px; margin: 0; color: rgba(255,255,255,.8); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; animation: fadeUp .9s var(--ease) .5s both; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; animation: fadeUp .9s var(--ease) .7s both; }
.page-hero .pill { animation: fadeUp .7s var(--ease) both; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,.6); animation: fadeUp .7s var(--ease) both; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .6; }
.breadcrumb [aria-current] { color: rgba(255,255,255,.9); }
@media (max-width: 860px) { .page-hero { padding: 130px 0 64px; } }

/* --------------------------------------------------------------- tiles */
.tile {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink);
}
.tile .icon { width: 20px; height: 20px; }
.tint-pink { background: #ffe3ef; color: #c8186a; }
.tint-violet { background: #ece4ff; color: #5a2bd0; }
.tint-mint { background: #cdfec9; color: #1f7a2e; }
.tint-sun { background: #fafec9; color: #7a6a00; }
.tint-sky { background: #dcefff; color: #1c5f9e; }
.tint-soft { background: var(--soft-2); color: var(--ink); }

/* ---------------------------------------------------------- feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: #e3e3e3; }
.feature-card--wide { grid-column: span 2; }
.feature-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 12px; }
.feature-card__label { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-weight: 500; }
.feature-card__title { font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.feature-card__link::after { content: ''; position: absolute; inset: 0; }
.feature-card { position: relative; }
.feature-card__text { color: var(--muted); }
.feature-card--wide .feature-card__body { padding: 24px 28px 28px; max-width: 560px; }
.feature-card--wide { background:
  radial-gradient(60% 60% at 90% 30%, rgba(110,56,233,.08), transparent 70%),
  radial-gradient(40% 50% at 70% 80%, rgba(252,58,145,.07), transparent 70%), var(--white); }
.arrow-bar {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 4px 4px; padding: 4px 4px 4px 20px; border-top: 1px solid var(--line);
  font-weight: 500; color: var(--ink);
}
.arrow-bar__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: 18px; background: var(--ink); color: var(--white);
  filter: drop-shadow(0 0 6px rgba(0,0,0,.2)); transition: background .35s, transform .35s var(--ease);
}
.arrow-bar__btn .icon { width: 22px; height: 22px; transition: transform .35s var(--ease); }
.feature-card:hover .arrow-bar__btn { background: var(--violet); }
.feature-card:hover .arrow-bar__btn .icon { transform: translateX(3px); }
@media (max-width: 1100px) { .feature-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid, .feature-grid--four { grid-template-columns: 1fr; } .feature-card--wide { grid-column: auto; } .feature-card__title { font-size: 24px; } }

/* ---------------------------------------------------------------- split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split--flip .split__media { order: 2; }
.split__media { position: relative; }
.split--sticky .split__media { position: sticky; top: 110px; align-self: start; }
.photo { border-radius: var(--r-card); overflow: hidden; background: var(--soft); }
.photo img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo--tall img { aspect-ratio: 10 / 9; }
.split__media:hover .photo img { transform: scale(1.04); }
.float-card {
  position: absolute; left: -48px; bottom: 36px; z-index: 2; width: min(300px, 80%);
  padding: 18px 20px; border-radius: 20px; background: #fafbfa; box-shadow: var(--shadow-float);
  font-size: 13.5px; line-height: 1.55; color: var(--muted);
}
.float-card__title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.float-card__title .icon { width: 18px; height: 18px; color: var(--violet); }
.float-card__title .tile { width: 34px; height: 34px; border-radius: 10px; }
.float-card__title .tile .icon { width: 16px; height: 16px; color: inherit; }
.float-card--link { transition: transform .4s var(--ease), box-shadow .4s; }
.float-card--link:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.14); }
.float-card__cta { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; color: var(--violet); }
.float-card__cta .icon { width: 16px; height: 16px; }
.split--flip .float-card { left: auto; right: -48px; }
.split__text > .h-section { margin-bottom: 20px; }
.split__text > .lead { margin-bottom: 20px; }
.prose { max-width: 820px; }
.prose--wide { max-width: none; }
.prose .h-section { margin-bottom: 20px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split--sticky .split__media { position: static; }
  .float-card, .split--flip .float-card { left: 16px; right: 16px; bottom: 16px; width: auto; }
}

/* ----------------------------------------------------------- check lists */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); line-height: 1.55; }
.check-list__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none; margin-top: 2px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: var(--white);
}
.check-list__icon .icon { width: 12px; height: 12px; stroke-width: 3; }
.check-list--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
@media (max-width: 760px) { .check-list--cols { grid-template-columns: 1fr; } }
.dash-list { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; color: var(--muted); }
.dash-list li { padding-left: 18px; position: relative; }
.dash-list li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; border-radius: 2px; background: var(--grad); }
.fact-list { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 0; }
.fact-list li { display: flex; align-items: flex-start; gap: 14px; line-height: 1.55; }
.fact-list .icon { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--violet); }
.fact-list strong { font-weight: 500; }

/* ------------------------------------------------------------------ steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.step__num {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid transparent; background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box;
  font-size: 16px; font-weight: 500; color: var(--ink-2); letter-spacing: -.02em; margin-bottom: 20px;
}
.step__num::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed rgba(110,56,233,.25); transition: transform .8s var(--ease); }
.step:hover .step__num::after { transform: rotate(90deg); }
.step__body h3 { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.step__body p { color: var(--muted); }
.step__icon { position: absolute; top: 28px; right: 28px; }
.steps--compact { grid-template-columns: 1fr; gap: 16px; }
.steps--compact::before { content: ''; position: absolute; left: 24px; top: 40px; bottom: 40px; width: 2px; background: linear-gradient(180deg, rgba(252,58,145,.5), rgba(110,56,233,.5)); transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease); }
.steps--compact.is-in::before { transform: scaleY(1); }
.steps--compact .step { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 24px; }
.steps--compact .step__num { margin: 0; }
.steps--compact .step__body h3 { font-size: 20px; }
.steps--compact .step__icon { display: none; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .steps--compact .step { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px; } .steps--compact .step__num { width: 44px; height: 44px; } }

/* ------------------------------------------------------------------- duo */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.duo__col { padding: clamp(28px, 3vw, 40px); border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); }
.duo__col .tile { margin-bottom: 20px; width: 48px; height: 48px; }
.duo__col h2, .duo__col h3 { margin-bottom: 16px; }
.duo__col h3 { font-size: 22px; }
.duo__col p { color: var(--muted); }
.duo__col p + .check-list { margin-top: 8px; }
.section--soft .duo__col:nth-child(2) { background: var(--white); }
.section:not(.section--soft) .duo__col:nth-child(2) { background: var(--soft-2); border-color: transparent; }
.duo__col--alert { border-color: #ffd9a3; background: #fffaf0 !important; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- info grid */
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.info-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.info-card { padding: 28px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.info-card .tile { margin-bottom: 20px; }
.info-card h3 { font-size: 20px; margin-bottom: 10px; }
.info-card p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1100px) { .info-grid--five, .info-grid--four { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .info-grid, .info-grid--five, .info-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .info-grid, .info-grid--five, .info-grid--four { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- boundaries */
.bound-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bound {
  display: flex; align-items: flex-start; gap: 16px; padding: 24px; border-radius: 20px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  transition: background .35s, transform .5s var(--ease), border-color .35s;
}
.bound:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); transform: translateY(-4px); }
.bound p { margin: 0; color: rgba(255,255,255,.88); line-height: 1.5; padding-top: 10px; }
.bound__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: var(--white); }
.bound__icon .icon { width: 20px; height: 20px; }
@media (max-width: 900px) { .bound-grid, .bound-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bound-grid, .bound-grid--3 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- notice */
.notice { display: flex; gap: 24px; align-items: flex-start; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); }
.notice .tile { width: 56px; height: 56px; border-radius: 16px; }
.notice .tile .icon { width: 26px; height: 26px; }
.notice h2 { margin-bottom: 12px; }
.notice p { color: var(--muted); }
@media (max-width: 600px) { .notice { flex-direction: column; } }

/* ------------------------------------------------------------------ FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 20px; }
.faq { border-radius: var(--r-faq); background: var(--white); border: 1px solid var(--line-2); transition: background .35s, border-color .35s, box-shadow .35s; }
.faq.is-open { background: var(--soft-2); border-color: transparent; }
.faq:hover:not(.is-open) { box-shadow: var(--shadow-card); }
.faq__h { margin: 0; }
.faq__btn { display: grid; grid-template-columns: 50px 1fr 24px; align-items: center; gap: 24px; width: 100%; padding: clamp(20px, 2.6vw, 32px) clamp(20px, 2.6vw, 32px); text-align: left; border-radius: var(--r-faq); }
.faq__num {
  display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid transparent; background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box;
  font-size: 16px; font-weight: 500; color: var(--ink-2); letter-spacing: -.02em; transition: background .35s, color .35s;
}
.is-open .faq__num { background: var(--ink-2); color: var(--white); border-color: var(--ink-2); }
.faq__q { font-size: clamp(18px, 1.55vw, 22px); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.is-open .faq__q { font-weight: 700; }
.faq__chev { display: inline-flex; color: var(--ink); transition: transform .4s var(--ease); }
.faq__chev .icon { width: 24px; height: 24px; }
.is-open .faq__chev { transform: rotate(180deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__panel[hidden] { display: none; }
.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 clamp(20px, 2.6vw, 32px) clamp(20px, 2.6vw, 32px) calc(clamp(20px, 2.6vw, 32px) + 74px); color: var(--muted-2); font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: -.02em; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .faq__btn { grid-template-columns: 40px 1fr 22px; gap: 14px; }
  .faq__num { width: 40px; height: 40px; font-size: 14px; }
  .faq__a p { padding-left: clamp(20px, 2.6vw, 32px); }
}

/* --------------------------------------------------------------- CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding: var(--section) 0; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; max-width: 760px; margin: 0 auto; }
.cta-band__text { margin: 0; color: rgba(255,255,255,.75); font-size: 17px; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 12px; }

/* --------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.contact-side .h-section { margin-bottom: 24px; }
.contact-lines { display: flex; flex-direction: column; gap: 18px; margin-bottom: 20px; }
.contact-lines li { display: flex; gap: 16px; align-items: flex-start; }
.contact-lines strong { display: block; font-weight: 500; margin-bottom: 2px; }
.contact-lines a { color: var(--violet); font-weight: 500; }
.contact-lines a:hover { text-decoration: underline; }
.contact-lines address, .contact-lines span:not(.tile) { color: var(--muted); }
.contact-help { margin-top: 28px; padding: 24px; border-radius: 20px; background: var(--soft); }
.contact-help h3 { font-size: 17px; margin-bottom: 14px; }
.warn { display: flex; gap: 14px; margin-top: 20px; padding: 18px 20px; border-radius: 16px; background: #fff7e6; border: 1px solid #ffe0a8; font-size: 14.5px; color: #6b4b00; }
.warn p { margin: 0; }
.warn__icon { display: inline-flex; flex: none; color: #d98a00; }
.warn__icon .icon { width: 20px; height: 20px; }
.form-card { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--white);
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23272727' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a1a1aa; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(110,56,233,.14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e0245e; box-shadow: 0 0 0 4px rgba(224,36,94,.12); }
.error { display: none; align-items: flex-start; gap: 6px; margin: 0; font-size: 13.5px; color: #c4174f; }
.error .icon { width: 16px; height: 16px; margin-top: 2px; }
.field.has-error .error { display: flex; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-top: 22px; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; padding: 0; border-radius: 6px; flex: none; accent-color: var(--violet); -webkit-appearance: auto; appearance: auto; }
.field--check label { flex: 1; font-weight: 400; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.field--check label a { color: var(--violet); text-decoration: underline; }
.field--check .error { width: 100%; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 24px; }
.form__foot .small { flex: 1; min-width: 240px; margin: 0; font-size: 13.5px; }
.status { display: none; gap: 12px; align-items: flex-start; margin-bottom: 20px; padding: 16px 18px; border-radius: 14px; font-size: 15px; }
.status.is-visible { display: flex; animation: fadeUp .5s var(--ease); }
.status p { margin: 0; }
.status__icon { display: inline-flex; flex: none; margin-top: 2px; }
.status__icon .icon { width: 20px; height: 20px; }
.status--ok { background: #eafcef; color: #135e2a; border: 1px solid #b8ebc7; }
.status--bad { background: #fff1f4; color: #9c1a3f; border: 1px solid #ffc5d3; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ------------------------------------------------------------ documents */
.doc-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.doc-aside { position: sticky; top: 110px; }
.doc-aside__card { padding: 24px; border-radius: var(--r-card); background: var(--soft); border: 1px solid var(--line); }
.doc-aside__card .tile { margin-bottom: 16px; }
.doc-aside__title { font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.doc-aside__meta { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.doc-aside__nav { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.doc-aside__nav a { display: block; padding: 8px 10px; border-radius: 10px; font-size: 14.5px; color: var(--muted); transition: background .2s, color .2s; }
.doc-aside__nav a:hover { background: var(--white); color: var(--ink); }
.doc-aside__nav a[aria-current="page"] { background: var(--white); color: var(--violet); font-weight: 500; }
.doc { max-width: 780px; }
.doc h2 { font-size: clamp(24px, 2.2vw, 30px); margin: 40px 0 14px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 20px; margin: 24px 0 10px; }
.doc p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.doc a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.doc-list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.doc-list li { position: relative; padding-left: 26px; }
.doc-list li::before { content: ''; position: absolute; left: 6px; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.doc-list--ol { counter-reset: n; }
.doc-list--ol li { padding-left: 34px; counter-increment: n; }
.doc-list--ol li::before { content: counter(n); width: 24px; height: 24px; left: 0; top: .3em; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--white); border-radius: 50%; }
.doc-list strong { color: var(--ink); font-weight: 500; }
.doc-address { margin: 0 0 18px; padding: 18px 22px; border-left: 3px solid var(--violet); background: var(--soft); border-radius: 0 16px 16px 0; font-size: 16px; line-height: 1.6; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } .doc-aside { position: static; } }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding: clamp(64px, 7vw, 96px) 0 32px; }
.site-footer .dark-decor__vignette { top: 60%; }
.site-footer .container { position: relative; z-index: 1; }
.footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { width: 150px; height: auto; margin-bottom: 20px; }
.footer-brand__name { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.footer-brand__tagline { color: rgba(255,255,255,.72); font-size: 18px; }
.footer-mail { max-width: 520px; }
.footer-mail__label { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 14px; }
.footer-mail__link { display: inline-block; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.25); font-size: clamp(24px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -.02em; word-break: break-all; transition: color .3s; }
.footer-mail__link:hover { color: #ff7ab8; }
.footer-mail__note { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.65); }
.footer-mail__note a { display: inline-flex; align-items: center; gap: 4px; color: var(--white); font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.4); }
.footer-mail__note .icon { width: 14px; height: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr .9fr; gap: 40px; padding: 56px 0; }
.footer-col h2 { font-size: 20px; font-weight: 500; margin-bottom: 24px; }
.footer-col p { color: rgba(255,255,255,.7); font-size: 15.5px; max-width: 380px; }
.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col ul a { font-size: 17px; font-weight: 500; color: rgba(255,255,255,.8); transition: color .25s, padding-left .25s; }
.footer-col ul a:hover, .footer-col ul a[aria-current="page"] { color: var(--white); padding-left: 6px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; color: rgba(255,255,255,.75); }
.footer-legal p { margin: 0; }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-legal__links a:hover { color: var(--white); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .footer-top { flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .footer-legal { flex-direction: column; } }

/* ------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.delay-1 { --d: 1; } .delay-2 { --d: 2; } .delay-3 { --d: 3; }
.js-ready .feature-card.reveal, .js-ready .info-card.reveal, .js-ready .step.reveal { transition-property: opacity, transform, box-shadow, border-color; }
html:not(.js-ready) .reveal { opacity: 1; transform: none; }
html:not(.js-ready) .steps--compact::before { transform: none; }

/* ------------------------------------------------------- hero dashboard */
/* A 1044x640 design scaled to the frame width by js (initDashboard). One 14 s loop. */
.dash-wrap { position: relative; width: 100%; aspect-ratio: 1044 / 640; overflow: hidden; background: #0b0b12; }
.dash {
  position: absolute; left: 0; top: 0; width: 1044px; height: 640px; transform-origin: 0 0;
  transform: scale(var(--s, 1)); display: grid; grid-template-columns: 216px 1fr;
  color: #e8e8ee; font-size: 13px; line-height: 1.4; background: #0b0b12; text-align: left;
  --loop: 14s;
}
.dash .icon { width: 16px; height: 16px; }
.dash__side { display: flex; flex-direction: column; padding: 22px 18px; background: #0e0e16; border-right: 1px solid rgba(255,255,255,.07); }
.dash__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 26px; }
.dash__brand img { width: 40px; height: auto; }
.dash__nav { display: flex; flex-direction: column; gap: 4px; }
.dash__nav li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: rgba(255,255,255,.62); }
.dash__nav li.is-active { background: rgba(255,255,255,.08); color: #fff; }
.dash__nav li.is-active .icon { color: #ff7ab8; }
.dash__side-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.55); }
.dash__dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: dashPulse 2s ease-out infinite; }
@keyframes dashPulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 100% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } }

.dash__main { padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.dash__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.dash__eyebrow { margin: 0 0 2px; font-size: 12px; color: rgba(255,255,255,.55); }
.dash__title { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.dash__status { position: relative; width: 190px; height: 34px; }
.dash__status-item {
  position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 40px; font-size: 12.5px; font-weight: 500; opacity: 0;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  animation: dashStatus var(--loop) infinite; animation-delay: calc(var(--k) * var(--loop) / 4);
}
.dash__status-item .icon { color: #ff7ab8; }
.dash__status-item:last-child { background: rgba(52,211,153,.14); border-color: rgba(52,211,153,.35); }
.dash__status-item:last-child .icon { color: #34d399; }
@keyframes dashStatus { 0% { opacity: 0; transform: translateY(6px); } 4%, 23% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; transform: translateY(-6px); } }

.dash__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dash__kpi { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.6); font-size: 12px; overflow: hidden; }
.dash__kpi::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.07) 50%, transparent 70%); transform: translateX(-100%); animation: dashSheen var(--loop) infinite; animation-delay: calc(var(--k) * .35s + 1s); }
@keyframes dashSheen { 0% { transform: translateX(-100%); } 20%, 100% { transform: translateX(100%); } }
.dash__kpi-icon { position: absolute; right: 12px; top: 12px; display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,.07); color: #d9c6ff; }
.dash__kpi-icon .icon { width: 14px; height: 14px; }
.dash__num { font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }

.dash__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px; flex: 1; min-height: 0; }
.dash__card { position: relative; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; min-height: 0; }
.dash__card-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 500; color: #fff; margin-bottom: 12px; }
.dash__legend { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255,255,255,.6); font-weight: 400; }
.dash__legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.dash__bars { position: relative; flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; align-items: end; padding: 0 4px; min-height: 150px; }
.dash__bars span { display: block; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #8b5cff 0%, #fc3a91 100%); opacity: .85; transform-origin: bottom; animation: dashBar var(--loop) infinite; animation-delay: calc(var(--k) * 90ms); }
@keyframes dashBar { 0% { transform: scaleY(0); } 10%, 88% { transform: scaleY(1); } 96%, 100% { transform: scaleY(0); } }
.dash__line { position: absolute; left: 22px; top: 52px; height: 150px; width: calc(100% - 44px); }
.dash__line path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dashLine var(--loop) infinite; }
@keyframes dashLine { 0%, 8% { stroke-dashoffset: 1; } 30%, 88% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: 1; } }
.dash__axis { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; padding: 8px 4px 0; font-size: 10.5px; color: rgba(255,255,255,.45); text-align: center; }

.dash__pct { font-size: 12px; color: rgba(255,255,255,.6); }
.dash__pct b { color: #fff; font-weight: 500; }
.dash__progress { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 14px; }
.dash__progress span { display: block; height: 100%; width: 100%; border-radius: 6px; background: var(--grad); transform-origin: left; animation: dashProgress var(--loop) infinite; }
@keyframes dashProgress { 0% { transform: scaleX(0); } 84% { transform: scaleX(1); } 92%, 100% { transform: scaleX(0); } }
.dash__steps { display: flex; flex-direction: column; gap: 9px; }
.dash__steps li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.55); font-size: 12.5px; animation: dashStep var(--loop) infinite; animation-delay: calc(var(--k) * var(--loop) / 7.5); }
.dash__tick { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); flex: none; }
.dash__tick .icon { width: 11px; height: 11px; stroke-width: 3; color: #34d399; opacity: 0; transform: scale(.4); animation: dashTick var(--loop) infinite; animation-delay: calc(var(--k) * var(--loop) / 7.5); }
.dash__steps li::after { content: ''; margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: #34d399; opacity: 0; animation: dashTick var(--loop) infinite; animation-delay: calc(var(--k) * var(--loop) / 7.5); }
@keyframes dashStep { 0%, 9% { color: rgba(255,255,255,.55); } 12%, 90% { color: #fff; } 94%, 100% { color: rgba(255,255,255,.55); } }
@keyframes dashTick { 0%, 9% { opacity: 0; transform: scale(.4); } 12%, 90% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(.4); } }
@media (prefers-reduced-motion: reduce) {
  .dash__status-item:last-child { opacity: 1; }
  .dash__bars span, .dash__progress span { animation: none; transform: none; }
  .dash__line path { animation: none; stroke-dashoffset: 0; }
  .dash__steps li, .dash__tick .icon, .dash__steps li::after { animation: none; opacity: 1; transform: none; color: #fff; }
}
