/* ==========================================================================
   Cheer For — content pages (about, help, browse, business, legal…)
   Loaded after styles.css.
   ========================================================================== */

/* ---------- Shared page pieces ---------- */

.page-hero {
  padding-top: 72px;
  padding-bottom: 48px;
}

.page-hero h1 {
  margin-top: 14px;
  font-size: clamp(40px, 5.6vw, 68px);
  letter-spacing: -0.045em;
  line-height: 0.98;
  max-width: 760px;
}

.page-hero .lead {
  margin-top: 20px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

.page-hero .lead a {
  color: var(--green-dark);
  font-weight: 700;
}

.page-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.page-hero.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.breadcrumb + .page-hero {
  padding-top: 48px;
}

.block {
  padding-top: 40px;
  padding-bottom: 40px;
}

.block-title {
  font-size: clamp(28px, 3.2vw, 36px);
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.block .section-head {
  margin-bottom: 22px;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: #f1efe9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Feature cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  padding: 22px 22px 24px;
}

.feature .ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 16px;
}

.feature .ic.peach {
  background: var(--peach-soft);
  color: var(--peach-ink);
}

.feature h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.feature p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.feature p a {
  color: var(--green-dark);
  font-weight: 700;
}

.feature.tint {
  border: 0;
}

.feature.tint h3 {
  font-size: 18px;
}

.feature.yellow {
  background: var(--yellow);
}

.feature.yellow p {
  color: var(--yellow-ink);
}

.feature.mint {
  background: var(--green-soft);
}

.feature.peach {
  background: var(--peach-soft);
}

.feature.peach p {
  color: #6e2b12;
}

.feature.sky {
  background: var(--blue-soft);
}

.feature.sky p {
  color: var(--blue-ink);
}

/* Forms */

.form-card {
  padding: 26px 24px 24px;
}

.field {
  display: block;
  margin-top: 18px;
}

.field:first-child {
  margin-top: 0;
}

.field > span,
.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.input,
.textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.textarea {
  height: 120px;
  padding: 12px 14px;
  resize: vertical;
  display: block;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--muted);
}

.input:focus,
.textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(78, 115, 80, 0.14);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.field-row .field {
  margin-top: 0;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.form-foot.end {
  justify-content: flex-end;
}

.form-foot small {
  font-size: 12px;
  color: var(--ink-2);
}

.form-foot .btn {
  height: 48px;
  border-radius: 16px;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-form {
  display: flex;
  gap: 10px;
}

.inline-form .input {
  flex: 1;
  min-width: 0;
  height: 48px;
}

.inline-form .btn {
  height: 48px;
  border-radius: 16px;
}

/* Side layout (FAQ, legal) */

.doc-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.doc-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 4px;
}

.doc-nav h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.doc-nav a {
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}

.doc-nav a:hover {
  background: #efece5;
}

.doc-nav.dark a {
  font-weight: 700;
}

.doc-nav.dark a[aria-current] {
  background: var(--ink);
  color: #fff;
}

.doc-nav.mint a[aria-current] {
  background: var(--green-soft);
  font-weight: 700;
}

/* ---------- About (scrapbook) ---------- */

.scrap-hero {
  background: radial-gradient(circle, rgba(20, 33, 15, 0.1) 1px, transparent 1.5px) 0 0 / 18px 18px, var(--bg);
  border-bottom: 1px solid var(--line);
}

.scrap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 72px;
}

.scrap-hero h1 {
  margin-top: 14px;
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.squiggle {
  width: 190px;
  height: 14px;
  margin: 12px 0 0 52px;
  color: var(--green);
}

.scrap-hero .lead {
  margin-top: 18px;
  max-width: 470px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

.scrapbook {
  position: relative;
  height: 500px;
}

.polaroid.taped::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12px;
  width: 84px;
  height: 24px;
  background: rgba(252, 235, 154, 0.88);
  transform: translateX(-50%) rotate(-3deg);
  box-shadow: 0 1px 2px rgba(20, 33, 15, 0.08);
}

.scrapbook .s1 {
  --r: -4deg;
  left: 12%;
  top: 6px;
  width: 210px;
}

.scrapbook .s2 {
  --r: 3deg;
  left: 56%;
  top: 140px;
  width: 190px;
  z-index: 1;
}

.scrapbook .s3 {
  --r: -2deg;
  left: 10%;
  top: 290px;
  width: 172px;
  z-index: 2;
}

.sticky-note {
  position: absolute;
  left: 55%;
  top: 392px;
  width: 196px;
  padding: 16px 16px 14px;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  transform: rotate(-2deg);
  box-shadow: 0 14px 24px -16px rgba(58, 50, 5, 0.55);
  z-index: 3;
}

.sticky-note small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
}

