
@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Darumadrop";
  src: url("fonts/DarumadropOne-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --room: #1f63e6;
  --on-bg: #ffffff;
  --ink: #0c2a6b;
  --paper: #ffffff;
  --shade: #174fc0;
  --tape: #cfe0ff;
  --leaf: #4e90ff;
  --slab: #0c2a6b;
  --chip: #2f6be8;
  --hand: "Darumadrop", "Fredoka", system-ui, sans-serif;
  --body: "Fredoka", system-ui, -apple-system, sans-serif;
  --page: min(1120px, 100% - clamp(32px, 6vw, 64px));
  --pop: cubic-bezier(.3, 1.45, .5, 1);
  --ease: cubic-bezier(.2, .9, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--room);
  color: var(--on-bg);
  font-family: var(--body);
  font-size: clamp(16px, 1.1vw + 11px, 18px);
  line-height: 1.5;
  overflow-x: clip;
  position: relative;
  isolation: isolate;
}
::selection { background: var(--ink); color: #fff; }

body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(60vw, 820px);
  height: 680px;
  z-index: -1;
  background:
    conic-gradient(rgba(78, 144, 255, .55) 25%, transparent 0 50%,
      rgba(78, 144, 255, .55) 0 75%, transparent 0) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(farthest-side at 100% 0, #000 10%, transparent 100%);
  mask-image: radial-gradient(farthest-side at 100% 0, #000 10%, transparent 100%);
  pointer-events: none;
}
body::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 75vw;
  height: 1000px;
  z-index: -1;
  background:
    radial-gradient(circle, var(--shade) 42%, transparent 46%) 0 0 / 22px 22px,
    radial-gradient(circle, var(--shade) 42%, transparent 46%) 11px 11px / 22px 22px;
  -webkit-mask-image: radial-gradient(farthest-side at 0 100%, #000 15%, transparent 100%);
  mask-image: radial-gradient(farthest-side at 0 100%, #000 15%, transparent 100%);
  pointer-events: none;
}

a { color: inherit; }
strong, b { font-weight: 600; }
.paper strong, .tile strong { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
img, svg, picture {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.wrap { width: var(--page); margin-inline: auto; }

.paper {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  padding: clamp(22px, 3vw, 30px);
}
.paper::before,
.paper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  filter: url(#rough);
  z-index: -1;
}
.paper::before { background: var(--paper); border: 3.5px solid var(--ink); }
.paper::after { background: var(--shade); transform: translate(6px, 8px); z-index: -2; }

.mark {
  position: relative;
  display: inline-block;
  padding: 0 .28em;
  z-index: 0;
}
.mark::before {
  content: "";
  position: absolute;
  inset: .2em -.12em .02em;
  background: rgba(12, 42, 107, .6);
  clip-path: polygon(1% 18%, 12% 14%, 25% 16%, 38% 11%, 52% 14%, 66% 10%,
    80% 12%, 93% 8%, 99% 30%, 100% 88%, 86% 92%, 71% 89%, 57% 94%, 43% 90%,
    28% 95%, 14% 91%, 0% 94%, 2% 58%);
  transform: rotate(-1.2deg) scaleX(var(--wipe, 1));
  transform-origin: left center;
  z-index: -1;
}
.js .mark[data-wipe]::before { --wipe: 0; transition: transform .7s var(--ease) var(--wipe-delay, .45s); }
.js .mark[data-wipe].in::before { --wipe: 1; }

.tape {
  display: inline-block;
  background: var(--tape);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px 5px;
  clip-path: polygon(0 8%, 4% 0, 9% 10%, 15% 2%, 100% 0, 97% 50%, 100% 100%,
    92% 92%, 86% 100%, 0 100%, 3% 50%);
  transform: rotate(-1.5deg);
}

.capsule {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(16px, 1.2vw + 10px, 20px);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  transition: transform .2s var(--pop);
}
.capsule::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--slab);
  border: 3.5px solid #fff;
  filter: url(#rough);
  z-index: -1;
  transition: transform .2s var(--pop);
}
.capsule:hover { transform: translateY(-3px) rotate(-1.5deg); }
.capsule:hover::before { transform: scale(1.03); }
.capsule:active { transform: scale(.95); }
.bubble {
  position: relative;
  isolation: isolate;
  display: inline-block;
  color: var(--ink);
  font-family: var(--hand);
  font-size: clamp(18px, 1.2vw + 12px, 22px);
  line-height: 1.3;
  padding: 14px 22px 16px;
}
.bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  border: 3.5px solid var(--ink);
  border-radius: 22px;
  filter: url(#rough);
  z-index: -1;
}
.bubble::after {
  content: "";
  position: absolute;
  left: var(--tail, 50%);
  bottom: -15px;
  width: 26px;
  height: 18px;
  margin-left: -13px;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 3px 0 var(--ink));
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--hand);
  font-size: clamp(26px, 2vw + 16px, 32px);
  line-height: 1;
}
.brand img { width: clamp(38px, 3vw + 24px, 48px); transition: transform .3s var(--pop); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); font-weight: 600; font-size: 17px; }
.nav-links a { text-decoration: none; opacity: .9; }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }

