/* Padi landing page. One motif: Padi's round body, at every scale. Paper and soot, with Danfo yellow kept for Padi. */

@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ground: #f7f6f2;
  --tone: #edebe5;
  --tone-2: #e3e0d8;
  --ink: #171614;
  --muted: #6b6861;
  --on-ink: #f7f6f2;
  --on-ink-muted: #b4b1a9;
  --accent: #f5c518;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* five steps, no more */
  --t1: clamp(46px, 6.6vw, 104px);
  --t2: clamp(30px, 3.6vw, 56px);
  --t3: clamp(20px, 1.6vw, 24px);
  --t4: 18px;
  --t5: 15px;

  --m: clamp(16px, 2.4vw, 32px); /* the page's one pair of margins */
  --gap: clamp(96px, 10vw, 160px); /* between sections */
  --ease: cubic-bezier(0.2, 0.9, 0.25, 1);
  --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t4);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button,
input {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2.5px solid var(--ink);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- the bar ---------- */

.bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--m) 18px;
  font-size: var(--t5);
}
.wordmark {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  text-decoration: none;
  line-height: 1;
}
.bar nav {
  display: flex;
  gap: 28px;
}
.bar nav a,
.bar-action {
  text-decoration: none;
  font-weight: 500;
}
.bar nav a:hover,
.bar-action:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.bar-action {
  margin-left: auto;
}

/* ---------- buttons: round, like Padi ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
  font-size: var(--t4);
  text-decoration: none;
  transition: transform 0.18s var(--ease), background 0.18s;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: scale(0.97);
}
.text-link {
  font-weight: 600;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 120px var(--m) 80px;
  overflow: hidden;
}
.hero-padi {
  position: absolute;
  width: min(118vh, 92vw);
  right: calc(min(118vh, 92vw) * -0.3);
  top: 50%;
  translate: 0 -50%;
  user-select: none;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translateY(-14px);
  }
}
.hero-copy {
  position: relative;
  max-width: 60%;
}
.rebus {
  display: block;
  font-size: var(--t1);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.rebus-name {
  display: block;
}
.rebus-line {
  display: grid;
  height: 1.18em;
  overflow: hidden;
}
.rebus-item {
  grid-area: 1 / 1;
  will-change: transform, opacity;
  display: inline-flex;
  align-items: center;
  gap: 0.12em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.9em);
  transition: transform 0.6s var(--ease), opacity 0.45s;
}
.rebus-item img {
  width: 1.15em;
  height: 1.15em;
  transform: scale(0.4) rotate(-12deg);
  transition: transform 0.7s var(--spring) 0.08s;
}
.rebus-item.is-on {
  opacity: 1;
  transform: none;
}
.rebus-item.is-on img {
  transform: none;
}
.rebus-item.is-off {
  opacity: 0;
  transform: translateY(-0.9em);
  transition-duration: 0.3s;
}
.lead {
  margin-top: 36px;
  max-width: 34ch;
  font-size: var(--t3);
  line-height: 1.45;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* ---------- try an errand ---------- */