.scrap-arrow {
  position: absolute;
  left: -14%;
  top: 370px;
  width: 100px;
  color: var(--green);
}

.scrap-hand {
  position: absolute;
  right: 4%;
  top: 30px;
  font-size: 40px;
  color: var(--orange);
  transform: rotate(12deg);
}

.tickets-wrap {
  padding-top: 72px;
  text-align: center;
}

.tickets-wrap h2 {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
}

.tickets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
  text-align: left;
}

.ticket {
  position: relative;
  padding: 22px 28px 26px;
  border-radius: 16px;
  transform: rotate(var(--r));
  box-shadow: 0 18px 30px -22px rgba(20, 33, 15, 0.55);
  transition: transform 0.3s;
}

.ticket:hover {
  transform: rotate(0deg) translateY(-3px);
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--bg);
}

.ticket::before {
  left: -11px;
}

.ticket::after {
  right: -11px;
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1.5px dashed currentColor;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.ticket h3 {
  margin-top: 16px;
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.ticket p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.ticket.green {
  background: var(--green);
  color: #fff;
}

.ticket.green p {
  color: rgba(255, 255, 255, 0.86);
}

.ticket.yellow {
  background: var(--yellow);
  color: var(--yellow-ink);
}

.ticket.orange {
  background: var(--orange);
  color: var(--ink);
}

.timeline-aside {
  font-size: 13px;
  color: var(--ink-2);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-top: 64px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  border-top: 2px dashed #cdc8bd;
}

.timeline li {
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -57px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dot);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  transform: translateX(-50%);
}

.note-card {
  padding: 18px 18px 20px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  transform: rotate(var(--r));
  box-shadow: 0 14px 24px -18px rgba(20, 33, 15, 0.5);
  transition: transform 0.3s;
}

.note-card:hover {
  transform: rotate(0deg) translateY(-3px);
}

.note-card small {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.note-card.white {
  background: #fff;
}

.note-card.mint {
  background: var(--green-soft);
}

.note-card.yellow {
  background: var(--yellow);
}

.note-card.sky {
  background: var(--blue-soft);
  color: var(--blue-ink);
}

.founder-note {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 48px;
  align-items: center;
  padding: 52px 56px;
  border-radius: var(--radius-xl);
  background: var(--forest);
  color: #fff;
}

.founder-note .eyebrow {
  color: var(--yellow);
}

.founder-note blockquote {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.founder-sign {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.founder-sign .avatar {
  width: 44px;
  height: 44px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}

.founder-sign strong {
  display: block;
  font-size: 14px;
}

.founder-sign span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.founder-note .polaroid {
  position: relative;
  z-index: 1;
  width: 200px;
  --r: 6deg;
}

.founder-hand {
  position: absolute;
  right: 0;
  bottom: -40px;
  font-size: 190px;
  color: rgba(255, 255, 255, 0.07);
  transform: rotate(-10deg);
}

/* ---------- Manifesto (bands) ---------- */

.mf-band {
  padding-top: 64px;
  padding-bottom: 64px;
}

.mf-band.forest {
  padding-top: 96px;
  padding-bottom: 96px;
  background: var(--forest);
  color: #fff;
}

.mf-band.butter {
  --ring: #fff6cf;
  background: var(--yellow);
  color: #3a3205;
}

.mf-band.sage {
  --ring: #a9bfa6;
  background: var(--green);
  color: #fff;
}

.mf-band.sky {
  background: var(--blue-soft);
  color: #1f3a52;
}

.mf-band.peach {
  --ring: #b9c9b4;
  background: var(--peach-soft);
  color: #7a3415;
}

.mf-band.tangerine {
  --ring: #fbb27f;
  background: var(--orange);
  color: var(--ink);
}

.mf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.mf-row.flip {
  flex-direction: row-reverse;
}

.mf-row.flip .mf-text {
  text-align: right;
}

.mf-text h1,
.mf-text h2 {
  max-width: 660px;
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.mf-row.flip .mf-text h2 {
  margin-left: auto;
}

.mf-count {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  opacity: 0.7;
}

.mf-art {
  display: grid;
  place-items: center;
  flex: none;
  min-width: 180px;
}

.mf-circle {
  display: block;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 7px solid var(--ring);
}

.mf-swatch {
  background: var(--green);
}

.mf-chat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  transform: rotate(-6deg);
  box-shadow: 0 14px 28px -16px rgba(20, 33, 15, 0.45);
}

.mf-chat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
}

.mf-chat small {
  font-size: 11px;
  color: var(--muted);
}

.mf-end {
  padding-top: 72px;
  padding-bottom: 24px;
  text-align: center;
}

.mf-end h2 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(44px, 6.4vw, 84px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.mf-signed {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  text-align: left;
}

.mf-stamp {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px dashed var(--green);
  color: var(--green);
  font-size: 26px;
  transform: rotate(-8deg);
  flex: none;
}

.mf-signed p {
  font-size: 13px;
  color: var(--ink-2);
}

.mf-signed strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.mf-end .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

/* ---------- Careers ---------- */

.careers-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr);
  gap: 48px;
  align-items: center;
}

.careers-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.careers-stats .card {
  padding: 16px 18px;
}

.careers-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--green);
}