h1, h2, h3 { font-family: var(--hand); font-weight: 400; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(44px, 6.6vw + 10px, 92px); letter-spacing: .01em; }
h2 { font-size: clamp(34px, 3.6vw + 16px, 56px); }
h3 { font-size: clamp(24px, 1vw + 18px, 28px); }
.lede { font-size: clamp(18px, 1vw + 13px, 23px); max-width: 30ch; margin: 18px 0 30px; }

.drop .ch { display: inline-block; white-space: nowrap; }
.js .drop .ch { opacity: 0; transform: translateY(-.55em) rotate(var(--r, -8deg)); }
.js .drop.in .ch {
  opacity: 1;
  transform: none;
  transition: opacity .25s ease-out, transform .55s var(--pop);
  transition-delay: calc(var(--i) * 110ms);
}

.js .phrases .ph { opacity: 0; filter: blur(4px); display: inline; transition: none; }
.js .phrases.in .ph {
  opacity: 1;
  filter: none;
  transition: opacity .5s ease-out, filter .5s ease-out;
  transition-delay: calc(var(--d, 0s) + var(--n) * .32s);
}
.js .drop.in .ch { transition-delay: calc(var(--dd, 0s) + var(--i) * 110ms); }

.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal="pop"] { transform: scale(.85) rotate(-3deg); }
.js [data-reveal="rise"] { transform: translateY(90px); }
.js [data-reveal="rise"].in { transition: opacity .6s ease-out, transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-36px) rotate(-2deg); }
.js [data-reveal="right"] { transform: translateX(36px) rotate(2deg); }
.js [data-reveal].in {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease-out, transform .7s var(--pop);
  transition-delay: var(--d, 0s);
}

.hero { text-align: center; padding: clamp(24px, 4vw, 50px) 0 0; }
.hero h1 { font-size: clamp(38px, 11vw, 112px); line-height: 1.04; white-space: nowrap; }
.hero .lede { margin: 24px auto 30px; max-width: 34ch; font-size: clamp(18px, 1vw + 14px, 23px); }
.hero .cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero .soon { font-size: 15px; opacity: .8; }
.hero-apps { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }
.hero-apps .app { --size: 56px; animation: drift 7s ease-in-out infinite; }
.hero-apps .a1 { rotate: -8deg; }
.hero-apps .a2 { rotate: 6deg; animation-delay: -2s; }
.hero-apps .a3 { rotate: -5deg; animation-delay: -4s; }
.hero-apps .a4 { rotate: 8deg; animation-delay: -1s; }