.try {
  position: relative;
  overflow-x: clip;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  padding: var(--gap) var(--m) 0;
}
.try-list {
  grid-column: 1 / span 5;
  grid-row: 1;
  align-self: center;
  position: relative;
  z-index: 2;
}
.try-heading,
.try-list button {
  font-size: var(--t2);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.try-heading {
  color: var(--muted);
}
.try-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.try-list button {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.24s;
}
.try-list button::before {
  content: "";
  width: 0.36em;
  height: 0.36em;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(0.6);
  transition: transform 0.3s var(--spring), opacity 0.2s;
}
.try-list button:hover {
  color: var(--ink);
}
.try-list button[aria-selected="true"] {
  color: var(--ink);
}
.try-list button[aria-selected="true"]::before {
  opacity: 1;
  transform: scale(1);
}
.try-stage {
  grid-column: 6 / span 7;
  grid-row: 1;
  position: relative;
  display: grid;
  place-items: center;
  height: min(88svh, 800px);
}
.disc {
  position: absolute;
  width: min(64vh, 52vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  top: 54%;
  left: 50%;
  translate: -50% -50%;
}
.try-fact {
  grid-column: 9 / span 4;
  grid-row: 1;
  align-self: end;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
  font-size: var(--t5);
  max-width: 30ch;
  justify-self: end;
}

/* the phone-sized slice of the app: its own rules inside (data-ui) */
.phone {
  position: relative;
  width: 360px;
  height: min(640px, 82svh);
  border-radius: 36px;
  background: #f7f6f2;
  box-shadow: 0 30px 60px -30px rgba(23, 22, 20, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-size: 15.5px;
  line-height: 1.32;
  letter-spacing: -0.01em;
}
.ph-head {
  display: grid;
  justify-items: center;
  padding: 14px 0 6px;
}
.ph-head img {
  width: 54px;
  height: 54px;
}
.ph-pill {
  margin-top: -10px;
  display: grid;
  justify-items: center;
  padding: 5px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.06); /* taste-skill-ignore: inside a data-ui app fragment */
  font-size: 13px;
}
.ph-live {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8a877f;
  font-size: 11.5px;
}
.ph-live[hidden] {
  display: none;
}
.ph-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}
.ph-live em {
  font-style: normal;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
.ph-thread {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  scrollbar-width: none;
}
.ph-thread::-webkit-scrollbar {
  display: none;
}
.ph-thread > :first-child {
  margin-top: auto;
}
.ph-thread > * {
  flex-shrink: 0; /* a full thread scrolls; it never squashes a card */
}
.b {
  position: relative;
  max-width: 78%;
  padding: 8px 12px 9px;
  border-radius: 17px;
  animation: pop 0.38s var(--ease) both;
}
.b.them {
  align-self: flex-start;
  background: #e9e7e1;
  color: #171614;
}
.b.me {
  align-self: flex-end;
  background: #171614;
  color: #f7f6f2;
  margin-top: 8px;
}
.b.them + .b.me,
.b.me + .b.them,
.ph-card + .b,
.b + .ph-card {
  margin-top: 8px;
}
.b.tail.them {
  border-bottom-left-radius: 5px;
}
.b.tail.me {
  border-bottom-right-radius: 5px;
}
.b.typing {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
}
.b.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a9a69e;
  animation: dots 1.2s ease-in-out infinite;
}
.b.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.b.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dots {
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
  0%,
  60%,
  100% {
    opacity: 0.5;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
}
.ph-card {
  align-self: flex-start;
  width: 86%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08); /* taste-skill-ignore: inside a data-ui app fragment */
  animation: pop 0.42s var(--ease) both;
  overflow: hidden;
}
.ph-card .who {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 11px 12px 0;
}
.ph-card .av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e9e7e1;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #6b6861;
}
.ph-card .who b {
  display: block;
  font-size: 13.5px;
}
.ph-card .who span {
  font-size: 11.5px;
  color: #6b6861;
}
.ph-card .price {
  padding: 8px 12px 0;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.03em;
}
.ph-card .what {
  padding: 0 12px 9px;
  font-size: 12.5px;
  color: #6b6861;
}
.ph-card .rows {
  padding: 8px 12px;
  background: #f7f6f2;
  display: grid;
  gap: 4px;
  font-size: 12.5px;
}
.ph-card .rows div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.ph-card .rows em {
  font-style: normal;
  color: #6b6861;
}
.ph-card .rows .clash {
  color: #b5543c;
}
.ph-card .ask {
  padding: 12px 12px 4px;
  font-weight: 600;
  font-size: 14px;
}
.ph-card .ask + p {
  padding: 0 12px 10px;
  font-size: 12.5px;
  color: #6b6861;
}
.ph-replies {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  padding: 8px 12px 14px;
  min-height: 62px;
}
.chip {
  border: 0;
  border-radius: 999px;
  padding: 10px 15px;
  background: #171614;
  color: #f7f6f2;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  animation: pop 0.35s var(--ease) both;
  transition: transform 0.15s var(--ease);
}
.chip.quiet {
  background: #e9e7e1;
  color: #171614;
}
.chip:hover {
  transform: translateY(-1px);
}
.chip:active {
  transform: scale(0.96);
}

/* ---------- what Padi can do: one chapter per capability ---------- */