.careers-stats span {
  font-size: 12px;
  color: var(--ink-2);
}

.roles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.roles-head h2 {
  font-size: clamp(28px, 3.2vw, 36px);
  letter-spacing: -0.035em;
}

.roles-head .seg {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.roles-head .seg span {
  margin-left: 2px;
  font-weight: 600;
  color: var(--muted);
}

.roles-head .seg[aria-pressed="true"] span {
  color: rgba(255, 255, 255, 0.7);
}

.roles {
  display: grid;
  gap: 10px;
}

.role {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.role.is-open {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.role[hidden] {
  display: none;
}

.role-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}

.role-head h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.role-head p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-2);
}

.role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-2);
}

.role-meta li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.role-meta .icon {
  font-size: 13px;
}

.role-toggle {
  height: 40px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
}

.role-toggle:hover {
  background: var(--green-dark);
}

.role-toggle[aria-expanded="true"] {
  background: var(--green-soft);
  color: var(--ink);
}

.role.open-app {
  background: transparent;
  border: 1.5px dashed #d6d1c5;
}

.role.open-app.is-open {
  background: #fff;
  border-style: solid;
  border-color: var(--green);
}

.role.open-app .role-toggle {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.role.open-app .role-toggle[aria-expanded="true"] {
  background: var(--green-soft);
  border-color: transparent;
}

.role-body {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr);
  gap: 32px;
  padding: 22px;
  border-top: 1px solid var(--line);
}

.role-body[hidden] {
  display: none;
}

.role-info h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.role-info h4 ~ h4 {
  margin-top: 20px;
}

.role-info p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.role-info ul {
  margin-top: 8px;
  padding-left: 18px;
  list-style: disc;
  font-size: 14px;
  line-height: 1.7;
}

.role-info .text-link {
  margin-top: 14px;
  font-size: 13px;
}

.apply-form .field-row:first-of-type {
  margin-top: 0;
}

.apply-form .textarea {
  height: 100px;
}

.dropzone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px dashed var(--green-mist);
  background: #f6f4ee;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.dropzone:hover,
.dropzone.drag {
  background: var(--green-soft);
  border-color: var(--green);
}

.dropzone:focus-within {
  box-shadow: 0 0 0 4px rgba(78, 115, 80, 0.14);
}

.dropzone input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.block-sub {
  margin: -14px 0 24px;
  font-size: 15px;
  color: var(--ink-2);
}

.week {
  padding-top: 72px;
}

.week-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.week-cards li {
  min-height: 190px;
  padding: 18px 16px;
  border-radius: 18px;
  transform: rotate(var(--r));
  box-shadow: 0 16px 28px -22px rgba(20, 33, 15, 0.55);
  transition: transform 0.3s;
}

.week-cards li:hover {
  transform: rotate(0deg) translateY(-3px);
}

.week-cards small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.week-cards h3 {
  margin-top: 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.week-cards p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.45;
}

.week-cards .white {
  background: #fff;
  border: 1px solid var(--line);
}

.week-cards .mint {
  background: var(--green-soft);
}

.week-cards .yellow {
  background: var(--yellow);
  color: var(--yellow-ink);
}

.week-cards .sky {
  background: var(--blue-soft);
  color: var(--blue-ink);
}

.week-cards .orange {
  background: var(--orange);
  color: var(--ink);
}

