/* ============ Traffic Storm — brand styles ============ */
:root {
  --black: #0b0a0e;
  --black-2: #131118;
  --white: #ffffff;
  --paper: #f6f5f3;
  --ink: #14121a;
  --ink-dim: #6e6a78;
  --accent: #7c3aed;
  --accent-soft: #ede7fd;
  --lavender: #cdb9f7;
  --line: #e6e3ee;
  --line-dark: rgba(255, 255, 255, .12);
  --font-head: 'Unbounded', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  max-width: 100vw;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* ---------- common type ---------- */
.kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 26px;
}

.display {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--ink);
}
.display em { font-style: normal; color: var(--accent); }
.display--light { color: var(--white); }

/* ---------- buttons ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn-pill--lg { padding: 18px 42px; font-size: 16px; }
.btn-pill--white { background: var(--white); color: var(--ink); }
.btn-pill--white:hover { transform: translateY(-2px); }
.btn-pill--accent { background: var(--accent); color: var(--white); }
.btn-pill--accent:hover { transform: translateY(-2px); background: #6b2bd6; }
.btn-pill__icon { width: 18px; height: 18px; fill: currentColor; }

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 16px 0;
  background: rgba(11, 10, 14, .82);
  backdrop-filter: blur(14px);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line-dark); }
.header__inner { display: flex; align-items: center; gap: 28px; }

.logo {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
}
.logo span { color: var(--accent); margin-left: 4px; }

.nav { display: flex; gap: 30px; margin-inline: auto; }
.nav a {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, .65);
  transition: color .2s;
}
.nav a:hover { color: var(--white); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex; align-items: center; gap: 4px;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 8px 14px;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-body);
  font-size: 12px; font-weight: 800;
  cursor: pointer;
  transition: border-color .2s;
}
.lang-switch:hover { border-color: rgba(255, 255, 255, .4); }
.lang-switch__opt.is-active { color: var(--white); }
.lang-switch__sep { opacity: .4; }

.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  /* pure black so the mascot photo background dissolves seamlessly */
  background: #000;
  color: var(--white);
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 90px;
}

.hero__mascot {
  position: absolute;
  bottom: 0;
  right: clamp(-120px, calc(50vw - 580px), 60px);
  height: min(86vh, 800px);
  width: auto;
  z-index: 1;
  pointer-events: none;
  /* dissolve the photo edges into the black hero (bottom stays solid) */
  -webkit-mask-image: radial-gradient(ellipse 58% 96% at 50% 100%, #000 62%, transparent 94%);
  mask-image: radial-gradient(ellipse 58% 96% at 50% 100%, #000 62%, transparent 94%);
}

.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 720px; }

.hero__title {
  display: flex;
  flex-direction: column;
  margin-bottom: 34px;
}
.hero__line {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(56px, 9.6vw, 136px);
  line-height: .98;
  letter-spacing: -.015em;
  color: var(--white);
}
.hero__line--row { display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); }
.hero__line--accent {
  font-style: normal;
  color: var(--accent);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.hero__sticker {
  background: var(--lavender);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(11px, 1vw, 14px);
  line-height: 1.4;
  letter-spacing: 0;
  max-width: 190px;
  text-align: center;
  padding: 16px 20px;
  transform: rotate(-6deg);
  flex-shrink: 0;
  /* stamp edge */
  clip-path: polygon(0% 6%, 3% 0%, 8% 5%, 14% 0%, 20% 5%, 26% 0%, 32% 5%, 38% 0%, 44% 5%, 50% 0%, 56% 5%, 62% 0%, 68% 5%, 74% 0%, 80% 5%, 86% 0%, 92% 5%, 97% 0%, 100% 6%, 100% 94%, 97% 100%, 92% 95%, 86% 100%, 80% 95%, 74% 100%, 68% 95%, 62% 100%, 56% 95%, 50% 100%, 44% 95%, 38% 100%, 32% 95%, 26% 100%, 20% 95%, 14% 100%, 8% 95%, 3% 100%, 0% 94%);
}

.hero__sub {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
  max-width: 440px;
  margin-bottom: 38px;
}

.hero__actions { display: flex; align-items: center; gap: 28px; margin-bottom: 64px; }
.hero__link {
  font-weight: 800;
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.hero__link:hover { color: var(--white); border-color: var(--white); }

.hero__stats {
  list-style: none;
  display: flex;
  gap: clamp(28px, 4vw, 64px);
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  max-width: 560px;
}
.hero__stats b {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
  margin-bottom: 8px;
}
.hero__stats span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .5);
}

