.setup {
  padding-top: clamp(3.5rem, 8vw, 7.5rem);
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.setup-grid article,
.course-preview {
  padding: 1.25rem 1.5rem;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--cream);
  box-shadow: 5px 6px 0 var(--ink);
}

.setup-grid .combined,
.course-preview {
  background: var(--yellow);
}

.setup h3 {
  margin: 0;
}

.setup p {
  margin: .5rem 0 0;
}

@media (max-width: 800px) {
  .setup-grid {
    grid-template-columns: 1fr;
  }
}
.hero-lock {
  position: relative;
  width: 72px;
  height: 88px;
  margin: 0 0 1.25rem .4rem;
}

.hero-lock i {
  position: absolute;
  left: 15px;
  top: 0;
  width: 46px;
  height: 56px;
  border: 9px solid var(--ink);
  border-bottom: 0;
  border-radius: 25px 25px 0 0;
}

.hero-lock i::after {
  content: "";
  position: absolute;
  left: -10px;
  bottom: 0;
  width: 11px;
  height: 17px;
  background: var(--paper);
}

.hero-lock b {
  position: absolute;
  inset: 43px 0 0;
  border: 4px solid var(--ink);
  border-radius: 15px;
  background: #ff7958;
  box-shadow: 5px 6px var(--ink);
}

.hero-lock b::before {
  content: "";
  position: absolute;
  left: calc(50% - 6px);
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
}

.hero-lock b::after {
  content: "";
  position: absolute;
  left: calc(50% - 3px);
  top: 16px;
  width: 6px;
  height: 12px;
  border-radius: 3px;
  background: var(--ink);
}

.hero-tagline {
  font-weight: 800;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-lock {
    animation: lock-pop 2950ms ease-in-out 300ms infinite both;
  }

  .hero-lock i {
    transform-origin: right bottom;
    animation: lock-open 2950ms ease-in-out 300ms infinite both;
  }
}

@keyframes lock-pop {
  0%, 32.2%, 100% { transform: none; }
  11.3% { transform: translateY(-5px) rotate(-6deg); }
  20.9% { transform: translateY(-2px) rotate(3deg); }
}

@keyframes lock-open {
  0%, 32.2%, 100% { transform: none; }
  14.5%, 20.9% { transform: translateY(-5px) rotate(10deg); }
}

.statement mark {
  color: var(--ink);
  background: var(--yellow);
  padding-inline: .12em;
}
.paused-apps {
  display: flex;
  gap: 9px;
  margin-top: 10px;
}

.screen .locked {
  margin-top: 24px;
  align-items: flex-start;
}

.locked > span {
  flex-shrink: 0;
}

.app-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: white;
  font: bold 23px/1 Arial, sans-serif;
}

.facebook { background: #0866ff; }
.threads { background: #101010; }
.instagram { background: linear-gradient(35deg, #f9a829, #e02a76 55%, #833ab4); }

.instagram i {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-radius: 5px;
}

.instagram i::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1.5px solid white;
  border-radius: 50%;
}

.instagram i::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: white;
}
.pokemon-go {
  background: #fff0cf;
  border: 2px solid var(--ink);
  order: 1;
}

.pokemon-go i {
  position: relative;
  width: 19px;
  height: 19px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: linear-gradient(#ed534c 43%, var(--ink) 43% 57%, white 57%);
}

.pokemon-go i::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: white;
}
.audience-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .phone-wrap .phone {
    transition: transform 280ms ease-out, box-shadow 280ms ease-out;
  }

  .phone-wrap .phone:hover {
    transform: translateY(-14px) rotate(-2deg) scale(1.06);
    box-shadow: 20px 27px 0 var(--green);
  }

  .audience-grid > article,
  .setup-grid > article,
  .step-grid > article,
  .course-preview {
    transition: transform 200ms ease-out, box-shadow 200ms ease-out;
  }

  .setup-grid > article:hover,
  .step-grid > article:hover,
  .course-preview:hover {
    transform: translateY(-4px) scale(1.012);
    box-shadow: 8px 10px 0 var(--green);
  }
}
.photo-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.photo-story figure { margin: 0; }
.photo-story img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 6px 7px var(--ink);
}