@media (min-width: 980px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 20px;
    text-align: left;
    min-height: calc(100vh - 90px);
    padding: 0;
  }
  .hero h1 { font-size: clamp(54px, 5.4vw, 92px); }
  .hero .lede { margin: 22px 0 30px; }
  .hero .cta { align-items: flex-start; }
  .hero-apps { justify-content: flex-start; margin-top: 34px; }
  .hero .fan {
    margin-block: 0;
    height: min(660px, calc(100vh - 110px));
    --off: clamp(120px, 11vw, 165px);
  }
  .hero .fan-phone.main { width: clamp(200px, 17vw, 255px); }
  .hero .fan-phone.side { width: clamp(165px, 14vw, 212px); }
}

.fan {
  position: relative;
  height: calc(clamp(420px, 50vw, 660px) + 80px);
  margin-top: clamp(10px, 3vw, 30px);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
  --off: clamp(150px, 17vw, 230px);
  margin-inline: -220px;
  pointer-events: none;
}
.fan-phone { position: absolute; top: 80px; left: 50%; }
.fan-phone img { width: 100%; }
.fan-phone .screen,
.fan-phone.side {
  border-radius: 42px;
  border: 6px solid var(--ink);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(8, 24, 70, .35), 10px 12px 0 var(--shade);
}
.fan-phone.main { z-index: 2; width: clamp(210px, 22vw, 300px); transform: translateX(-50%); }
.fan-phone.side { z-index: 1; top: calc(80px + 9%); width: clamp(170px, 18vw, 250px); }
.fan-phone.left { transform: translateX(calc(-50% - var(--off) - var(--open, 0) * 40px)) rotate(calc(-7deg - var(--open, 0) * 3deg)); }
.fan-phone.right { transform: translateX(calc(-50% + var(--off) + var(--open, 0) * 40px)) rotate(calc(7deg + var(--open, 0) * 3deg)); }
.fan-phone.main .bubble {
  position: absolute;
  z-index: 3;
  top: -62px;
  left: 50%;
  white-space: nowrap;
  --tail: 70%;
  transform: translateX(-78%) rotate(-3deg);
}
.js .fan .bubble { opacity: 0; transform: translateX(-78%) scale(.6) rotate(-8deg); }
.js .fan.in .bubble { opacity: 1; transform: translateX(-78%) rotate(-3deg); transition: opacity .3s .9s, transform .55s var(--pop) .9s; }

section { padding: clamp(60px, 8vw, 110px) 0; }
.section-title { text-align: center; font-size: clamp(40px, 5vw + 14px, 84px); margin-bottom: clamp(20px, 4vw, 50px); }

.lore { padding-top: clamp(70px, 9vw, 130px); }
.lore-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  max-width: 940px;
  margin: 0 auto;
}
.bro-cut { display: block; width: clamp(220px, 23vw, 300px); }
.bro-cut img { width: 100%; }
.js .bro-cut[data-reveal="rise"]:not(.in) { transform: translateY(60px) scale(.94); }
.lore-text h2 { font-size: clamp(44px, 4vw + 18px, 76px); margin-bottom: 16px; }
.lore-text p { font-size: clamp(18px, 1vw + 13px, 22px); max-width: 30ch; margin: 0 0 12px; }

.how { padding-top: clamp(70px, 9vw, 130px); }
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 100px);
  padding: clamp(24px, 4vw, 50px) 0;
}
.row.flip .row-text { order: 2; }
.row-text .num {
  display: block;
  font-family: var(--hand);
  font-size: clamp(64px, 6vw + 20px, 112px);
  line-height: .9;
  color: var(--tape);
}
.row-text h3 { font-size: clamp(34px, 3vw + 16px, 60px); margin: 8px 0 14px; }
.row-text p { font-size: clamp(18px, 1vw + 13px, 23px); max-width: 26ch; margin: 0; }
.row-art { display: grid; place-items: center; }
.device {
  width: clamp(230px, 24vw, 320px);
  border-radius: 44px;
  border: 6px solid var(--ink);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(8, 24, 70, .35), 10px 12px 0 var(--shade);
  transform: translateY(var(--py, 0px)) rotate(var(--rot, 2deg));
}
.row.flip .device { --rot: -2deg; }

