@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@400;500;600;700;800&display=swap");

:root {
  --w2w-black: #0e0e11;
  --w2w-ink: #f6fbf8;
  --w2w-muted: rgba(246, 251, 248, 0.66);
  --w2w-dim: rgba(246, 251, 248, 0.46);
  --w2w-panel: #151619;
  --w2w-panel-2: #1b1e20;
  --w2w-line: rgba(255, 255, 255, 0.12);
  --w2w-line-strong: rgba(47, 231, 132, 0.36);
  --w2w-accent: #2fe784;
  --w2w-accent-hover: #4dffa2;
  --w2w-accent-soft: rgba(47, 231, 132, 0.12);
  --w2w-blue-soft: #c0ddff;
  --w2w-yellow-soft: #fde680;
  --w2w-green-soft: #def1e7;
  --bg: var(--w2w-black);
  --paper: var(--w2w-panel);
  --ink: var(--w2w-ink);
  --muted: var(--w2w-muted);
  --line: var(--w2w-line);
  --accent: var(--w2w-accent);
  --soft: var(--w2w-panel-2);
}

* {
  box-sizing: border-box;
  letter-spacing: 0 !important;
}

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

html {
  background: #101a15;
}

body {
  margin: 0 !important;
  /* Shared page gradient adds Web2Wave brand depth without competing with report cards. */
  background:
    linear-gradient(145deg, rgba(47, 231, 132, 0.2) 0%, rgba(24, 78, 55, 0.16) 24%, rgba(14, 14, 17, 0) 48%),
    linear-gradient(315deg, rgba(9, 200, 148, 0.12) 0%, rgba(14, 14, 17, 0) 36%),
    linear-gradient(180deg, #102019 0%, #101413 46%, #0e0e11 100%) !important;
  background-attachment: fixed !important;
  color: var(--w2w-ink) !important;
  font-family: "Kanit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.w2w-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(246, 251, 248, 0.12);
  background:
    linear-gradient(90deg, rgba(246, 251, 248, 0.08), rgba(47, 231, 132, 0.05), rgba(246, 251, 248, 0.08)),
    linear-gradient(180deg, rgba(22, 32, 28, 0.82), rgba(10, 16, 14, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(246, 251, 248, 0.14),
    0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(28px) saturate(1.25);
  padding: 9px 22px;
}

.w2w-topbar-inner {
  display: flex;
  width: min(100%, 1280px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}

.w2w-topbar-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
}

.w2w-topbar-logo {
  display: block;
  width: 136px;
  height: auto;
  flex: 0 0 auto;
}

.w2w-topbar-copy {
  min-width: 0;
  max-width: none;
  overflow: hidden;
  margin: 0 !important;
  color: rgba(246, 251, 248, 0.72) !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: clip;
  white-space: nowrap;
}

.w2w-topbar-copy span {
  color: var(--w2w-accent);
}

.w2w-topbar-cta,
.w2w-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 231, 132, 0.74);
  border-radius: 999px;
  background: var(--w2w-accent);
  color: var(--w2w-black) !important;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.w2w-topbar-cta {
  position: relative;
  z-index: 2;
  min-height: 42px;
  padding: 0 20px;
  box-shadow:
    inset 0 1px 0 rgba(246, 251, 248, 0.22),
    0 14px 32px rgba(47, 231, 132, 0.18);
}

.w2w-topbar-cta:hover,
.w2w-footer-cta:hover {
  background: var(--w2w-accent-hover);
  color: var(--w2w-black) !important;
  text-decoration: none;
}

.w2w-site-footer {
  width: min(100% - 44px, 1480px);
  overflow: hidden;
  margin: 18px auto 22px;
  border: 1px solid rgba(246, 251, 248, 0.08);
  border-radius: 30px;
  background: rgba(6, 12, 10, 0.72);
  padding: 26px 0 28px;
}

.w2w-client-marquee {
  display: flex;
  width: max-content;
  animation: w2w-marquee 28s linear infinite;
}

.w2w-client-track {
  display: flex;
  align-items: center;
  gap: clamp(44px, 6vw, 88px);
  padding-right: clamp(44px, 6vw, 88px);
}

.w2w-client-logo {
  display: block;
  width: auto;
  max-width: 168px;
  height: clamp(30px, 3vw, 48px);
  object-fit: contain;
  opacity: 0.94;
}

.w2w-footer-join {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 24px 20px 0;
  color: rgba(246, 251, 248, 0.68);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.w2w-footer-join span {
  color: rgba(246, 251, 248, 0.68);
}

.w2w-footer-cta {
  min-height: 42px;
  padding: 0 18px;
}

.brand-highlight {
  color: var(--w2w-accent);
  font-weight: 800;
}

.hero-copy {
  max-width: 880px !important;
  color: var(--w2w-muted) !important;
  font-size: 19px !important;
}

.hero-copy + .hero-copy {
  margin-top: 12px !important;
}

.hero-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin-top: 22px;
}

.hero-tile {
  min-height: 132px;
  border: 1px solid rgba(47, 231, 132, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(47, 231, 132, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
  padding: 16px;
}

.hero-tile b {
  display: block;
  margin-bottom: 8px;
  color: var(--w2w-accent);
  font-size: 18px;
  line-height: 1.12;
  text-transform: uppercase;
}

.hero-tile span {
  display: block;
  color: var(--w2w-muted);
  font-size: 15px;
  line-height: 1.42;
}

.cta-helper {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--w2w-dim) !important;
  font-size: 14px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 231, 132, 0.34);
  border-radius: 999px;
  background: var(--w2w-accent);
  color: var(--w2w-black) !important;
  font-weight: 800;
  padding: 12px 17px;
  text-decoration: none;
}

.btn:hover {
  background: var(--w2w-accent-hover);
  color: var(--w2w-black) !important;
  text-decoration: none;
}

.btn.secondary {
  border-color: var(--w2w-line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--w2w-ink) !important;
}

.btn.secondary:hover {
  border-color: var(--w2w-accent);
  background: rgba(47, 231, 132, 0.08);
  color: var(--w2w-ink) !important;
}

.cta-panel {
  border-color: rgba(47, 231, 132, 0.36) !important;
  background:
    linear-gradient(145deg, rgba(47, 231, 132, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06) !important;
}

.cta-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
  padding: 0 !important;
  list-style: none;
}

.cta-points li {
  min-height: 142px;
  border: 1px solid rgba(47, 231, 132, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--w2w-muted) !important;
  padding: 16px;
}

.cta-points b {
  display: block;
  margin-bottom: 8px;
  color: var(--w2w-accent);
  font-size: 18px;
  line-height: 1.12;
  text-transform: uppercase;
}

.cta-points span {
  display: block;
  color: var(--w2w-muted);
}

@keyframes w2w-marquee {
  from {
    transform: translateX(0);
  }

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

a {
  color: var(--w2w-accent) !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

main,
.page,
.wrap {
  width: min(100%, 1220px) !important;
  margin-inline: auto !important;
  padding: 36px 20px 80px !important;
}

header,
.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px !important;
  padding: 34px !important;
  border: 1px solid var(--w2w-line-strong) !important;
  border-radius: 32px !important;
  background:
    linear-gradient(130deg, rgba(47, 231, 132, 0.16), rgba(9, 200, 148, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

header::before,
.hero::before {
  content: "web2wave teardown";
  display: inline-flex;
  width: max-content;
  margin-bottom: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(47, 231, 132, 0.34);
  border-radius: 999px;
  background: var(--w2w-accent-soft);
  color: var(--w2w-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

section,
.section {
  margin-bottom: 18px !important;
  padding: 28px !important;
  border: 1px solid var(--w2w-line) !important;
  border-radius: 28px !important;
  background: rgba(21, 22, 25, 0.86) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

h1,
h2,
h3 {
  color: var(--w2w-ink) !important;
  font-family: "Kanit", ui-sans-serif, system-ui, sans-serif !important;
  font-weight: 700 !important;
}

h1 {
  max-width: 940px;
  margin-bottom: 12px !important;
  font-size: clamp(34px, 5vw, 58px) !important;
  line-height: 0.98 !important;
}

h2 {
  margin-bottom: 16px !important;
  font-size: clamp(25px, 3vw, 36px) !important;
  line-height: 1.05 !important;
}

h3 {
  font-size: 18px !important;
  line-height: 1.18 !important;
}

p,
li,
.muted,
.lead,
.caption,
.sources,
.source-list {
  color: var(--w2w-muted) !important;
}

.lead {
  max-width: 960px !important;
  font-size: 18px !important;
}

.meta,
.chips {
  gap: 8px !important;
}

.pill,
.chip,
.tag {
  min-height: 30px !important;
  border: 1px solid rgba(47, 231, 132, 0.28) !important;
  border-radius: 999px !important;
  background: rgba(47, 231, 132, 0.11) !important;
  color: var(--w2w-accent) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.grid,
.three,
.bullets,
.screens,
.phone-grid,
.flow {
  gap: 16px !important;
}

.box,
.bullet,
.stat,
.flow-step,
a.card {
  border: 1px solid var(--w2w-line) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--w2w-ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

a.card {
  min-height: 228px !important;
  padding: 22px !important;
}

a.card:hover {
  border-color: var(--w2w-accent) !important;
  background: rgba(47, 231, 132, 0.08) !important;
  text-decoration: none;
}

.kicker {
  color: var(--w2w-accent) !important;
}

.stat b {
  color: var(--w2w-accent) !important;
  font-size: 28px !important;
}

.stat span,
.bullet,
.box,
.flow-step span {
  color: var(--w2w-muted) !important;
}

.bullet b,
.box h3,
.flow-step strong {
  color: var(--w2w-ink) !important;
}

.note {
  border: 1px solid rgba(253, 230, 128, 0.42) !important;
  border-radius: 8px !important;
  background: rgba(253, 230, 128, 0.12) !important;
  color: #f8dd74 !important;
}

.shot,
.screen-card,
.phone-card {
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  background: #f7f9f8 !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24) !important;
}

.shot {
  padding: 0 !important;
}

.shot img,
.screen-card img,
.phone-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  background: #f7f9f8 !important;
}

.shot .caption,
.screen-copy,
.phone-copy {
  background: #ffffff !important;
  color: #0e0e11 !important;
}

.shot .caption {
  margin: 0 !important;
  padding: 14px 16px 16px !important;
  border-top: 1px solid rgba(14, 14, 17, 0.1) !important;
}

.screen-copy,
.phone-copy {
  border-top: 1px solid rgba(14, 14, 17, 0.1) !important;
}

.screen-copy h3,
.phone-copy strong {
  color: #0e0e11 !important;
}

.screen-copy p,
.phone-copy span,
.shot .caption {
  color: rgba(14, 14, 17, 0.64) !important;
}

.screen-meta {
  background: var(--w2w-accent) !important;
  color: #0e0e11 !important;
  font-weight: 800 !important;
}

ul {
  padding-left: 1.25em !important;
}

li + li {
  margin-top: 5px !important;
}

@media (max-width: 900px) {
  .w2w-topbar {
    padding: 10px 14px;
  }

  .w2w-topbar-inner {
    align-items: flex-start;
    gap: 12px;
  }

  .w2w-topbar-brand {
    gap: 14px;
  }

  .w2w-topbar-logo {
    width: 124px;
  }

  .w2w-topbar-copy {
    font-size: 14px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 14px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 14px), transparent);
  }

  .w2w-topbar-cta {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 14px;
  }

  .w2w-site-footer {
    width: calc(100% - 28px);
    border-radius: 22px;
  }

  .w2w-client-track {
    gap: 38px;
    padding-right: 38px;
  }

  .w2w-client-logo {
    max-width: 134px;
    height: 34px;
  }

  .w2w-footer-join {
    display: grid;
    gap: 8px;
    font-size: 16px;
  }

  .hero-tiles {
    grid-template-columns: 1fr;
  }

  .cta-points {
    grid-template-columns: 1fr;
  }

  main,
  .page,
  .wrap {
    padding: 24px 14px 64px !important;
  }

  header,
  .hero,
  section,
  .section {
    padding: 20px !important;
    border-radius: 20px !important;
  }

  .grid,
  .three,
  .bullets,
  .screens,
  .phone-grid,
  .flow {
    grid-template-columns: 1fr !important;
  }
}