@media (max-width: 1080px) {
  .scrapbook {
    transform: scale(0.88);
    transform-origin: left center;
  }

  .tickets {
    gap: 20px;
  }

  .ticket {
    padding: 20px 22px 24px;
  }

  .week-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .careers-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .careers-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .scrap-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .scrapbook {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    transform: none;
  }

  .scrap-arrow {
    display: none;
  }

  .tickets {
    grid-template-columns: minmax(0, 1fr);
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding-top: 8px;
  }

  .timeline::before,
  .timeline li::before {
    display: none;
  }

  .founder-note {
    grid-template-columns: minmax(0, 1fr);
    padding: 36px 28px;
  }

  .founder-note .polaroid {
    width: 170px;
  }

  .mf-band,
  .mf-band.forest {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .mf-circle {
    width: 120px;
    height: 120px;
    border-width: 5px;
  }

  .mf-art {
    min-width: 0;
  }

  .role-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .scrap-hero h1 {
    font-size: 44px;
  }

  .squiggle {
    margin-left: 40px;
    width: 150px;
  }

  .scrap-hero .lead {
    font-size: 16px;
  }

  .scrapbook {
    height: 420px;
  }

  .scrapbook .s1 {
    width: 160px;
    left: 2%;
  }

  .scrapbook .s2 {
    width: 150px;
    left: auto;
    right: 2%;
    top: 110px;
  }

  .scrapbook .s3 {
    width: 140px;
    left: 4%;
    top: 240px;
  }

  .sticky-note {
    left: auto;
    right: 2%;
    top: 320px;
    width: 170px;
    font-size: 14px;
  }

  .scrap-hand {
    top: 10px;
    font-size: 32px;
  }

  .tickets-wrap {
    padding-top: 48px;
  }

  .timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .timeline-aside {
    display: none;
  }

  .founder-note .polaroid {
    width: 150px;
    justify-self: center;
  }

  .founder-hand {
    font-size: 140px;
  }

  .mf-row,
  .mf-row.flip {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .mf-row.flip .mf-text {
    text-align: left;
  }

  .mf-text h1,
  .mf-text h2 {
    font-size: 42px;
  }

  .mf-circle {
    width: 96px;
    height: 96px;
  }

  .mf-chat {
    transform: rotate(-3deg);
  }

  .mf-end h2 {
    font-size: 44px;
  }

  .careers-stats {
    grid-template-columns: 1fr 1fr;
  }

  .roles-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .roles-head .choices {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 100%;
  }

  .roles-head .seg {
    flex: none;
  }

  .role-head {
    flex-wrap: wrap;
    padding: 16px;
  }

  .role-toggle {
    width: 100%;
  }

  .role-body {
    padding: 18px 16px;
  }

  .week-cards {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter));
    padding: 8px var(--gutter) 18px;
    scroll-snap-type: x mandatory;
  }

  .week-cards::-webkit-scrollbar {
    display: none;
  }

  .week-cards li {
    flex: 0 0 200px;
    scroll-snap-align: start;
  }
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  padding: 22px 20px 24px;
}

.step .n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.step p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.credits-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 40px;
}

.credits-split h2 {
  margin-top: 10px;
  font-size: clamp(30px, 3.6vw, 40px);
  letter-spacing: -0.035em;
}

.credits-split p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 560px;
}

.ledger {
  padding: 6px 22px;
}

.ledger li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line-2);
}

.ledger li:last-child {
  border-bottom: 0;
}

.ledger b {
  color: var(--up);
  white-space: nowrap;
}

.kinds .feature .tag {
  margin-bottom: 12px;
}

.qa {
  margin: 0;
  max-width: none;
}

.qa details:first-of-type {
  padding-top: 4px;
}

.qa details p a {
  color: var(--green-dark);
  font-weight: 700;
}

main.flush + .site-footer {
  margin-top: 0;
}

/* ---------- FAQ ---------- */

.faq-group + .faq-group {
  margin-top: 40px;
}

.faq-group h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- City ---------- */

.city-hero .stats {
  margin-top: 24px;
  gap: 32px;
}

.city-hero .stat strong {
  font-size: 30px;
}

.city-hero .stat span {
  font-size: 13px;
}

.city-art {
  position: relative;
  height: 300px;
}

.city-art .polaroid {
  left: auto;
  right: 6%;
  top: 0;
  width: 230px;
  --r: 4deg;
}

.city-art .polaroid img {
  aspect-ratio: 1 / 0.9;
}

.city-art .polaroid figcaption {
  font-size: 13px;
}

.city-art .note {
  position: absolute;
  right: 33%;
  top: 205px;
  z-index: 2;
  padding: 8px 14px 9px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: var(--font-display);
  line-height: 1.1;
  transform: rotate(-6deg);
  box-shadow: 0 12px 24px -14px rgba(58, 50, 5, 0.6);
}

.city-art .note small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
}

.city-art .note b {
  font-size: 17px;
  font-weight: 800;
}

/* ---------- Browse by type ---------- */

