@font-face { font-family: "Lilita One"; src: url(/fonts/LilitaOne-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Fredoka; font-weight: 500; src: url(/fonts/Fredoka-500.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Fredoka; font-weight: 700; src: url(/fonts/Fredoka-700.woff2) format("woff2"); font-display: swap; }

:root {
  --ink: #1b0f3d;
  --grape: #6c3bd1;
  --grape-deep: #5a2bbd;
  --sun: #ffd23f;
  --mint: #3ddc84;
  --bubblegum: #ff8fab;
  --line: 3px solid var(--ink);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grape);
  color: var(--ink);
  font: 500 18px/1.55 Fredoka, "Trebuchet MS", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body > main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* Big outlined words: only ever short ones, as in the game. */
.loud {
  margin: 0;
  color: #fff;
  font-family: "Lilita One", Fredoka, sans-serif;
  font-weight: 400;
  letter-spacing: .01em;
  -webkit-text-stroke: .1em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 .07em 0 var(--ink);
}

/* The top bar */
.bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 22px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-size: 24px; }
.brand img { width: 40px; height: 40px; }
.bar nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.bar nav a { color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; padding: 4px 2px; }
.bar nav a:hover, .bar nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--sun); }

/* Home: the call */
.hero { position: relative; overflow: hidden; background: var(--grape); padding-bottom: 76px; }
.waves {
  position: absolute;
  top: 390px;
  left: calc(50% + 280px);
  width: 0;
  height: 0;
}
.waves i {
  position: absolute;
  left: -1px;
  top: -1px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  box-shadow: 0 0 0 calc(var(--r) * 1px) var(--grape-deep), 0 0 0 calc(var(--r) * 1px + 46px) var(--grape);
}
.waves i:nth-child(1) { --r: 900; }
.waves i:nth-child(2) { --r: 720; }
.waves i:nth-child(3) { --r: 540; }
.waves i:nth-child(4) { --r: 360; }
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 22px 0;
}
.hero h1 { font-size: clamp(66px, 11.5vw, 138px); line-height: .94; }
.hero h1 span { display: block; transform-origin: left center; }
.hero h1 span:nth-child(1) { transform: rotate(-2.5deg); }
.hero h1 span:nth-child(2) { transform: rotate(1.5deg) translateX(.22em); }
.hero h1 span:nth-child(3) { color: var(--sun); transform: rotate(-1deg); }
.hero .lead { max-width: 25em; margin: 32px 0 20px; color: #fff; font-size: 22px; line-height: 1.4; }
.soon {
  display: inline-block;
  padding: 8px 18px 9px;
  background: var(--mint);
  border: var(--line);
  border-radius: 14px;
  box-shadow: 0 5px 0 var(--ink);
  font-weight: 700;
}

/* A call, as it looks in the game */
.phone {
  padding: 12px;
  background: var(--ink);
  border-radius: 44px;
  box-shadow: 0 12px 0 #120a2b;
  transform: rotate(2deg);
}
.screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 560px;
  padding: 26px 18px 22px;
  background: #ffc2d1;
  border-radius: 33px;
}
.who { font-size: 30px; }
.tags { display: flex; gap: 6px; margin: 8px 0 12px; font-size: 13px; font-weight: 700; }
.tags span { padding: 2px 9px; background: #fff; border: 2px solid var(--ink); border-radius: 9px; }
.tags .ai { background: var(--ink); color: #fff; }
.screen img { width: 186px; height: 186px; }
.bubble {
  position: relative;
  padding: 12px 16px;
  background: #fff;
  border: var(--line);
  border-radius: 20px;
  box-shadow: 0 4px 0 var(--ink);
  font-size: 17px;
  line-height: 1.35;
}
.screen .bubble::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  background: #fff;
  border: var(--line);
  border-width: 3px 0 0 3px;
  transform: rotate(45deg);
}
.mic {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-top: auto;
  background: var(--mint);
  border: var(--line);
  border-radius: 50%;
  box-shadow: 0 6px 0 var(--ink);
}

/* The phone rings twice as the page opens, then stays still. */
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: ring 1.5s .5s 2 both; }
  @keyframes ring {
    0%, 42%, 100% { transform: rotate(2deg); }
    6%, 18%, 30% { transform: rotate(-1.5deg); }
    12%, 24%, 36% { transform: rotate(5deg); }
  }
}