.hero__card {
  position: absolute;
  z-index: 3;
  right: clamp(16px, 5vw, 90px);
  top: 18%;
  background: var(--white);
  border-radius: 22px;
  padding: 20px 24px;
  width: 215px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-dim);
  transform: rotate(4deg);
}
.hero__card b {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.hero__card-arrow {
  position: absolute;
  right: 18px; top: 18px;
  font-style: normal;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 16px;
}

.hero__tagline {
  position: absolute;
  right: clamp(16px, 4.5vw, 80px);
  bottom: 12%;
  z-index: 3;
  text-align: right;
}
.hero__tagline p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 2.1vw, 30px);
  line-height: 1.15;
}
.hero__tagline em { font-style: normal; color: var(--accent); }

/* ---------- marquee ---------- */
.marquee {
  background: var(--accent);
  color: var(--white);
  padding: 16px 0;
  overflow: hidden;
  transform: rotate(-1.6deg) scale(1.02);
  margin: -28px 0 0;
  position: relative;
  z-index: 5;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__seq { display: flex; align-items: center; }
.marquee__seq i {
  font-family: var(--font-head);
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.marquee__seq b { margin: 0 26px; font-size: 14px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- white sections ---------- */
.section { padding: 130px 0; }
.section--white { background: var(--white); color: var(--ink); }
.section--statement { padding-top: 0; }
.section--process { background: var(--paper); }
.section--faq { padding-bottom: 150px; }

/* ---------- cards ---------- */
.cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px 28px 28px 6px;
  padding: 30px 26px 34px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20, 18, 26, .08); }
.card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}
.card p { font-size: 14px; color: var(--ink-dim); margin-top: auto; }
.card--accent { background: var(--accent); border-color: var(--accent); color: var(--white); }
.card--accent p { color: rgba(255, 255, 255, .75); }

/* ---------- statement ---------- */
.statement {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.3;
  max-width: 1080px;
}
.statement em { font-style: normal; color: var(--accent); }

/* ---------- stats band ---------- */
.band {
  background: var(--accent);
  color: var(--white);
  padding: 64px 0;
}
.band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.band__item b {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  margin-bottom: 10px;
}
.band__item b span { font: inherit; }
.band__item > span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
}

/* ---------- services editorial list ---------- */
.srv { margin-top: 64px; border-top: 1px solid var(--line); }
.srv__row {
  display: grid;
  grid-template-columns: 70px 1.1fr 1fr 60px;
  align-items: center;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s;
}
.srv__num {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-dim);
}
.srv__name {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 700;
  transition: color .25s;
}
.srv__info p { font-size: 15px; color: var(--ink-dim); }
.srv__meta {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
}
.srv__arrow {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  justify-self: end;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.srv__row:hover .srv__name { color: var(--accent); }
.srv__row:hover .srv__arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: rotate(-45deg);
}

/* ---------- process ---------- */
.steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px 28px 36px;
}
.step__ghost {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--lavender);
  margin-bottom: 26px;
}
.step h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--ink-dim); }

/* ---------- faq ---------- */
.faq { margin-top: 64px; max-width: 900px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 70px 28px 0;
  font-family: var(--font-head);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 600;
  position: relative;
  user-select: none;
  transition: color .2s;
}
.faq__item summary:hover { color: var(--accent); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  transition: transform .3s, background .3s, color .3s, border-color .3s;
}
.faq__item[open] summary { color: var(--accent); }
.faq__item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.faq__item p { padding: 0 80px 28px 0; font-size: 15px; color: var(--ink-dim); }

