:root {
  --ink: #121212;
  --line: #121212;
  --accent-ink: #121212;
  --paper: #fff9ef;
  --paper-deep: #f6ecd6;
  --yellow: #ffd84d;
  --pink: #ff7ea8;
  --blue: #78c9ff;
  --mint: #97f0c4;
  --orange: #ff8b42;
  --shadow-color: #121212;
  --shadow: 8px 8px 0 var(--shadow-color);
  --border: 4px solid var(--line);
  --radius: 22px;
  --topbar-bg: rgba(255, 249, 239, 0.98);
  --page-glow-left: rgba(255, 216, 77, 0.85);
  --page-glow-right: rgba(120, 201, 255, 0.75);
  --page-glow-bottom: rgba(255, 126, 168, 0.18);
  --grid-color: rgba(18, 18, 18, 0.05);
  --toggle-track-start: #ffe77a;
  --toggle-track-end: #ffab5d;
  --toggle-cloud: rgba(255, 249, 239, 0.95);
  --toggle-star: #fff6ca;
  --toggle-thumb: #ffd84d;
  --toggle-thumb-shadow: #fff4bb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f8f1e5;
  --line: #f8f1e5;
  --accent-ink: #101318;
  --paper: #121722;
  --paper-deep: #090d15;
  --yellow: #ffe066;
  --pink: #ff7aa8;
  --blue: #6fc5ff;
  --mint: #87edbe;
  --orange: #ff9551;
  --shadow-color: #040506;
  --shadow: 8px 8px 0 var(--shadow-color);
  --border: 4px solid var(--line);
  --topbar-bg: rgba(18, 23, 34, 0.96);
  --page-glow-left: rgba(255, 149, 81, 0.24);
  --page-glow-right: rgba(111, 197, 255, 0.24);
  --page-glow-bottom: rgba(255, 122, 168, 0.16);
  --grid-color: rgba(248, 241, 229, 0.08);
  --toggle-track-start: #11233d;
  --toggle-track-end: #27496d;
  --toggle-cloud: rgba(255, 249, 239, 0.2);
  --toggle-star: #fff4bf;
  --toggle-thumb: #fff5c4;
  --toggle-thumb-shadow: #cad9ff;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, var(--page-glow-left), transparent 30%),
    radial-gradient(circle at 85% 15%, var(--page-glow-right), transparent 22%),
    radial-gradient(circle at 50% 100%, var(--page-glow-bottom), transparent 26%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  line-height: 1.45;
  transition:
    color 220ms ease,
    background 320ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  transition: background-image 220ms ease;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 42px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 220ms ease;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}

.topbar,
.panel,
.marquee,
.footer {
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  background: var(--topbar-bg);
  position: sticky;
  top: 16px;
  z-index: 10;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: var(--yellow);
  border: var(--border);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--shadow-color);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  transform: rotate(-2deg);
  color: var(--accent-ink);
  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-copy {
  max-width: 220px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.top-nav a,
.platform-pills li,
.button,
.marquee span {
  border: 3px solid var(--line);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--shadow-color);
  font-weight: 700;
}

.top-nav a {
  padding: 10px 14px;
  background: var(--paper);
  text-align: center;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px 9px 16px;
  border: var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--shadow-color);
  cursor: pointer;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.theme-toggle:hover {
  transform: translate(2px, 2px) rotate(-1deg);
  box-shadow: 3px 3px 0 var(--shadow-color);
}

.theme-toggle.is-flipping {
  animation: theme-toggle-wiggle 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-toggle-copy {
  display: grid;
  gap: 1px;
  text-align: left;
}

.theme-toggle-kicker {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.theme-toggle-text {
  font-family: "Archivo Black", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.theme-toggle-switch {
  flex: 0 0 auto;
}

.theme-toggle-track {
  position: relative;
  display: block;
  width: 98px;
  height: 52px;
  overflow: hidden;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--toggle-track-start) 0%,
    var(--toggle-track-end) 100%
  );
  box-shadow: inset 0 -4px 0 rgba(16, 19, 24, 0.16);
  transition:
    background 280ms ease,
    border-color 220ms ease;
}

.theme-toggle-cloud {
  position: absolute;
  left: 12px;
  bottom: 10px;
  width: 22px;
  height: 12px;
  border-radius: 999px;
  background: var(--toggle-cloud);
  box-shadow:
    12px -4px 0 2px var(--toggle-cloud),
    28px 0 0 2px var(--toggle-cloud);
  transition:
    opacity 260ms ease,
    transform 320ms ease;
}

.theme-toggle-stars {
  position: absolute;
  inset: 0;
}

.theme-toggle-stars span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: var(--toggle-star);
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 220ms ease,
    transform 320ms ease;
}

.theme-toggle-stars span:nth-child(1) {
  top: 10px;
  right: 20px;
  width: 6px;
  height: 6px;
  transition-delay: 60ms;
}

.theme-toggle-stars span:nth-child(2) {
  top: 18px;
  right: 34px;
  width: 4px;
  height: 4px;
  transition-delay: 120ms;
}

.theme-toggle-stars span:nth-child(3) {
  top: 8px;
  right: 42px;
  width: 5px;
  height: 5px;
  transition-delay: 180ms;
}

.theme-toggle-thumb {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 36px;
  height: 36px;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: var(--toggle-thumb);
  box-shadow:
    inset -5px -5px 0 var(--toggle-thumb-shadow),
    4px 4px 0 var(--shadow-color);
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 260ms ease,
    box-shadow 260ms ease,
    border-color 220ms ease;
}

.theme-toggle-thumb::after {
  content: "";
  position: absolute;
  top: 5px;
  right: -1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--toggle-track-end);
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 220ms ease,
    transform 320ms ease;
}