/* Home: who's on the line */
.band { padding: 66px 22px 72px; }
.band-in { max-width: 860px; margin: 0 auto; }
.sun { background: var(--sun); border-top: var(--line); border-bottom: var(--line); }
.band h2 { margin-bottom: 34px; font-size: clamp(38px, 6vw, 58px); line-height: 1.05; }
.caller { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.caller:nth-of-type(even) { flex-direction: row-reverse; }
.caller img { flex: none; width: 138px; height: 138px; }
.caller .bubble { flex: 1; }
.caller .bubble::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background: #fff;
  border: var(--line);
  border-width: 0 0 3px 3px;
  transform: rotate(45deg);
}
.caller:nth-of-type(even) .bubble::before { left: auto; right: -12px; border-width: 3px 3px 0 0; }
.caller .bubble b { display: block; font-size: 16px; }
.caller q { display: block; quotes: none; font-size: 21px; line-height: 1.3; margin-top: 2px; }

/* Home: how a sale goes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; color: #fff; }
.steps .loud { display: block; font-size: 66px; line-height: 1; color: var(--sun); }
.steps b { display: block; margin: 10px 0 4px; font-size: 23px; }

/* The plain facts, and every legal page: reading text, plain on white */
.sheet {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 34px 36px;
  background: #fff;
  border: var(--line);
  border-radius: 24px;
  box-shadow: 0 8px 0 var(--ink);
}
.sheet > :first-child { margin-top: 0; }
.sheet > :last-child { margin-bottom: 0; }
.sheet h2 { margin: 32px 0 6px; font-size: 23px; font-weight: 700; line-height: 1.2; }
.sheet a { color: var(--grape-deep); font-weight: 700; }
.sheet li { margin-bottom: 7px; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.sheet th, .sheet td { padding: 11px 10px 11px 0; border-bottom: 2px solid #e4def4; text-align: left; vertical-align: top; }
.sheet th { font-weight: 700; border-bottom-color: var(--ink); }
.sheet tr > :nth-child(1) { width: 46%; }
.page-head { max-width: 760px; margin: 0 auto; padding: 20px 2px 28px; }
.page-head h1 { font-size: clamp(46px, 9vw, 74px); line-height: 1; }
.page-head .date { margin: 12px 0 0; color: #fff; font-size: 16px; }
.page { padding: 0 18px 64px; }

.foot {
  padding: 24px 22px 34px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
}
.foot-in { display: flex; flex-wrap: wrap; gap: 6px 18px; max-width: 1120px; margin: 0 auto; }
.foot span { margin-right: auto; }
.foot a { font-weight: 700; }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .hero-copy { width: 100%; }
  .phone { width: min(330px, 100%); }
  .waves { left: 50%; top: 880px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 62px 1fr; column-gap: 8px; }
  .steps .loud { grid-row: span 2; font-size: 54px; }
  .steps b { margin-top: 2px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .bar nav a { font-size: 15px; }
  .hero .lead { font-size: 20px; }
  .caller { gap: 8px; }
  .caller img { width: 92px; height: 92px; }
  .caller q { font-size: 18px; }
  .sheet { padding: 22px 20px 26px; }
  /* The privacy table: each row stacks. */
  .sheet tr:first-child { display: none; }
  .sheet tr, .sheet td { display: block; width: auto !important; }
  .sheet tr { padding: 10px 0; border-bottom: 2px solid #e4def4; }
  .sheet td { padding: 2px 0; border: 0; }
}