.type-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.type-switch a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.15s;
}

.type-switch a:hover {
  border-color: #d6d1c5;
}

.type-switch a[aria-current] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.type-art {
  display: grid;
  place-items: center;
  height: 290px;
  border-radius: var(--radius-xl);
  font-size: 120px;
}

.type-art .icon {
  stroke-width: 1.4;
}

.type-art.peach {
  background: var(--peach-soft);
  color: var(--peach-ink);
}

.type-art.sky {
  background: var(--blue-soft);
  color: var(--blue-ink);
}

.type-art.mint {
  background: var(--green-soft);
  color: var(--ink);
}

.mini-list li {
  min-width: 0;
}

.cat-card h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- A to Z directory ---------- */

.filter-box {
  position: relative;
  max-width: 400px;
  margin-top: 28px;
}

.filter-box .icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  color: var(--ink-2);
  pointer-events: none;
}

.filter-box input {
  width: 100%;
  height: 54px;
  padding: 0 18px 0 46px;
  border-radius: 999px;
  border: 2px solid var(--green);
  background: #fff;
  font-size: 15px;
  outline: none;
}

.filter-box input:focus {
  box-shadow: 0 0 0 4px rgba(78, 115, 80, 0.14);
}

.az-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 0 28px;
  border-bottom: 1px solid var(--line);
}

.az-letters a,
.az-letters span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.az-letters a {
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.15s;
}

.az-letters a:hover {
  border-color: var(--green);
}

.az-letters span,
.az-letters a.off {
  color: var(--muted);
  font-weight: 600;
  background: none;
  border-color: transparent;
}

.az-grid {
  columns: 4 200px;
  column-gap: 32px;
  padding-top: 32px;
}

.az-group {
  break-inside: avoid;
  padding-bottom: 22px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.az-group h2 {
  font-size: 30px;
  color: var(--green);
  margin-bottom: 6px;
}

.az-group li a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.az-group li a:hover {
  color: var(--green-dark);
}

.az-empty {
  padding: 24px 0;
  color: var(--ink-2);
}

/* ---------- This week ---------- */

.top-new {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.top-new .card {
  display: block;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.top-new .card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.top-new .media {
  position: relative;
  display: grid;
  place-items: center;
  height: 120px;
  background-size: cover;
  background-position: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.02em;
}

.new-one {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.new-one .icon {
  font-size: 10px;
}

.top-new .body {
  padding: 12px 14px 14px;
}

.top-new .body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.top-new .body span {
  font-size: 12px;
  color: var(--ink-2);
}

.move-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.move-card {
  padding: 24px 22px 18px;
}

.move-card h2 {
  font-size: 22px;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.move-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-2);
}

.move-card .arr {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--up);
  font-size: 14px;
  flex: none;
}

.move-card .arr.down {
  background: var(--down-soft);
  color: var(--down);
}

.move-card .who {
  flex: 1;
  min-width: 0;
}

.move-card .who strong {
  display: block;
  font-size: 14px;
}

.move-card .who span {
  font-size: 12px;
  color: var(--muted);
}

.move-card .ch {
  font-size: 13px;
  font-weight: 800;
  color: var(--up);
  white-space: nowrap;
}

.move-card .ch.down {
  color: var(--down);
}

.subscribe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--green-soft);
}

.subscribe h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
}

.subscribe p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-2);
}

.subscribe .inline-form {
  flex: 0 1 360px;
}

.subscribe .input {
  border-color: transparent;
}

/* ---------- Year in cheers ---------- */

.year-hero {
  background: var(--forest);
  color: #fff;
}

.year-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.year-hero .eyebrow {
  color: var(--yellow);
}

.year-num {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(96px, 14vw, 180px);
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--yellow);
}

.year-hero h1 {
  margin-top: 26px;
  font-size: clamp(32px, 3.8vw, 44px);
  letter-spacing: -0.035em;
}

.year-hero p {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}