.section {
  margin-top: 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.hero-copy,
.sticker-card,
.task-card,
.stat-strip,
.feature-card,
.statement-card,
.mini-card,
.channel-card,
.cta-panel {
  --tilt: 0deg;
  background: var(--paper);
  padding: 24px;
}

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

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
}

h1,
.sticker-card h2,
.section-heading h2,
.statement-card h2,
.cta-panel h2 {
  font-family: "Archivo Black", sans-serif;
}

h1 {
  font-size: clamp(3.6rem, 10vw, 6.7rem);
  max-width: 10ch;
  display: grid;
  gap: 10px;
}

.headline-line {
  display: block;
}

.headline-highlight {
  display: inline-grid;
  justify-items: start;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
}

.headline-highlight > span,
.statement-card h2 span {
  display: inline-block;
  background: var(--pink);
  color: var(--accent-ink);
  padding: 0 0.22em 0.04em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.lede {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: 1.18rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  background: var(--yellow);
  color: var(--accent-ink);
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.button:hover,
.top-nav a:hover,
.platform-pills li:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--shadow-color);
}

.button-secondary {
  background: var(--paper);
  color: var(--ink);
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.platform-pills li {
  padding: 10px 14px;
  background: var(--mint);
  color: var(--accent-ink);
}

.hero-stack {
  display: grid;
  gap: 20px;
  position: relative;
  z-index: 1;
  padding-top: 10px;
}

.sticker-card {
  --tilt: -2deg;
  background: var(--orange);
  color: var(--accent-ink);
  transform: rotate(var(--tilt));
  overflow: hidden;
}

.sticker-card::after {
  content: "ANYTHING";
  display: inline-block;
  margin-top: 20px;
  padding: 8px 12px;
  max-width: 100%;
  background: var(--yellow);
  border: var(--border);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--shadow-color);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 0.95;
  transform: rotate(3deg);
}