.app {
  position: relative;
  display: inline-block;
  width: var(--size, 76px);
  flex: none;
}
.app img {
  width: 100%;
  border-radius: 24%;
  border: 3px solid #fff;
  box-shadow: 4px 6px 0 var(--shade), 0 12px 24px rgba(8, 24, 70, .25);
}
.app .lock {
  position: absolute;
  right: -9px;
  bottom: -9px;
  width: calc(var(--size, 76px) * .42);
  height: calc(var(--size, 76px) * .42);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--slab);
  color: #fff;
  border: 3px solid #fff;
}
.app .lock svg { width: 52%; height: 52%; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
  box-shadow: 3px 4px 0 var(--shade);
}
.tag.big { font-family: var(--hand); font-weight: 400; font-size: clamp(22px, 1.4vw + 14px, 30px); padding: 6px 18px 8px; }
.row-art { position: relative; }
.row-art .tag { position: absolute; z-index: 2; animation: drift 6s ease-in-out infinite; }
.row-art .t1 { left: calc(50% - clamp(170px, 17vw, 230px) - 40px); top: 18%; rotate: -8deg; }
.row-art .t2 { right: calc(50% - clamp(170px, 17vw, 230px) - 40px); top: 46%; rotate: 7deg; animation-delay: -2s; }
.row-art .t3 { left: calc(50% - clamp(170px, 17vw, 230px) - 10px); bottom: 14%; rotate: 5deg; animation-delay: -4s; }
.row-art .tag.big.t1 { left: calc(50% - clamp(170px, 17vw, 230px) - 110px); top: 8%; }
.row-art .tag.big.t2 { right: calc(50% - clamp(170px, 17vw, 230px) - 70px); top: 52%; }
.locked { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.locked .app { position: absolute; --size: clamp(52px, 4.6vw, 70px); animation: drift 6s ease-in-out infinite; }
.locked .app:nth-child(1) { left: calc(50% - clamp(150px, 16vw, 220px) - 40px); top: 14%; rotate: -10deg; }
.locked .app:nth-child(2) { right: calc(50% - clamp(150px, 16vw, 220px) - 40px); top: 26%; rotate: 9deg; animation-delay: -1.5s; }
.locked .app:nth-child(3) { left: calc(50% - clamp(150px, 16vw, 220px) - 20px); top: 58%; rotate: 7deg; animation-delay: -3s; }
.locked .app:nth-child(4) { right: calc(50% - clamp(150px, 16vw, 220px) - 20px); top: 70%; rotate: -6deg; animation-delay: -4.5s; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 26px); max-width: 920px; margin: 0 auto; }
.cards .tile { display: flex; flex-direction: column; }
.cards .tile-art { width: 84px; }
.tile-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; min-height: 64px; align-items: center; }
.tile-row .tag { box-shadow: 2px 3px 0 var(--tape); }
.apps-row { gap: 14px; }
.apps-row .app { --size: 52px; }
.apps-row .app img { box-shadow: 2px 3px 0 var(--tape); border-color: var(--ink); }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.tile {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border: 3.5px solid var(--ink);
  border-radius: 30px;
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: 8px 10px 0 var(--shade);
  transition: transform .35s var(--pop);
}
.tile:hover { transform: translateY(-6px) rotate(-.5deg); }
.tile h3 { font-size: clamp(26px, 1.4vw + 18px, 34px); margin: 0 0 6px; }
.tile p { margin: 0; }
.tile-art { width: 96px; margin-bottom: 16px; transform: rotate(-6deg); transition: transform .35s var(--pop); }
.tile:hover .tile-art { transform: rotate(4deg) scale(1.06); }
.tile.big { grid-row: span 2; display: flex; flex-direction: column; gap: 26px; padding-bottom: 0; }
.tile-shot {
  width: 68%;
  align-self: center;
  margin-bottom: -70px;
  border-radius: 30px;
  border: 4px solid var(--ink);
  overflow: hidden;
  rotate: -3deg;
  transition: transform .4s var(--pop);
}
.tile.big:hover .tile-shot { transform: translateY(-10px); }
.tile.wide { grid-column: span 2; display: flex; align-items: center; gap: 24px; }
.tile.wide .tile-art { margin: 0; flex: none; }