.photo-story figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .75rem;
}
.photo-story h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.15; }

@media (max-width: 800px) {
  .photo-story { grid-template-columns: 1fr; padding-inline: 20px; }
}
.photo-carousel img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.photo-controls:not([hidden]) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .75rem;
}

.photo-controls button {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 99px;
  padding: .45rem .85rem;
  cursor: pointer;
}
.lock-marquee {
  max-width: 42rem;
  margin: 2rem auto 0;
  overflow: hidden;
}

.lock-marquee-track {
  display: flex;
  width: max-content;
}

.lock-marquee-group {
  flex: none;
  display: grid;
  grid-template-columns: repeat(8, 5.25rem);
  justify-items: center;
  padding-block: .75rem 1rem;
}

.lock-marquee-item {
  position: relative;
  padding: .5rem;
}

.lock-marquee .app-icon {
  scale: 2;
  margin: 14px;
  filter: saturate(.7);
}

.lock-marquee .tiktok { background: #17171b; text-shadow: -1px 1px #24dbd1, 1px -1px #ff4568; }
.lock-marquee .discord {
  background: radial-gradient(circle at 40% 52%, #5865f2 1px, transparent 1.5px),
    radial-gradient(circle at 60% 52%, #5865f2 1px, transparent 1.5px),
    radial-gradient(ellipse 9px 6px at center, white 98%, transparent),
    #5865f2;
  font-size: 0;
}
.lock-marquee .roblox { background: #22242b; font-size: 0; }
.lock-marquee .roblox::after {
  content: "";
  width: 9px;
  height: 9px;
  border: 4px solid white;
  transform: rotate(14deg);
}
.lock-marquee .minecraft { background: linear-gradient(#65a143 42%, #825b36 42%); }
.lock-marquee .minecraft i {
  width: 14px;
  height: 14px;
  background: #244827;
  clip-path: polygon(0 0, 30% 0, 30% 30%, 70% 30%, 70% 0, 100% 0, 100% 30%, 70% 30%, 70% 100%, 50% 78%, 30% 100%, 30% 30%, 0 30%);
}

@media (prefers-reduced-motion: reduce) {
  .lock-marquee-track { width: 100%; }
  .lock-marquee-group { flex: 1; grid-template-columns: repeat(auto-fit, minmax(5.25rem, 1fr)); }
  .lock-marquee-group[aria-hidden="true"] { display: none; }
}

.app-lock-badge {
  position: absolute;
  right: .2rem;
  bottom: .3rem;
  width: 1.8rem;
  height: 1.8rem;
  border: 2px solid var(--ink);
  border-radius: .55rem;
  background: var(--coral);
  box-shadow: 2px 2px var(--ink);
}

.app-lock-badge::before,
.app-lock-badge::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.app-lock-badge::before {
  top: 4px;
  width: 9px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.app-lock-badge::after {
  bottom: 4px;
  width: 13px;
  height: 10px;
  border-radius: 3px;
  background: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .lock-marquee-track { animation: locked-app-scroll 12s linear infinite; }
  .lock-marquee:hover .lock-marquee-track { animation-play-state: paused; }
}

@keyframes locked-app-scroll {
  to { transform: translateX(-50%); }
}
.step-art {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 13rem);
  min-height: 10rem;
  margin: 1rem auto 0;
}

.mini-panel {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: 5px 6px var(--ink);
  padding: .65rem;
  font-size: .875rem;
}

.app-picker, .pact-list {
  display: grid;
  gap: .4rem;
}

.app-picker > div, .pact-list > div {
  display: flex;
  align-items: center;
  gap: .55rem;
  border-radius: 8px;
  padding: .3rem .5rem;
  background: var(--paper);
}

.app-picker > div { justify-content: space-between; }
.app-picker b, .pact-list b {
  display: grid;
  place-items: center;
  flex: 0 0 1.2rem;
  min-height: 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 5px;
}

.step-art .app-lock-badge { right: -.35rem; bottom: .2rem; }
.pact-list .mini-progress { padding: 0; height: .5rem; overflow: hidden; }
.mini-progress i { width: 50%; height: 100%; background: var(--green); }
.unlock-result { text-align: center; background: var(--yellow); }
.unlock-result .hero-lock { margin: 0 auto; scale: .65; animation: none; }
.unlock-result .hero-lock i { animation: none; transform: rotate(12deg); }
.unlock-result strong { display: block; }
.share-panel {
  max-width: 46rem;
  margin: 0 auto 4rem;
  padding: 0 1.25rem;
  text-align: center;
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.share-links > a,
.share-links summary {
  display: block;
  padding: .5rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.share-links details[open] { display: contents; }
.share-links summary::-webkit-details-marker { display: none; }
.instagram-share { flex: 0 0 100%; }
.instagram-share p { margin: .25rem 0; }
.instagram-share input {
  width: min(100%, 17rem);
  padding: .5rem;
  margin: .4rem .35rem;
  font: inherit;
}
#partner h2 {
  max-width: 100%;
  font-size: clamp(2rem, 5vw, 4rem);
  text-wrap: balance;
}

#partner .setup-grid article:nth-child(2) {
  background: var(--yellow);
}

.partner-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.partner-examples li {
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
}

.partner-examples button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  width: 100%;
  min-height: 100%;
  padding: .85rem 1rem;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
}

.partner-examples button:hover { background: #f3f5ff; }
.partner-dialog {
  width: min(calc(100% - 2rem), 36rem);
  max-height: calc(100% - 2rem);
  padding: clamp(1.15rem, 5vw, 2rem);
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 7px 8px var(--ink);
}
.partner-dialog::backdrop { background: #1f29489c; }
.partner-dialog form { text-align: end; }
.partner-dialog button {
  padding: .35rem .85rem;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
}
.partner-dialog h3 { margin: .65rem 0 1.2rem; font-size: 1.5rem; }
.partner-dialog h4 { margin: 1rem 0 .3rem; color: var(--green); }
.partner-dialog p { margin: 0; }

.partner-examples strong {
  display: inline-block;
  margin: 0 .35rem .2rem 0;
  padding: .1rem .55rem;
  border-radius: 7px;
  background: var(--yellow);
}

.partner-examples li:nth-child(2) strong { background: #ffd9cd; }
.partner-examples li:nth-child(3) strong { background: #dae2ff; }
.partner-examples li:nth-child(4) strong { background: #dce7d5; }

@media (max-width: 600px) {
  .partner-examples { grid-template-columns: 1fr; }
}
#main > .steps {
  padding-block: clamp(3rem, 7vw, 5.75rem);
}

#main > .hero {
  padding-block: clamp(2.5rem, 6vw, 4.75rem);
}

#main > .closing,
#main > .promise {
  padding-block: clamp(3rem, 7vw, 5.75rem);
}

.english-showcase {
  background: #fff5ce;
  border-radius: clamp(0px, 2vw, 24px);
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.english-showcase h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
.english-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.english-grid article,
.english-reading {
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 17px;
  box-shadow: 4px 5px var(--ink);
}

.english-grid h3,
.english-reading h3 { margin: 0; }
.english-grid p { margin: .6rem 0 0; }
.english-word { font-size: 1.7rem; font-weight: 800; }
.english-word small { font-size: .85rem; color: var(--muted); }
.english-grid mark { color: var(--ink); background: var(--yellow); }
.english-options { display: flex; flex-wrap: wrap; gap: .4rem; }
.english-options span { padding: .1rem .6rem; border: 1px solid var(--ink); border-radius: 7px; }
.english-options span:first-child { background: #def0d9; font-weight: 700; }
.english-reading { margin-top: 1.25rem; background: #eef1ff; }
.reading-status {
  display: inline-block;
  margin-inline-start: .35rem;
  border-radius: 99px;
  padding: .15rem .55rem;
  background: var(--yellow);
  font-size: .85rem;
}
.english-reading ul { margin-bottom: 0; padding-inline-start: 1.2rem; }
.english-reading li + li { margin-top: .4rem; }

@media (max-width: 640px) {
  .english-grid { grid-template-columns: 1fr; }
}
.touch-pressed {
  scale: .975;
  translate: 0 1px;
}
