:root {
  --ink: #11170d;
  --line: #11170d;
  --paper: #fbfff1;
  --frog: #66d62e;
  --pond: #c4f5ff;
  --acid: #d8ff4f;
  --orange: #ffad2f;
  --shadow: rgba(17, 23, 13, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 82% 14%, rgba(216, 255, 79, 0.95) 0 8%, transparent 9%),
    radial-gradient(circle at 12% 80%, rgba(196, 245, 255, 0.95) 0 13%, transparent 14%),
    linear-gradient(135deg, #ffffff 0%, var(--paper) 52%, #e8ffd7 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 23, 13, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 23, 13, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  height: 76px;
  margin: 18px auto 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 0 rgba(17, 23, 13, 0.08);
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 950;
  text-transform: lowercase;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--line);
  object-fit: cover;
  background: white;
}

.links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  background: white;
  box-shadow: 0 5px 0 var(--line);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.links a:hover,
.button:hover {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--line);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 98px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  align-items: center;
  gap: 36px;
  padding: 52px 0 30px;
}

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

.eyebrow {
  width: fit-content;
  margin: 0 0 16px;
  padding: 9px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--acid);
  font-weight: 950;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: lowercase;
  max-width: 720px;
}

h1 span {
  display: inline-block;
  animation: hop 1.7s ease-in-out infinite;
  transform-origin: bottom center;
}

h1 span:nth-child(2n) {
  color: #2daa27;
  animation-delay: 0.09s;
}

h1 span:nth-child(3n) {
  color: #1888b2;
  animation-delay: 0.18s;
}

.ticker {
  width: fit-content;
  margin: 18px 0 0;
  padding: 10px 18px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 6px 0 var(--line);
  font-size: 1.35rem;
  font-weight: 950;
}

.bio {
  max-width: 570px;
  margin: 28px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.48;
  font-weight: 750;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button.primary {
  background: var(--frog);
}

.button.ghost {
  background: var(--pond);
}

.phone-stage {
  min-height: 560px;
  position: relative;
  display: grid;
  place-items: center;
}

.phone-stage::before {
  content: "";
  width: min(78vw, 520px);
  aspect-ratio: 1;
  position: absolute;
  border: 2px solid var(--line);
  border-radius: 42% 58% 48% 52%;
  background: var(--pond);
  box-shadow: 18px 18px 0 var(--line);
  animation: wobble 6s ease-in-out infinite;
}

.phone-stage img {
  width: min(84vw, 560px);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 30px 18px rgba(17, 23, 13, 0.18));
  animation: ring 1.9s ease-in-out infinite;
}

.signal {
  position: absolute;
  border: 3px solid var(--line);
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.85;
  animation: ping 1.8s ease-out infinite;
}

.signal.one {
  width: 90px;
  height: 90px;
  top: 74px;
  right: 118px;
}

.signal.two {
  width: 132px;
  height: 132px;
  top: 52px;
  right: 94px;
  animation-delay: 0.24s;
}

.signal.three {
  width: 174px;
  height: 174px;
  top: 30px;
  right: 70px;
  animation-delay: 0.48s;
}

.call-card {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 72px;
  width: 210px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 8px 0 var(--line);
  transform: rotate(-4deg);
}

.call-card span {
  display: block;
  font-size: 0.74rem;
  font-weight: 950;
  opacity: 0.65;
}

.call-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.5rem;
  color: #2daa27;
}

.ticker-strip {
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: var(--ink);
  color: white;
  overflow: hidden;
}

.ticker-strip div {
  display: flex;
  width: max-content;
  animation: slide 18s linear infinite;
}

.ticker-strip span {
  padding: 16px 28px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.lore {
  width: min(1120px, calc(100% - 32px));
  margin: 42px auto 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lore article {
  min-height: 220px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 26px;
  background: white;
  box-shadow: 0 9px 0 rgba(17, 23, 13, 0.12);
}

.lore span {
  display: inline-flex;
  margin-bottom: 34px;
  font-weight: 950;
  color: #1888b2;
}

.lore h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.lore p {
  margin: 0;
  line-height: 1.45;
  font-weight: 750;
}

@keyframes hop {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  38% {
    transform: translateY(-12px) rotate(-2deg);
  }
  58% {
    transform: translateY(4px) rotate(2deg);
  }
}

@keyframes ring {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  8% {
    transform: rotate(-2deg) scale(1.01);
  }
  16% {
    transform: rotate(2deg) scale(1.01);
  }
  24% {
    transform: rotate(-1deg) scale(1);
  }
}

@keyframes wobble {
  0%, 100% {
    border-radius: 42% 58% 48% 52%;
    transform: rotate(0deg);
  }
  50% {
    border-radius: 55% 45% 58% 42%;
    transform: rotate(5deg);
  }
}

@keyframes ping {
  0% {
    transform: scale(0.75) rotate(-42deg);
    opacity: 0;
  }
  35% {
    opacity: 0.9;
  }
  100% {
    transform: scale(1.2) rotate(-42deg);
    opacity: 0;
  }
}

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

@media (max-width: 820px) {
  .nav {
    height: auto;
    align-items: flex-start;
    border-radius: 28px;
  }

  .brand span {
    display: none;
  }

  .links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .links a {
    min-height: 40px;
    padding: 0 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .phone-stage {
    min-height: 430px;
    order: -1;
  }

  .call-card {
    right: 8px;
    bottom: 38px;
    width: 170px;
  }

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