:root {
  --paper: #FBF6EA;
  --ink: #181511;
  --indigo: #4A3AEF;
  --coral: #FF5A4E;
  --yellow: #FFC53D;
  --green: #1FAE68;
  --pink: #FF8FCB;
  --sky: #3FB9E8;
  --violet: #8B5CF6;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .disp { font-family: 'Fredoka', sans-serif; }
.mono { font-family: 'Space Mono', monospace; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
@media(max-width: 640px) { .wrap { padding: 0 20px; } }

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.headbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.word {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  color: var(--ink);
}

.word .dash { color: var(--coral); }

.navwrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}

nav a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

nav a:hover { border-color: var(--ink); transform: translateY(-1px); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2.5px solid var(--ink);
  border-radius: 100px;
  padding: 11px 22px;
  font-family: 'Fredoka', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(0, 0); box-shadow: 1px 1px 0 var(--ink); }
.btn.solid { background: var(--coral); color: #fff; }
.btn.solid-indigo { background: var(--indigo); color: #fff; }
.btn.big { padding: 15px 30px; font-size: 16px; }

.lang-switch {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: none;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2.5px;
  background: var(--ink);
  transition: background 0.15s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2.5px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.menu-toggle span::before { top: -6.5px; }
.menu-toggle span::after { top: 6.5px; }
.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span::after { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 83px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  background: var(--paper);
  border-top: 3px solid var(--ink);
  padding: 10px 28px 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.mobile-nav a {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 21px;
  padding: 18px 0;
  border-bottom: 2px solid #E5DECF;
  text-decoration: none;
}

/* HERO */
.hero {
  padding: 76px 0 90px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  background: var(--ink);
  color: var(--paper);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 26px;
  transform: rotate(-1.5deg);
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex: none;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

h1 .hl {
  background: var(--yellow);
  padding: 2px 10px;
  border-radius: 10px;
  box-shadow: 2px 2px 0 var(--ink);
  display: inline-block;
  transform: rotate(-1deg);
}

.hero p.lead {
  font-size: 19px;
  color: #3A3630;
  max-width: 44ch;
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.burst {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 460px;
  margin: 0 auto;
}

.burst svg { width: 100%; height: 100%; }

.burst-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  fill: var(--ink);
}

.burst-path {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw 1.1s ease forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.node-pulse { animation: nodegrow 2.4s ease-in-out infinite; }

@keyframes nodegrow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}

/* SECTIONS */
section { scroll-margin-top: 100px; }

.band {
  padding: 88px 0;
  border-top: 3px solid var(--ink);
  background: var(--paper);
}

.band-lilac { background: #EFEAFB; }
.band-peach { background: #FFEDE0; }
.band-mint { background: #E8F8EE; }

.section-head { margin-bottom: 44px; }

.kicker {
  font-family: 'Space Mono', monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.section-head p {
  color: #4A453D;
  font-size: 16.5px;
  max-width: 56ch;
  margin: 0;
}

/* CARDS */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: var(--shadow);
}

.card:nth-child(1) { background: #FFD9EC; transform: rotate(-1deg); }
.card:nth-child(2) { background: #FFE3D6; transform: rotate(0.8deg); }
.card:nth-child(3) { background: #FFF3C4; transform: rotate(-0.6deg); }

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  margin-bottom: 18px;
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
}

.card p {
  margin: 0;
  color: #3A3630;
  font-size: 15px;
}

/* TAGS */
.domains {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.domain-tag {
  border: 2px solid var(--ink);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: 'Fredoka', sans-serif;
}

.domain-tag:nth-child(6n+1) { background: var(--yellow); }
.domain-tag:nth-child(6n+2) { background: var(--pink); }
.domain-tag:nth-child(6n+3) { background: #B9F3D0; }
.domain-tag:nth-child(6n+4) { background: #C7E4FF; }
.domain-tag:nth-child(6n+5) { background: #FFD9C7; }
.domain-tag:nth-child(6n+6) { background: #E9E4FF; }

/* TIMELINE */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step {
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  padding: 24px 20px;
  background: var(--paper);
}

.step .num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 16px;
}

.step:nth-child(1) .num { background: var(--indigo); color: #fff; }
.step:nth-child(2) .num { background: var(--coral); color: #fff; }
.step:nth-child(3) .num { background: var(--yellow); }
.step:nth-child(4) .num { background: var(--green); color: #fff; }

.step h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 0 0 8px;
}

.step p {
  color: #4A453D;
  font-size: 14.5px;
  margin: 0;
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.about-text p {
  color: #3A3630;
  font-size: 16.5px;
}

.about-text p:first-child {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat {
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: 20px;
}

.stat:nth-child(1) { background: #FFE3D6; }
.stat:nth-child(2) { background: #E9E4FF; }
.stat:nth-child(3) { background: #C7E4FF; }
.stat:nth-child(4) { background: #FFF3C4; }

.stat .l {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.stat .v {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  margin-top: 8px;
}

/* LEGAL INFO */
.legal-info {
  background: #EFEAFB;
  border-radius: 20px;
  padding: 44px;
  margin-top: 44px;
}

.legal-section {
  margin-bottom: 44px;
}

.legal-section:last-child { margin-bottom: 0; }

.legal-section h3 {
  font-size: 22px;
  margin: 0 0 16px;
}

.legal-section p {
  color: #3A3630;
  margin: 0 0 12px;
}

.legal-badge {
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 6px 12px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  margin-right: 8px;
  margin-bottom: 8px;
  background: #FFF3C4;
}

/* CONTACT CTA */
.cta-section {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  margin: 0 auto;
}

.cta-section h2 { color: #fff; }
.cta-section p {
  color: #D9D4C8;
  font-size: 17px;
  max-width: 46ch;
}

.cta-box {
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  padding: 28px;
}

.cta-box .status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  font-family: 'Space Mono', monospace;
  font-size: 12.5px;
  font-weight: 700;
}

.status .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.cta-box a.mail {
  display: block;
  font-weight: 600;
  font-size: 19px;
  font-family: 'Fredoka', sans-serif;
  text-decoration: none;
  margin-bottom: 22px;
  color: var(--indigo);
}

.cta-box .btn { width: 100%; justify-content: center; }

/* FOOTER */
footer {
  padding: 50px 0 40px;
  border-top: 3px solid var(--ink);
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 3px solid var(--ink);
  margin-bottom: 20px;
}

.foot-col h4 {
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B6558;
  margin: 0 0 12px;
  font-weight: 700;
}

.foot-col .word {
  font-size: 19px;
  margin-bottom: 8px;
}

.foot-col p {
  margin: 0;
  font-size: 14px;
  color: #4A453D;
}

.foot-col a { color: var(--indigo); text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }

.bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: #6B6558;
}

/* RESPONSIVE */
@media(max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .burst { order: -1; max-width: 300px; }
  .grid3 { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .cta-section { grid-template-columns: 1fr; padding: 36px 26px; }
  nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
}

@media(max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
}

@media(min-width: 861px) {
  .mobile-nav { display: none !important; }
}