.year-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.year-list {
  padding: 6px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.year-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.year-list li:last-child {
  border-bottom: 0;
}

.year-list .n {
  width: 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.year-list li:nth-child(-n + 3) .n {
  color: var(--yellow);
  font-size: 18px;
}

.year-list .name {
  flex: 1;
  min-width: 0;
  font-weight: 700;
}

.year-list .kind {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.year-list .c {
  width: 56px;
  text-align: right;
  font-weight: 700;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 48px;
}

.highlights .feature small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}

.highlights .feature h3 {
  margin-top: 6px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

/* ---------- For businesses ---------- */

.biz-mock {
  position: relative;
  height: 300px;
}

.biz-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 86%;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.biz-card .row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.biz-card .tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 16px;
}

.biz-card h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.biz-card .row span {
  font-size: 12px;
  color: var(--muted);
}

.biz-card .nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.biz-card .nums div {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f2ec;
}

.biz-card .nums strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.biz-card .nums span {
  font-size: 11px;
  color: var(--muted);
}

.biz-mock .rank-badge {
  position: absolute;
  right: 0;
  top: 165px;
  width: 270px;
  transform: rotate(3deg);
  box-shadow: var(--shadow-lg);
}

.claim-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.claim-steps {
  padding: 24px 22px;
}

.claim-steps h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.claim-steps li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
}

.claim-steps .n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  flex: none;
}

.claim-steps strong {
  display: block;
  font-size: 15px;
}

.claim-steps span {
  font-size: 13px;
  color: var(--ink-2);
}

.rule-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--green);
  color: #fff;
}

.rule-panel .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.rule-panel h2 {
  margin-top: 12px;
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.03em;
}

.rule-panel p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

/* Rank badges (business page + badges page) */

.rank-badge {
  display: block;
  padding: 16px 18px 18px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 30px -18px rgba(20, 33, 15, 0.5);
}

.rank-badge .top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.rank-badge .top .icon {
  font-size: 13px;
  color: var(--green);
}

.rank-badge .num {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--green);
}

.rank-badge strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}

.rank-badge small {
  font-size: 11px;
  color: var(--muted);
}

.rank-badge.dark {
  background: var(--forest);
  color: #fff;
}

.rank-badge.dark .top,
.rank-badge.dark small {
  color: rgba(255, 255, 255, 0.75);
}

.rank-badge.dark .top .icon,
.rank-badge.dark .num {
  color: var(--yellow);
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px 0 5px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px -14px rgba(20, 33, 15, 0.5);
}

.rank-pill .dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 14px;
}

.rank-pill small {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- For creators ---------- */

.profile-card {
  padding: 28px 24px;
  text-align: center;
}

.profile-card .face {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--peach-soft);
  color: var(--peach-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
}

.profile-card .tag {
  margin-top: 14px;
}

.profile-card h3 {
  margin-top: 8px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.profile-card .meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.profile-card .rank {
  display: inline-flex;
  align-items: center;
  height: 34px;
  margin-top: 16px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.profile-card .fans {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-2);
}

.profile-card .avatar {
  width: 24px;
  height: 24px;
}

/* ---------- Badges page ---------- */

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.badge-demo {
  padding: 18px 18px 22px;
}

.badge-demo .stage {
  display: grid;
  place-items: center;
  height: 160px;
  padding: 18px;
  border-radius: 16px;
  background: #efece5;
}

.badge-demo .stage .rank-badge {
  width: 100%;
}

.badge-demo h3 {
  margin-top: 16px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.badge-demo p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-2);
}

.embed {
  padding: 24px 22px;
}

.embed h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
}

.embed > p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-2);
}

.code-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 16px 16px 18px;
  border-radius: 14px;
  background: var(--forest);
  color: #e9f0da;
}

.code-box code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.code-box .btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
}

.embed .fine {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-2);
}

/* ---------- Suggest / report ---------- */

.form-split {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.side-stack {
  display: grid;
  gap: 14px;
}

.side-note {
  padding: 20px 20px 22px;
}

.side-note h3 {
  font-size: 16px;
  letter-spacing: -0.015em;
}

.side-note p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}

.side-note .btn {
  margin-top: 14px;
}

.side-note .text-link {
  margin-top: 12px;
  font-size: 13px;
}

.side-note .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.side-note .who .tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.side-note .who span {
  font-size: 12px;
  color: var(--muted);
}

.radio-list {
  display: grid;
  gap: 8px;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.radio-row:hover {
  border-color: #d6d1c5;
}

.radio-row input {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  flex: none;
}

.radio-row:has(input:checked) {
  background: var(--green-soft);
  border-color: var(--green);
}

.radio-row:has(input:focus-visible) {
  box-shadow: 0 0 0 4px rgba(78, 115, 80, 0.14);
}

/* ---------- Fair play ---------- */

.rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rule {
  display: flex;
  gap: 16px;
  padding: 22px 22px 24px;
}

.rule .n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 14px;
  flex: none;
}

.rule h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.rule p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}

.dark-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px;
  border-radius: var(--radius-lg);
  background: var(--forest);
  color: #fff;
}

.dark-band h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.dark-band p {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Invite ---------- */

.invited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 4px;
  border-radius: 999px;
  background: var(--green-soft);
  font-size: 13px;
  font-weight: 700;
}