/* ---------- cta ---------- */
.cta {
  /* pure black so the mascot photo blends in */
  background: #000;
  color: var(--white);
  padding: 140px 0 120px;
}
.cta__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 70px;
  align-items: center;
}
.cta__mascot {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
}
.cta__sub {
  margin: 26px 0 38px;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
  max-width: 480px;
}

/* ---------- footer ---------- */
.footer {
  background: #000;
  color: var(--white);
  border-top: 1px solid var(--line-dark);
  padding: 48px 0 38px;
  overflow: hidden;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a {
  font-size: 14px; font-weight: 700;
  color: rgba(255, 255, 255, .55);
  transition: color .2s;
}
.footer__nav a:hover { color: var(--white); }
.footer__tg { font-weight: 800; font-size: 14px; color: var(--lavender); }

.footer__wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 10.4vw, 150px);
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22);
  user-select: none;
  margin-bottom: 40px;
}
.footer__copy {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .band__grid { grid-template-columns: repeat(2, 1fr); gap: 44px; }
  .srv__row { grid-template-columns: 50px 1fr 60px; }
  .srv__info { grid-column: 2; }
  .srv__arrow { grid-row: 1; grid-column: 3; }
  .hero__tagline { bottom: 32%; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed; inset: 62px 0 auto;
    flex-direction: column; gap: 0;
    background: rgba(11, 10, 14, .98);
    border-bottom: 1px solid var(--line-dark);
    padding: 10px 24px 18px;
    transform: translateY(-130%);
    transition: transform .35s ease;
    z-index: 99;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 13px 0; font-size: 17px; }
  .burger { display: flex; }
  .header .btn-pill { display: none; }

  .hero { min-height: 100svh; padding: 96px 0 60px; align-items: flex-end; }
  .hero__mascot {
    height: 52vh;
    max-height: 480px;
    right: 50%;
    transform: translateX(50%);
    bottom: auto;
    top: 48px;
    /* dissolve on ALL edges so the heading melts into the mascot */
    -webkit-mask-image: radial-gradient(ellipse 64% 58% at 50% 40%, #000 44%, transparent 82%);
    mask-image: radial-gradient(ellipse 64% 58% at 50% 40%, #000 44%, transparent 82%);
  }
  .hero__content { padding-top: 34vh; }

  .hero__line { font-size: clamp(40px, 13vw, 56px); }
  .hero__line--row { flex-wrap: wrap; gap: 12px; }

  .hero__sticker {
    display: block;
    max-width: 124px;
    font-size: 10px;
    padding: 12px 14px;
  }

  .hero__card {
    display: block;
    width: 158px;
    padding: 14px 16px 16px;
    font-size: 11px;
    line-height: 1.35;
    border-radius: 16px;
    right: 8px;
    top: 92px;
  }
  .hero__card b { font-size: 20px; margin-bottom: 4px; }
  .hero__card-arrow { width: 24px; height: 24px; font-size: 12px; right: 10px; top: 10px; }

  .hero__tagline { display: none; }
  .hero__sub { font-size: 15px; margin-bottom: 28px; }
  .hero__actions { flex-wrap: wrap; gap: 18px; margin-bottom: 40px; }
  .hero__stats { gap: 22px; padding-top: 20px; }

  .section { padding: 84px 0; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card p { margin-top: 16px; }
  .steps { grid-template-columns: 1fr; }
  .srv__row { grid-template-columns: 1fr 60px; gap: 14px; padding: 28px 0; }
  .srv__num { grid-column: 1; }
  .srv__name { grid-column: 1; }
  .srv__info { grid-column: 1; }
  .srv__arrow { grid-row: 2; grid-column: 2; }
  .faq__item p { padding-right: 0; }

  .cta { padding: 90px 0; }
  .cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .cta__mascot { width: 180px; }
}