.can {
  padding: var(--gap) var(--m) 0;
}
.can-title {
  font-size: var(--t2);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: clamp(32px, 4vw, 64px);
}
.chapter {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  align-items: center;
}
.chapter + .chapter {
  margin-top: clamp(40px, 5vw, 80px);
}
@media (min-width: 901px) {
  .chapter .ui {
    scale: 1.14;
  }
}
.chapter-copy {
  grid-column: 1 / span 5;
}
.chapter-art {
  grid-column: 7 / span 6;
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(460px, 44vw, 620px);
}
.chapter.is-flip .chapter-copy {
  grid-column: 8 / span 5;
  grid-row: 1;
}
.chapter.is-flip .chapter-art {
  grid-column: 1 / span 6;
  grid-row: 1;
}
.chapter h3 {
  font-size: var(--t2);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.chapter-copy > p {
  margin-top: 20px;
  font-size: var(--t3);
  line-height: 1.45;
  max-width: 34ch;
}
.facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.facts li {
  position: relative;
  padding-left: 26px;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.disc-sm {
  position: absolute;
  width: min(560px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tone-2);
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}
.obj {
  position: absolute;
  width: clamp(110px, 12vw, 170px);
  top: 6%;
  right: 4%;
  z-index: 0; /* tucked behind the card's corner */
}
.chapter.is-flip .obj {
  right: auto;
  left: 6%;
}

/* the app's own cards, shown whole at true size (data-ui keeps the app's conventions) */
.ui {
  position: relative;
  z-index: 1;
  align-self: center; /* the thread's cards hug the left; these sit in the middle of their disc */
  width: min(340px, 86%);
  font-size: 15.5px;
  line-height: 1.32;
  letter-spacing: -0.01em;
  box-shadow: 0 24px 50px -28px rgba(23, 22, 20, 0.45); /* taste-skill-ignore: inside a data-ui app fragment */
}
.ph-card .acts {
  display: flex;
  gap: 6px;
  padding: 10px 12px 12px;
}
.ph-card .act {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  border-radius: 999px;
  background: #e9e7e1;
  font-size: 13.5px;
  font-weight: 600;
}
.ph-card .act.is-yes {
  background: #171614;
  color: #f7f6f2;
}
.ph-card .draft {
  padding: 10px 12px 0;
  font-size: 13px;
  color: #3d3b37;
}
.ph-card .rows.list div,
.ph-card .rows.day div {
  justify-content: flex-start;
  gap: 10px;
}
.ph-card .rows.list b {
  min-width: 64px;
}
.ph-card .rows.day span {
  min-width: 42px;
  font-weight: 600;
}
.call-card {
  display: grid;
  justify-items: center;
  padding: 28px 22px 26px;
  border-radius: 32px;
  background: #f5c518;
  color: #171614;
  text-align: center;
}
.call-card img {
  width: 96px;
  height: 96px;
}
.call-card b {
  margin-top: -6px;
  font-size: 16px;
}
.call-time {
  margin-top: 10px;
  font-size: 30px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.call-caption {
  margin: 18px 0 22px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  text-align: left;
}
.call-btns {
  display: flex;
  gap: 18px;
}
.cb {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  font-size: 11.5px;
  font-weight: 600;
}
.cb.is-end {
  background: #ff3b30;
  color: #fff;
}

/* ---------- the band ---------- */

.band {
  margin-top: var(--gap);
  padding: clamp(80px, 10vw, 140px) var(--m);
  background: var(--ink);
  color: var(--on-ink);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 8px;
}
.band h2 {
  grid-column: 1 / span 9;
  font-size: var(--t1);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.rules {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rules li {
  position: relative;
  padding-left: 30px;
  max-width: 36ch;
}
.rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
}
.rules b {
  display: block;
  font-size: var(--t3);
  margin-bottom: 4px;
}
.rules li {
  color: var(--on-ink-muted);
}
.rules b {
  color: var(--on-ink);
}

/* ---------- questions: tabbed cards ---------- */

.faq {
  padding: var(--gap) var(--m) 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.faq h2 {
  grid-column: 3 / span 8;
  font-size: var(--t2);
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 64px;
}
.cards {
  grid-column: 3 / span 8;
}
.card {
  --card: var(--tone);
  position: relative;
  padding: 0 0 28px;
  border-radius: 28px;
  background: var(--card);
}
.card:nth-child(3n + 2) {
  --card: var(--tone-2);
}
.card:nth-child(3n) {
  --card: #fff;
}
.card:first-child {
  margin-top: 0;
}
.card h3 {
  font-size: var(--t3);
  font-weight: 600;
}
.card button {
  width: 100%;
  display: block;
  text-align: left;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 18px 28px 0;
  line-height: 1.3;
}
/* the tab is part of the card's shape, stepping right card by card */
.tab {
  position: absolute;
  top: -38px;
  left: calc(var(--i) * min(120px, 10vw));
  height: 40px;
  min-width: 140px;
  padding: 10px 22px 0;
  border-radius: 20px 20px 0 0;
  background: var(--card);
  font-size: var(--t5);
  font-weight: 600;
  color: #5d5a54;
}
.card {
  margin-top: 12px;
}
.card + .card {
  margin-top: 52px;
}
.card button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.answer {
  padding: 12px 28px 0;
  max-width: 60ch;
  font-size: var(--t4);
}

/* ---------- join ---------- */

.join {
  margin-top: var(--gap);
  min-height: 90svh;
  padding: 96px var(--m);
  background: var(--accent);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 32px 8px;
}
.join-copy {
  grid-column: 1 / span 5;
  align-self: end;
}
.join-copy h2 {
  font-size: var(--t1);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.join-copy p {
  margin-top: 28px;
  max-width: 36ch;
}
.dialog {
  grid-column: 8 / span 4;
  width: 100%;
  max-width: 440px;
  justify-self: end;
  padding: 28px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 60px -32px rgba(23, 22, 20, 0.5); /* taste-skill-ignore: inside a data-ui app fragment */
  display: grid;
  gap: 16px;
  font-size: 16px;
}
.dialog-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.dialog-field span,
.segmented legend {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #6b6861;
}
.dialog-field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 16px;
  background: #f2f0ea;
  font-size: 17px;
  outline: none;
  transition: box-shadow 0.2s;
}
.dialog-field input:focus {
  box-shadow: 0 0 0 2px var(--ink); /* taste-skill-ignore: inside a data-ui app fragment */
}
.segmented {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.segmented legend {
  grid-column: 1 / -1;
  padding: 0;
}
.segmented label {
  position: relative;
}
.segmented input {
  position: absolute;
  opacity: 0;
}
.segmented span {
  display: grid;
  place-items: center;
  height: 44px;
  border-radius: 999px;
  background: #f2f0ea;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.segmented input:checked + span {
  background: var(--ink);
  color: var(--on-ink);
}
.segmented input:focus-visible + span {
  outline: 2.5px solid var(--ink);
  outline-offset: 2px;
}
.dialog-submit {
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}
.dialog-submit:active {
  transform: scale(0.98);
}
.dialog-note {
  font-size: 14px;
  color: #6b6861;
  min-height: 1.4em;
}

/* ---------- footer: the mark built large ---------- */

.foot {
  padding: 96px var(--m) 40px;
}
.mark {
  width: 100%;
  height: auto;
  max-height: 34svh;
}
.foot-row {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  font-size: var(--t5);
}
.foot-row nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.foot-row a {
  text-decoration: none;
  font-weight: 500;
}
.foot-row a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- entrances: heading, then text, then picture ---------- */

.js [data-enter] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--n, 0) * 80ms);
}
.js [data-enter].is-in > * {
  opacity: 1;
  transform: none;
}

/* ---------- phone: its own composition ---------- */

@media (max-width: 900px) {
  .bar nav {
    display: none;
  }
  .hero {
    align-items: end;
    padding: 0 var(--m) 56px;
    min-height: 100svh;
  }
  .hero-padi {
    width: 132vw;
    right: -46vw;
    top: max(8px, 2svh);
    translate: none;
  }
  .hero-copy {
    max-width: none;
  }
  .rebus {
    font-size: clamp(40px, 11.5vw, 72px);
  }
  .lead {
    margin-top: 24px;
    font-size: 18px;
  }
  .hero-actions {
    margin-top: 28px;
    gap: 20px;
  }
  .try {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .try-list {
    order: 2;
    padding: 28px 0 0;
  }
  .try-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 18px;
    padding: 4px 0 0;
  }
  .try-heading,
  .try-list button {
    font-size: 26px;
  }
  .try-stage {
    order: 1;
    height: auto;
    padding: 40px 0 0;
  }
  .disc {
    width: 112vw;
    top: 46%;
  }
  .phone {
    width: min(360px, 100%);
    height: min(480px, 70svh);
  }
  .try-fact {
    order: 3;
    justify-self: start;
    padding: 12px 0 0;
    max-width: none;
    font-size: 16px;
  }
  .chapter,
  .chapter.is-flip {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 28px;
  }
  .chapter-art {
    order: -1;
  }
  .disc-sm {
    width: min(92vw, 520px);
  }
  .chapter-art {
    min-height: min(92vw, 520px);
    padding: 0;
  }
  .obj {
    width: 92px;
    top: 2%;
  }
  .chapter + .chapter {
    margin-top: 72px;
  }
  .can-title {
    font-size: 9vw;
  }
  .band {
    gap: 40px 0;
  }
  .band h2 {
    grid-column: 1 / -1;
    font-size: clamp(36px, 10vw, 60px);
  }
  .rules {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq h2,
  .cards {
    grid-column: 1 / -1;
  }
  .faq h2 {
    font-size: 9vw;
    margin-bottom: 52px;
  }
  .tab {
    left: calc(var(--i) * 9vw);
    min-width: 108px;
    padding: 10px 16px 0;
  }
  .card button {
    padding: 16px 20px 0;
  }
  .answer {
    padding: 10px 20px 0;
    font-size: 16px;
  }
  .join {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    min-height: 84svh;
    padding: 72px var(--m);
  }
  .join-copy h2 {
    font-size: 13vw;
  }
  .join-copy p {
    font-size: 16px;
  }
  .dialog {
    max-width: none;
    padding: 22px;
  }
  .foot-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