.invited img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.code-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.code-chip {
  padding: 10px 20px;
  border-radius: 12px;
  border: 2px dashed var(--green-mist);
  background: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.code-row p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-2);
}

.page-hero .store-btns {
  margin-top: 20px;
}

.qr-panel {
  padding: 32px 32px 30px;
  border-radius: var(--radius-xl);
  background: var(--green);
  color: #fff;
  text-align: center;
}

.qr-panel .qr {
  width: 200px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
}

.qr-panel h2 {
  margin-top: 20px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.qr-panel p {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.credit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.credit-cards .card {
  padding: 22px 22px 24px;
}

.credit-cards strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--green);
}

.credit-cards h3 {
  margin-top: 8px;
  font-size: 16px;
  letter-spacing: -0.015em;
}

.credit-cards p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- Waitlist ---------- */

.lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wait-form {
  max-width: 420px;
  margin-top: 28px;
}

.wait-form .input {
  height: 52px;
  border: 2px solid var(--green);
  border-radius: 14px;
  font-size: 15px;
}

.wait-form .btn {
  height: 52px;
}

.wait-form + .text-link {
  margin-top: 16px;
}

.wait-card {
  padding: 32px 28px;
  text-align: center;
}

.wait-card small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.wait-card strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--green);
}

.wait-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

.wait-card .fans {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-2);
}

.wait-card .avatar {
  width: 24px;
  height: 24px;
}

/* ---------- Contact ---------- */

.inbox .feature a {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
}

.inbox .feature a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.write-us h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.write-us .field-row {
  margin-top: 0;
}

/* ---------- Press ---------- */

.logo-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.logo-tile {
  display: grid;
  place-items: center;
  height: 160px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.logo-tile .logo {
  font-size: 32px;
  color: inherit;
}

.logo-tile .logo-symbol {
  font-size: 72px;
}

.logo-tile.light .logo-symbol {
  color: var(--ink);
}

.logo-use {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.logo-use strong {
  color: var(--ink);
}

.logo-use a {
  margin-left: 6px;
  font-weight: 700;
  color: var(--green);
}

.logo-tiles + .logo-use {
  margin-top: 28px;
}

.logo-tile.ink {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.logo-tile.sage {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.swatch {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.swatch i {
  display: block;
  height: 80px;
}

.swatch div {
  padding: 10px 12px 12px;
}

.swatch strong {
  display: block;
  font-size: 13px;
}

.swatch span {
  font-size: 11px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 0.62fr)) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}

.screens img {
  width: 100%;
  border-radius: 26px;
}

.press-about {
  padding: 22px 22px 24px;
}

.press-about h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.press-about p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

.press-about p + p {
  font-size: 13px;
}

/* ---------- Legal ---------- */

.legal-hero h1 {
  font-size: clamp(34px, 4.4vw, 52px);
}

.legal-hero .lead {
  margin-top: 12px;
  font-size: 16px;
}

.legal section {
  max-width: 620px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.legal section + section {
  margin-top: 36px;
}

.legal h2 {
  font-size: 22px;
  letter-spacing: -0.025em;
}

.in-short {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--green-soft);
  font-size: 14px;
  line-height: 1.55;
}

.legal .full {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- 404 ---------- */

.err-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 40px;
}

.err-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(110px, 15vw, 190px);
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--green);
}

.err-grid h1 {
  margin-top: 26px;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.04em;
}

.err-grid .lead {
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink-2);
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  height: 58px;
  margin-top: 24px;
  padding: 0 6px 0 18px;
  border-radius: 999px;
  border: 2px solid var(--green);
  background: #fff;
}

.search-pill > .icon {
  font-size: 18px;
  color: var(--ink-2);
}

.search-pill input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
}

.search-pill .btn {
  height: 44px;
}

.search-pill .btn .icon {
  display: none;
}

.err-grid .text-link {
  margin-top: 18px;
}

.now-card {
  padding: 20px 20px 8px;
}

.now-card h2 {
  font-size: 18px;
  letter-spacing: -0.02em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.now-card li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
}

.now-card li:last-child a {
  border-bottom: 0;
}

.now-card .n {
  width: 14px;
  font-weight: 800;
}

.now-card .who {
  flex: 1;
  min-width: 0;
}

.now-card .who strong {
  display: block;
  font-size: 14px;
}

.now-card .who span {
  font-size: 11px;
  color: var(--muted);
}

.now-card .c {
  font-weight: 800;
  font-size: 14px;
}

/* ---------- Item page extras ---------- */