.sticker-label,
.card-kicker,
.channel-name {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sticker-card h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.sticker-card p:last-child,
.task-card p,
.feature-card p,
.statement-card p:last-child,
.mini-card p,
.channel-card p:last-child,
.cta-panel p:last-of-type {
  margin: 16px 0 0;
  font-size: 1.04rem;
}

.task-card {
  --tilt: 1.4deg;
  color: var(--accent-ink);
  transform: rotate(var(--tilt));
}

.task-card-yellow {
  background: var(--yellow);
}

.task-card-yellow ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.task-card-blue {
  background: var(--blue);
  --tilt: -1.2deg;
  transform: rotate(var(--tilt));
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: var(--mint);
  color: var(--accent-ink);
}

.stat-strip div {
  display: grid;
  gap: 4px;
  text-align: center;
}

.stat-strip strong {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.stat-strip span {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
}

.marquee {
  margin-top: 28px;
  overflow: hidden;
  background: var(--paper);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding-left: 12px;
  animation: marquee 22s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--accent-ink);
  font-size: 1rem;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  max-width: 16ch;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.card-grid,
.example-grid,
.channel-grid {
  display: grid;
  gap: 16px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card:nth-child(1) {
  background: var(--yellow);
}

.feature-card:nth-child(2) {
  background: var(--pink);
}

.feature-card:nth-child(3) {
  background: var(--blue);
}

.feature-card:nth-child(4) {
  background: var(--mint);
}

.feature-card:nth-child(5) {
  background: #ffbc8a;
}

.feature-card:nth-child(6) {
  background: #ffe7f2;
}

.feature-card h3,
.mini-card h3,
.channel-card h3 {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.45rem;
}

.feature-card,
.mini-card,
.channel-card {
  color: var(--accent-ink);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
}

.statement-card {
  background: var(--paper);
}

.statement-card h2 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
}

.example-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card:nth-child(1) {
  background: var(--blue);
}

.mini-card:nth-child(2) {
  background: var(--yellow);
}

.mini-card:nth-child(3) {
  background: #ffd3df;
}

.mini-card:nth-child(4) {
  background: var(--mint);
}

.channel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.channel-whatsapp {
  background: var(--mint);
}

.channel-telegram {
  background: var(--blue);
}

.channel-signal {
  background: var(--pink);
}

.cta-panel {
  background: var(--orange);
  color: var(--accent-ink);
  text-align: center;
}

.cta-panel h2 {
  max-width: 14ch;
  margin: 0 auto;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
}

.cta-panel p:last-of-type {
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-panel .cta-row {
  justify-content: center;
}

.footer {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--paper);
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-copy,
.sticker-card,
.task-card,
.stat-strip,
.feature-card,
.statement-card,
.mini-card,
.channel-card,
.cta-panel {
  animation: pop-in 260ms ease-out both;
}

.hero-stack > :nth-child(1) {
  animation-delay: 90ms;
}

.hero-stack > :nth-child(2) {
  animation-delay: 160ms;
}

.hero-stack > :nth-child(3) {
  animation-delay: 230ms;
}

.hero-stack > :nth-child(4) {
  animation-delay: 300ms;
}

@keyframes pop-in {
  from {
    opacity: 0.88;
    transform: translateY(12px) rotate(var(--tilt)) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--tilt)) scale(1);
  }
}

@keyframes theme-toggle-wiggle {
  0% {
    transform: rotate(0deg) scale(1);
  }
  28% {
    transform: rotate(-3deg) scale(1.03);
  }
  62% {
    transform: rotate(2deg) scale(0.99);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 960px) {
  .split-section {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .topbar {
    position: static;
  }

  .section-heading h2,
  .cta-panel h2,
  .statement-card h2 {
    max-width: none;
  }

  .top-actions {
    width: 100%;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
  }

  .sticker-card,
  .stat-strip {
    grid-column: 1 / -1;
  }

  .sticker-card,
  .task-card,
  .task-card-blue {
    transform: none;
  }

  .top-actions {
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 16px, 1180px);
    padding-top: 10px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar,
  .hero-copy,
  .sticker-card,
  .task-card,
  .stat-strip,
  .feature-card,
  .statement-card,
  .mini-card,
  .channel-card,
  .cta-panel,
  .footer {
    border-radius: 18px;
  }

  .brand {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .brand-copy {
    max-width: 14ch;
    font-size: 0.8rem;
  }

  .top-actions {
    display: grid;
    gap: 10px;
  }

  .theme-toggle {
    order: -1;
    justify-content: space-between;
    width: 100%;
  }

  .top-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  h1 {
    font-size: clamp(2.2rem, 13vw, 3.6rem);
    gap: 8px;
    max-width: 100%;
  }

  .lede {
    font-size: 1rem;
  }

  .hero-stack,
  .card-grid,
  .channel-grid,
  .stat-strip,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .sticker-card,
  .task-card,
  .stat-strip,
  .feature-card,
  .statement-card,
  .mini-card,
  .channel-card,
  .cta-panel {
    padding: 18px;
  }

  .button,
  .top-nav a,
  .platform-pills li {
    width: 100%;
  }

  .top-nav a {
    padding: 10px 8px;
    font-size: 0.92rem;
  }

  .theme-toggle-copy {
    gap: 0;
  }

  .theme-toggle-text {
    font-size: 0.82rem;
  }

  .theme-toggle-track {
    width: 90px;
    height: 48px;
  }

  .theme-toggle-thumb {
    width: 32px;
    height: 32px;
  }

  .sticker-card::after {
    font-size: clamp(1.5rem, 11vw, 2.2rem);
  }
}

html[data-theme="dark"] .theme-toggle-stars span {
  opacity: 1;
  transform: scale(1);
}

html[data-theme="dark"] .theme-toggle-cloud {
  opacity: 0;
  transform: translateX(-16px);
}

html[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(50px) rotate(360deg);
}

html[data-theme="dark"] .theme-toggle-thumb::after {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 720px) {
  html[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(42px) rotate(360deg);
  }
}