.doc { max-width: 820px; margin: 10px auto 70px; }
.doc h1 { font-size: clamp(42px, 5vw + 18px, 66px); text-align: center; margin-bottom: 8px; }
.doc .updated { text-align: center; opacity: .9; margin: 0 0 34px; }
.doc .paper { padding: clamp(24px, 4vw, 38px) clamp(20px, 5vw, 48px); }
.doc .paper + .paper { margin-top: 30px; }
.doc h2 { font-size: clamp(26px, 1.6vw + 18px, 32px); margin: 30px 0 8px; }
.doc h2:first-child { margin-top: 0; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--chip); font-weight: 600; }
.faq details { border-top: 2.5px dashed rgba(12, 42, 107, .25); padding: 14px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { font-weight: 600; font-size: clamp(17px, .4vw + 15px, 19px); cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; font-family: var(--hand); font-size: 26px; line-height: 1; color: var(--chip); transition: transform .25s var(--pop); flex: none; }
.faq details[open] summary::before { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0 26px; }
.faq details[open] p { animation: msgin .35s var(--ease); }
.contact { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; }
.contact img { width: 110px; transform: rotate(-8deg); animation: bob 3.4s ease-in-out infinite; }
.contact .email { font-size: clamp(17px, 1vw + 14px, 22px); font-weight: 700; overflow-wrap: anywhere; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 40px;
  padding: 34px 0 46px;
  border-top: 3px solid rgba(255, 255, 255, .25);
  font-size: 15px;
}
footer nav { display: flex; gap: 22px; font-weight: 600; }
footer nav a { text-decoration: none; }
footer .brand { font-size: 26px; }
footer .brand img { width: 38px; }
footer .legal { opacity: .8; }

@keyframes bob {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -10px; rotate: 3deg; }
}
@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
@keyframes msgin {
  from { opacity: 0; transform: translateY(14px) scale(.9); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .drop .ch { opacity: 1 !important; transform: none !important; }
  .js .phrases .ph { opacity: 1 !important; filter: none !important; }
  .js .fan .bubble { opacity: 1; transform: translateX(-78%) rotate(-3deg); }
  .js .mark[data-wipe]::before { --wipe: 1; }
}

@media (max-width: 979px) {
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(28px); }
    .row-art .tag { display: none; }
  .locked { position: static; display: flex; justify-content: center; gap: 14px; margin-bottom: 22px; }
  .locked .app, .locked .app:nth-child(n) { position: relative; inset: auto; --size: 48px; rotate: 0deg; animation: none; }
  .row-art { display: flex; flex-direction: column; align-items: center; }
}

@media (min-width: 641px) and (max-width: 979px) {
  .fan { --off: clamp(130px, 22vw, 190px); height: calc(clamp(420px, 62vw, 600px) + 80px); }
  .fan-phone.main { width: clamp(210px, 30vw, 270px); }
  .fan-phone.side { width: clamp(170px, 24vw, 220px); }

  .lore-grid { grid-template-columns: auto 1fr; gap: 40px; }
  .bro-cut { width: clamp(180px, 26vw, 240px); }

  .row { grid-template-columns: 1fr 1fr; gap: 40px; padding: 30px 0; }
  .row-text h3 { font-size: clamp(32px, 4vw + 8px, 44px); }
  .row-text .num { font-size: clamp(56px, 7vw, 80px); }
  .device { width: clamp(200px, 28vw, 250px); border-radius: 36px; }

  .bento { grid-template-columns: 1fr 1fr; }
  .tile.big { grid-column: span 2; grid-row: auto; flex-direction: row; align-items: flex-start; }
  .tile.big > div { flex: 1; padding-bottom: 30px; }
  .tile-shot { width: 36%; height: 300px; margin: 6px 0 -40px; }
  .tile-shot img { height: 100%; object-fit: cover; object-position: top; }
}