.side-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 0 4px;
  font-size: 13px;
  color: var(--ink-2);
}

.side-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer extras ---------- */

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

.footer-legal span {
  margin-right: auto;
}

.footer-legal a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .steps,
  .highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-new {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .screens {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .screens .press-about {
    grid-column: 1 / -1;
  }

  .city-hero .rise-grid > :nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 860px) {
  .page-hero {
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .page-hero.split,
  .credits-split,
  .year-grid,
  .err-grid,
  .form-split,
  .doc-layout,
  .claim-pair,
  .move-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero.split {
    gap: 36px;
  }

  .credits-split {
    gap: 24px;
  }

  .feature-grid,
  .badge-grid,
  .credit-cards {
    grid-template-columns: minmax(0, 1fr);
  }


  .doc-nav {
    position: static;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
  }

  .doc-nav::-webkit-scrollbar {
    display: none;
  }

  .doc-nav h4 {
    display: none;
  }

  .doc-nav a {
    flex: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
  }

  .doc-nav.mint a[aria-current] {
    border-color: var(--green-mist);
  }

  .type-art {
    height: 180px;
    font-size: 80px;
  }

  .biz-mock {
    max-width: 420px;
  }

  .city-art {
    max-width: 420px;
  }

  .subscribe,
  .dark-band {
    flex-direction: column;
    align-items: stretch;
  }

  .subscribe .inline-form {
    flex: none;
  }

  .dark-band .btn {
    align-self: flex-start;
  }


  .logo-tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .logo-tile {
    height: 120px;
  }

  .logo-tiles.symbols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .logo-tiles.symbols .logo-tile {
    height: auto;
    aspect-ratio: 1;
  }

  .logo-tiles.symbols .logo-symbol {
    font-size: 48px;
  }
}

@media (max-width: 640px) {
  .page-hero h1 {
    font-size: 40px;
  }

  .page-hero .lead {
    font-size: 16px;
  }

  .block {
    padding-top: 28px;
    padding-bottom: 28px;
  }






  .steps,
  .highlights,
  .rules,
  .top-new {
    grid-template-columns: minmax(0, 1fr);
  }

  .top-new .card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
  }

  .top-new .media {
    height: 88px;
    font-size: 26px;
  }

  .top-new .new-one {
    top: auto;
    bottom: 6px;
    left: 6px;
  }





  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-card {
    padding: 22px 18px 20px;
  }

  .form-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .form-foot small {
    order: 2;
    text-align: center;
  }

  .inline-form {
    flex-direction: column;
  }

  .city-hero .stats {
    gap: 22px;
  }

  .city-hero .stats .stat:nth-child(3) {
    display: block;
  }

  .city-hero .stat strong {
    font-size: 24px;
  }

  .city-art {
    height: 260px;
  }

  .city-art .polaroid {
    width: 200px;
    right: 4%;
  }

  .city-art .note {
    right: auto;
    left: 4%;
    top: 180px;
  }

  .type-art {
    display: none;
  }

  .az-letters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 20px;
  }

  .az-letters::-webkit-scrollbar {
    display: none;
  }

  .az-letters a,
  .az-letters span {
    flex: none;
  }

  .az-grid {
    columns: 1;
  }

  .year-grid {
    padding-top: 48px;
    padding-bottom: 48px;
    gap: 32px;
  }

  .year-list {
    padding: 4px 16px;
  }

  .biz-mock {
    height: 300px;
  }

  .biz-card {
    width: 100%;
    padding: 14px;
  }

  .biz-card .nums strong {
    font-size: 17px;
  }

  .biz-mock .rank-badge {
    width: 230px;
    top: 160px;
    right: 4px;
  }

  .code-box {
    flex-direction: column;
    align-items: stretch;
  }

  .code-box .btn {
    align-self: flex-end;
  }

  .code-row {
    flex-wrap: wrap;
  }

  .qr-panel .qr {
    width: 160px;
  }

  .wait-form .btn,
  .inline-form .btn {
    width: 100%;
  }

  .swatches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screens {
    gap: 10px;
  }

  .screens img {
    border-radius: 16px;
  }

  .err-grid {
    padding-top: 40px;
    padding-bottom: 16px;
    gap: 32px;
  }

  .search-pill .btn span {
    display: none;
  }

  .search-pill .btn {
    width: 44px;
    padding: 0;
  }

  .search-pill .btn .icon {
    display: block;
  }

  .footer-legal {
    margin-top: 20px;
    gap: 10px 18px;
  }

  .footer-legal span {
    flex-basis: 100%;
    order: 2;
  }
}