@media (max-width: 640px) {
  :root { --page: calc(100% - 44px); }
  body { font-size: 17px; }
  section { padding: 56px 0; }
  .section-title { font-size: 44px; text-align: left; margin-bottom: 22px; }
  .nav-links { font-size: 16px; gap: 16px; }

    .hero { text-align: left; padding-top: 18px; }
  .hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero .lede { margin: 18px 0 26px; font-size: 19px; line-height: 1.5; }
  .hero .cta { align-items: stretch; }
  .hero .capsule { width: 100%; padding-inline: 18px; }
  .hero .soon { text-align: center; }
  .hero-apps, .fan-phone.side { display: none; }
  .fan { height: 440px; margin-top: 30px; }
  .fan-phone.main { width: 228px; }
  .fan-phone.main .bubble { font-size: 17px; padding: 11px 16px 13px; top: -56px; }

    .lore { padding-top: 40px; }
  .lore-grid { grid-template-columns: 1fr; gap: 6px; justify-items: start; }
  .bro-cut { width: 150px; margin-left: -10px; }
  .lore-text h2 { font-size: 46px; margin-bottom: 12px; }
  .lore-text p { margin: 0 0 10px; font-size: 18px; max-width: none; }

    .how { padding-top: 40px; }
  .rows { display: grid; gap: 14px; }
  .row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    border: 3.5px solid var(--ink);
    border-radius: 24px;
    box-shadow: 5px 6px 0 var(--shade);
  }
  .row-art { order: 2; padding: 0 20px 20px; align-items: flex-start; }
  .row-art .device { display: none; }
  .row-text, .row.flip .row-text { order: 1; padding: 18px 20px 20px; }
  .row-art:has(.locked) { margin-top: -6px; }
  .row-art:not(:has(.locked)) { display: none; }
  .row-text .num { display: inline; font-size: 30px; color: var(--chip); margin-right: 8px; }
  .row-text h3 { display: inline; font-size: 28px; }
  .row-text p { font-size: 16px; margin: 8px 0 0; max-width: none; }
  .locked { position: static; justify-content: flex-start; gap: 14px; margin: 0; }
  .locked .app, .locked .app:nth-child(n) { --size: 42px; }
  .locked .app img { border-color: var(--ink); box-shadow: 2px 3px 0 var(--tape); }
  .js .row-art[data-reveal], .js .row-text[data-reveal] { opacity: 1; transform: none; }

    .cards { grid-template-columns: 1fr; gap: 18px; max-width: none; }
  .cards .tile { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; color: inherit; }
  .cards .tile::before {
    content: "✓";
    grid-row: span 2;
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--chip);
    font-weight: 700;
  }
  .cards .tile-art, .cards .tile-row { display: none; }
  .cards .tile h3 { font-size: 24px; margin: 2px 0; }
  .cards .tile p { font-size: 16px; opacity: .92; }
  .cards .tile:hover { transform: none; }

    .also { display: none; }

  footer { flex-direction: column; gap: 10px; margin-top: 10px; text-align: center; }

    .doc { margin-bottom: 40px; }
  .doc h1, .doc .updated { text-align: left; }
  .doc h1 { font-size: clamp(36px, 11vw, 48px); white-space: nowrap; }
  .doc .paper { padding: 22px 20px 24px; }
  .contact { grid-template-columns: 1fr; gap: 10px; justify-items: start; }
  .contact img { width: 60px; margin: 0; }
  .contact h2 { font-size: 26px; }
}

@media (max-width: 380px) {
  :root { --page: calc(100% - 36px); }
  .hero .lede { font-size: 18px; }
  .capsule { font-size: 14px; letter-spacing: .03em; min-height: 54px; white-space: nowrap; }
  .fan { height: 400px; }
  .fan-phone.main { width: 200px; }
  .fan-phone.main .bubble { font-size: 15px; top: -50px; transform: translateX(-62%) rotate(-3deg); }
  .js .fan.in .bubble { transform: translateX(-62%) rotate(-3deg); }
  .section-title, .lore-text h2 { font-size: 40px; }
  .nav-links { gap: 12px; font-size: 15px; }
}
