:root {
  --cream: #fbf3e4;
  --ink: #1e1e1e;
  --terracotta: #d8623a;
  --pink: #e86bb0;
  --mustard: #efb040;
  --sage: #5fae7b;
  --blush: #f4b5c4;
  --tangerine: #e88848;
  --slate-blue: #6ea0aa;
  --peach: #f3c7b0;

  --font: "Sniglet", sans-serif;
  --text-body: 1.08rem;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--text-body);
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
}

body.page-hero {
  background: var(--pink);
}

body.page-picker {
  background: var(--mustard);
}

body.page-cats {
  background: var(--cream);
}

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 800;
  margin: 0 0 0.5rem;
  line-height: 1;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.9rem, 4.8vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

p {
  margin: 0 0 0.8rem;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.shell {
  width: min(1080px, 92vw);
  margin: 0 auto;
  position: relative;
}

/* ---------- topbar ---------- */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
}

.brand {
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 800;
  transform: rotate(-3deg);
  display: inline-block;
}

.topbar nav {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.topbar nav a {
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  border: 3px solid var(--ink);
}

.topbar nav a:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 3px solid var(--ink);
  margin-top: 3rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.4rem 0;
}

.site-footer-brand {
  font-weight: 800;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.site-footer-links a {
  text-decoration: none;
  font-weight: 700;
  color: inherit;
  opacity: 0.75;
}

.site-footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.9rem 1.7rem;
  text-decoration: none;
  font-weight: 800;
  font-size: var(--text-body);
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-solid {
  background: var(--sage);
  color: var(--ink);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 3px solid var(--ink);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn:active {
  transform: translateY(0) scale(0.96);
  box-shadow: none;
}

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

.eyebrow {
  text-transform: lowercase;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.lede {
  max-width: 55ch;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 1.3rem 0;
}

.meta {
  font-weight: 700;
}

.free-note {
  opacity: 0.85;
}

.say-greeting-title {
  font-size: clamp(3rem, 8vw, 5.2rem) !important;
}

.rotating-greeting {
  display: inline-block;
  color: var(--blush);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.rotating-greeting.is-swapping {
  opacity: 0;
  transform: translateY(6px);
}

/* speech bubble */

.speech-bubble {
  position: relative;
  display: inline-block;
  background: var(--cream);
  color: var(--ink);
  padding: 1.3rem 1.7rem;
  border-radius: 46% 44% 48% 42% / 56% 42% 50% 44%;
  font-weight: 700;
  margin: 1.5rem 0 2.5rem;
  animation: bubble-pulse 2s ease-in-out infinite;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  left: 2.2rem;
  bottom: -0.7rem;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--cream);
  border-radius: 0 0 60% 0;
  transform: rotate(30deg);
}

.speech-bubble p {
  margin: 0;
}

.speech-bubble .tr {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 500;
  opacity: 0.75;
}

@keyframes bubble-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

/* cat sound decorations */

.cat-sound {
  position: absolute;
  font-weight: 800;
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
}

.sound-1 {
  top: 2%;
  right: 4%;
  font-size: 1.6rem;
  transform: rotate(8deg);
}

.sound-2 {
  bottom: 6%;
  right: 14%;
  font-size: 1.2rem;
  transform: rotate(-6deg);
}

.sound-3 {
  top: 40%;
  right: 2%;
  font-size: 1rem;
  transform: rotate(4deg);
}

/* ---------- homepage personality showcase ---------- */

.showcase-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.showcase-item {
  background: var(--cream);
  border-radius: 28px;
  padding: 1.4rem 1.4rem 1.6rem;
  width: 100%;
  max-width: 320px;
  flex: 1 1 260px;
}

.showcase-img {
  width: 84px;
  height: auto;
  display: block;
  margin-bottom: 0.4rem;
}

.showcase-item h3 {
  display: inline-block;
  font-size: 1.3rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.showcase-tagline {
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.showcase-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  background: var(--peach);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.86rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.pill-name .muted {
  font-weight: 600;
  opacity: 0.8;
}

/* ---------- stack / page header ---------- */

.stack {
  padding: 3rem 0 1.5rem;
  position: relative;
}

.stack h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  transform: rotate(-2deg);
  display: inline-block;
}

.code {
  font-weight: 700;
}

.meta,
.muted {
  font-weight: 600;
  opacity: 0.75;
}

/* ---------- country picker (world map) ---------- */

.world-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 520;
  background: var(--slate-blue);
  border-radius: 40px;
  overflow: hidden;
  margin: 1.5rem 0 3rem;
}

.world-map-frame svg {
  width: 100%;
  height: 100%;
  display: block;
}

.continent {
  fill: var(--ink);
  opacity: 0.88;
}

.continent-islet {
  opacity: 0.6;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink);
  z-index: 1;
}

.map-pin:hover,
.map-pin:focus-within {
  z-index: 2;
}

.map-pin-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.map-pin:hover .map-pin-dot {
  transform: scale(1.15) rotate(-6deg);
  box-shadow: 4px 4px 0 var(--ink);
}

.map-pin-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.map-pin-place {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.18rem 0.7rem;
  font-weight: 800;
  font-size: 0.76rem;
  white-space: nowrap;
}

.map-pin-lang {
  display: inline-block;
  background: var(--cream);
  border-radius: 999px;
  padding: 0.12rem 0.6rem;
  font-weight: 700;
  font-size: 0.66rem;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.map-pin-lang:hover {
  transform: translateY(-1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.map-pin-lang:active {
  transform: translateY(0) scale(0.96);
}

.country-list-section {
  margin-top: 2.5rem;
}

.country-list-section h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 1.4rem;
}

.country-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.country-card {
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--cream);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 1.1rem 1.2rem;
}

.country-card-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.country-card-flag {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex: none;
}

.country-card-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.country-card-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.country-card-lang {
  display: inline-block;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.country-card-lang:hover {
  transform: translateY(-1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.country-card-lang:active {
  transform: translateY(0) scale(0.96);
}

/* ---------- cat picker (scatter) ---------- */

.cat-field {
  padding: 2.5rem 0 5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem 1.4rem;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.cat-spot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  background: none;
  border: none;
  font: inherit;
  padding: 1.6rem 1.2rem;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.cat-field .cat-spot:nth-child(1) {
  transform: translateY(0) rotate(-2deg);
}
.cat-field .cat-spot:nth-child(2) {
  transform: translateY(2.2rem) rotate(2deg);
}
.cat-field .cat-spot:nth-child(3) {
  transform: translateY(-0.6rem) rotate(-1deg);
}
.cat-field .cat-spot:nth-child(4) {
  transform: translateY(1.4rem) rotate(3deg);
}
.cat-field .cat-spot:nth-child(5) {
  transform: translateY(0.2rem) rotate(-3deg);
}

.cat-field .cat-spot:nth-child(n) {
  transform: none;
}

.cat-spot .shadow-blob {
  position: absolute;
  width: 78%;
  height: 55%;
  bottom: 1.6rem;
  border-radius: 50%;
  opacity: 0;
  transform: translate(6px, 6px) scale(0.9);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 0;
}

.cat-img-wrap {
  display: block;
  position: relative;
  z-index: 1;
  animation: cat-bob 3s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.cat-spot img {
  display: block;
  width: min(250px, 100%);
  height: auto;
}

.cat-field .cat-spot:nth-child(2) .cat-img-wrap {
  animation-delay: 0.4s;
}
.cat-field .cat-spot:nth-child(3) .cat-img-wrap {
  animation-delay: 0.8s;
}
.cat-field .cat-spot:nth-child(4) .cat-img-wrap {
  animation-delay: 1.2s;
}
.cat-field .cat-spot:nth-child(5) .cat-img-wrap {
  animation-delay: 1.6s;
}

.cat-spot:hover .shadow-blob {
  opacity: 1;
  transform: translate(6px, 6px) scale(1);
}

.cat-spot:hover .cat-img-wrap {
  animation-name: cat-wiggle;
  animation-duration: 0.4s;
  animation-iteration-count: 1;
}

.cat-spot:active .cat-img-wrap {
  transform: scaleY(0.92);
  transition: transform 0.1s ease;
}

.cat-name {
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

@keyframes cat-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px) scale(1);
  }
}

@keyframes cat-wiggle {
  0% {
    transform: scale(1.07) rotate(0deg);
  }
  30% {
    transform: scale(1.07) rotate(-3deg);
  }
  60% {
    transform: scale(1.07) rotate(3deg);
  }
  100% {
    transform: scale(1.07) rotate(0deg);
  }
}

.accent-terracotta {
  background: var(--terracotta);
}
.accent-pink {
  background: var(--pink);
}
.accent-mustard {
  background: var(--mustard);
}
.accent-sage {
  background: var(--sage);
}
.accent-tangerine {
  background: var(--tangerine);
}
.accent-slate-blue {
  background: var(--slate-blue);
}
.accent-blush {
  background: var(--blush);
}
.accent-peach {
  background: var(--peach);
}

.shadow-blob.accent-terracotta {
  background: var(--terracotta);
}
.shadow-blob.accent-pink {
  background: var(--pink);
}
.shadow-blob.accent-mustard {
  background: var(--mustard);
}
.shadow-blob.accent-sage {
  background: var(--sage);
}
.shadow-blob.accent-tangerine {
  background: var(--tangerine);
}
.shadow-blob.accent-slate-blue {
  background: var(--slate-blue);
}

.pill {
  display: inline-block;
  border-radius: 999px;
  background: var(--peach);
  color: var(--ink);
  padding: 0.4rem 0.9rem;
  font-weight: 800;
}

/* ---------- cat detail overlay (trading-card style) ---------- */

.cat-detail-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cat-detail-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cat-detail-card {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  border-radius: 34px;
  border: 9px solid var(--ink);
  padding: 2.4rem 1.8rem 1.8rem;
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  text-align: center;
  transform: scale(0.82) rotate(-3deg);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.15s ease;
}

.cat-detail-overlay.open .cat-detail-card {
  transform: scale(1) rotate(-1.5deg);
}

.cat-detail-card.accent-terracotta {
  border-color: var(--terracotta);
}
.cat-detail-card.accent-pink {
  border-color: var(--pink);
}
.cat-detail-card.accent-mustard {
  border-color: var(--mustard);
}
.cat-detail-card.accent-sage {
  border-color: var(--sage);
}
.cat-detail-card.accent-tangerine {
  border-color: var(--tangerine);
}
.cat-detail-card.accent-slate-blue {
  border-color: var(--slate-blue);
}

.detail-close {
  position: absolute;
  top: -1.2rem;
  right: -1.2rem;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  border: 4px solid var(--cream);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.detail-close:hover {
  transform: translateY(-2px) rotate(-8deg);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.25);
}

.detail-img-frame {
  width: 168px;
  height: 168px;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
}

.detail-img {
  width: 138px;
  height: auto;
  display: block;
}

.detail-name {
  display: inline-block;
  font-size: 1.6rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  border: 3px solid var(--ink);
}

.detail-label {
  font-weight: 800;
  opacity: 0.75;
  margin-bottom: 0.6rem;
}

.register-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  border-radius: 999px;
  border: 3px solid var(--ink);
  background: var(--mustard);
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1.1;
  text-align: center;
  text-transform: lowercase;
  padding: 0.3rem 0.8rem;
}

.register-pill.register-formal {
  background: var(--slate-blue);
}

.register-pill.register-informal {
  background: var(--mustard);
}

.detail-addon {
  margin: 0.6rem 0 1.1rem;
  font-weight: 600;
  text-align: left;
}

.detail-comment {
  background: var(--peach);
  border-radius: 22px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.2rem;
  text-align: left;
}

.detail-tagline {
  font-weight: 600;
}

.detail-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.2rem 0 1.2rem;
}

.stat-badge {
  display: inline-block;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--ink);
}

.detail-cta,
.detail-soon {
  margin-top: 0.4rem;
}

/* ---------- language detail info card-less block ---------- */

.language-info {
  padding-bottom: 1rem;
}

.language-info .flag-emoji {
  font-size: 2rem;
}

.voice-pill {
  display: inline-flex;
  margin-top: 0.4rem;
  background: var(--sage);
  border: 2px solid var(--ink);
  font-size: 0.9rem;
}

/* ---------- corner cat mascot slot ---------- */

.corner-cat-launcher {
  position: fixed;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 120px;
  height: 120px;
  z-index: 12;
}

.corner-cat {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.corner-cat-tooltip {
  position: absolute;
  right: 86px;
  bottom: 78px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: lowercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
  white-space: nowrap;
}

.corner-cat-launcher:hover .corner-cat-tooltip,
.corner-cat-launcher:focus-visible .corner-cat-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- corner cat page ---------- */

.corner-cat-page {
  text-align: center;
}

.corner-cat-page .lede {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.corner-cat-hero {
  display: block;
  max-height: 400px;
  width: auto;
  margin: 1rem auto 0.4rem;
}

.corner-cat-contact-grid {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.corner-cat-contact-btn {
  min-width: 210px;
}

/* ---------- page transition ---------- */

main.shell {
  animation: page-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- whatsapp pitch page ---------- */

.story-block {
  position: relative;
  border-radius: 40px;
  padding: 3rem 2.4rem;
  margin-bottom: 1.6rem;
}

.story-block:first-child {
  margin-top: 1rem;
}

.story-block .kicker {
  text-transform: lowercase;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.story-block h2 {
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  max-width: 18em;
  transform: rotate(-1deg);
  display: inline-block;
}

.story-block .section-lede {
  margin-top: 0.9rem;
  max-width: 40em;
  font-weight: 500;
}

.hero-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.6rem;
  align-items: center;
}

.hero-block h1 {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  transform: rotate(-1.5deg);
  display: inline-block;
}

/* phone mockup */

.phone-mock {
  background: var(--ink);
  border-radius: 44px;
  padding: 14px;
  max-width: 360px;
  margin: 0 auto;
}

.phone-screen {
  background: var(--cream);
  border-radius: 32px;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
}

.chat-header .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.chat-header .avatar img {
  width: 30px;
  height: auto;
}

.chat-header .chat-name {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}

.chat-header .chat-status {
  font-size: 0.76rem;
  font-weight: 600;
  opacity: 0.7;
}

.chat-log {
  padding: 0.6rem 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 320px;
}

.chat-msg {
  max-width: 84%;
  padding: 0.6rem 0.9rem;
  border-radius: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  animation: msg-pop 0.4s ease forwards;
}

.chat-msg.cat {
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-msg.you {
  background: var(--blush);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-msg .tr {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  font-weight: 500;
  font-style: italic;
  opacity: 0.7;
}

.chat-msg:nth-child(1) {
  animation-delay: 0.2s;
}
.chat-msg:nth-child(2) {
  animation-delay: 1s;
}
.chat-msg:nth-child(3) {
  animation-delay: 1.9s;
}
.chat-msg:nth-child(4) {
  animation-delay: 2.9s;
}
.chat-msg:nth-child(5) {
  animation-delay: 3.8s;
}

@keyframes msg-pop {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-msg {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.voice-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.voice-note .play {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.voice-note .play::after {
  content: "";
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--ink);
  margin-left: 2px;
}

.voice-note .wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 16px;
}

.voice-note .wave i {
  width: 3px;
  background: var(--ink);
  opacity: 0.5;
  border-radius: 2px;
  display: block;
}

.voice-note .dur {
  font-size: 0.74rem;
  font-weight: 600;
  opacity: 0.7;
}

/* demo chat widget */

.demo-phone-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.demo-phone-splash {
  width: 200px;
  height: auto;
  flex: none;
}

.demo-phone-splash-right {
  transform: scaleX(-1);
}

.demo-phone-frame .chat-header {
  justify-content: center;
  text-align: center;
}

.demo-chat-log .chat-msg {
  animation-delay: 0s;
  align-self: center;
  text-align: center;
}

.demo-greetings {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.demo-greeting-btn {
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.demo-greeting-btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.demo-greeting-btn:active {
  transform: translateY(0) scale(0.96);
}

.demo-greetings.is-revealing .demo-greeting-btn {
  animation: greeting-pop 0.45s ease both;
}

.demo-greetings.is-revealing .demo-greeting-btn:nth-child(1) {
  animation-delay: 0s;
}
.demo-greetings.is-revealing .demo-greeting-btn:nth-child(2) {
  animation-delay: 0.06s;
}
.demo-greetings.is-revealing .demo-greeting-btn:nth-child(3) {
  animation-delay: 0.12s;
}
.demo-greetings.is-revealing .demo-greeting-btn:nth-child(4) {
  animation-delay: 0.18s;
}
.demo-greetings.is-revealing .demo-greeting-btn:nth-child(5) {
  animation-delay: 0.24s;
}

@keyframes greeting-pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-greetings.is-revealing .demo-greeting-btn {
    animation: none;
  }
}

.demo-cta {
  margin-top: 1.6rem;
  text-align: center;
  animation: demo-cta-in 0.4s ease both;
}

@keyframes demo-cta-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-cta {
    animation: none;
  }
}

.try-it-title {
  font-size: clamp(5rem, 8vw, 5.2rem) !important;
}

.demo-platform-badges {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1.1rem 0 1.6rem;
}

.demo-phone-interactive {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.demo-phone-interactive:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 18px 32px rgba(30, 30, 30, 0.28);
}

/* trust strip */

.trust-strip {
  text-align: center;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.trust-row:last-child {
  margin-bottom: 0;
}

.trust-label {
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: lowercase;
  opacity: 0.75;
  margin-right: 0.2rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-weight: 800;
  font-size: 0.85rem;
  background: var(--cream);
}

/* feature grid */

.feature-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.feature-card {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 1.1rem 1.1rem 1.3rem;
  box-shadow: 6px 6px 0 var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: 8px 9px 0 var(--ink);
}

.feature-card h3 {
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  line-height: 1.1;
  margin-bottom: 0.65rem;
  max-width: 12ch;
}

.feature-card p {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0;
  max-width: 28em;
}

.example {
  margin-top: auto;
  padding-top: 1.1rem;
}

/* made for countries, not languages */

.country-reason-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.country-reason-card {
  background: var(--cream);
  border-radius: 22px;
  padding: 1.6rem 1.4rem;
}

.country-reason-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.6rem;
}

.country-reason-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.country-reason-card p {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 860px) {
  .country-reason-grid {
    grid-template-columns: 1fr;
  }
}

/* mini cat teaser */

.mini-cat-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.mini-cat-card {
  background: var(--cream);
  border-radius: 26px;
  padding: 1.6rem 1.4rem 2.4rem;
  text-align: center;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mini-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--ink);
}

.mini-cat-card img {
  width: 130px;
  height: auto;
  margin: 0 auto 0.8rem;
  display: block;
}

.mini-cat-card .cat-name {
  font-size: 1.4rem;
}

.mini-cat-card .place {
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0.7;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.mini-cat-card p {
  font-size: 0.9rem;
  font-weight: 500;
}

.mini-cat-card .cat-quote {
  position: relative;
  font-style: italic;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 1.1rem;
  padding: 0 0.3rem;
}

.mini-cat-card .cat-quote::before,
.mini-cat-card .cat-quote::after {
  font-family: Georgia, serif;
  font-style: normal;
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 0;
  opacity: 0.7;
  vertical-align: -0.5rem;
}

.mini-cat-card:nth-child(3n + 1) .cat-quote::before,
.mini-cat-card:nth-child(3n + 1) .cat-quote::after {
  color: var(--terracotta);
}
.mini-cat-card:nth-child(3n + 2) .cat-quote::before,
.mini-cat-card:nth-child(3n + 2) .cat-quote::after {
  color: var(--slate-blue);
}
.mini-cat-card:nth-child(3n + 3) .cat-quote::before,
.mini-cat-card:nth-child(3n + 3) .cat-quote::after {
  color: var(--sage);
}

.mini-cat-card .cat-quote::before {
  content: "\201C";
  margin-right: 0.15rem;
}

.mini-cat-card .cat-quote::after {
  content: "\201D";
  margin-left: 0.15rem;
}

/* honesty block */

.honesty-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.2rem;
}

.honesty-image {
  width: 100%;
  max-width: 260px;
  height: auto;
  justify-self: center;
}

.honesty-box {
  border-radius: 32px;
  padding: 2.2rem 2rem;
}

.honesty-box p {
  margin-top: 0.8rem;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hero-block,
  .feature-grid,
  .mini-cat-grid,
  .country-list,
  .honesty-block {
    grid-template-columns: 1fr;
  }

  .honesty-block {
    text-align: center;
  }

  .story-block {
    padding: 2.2rem 1.5rem;
  }

  .demo-phone-splash {
    display: none;
  }
}

/* ---------- miau bubble ---------- */

.miau-section {
  position: relative;
  background: var(--mustard);
  border-radius: 40px;
  margin: 1rem 0 3rem;
  padding: 3.5rem 1.5rem 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.miau-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.miau-click {
  margin-bottom: 0.8rem;
  font-weight: 800;
  font-size: 1rem;
  text-transform: lowercase;
}

.miau-bubble-wrap {
  position: relative;
  display: block;
  width: min(460px, 88%);
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease;
  animation: miau-pulse 2.4s ease-in-out infinite;
}

.miau-bubble-wrap:hover {
  transform: translateY(-5px) scale(1.06);
  animation-play-state: paused;
}

.miau-bubble-wrap:active {
  transform: scale(0.96);
}

.miau-bubble-wrap .bubble-img {
  width: 100%;
  display: block;
  position: relative;
}

.miau-bubble-splash {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 108%;
  max-width: none;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.9;
  pointer-events: none;
}

@keyframes miau-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .miau-bubble-wrap {
    animation: none;
  }
}

.miau-word {
  position: absolute;
  top: 40%;
  left: 47%;
  transform: translate(-50%, -50%) rotate(-4deg);
  max-width: 62%;
  font-size: clamp(3.2rem, 11vw, 6rem);
  font-weight: 800;
  line-height: 0.85;
  text-align: center;
  color: var(--ink);
  font-family: var(--font);
  transition: color 0.2s ease;
}

.miau-caption {
  margin-top: 1.1rem;
  font-weight: 700;
  opacity: 0.8;
  text-align: center;
}

.feature-story-block {
  background: transparent;
}

.feature-story-block .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  box-shadow: 3px 3px 0 var(--terracotta);
  margin-bottom: 1rem;
}

.feature-story-block h2 {
  max-width: 15ch;
}

.feature-story-block .feature-accent {
  background: var(--mustard);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  display: inline-block;
  padding: 0 0.7rem;
  margin: 0.35rem 0.2rem 0;
  transform: rotate(-1.5deg);
}

.feature-story-block .section-lede {
  margin-top: 1.3rem;
  max-width: 38em;
  font-weight: 600;
  color: rgba(30, 30, 30, 0.72);
}

.feature-story-block .feature-card:nth-child(1) {
  background: var(--terracotta);
  color: var(--cream);
}

.feature-story-block .feature-card:nth-child(2) {
  background: var(--pink);
  color: #fff;
}

.feature-story-block .feature-card:nth-child(3) {
  background: var(--sage);
  color: var(--cream);
}

.feature-story-block .feature-card:nth-child(4) {
  background: #9dcfde;
  color: var(--ink);
}

.feature-story-block .feature-card:nth-child(1) p {
  color: #fde6dc;
}

.feature-story-block .feature-card:nth-child(2) p {
  color: #fee7f1;
}

.feature-story-block .feature-card:nth-child(3) p {
  color: #ddf0e3;
}

.feature-story-block .feature-card:nth-child(4) p {
  color: #24414b;
}

.feature-sparkle {
  position: absolute;
  font-size: 1.4rem;
  font-weight: 800;
  pointer-events: none;
}

.feature-story-block .feature-card:nth-child(1) .feature-sparkle {
  top: 1rem;
  right: 1.2rem;
  color: var(--cream);
  transform: rotate(15deg);
}

.feature-story-block .feature-card:nth-child(2) .feature-sparkle {
  right: 1.4rem;
  bottom: 1.3rem;
  color: var(--cream);
  font-size: 1.6rem;
  transform: rotate(-12deg);
}

.feature-story-block .feature-card:nth-child(3) .feature-sparkle {
  top: 1.1rem;
  right: 1.3rem;
  color: var(--cream);
  transform: rotate(20deg);
}

.feature-story-block .feature-card:nth-child(4) .feature-sparkle {
  top: 1rem;
  right: 1.2rem;
  color: var(--ink);
  transform: rotate(-15deg);
}

.feature-badge {
  align-self: flex-start;
  background: var(--cream);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  box-shadow: 2px 2px 0 var(--ink);
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.example-inner,
.feature-voice-note,
.feature-word-tag,
.feature-chip {
  background: var(--cream);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.example-inner {
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.translation-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.translation-quote {
  font-size: 1rem;
  font-weight: 800;
  color: #b44227;
}

.translation-arrow {
  color: var(--terracotta);
  font-weight: 800;
}

.translation-literal {
  font-size: 0.85rem;
  font-style: italic;
  color: #6d675c;
}

.translation-actual {
  display: inline-block;
  background: var(--sage);
  color: var(--cream);
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.feature-word-stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.feature-word-tag {
  align-self: flex-start;
  border-radius: 12px;
  padding: 0.35rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.15s ease;
}

.feature-word-tag:nth-child(1) {
  transform: rotate(-2deg);
}

.feature-word-tag:nth-child(2) {
  transform: rotate(1.5deg);
  margin-left: 1.25rem;
}

.feature-word-tag:nth-child(3) {
  transform: rotate(-1deg);
  margin-left: 0.5rem;
}

.feature-word-flag {
  font-size: 0.85rem;
}

.feature-word-def {
  font-size: 0.76rem;
  font-weight: 600;
  color: #6d675c;
}

.feature-voice-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 16px;
  padding: 0.65rem 0.9rem;
}

.feature-play-btn {
  width: 34px;
  height: 34px;
  flex: none;
  background: var(--sage);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.feature-play-btn::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #fff;
  margin-left: 2px;
}

.feature-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  height: 26px;
}

.feature-wave i {
  width: 3px;
  border-radius: 2px;
  background: #3f8859;
  display: block;
}

.feature-duration {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6d675c;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.feature-chip.is-checked {
  background: var(--mustard);
}

.feature-chip.is-checked::before {
  content: "✓";
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .feature-word-tag {
    transition: none;
    transform: none;
  }

  .feature-card:hover {
    transform: none;
    box-shadow: 6px 6px 0 var(--ink);
  }
}

.miau-cat-frame {
  width: min(420px, 80%);
  height: 260px;
  overflow: hidden;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.miau-cat-frame img {
  width: 100%;
  height: auto;
  display: block;
  flex: none;
}

.account-dashboard {
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 6rem;
}

.account-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.account-head h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.account-sub {
  margin: 0;
  font-size: 0.95rem;
  color: #6a655c;
  font-weight: 700;
}

.account-head-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.account-shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 0.45rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--mustard);
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 800;
  text-decoration: none;
  text-transform: lowercase;
}

.account-shop-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.account-shop-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.fish-pill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  /* background: var(--sage);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink); */
  padding: 0.55rem 1.1rem 0.5rem 0.8rem;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
}

.fish-pill img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.fish-pill small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.18rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.account-settings-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--terracotta);
  color: var(--cream);
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
}

.account-settings-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.account-empty {
  margin: 0 0 1.2rem;
  font-weight: 700;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.1rem;
}

.account-polaroid {
  border: 0;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(30, 30, 30, 0.15);
  text-align: center;
  cursor: pointer;
  padding: 0.62rem 0.62rem 0.8rem;
  font: inherit;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.16s ease;
}

.account-polaroid:hover {
  transform: rotate(0deg) translateY(-4px);
}

.account-polaroid-empty {
  transform: none;
  background: #f8f4ea;
  border: 3px dashed #b7ab96;
  box-shadow: none;
}

.account-polaroid-empty:hover {
  transform: translateY(-2px);
}

.account-polaroid-photo {
  display: block;
  border-radius: 7px;
  overflow: hidden;
  background: #f5efe2;
  position: relative; /* anchors .polaroid-trial-badge */
}

.account-polaroid-photo.is-empty {
  min-height: 175px;
  display: grid;
  place-items: center;
}

.account-polaroid-empty-plus {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.account-polaroid-photo img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  display: block;
}

.polaroid-caption {
  display: block;
  font-weight: 800;
  margin-top: 0.5rem;
}

.polaroid-meta {
  display: block;
  font-size: 0.72rem;
  color: #867f74;
  margin-top: 0.08rem;
}

.account-meter {
  margin-top: 0.45rem;
  height: 8px;
  border-radius: 999px;
  background: #ece3cf;
  overflow: hidden;
  display: block;
}

.account-meter i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--sage);
}

.account-fish-meta {
  margin-top: 0.25rem;
  display: block;
  font-size: 0.72rem;
  color: #6a655c;
  font-weight: 700;
}

.account-plan-strip {
  margin-top: 1.25rem;
  background: var(--mustard);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 1rem 1.1rem;
  box-shadow: 4px 4px 0 var(--ink);
}

.account-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.account-plan-label {
  font-size: 1.18rem;
  font-weight: 800;
}

.account-plan-label small {
  display: block;
  color: #5e4f1b;
  font-size: 0.86rem;
  font-weight: 700;
}

.account-plan-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.account-plan-strip details {
  margin-top: 0.8rem;
}

.account-plan-strip summary {
  font-weight: 800;
  cursor: pointer;
}

.account-tiers {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.account-tier {
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: #fff8eb;
  padding: 0.72rem;
  position: relative;
}

.account-tier.current::before {
  content: "your plan";
  position: absolute;
  top: -12px;
  right: 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--sage);
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 0.08rem 0.5rem;
}

.account-tier h3 {
  margin: 0 0 0.2rem;
  font-size: 1.03rem;
}

.account-tier .price {
  font-weight: 800;
  color: var(--terracotta);
  margin-bottom: 0.2rem;
}

.account-tier p {
  margin: 0;
  font-size: 0.8rem;
  color: #585147;
}

.account-plan-footnote {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: #5e4f1b;
}

.account-billing {
  margin-top: 1rem;
}

.account-settings {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.settings-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.settings-card {
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: #fff8eb;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 1.2rem 1.2rem 1.4rem;
}

.settings-card + .settings-card {
  margin-top: 1.4rem;
}

.settings-section-tag {
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.settings-card h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.settings-sub {
  margin: 0.25rem 0 1rem;
  color: #6a655c;
  font-weight: 700;
}

.settings-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
}

.settings-form label {
  margin-top: 0.35rem;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #5e4f1b;
}

.settings-form input,
.settings-form select {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 0.68rem 0.74rem;
  font: inherit;
  font-weight: 700;
  background: #fff;
}

.settings-form input:disabled {
  opacity: 0.68;
  color: #555;
}

.settings-save {
  margin-top: 0.8rem;
}

.settings-language-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.settings-language-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 0.5rem 0.7rem;
  background: #fff;
}

.settings-language-name {
  font-weight: 700;
  flex: 1 1 auto;
}

.settings-language-level {
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--mustard);
  flex: none;
}

.settings-language-remove {
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  background: var(--cream);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  flex: none;
}

.settings-language-remove:hover {
  background: var(--terracotta);
  color: var(--cream);
}

.settings-add-language-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.settings-add-language-form select {
  flex: 1 1 160px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  font: inherit;
  font-weight: 700;
  background: #fff;
}

.settings-add-language-form button {
  flex: none;
}

/* ---------- public forms (waitlist / suggest a cat) ---------- */

.public-form {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.6rem;
  max-width: 480px;
}

.public-form label {
  margin-top: 0.6rem;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.public-form input,
.public-form textarea {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 0.68rem 0.74rem;
  font: inherit;
  font-weight: 700;
  background: #fff;
  resize: vertical;
}

.public-form-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.public-form-choice {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  text-transform: none;
  background: #fff;
  cursor: pointer;
}

.public-form-country-phone-row {
  display: flex;
  gap: 0.5rem;
  min-width: 0;
}

.public-form-country-phone-row select {
  flex: 0 0 42%;
  min-width: 0;
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 0.68rem 0.5rem;
  font: inherit;
  font-weight: 700;
  background: #fff;
}

.public-form-country-phone-row input {
  flex: 1 1 auto;
  min-width: 0;
}

.suggest-cat-hint {
  margin-top: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.suggest-cat-fields {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.suggest-cat-input,
.suggest-cat-textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  background: #fff;
  resize: vertical;
}

.public-form button[type="submit"] {
  margin-top: 1rem;
  width: fit-content;
}

.country-list-waitlist-note {
  text-align: center;
  margin-top: 1.6rem;
  font-weight: 700;
}

.country-list-waitlist-note a {
  color: var(--terracotta);
  font-weight: 800;
  text-decoration: underline;
}

/* ---------- auth pages (signup / login) ---------- */

.auth-page {
  min-height: calc(100vh - 6.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.auth-card {
  width: min(420px, 100%);
  border: 3px solid var(--ink);
  border-radius: 28px;
  background: #fff8eb;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 2rem 1.8rem 1.8rem;
}

.auth-card h1 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.3rem;
}

.auth-sub {
  text-align: center;
  color: #6a655c;
  font-weight: 700;
  margin: 0 0 1.4rem;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-field {
  display: grid;
  gap: 0.35rem;
}

.auth-field label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #5e4f1b;
}

.auth-input,
.auth-select {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 0.78rem 1rem;
  font: inherit;
  font-weight: 700;
  background: #fff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.auth-input:focus,
.auth-select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(95, 174, 123, 0.25);
}

.auth-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.auth-checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--sage);
}

.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.2rem;
}

.auth-switch {
  text-align: center;
  margin: 1.2rem 0 0;
  color: #6a655c;
  font-weight: 700;
}

.auth-switch a {
  color: var(--terracotta);
  font-weight: 800;
  text-decoration: underline;
}

.link-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.link-select-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.link-select-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.link-selected-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 0.5rem 0.2rem 0.3rem;
}

.link-selected-view[hidden],
.link-setup-view[hidden] {
  display: none !important;
}

.link-selected-image {
  width: 132px;
  height: 132px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--cream);
  object-fit: contain;
  box-shadow: 4px 4px 0 var(--ink);
}

.link-selected-name {
  margin: 0.2rem 0 0;
  font-size: 1.5rem;
}

.link-selected-description {
  margin: 0;
  max-width: 32ch;
  font-weight: 700;
  color: #6a655c;
}

.link-channel-label {
  margin: 0.3rem 0 0;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #5e4f1b;
}

.link-channel-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 280px;
}

.link-channel-form {
  display: contents;
}

.link-channel-btn {
  width: 100%;
  text-align: center;
}

.link-channel-btn.is-soon {
  opacity: 0.45;
  pointer-events: none;
}

.link-label {
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #5e4f1b;
}

.link-form select {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 0.68rem 0.74rem;
  font: inherit;
  font-weight: 700;
  background: #fff;
}

.link-help {
  margin: 0.1rem 0 0.2rem;
  font-size: 0.86rem;
  color: #6a655c;
  font-weight: 700;
}

.link-personality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.link-personality-card {
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #fffaf1;
  text-align: left;
  font: inherit;
  font-weight: 700;
  padding: 0.72rem 0.82rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.link-personality-media {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0.65rem;
  align-items: start;
}

.link-personality-image {
  width: 54px;
  height: 54px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--cream);
  object-fit: contain;
  box-shadow: 2px 2px 0 var(--ink);
}

.link-personality-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.link-personality-card strong {
  font-size: 0.98rem;
}

.link-personality-card small {
  font-size: 0.82rem;
  color: #6a655c;
  line-height: 1.35;
}

.link-personality-card.selected {
  background: #e7f5eb;
  border-color: var(--sage);
  box-shadow: 0 0 0 2px var(--sage) inset;
}

.link-personality-empty {
  margin: 0;
  padding: 0.68rem 0.74rem;
  border-radius: 12px;
  background: #f5ecdb;
  font-size: 0.85rem;
  font-weight: 700;
  color: #6a655c;
}

.account-link-dialog-row {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.account-link-dialog-row .btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

@media (max-width: 560px) {
  .link-select-row {
    grid-template-columns: 1fr;
  }
}

.pending-link-card {
  margin-top: 0.8rem;
  border: 1px solid #cfe6d4;
  background: #f3fff6;
  border-radius: 12px;
  padding: 0.8rem;
}

.pending-link-card p {
  margin: 0 0 0.5rem 0;
}

.account-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 20;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--terracotta);
  color: var(--cream);
  font: inherit;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.account-fab:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.account-fab-label {
  position: fixed;
  left: 92px;
  bottom: 36px;
  z-index: 20;
  font-size: 0.85rem;
  font-weight: 700;
  color: #6a655c;
  pointer-events: none;
}

.account-link-dialog {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: #fff8eb;
  padding: 1.3rem;
  width: min(430px, calc(100vw - 40px));
  box-shadow: 6px 6px 0 var(--ink);
}

.account-link-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  background: var(--cream);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.account-link-dialog-close:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.account-link-dialog::backdrop {
  background: rgba(30, 30, 30, 0.45);
}

.account-link-dialog h2 {
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.buy-card {
  border: 1px solid #e8dcc8;
  border-radius: 12px;
  padding: 0.9rem;
  margin-bottom: 0.9rem;
  background: #fffaf1;
}

.buy-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.linked-cat-dialog {
  padding: 0;
  border: 0;
  background: transparent;
  width: min(440px, calc(100vw - 36px));
  max-width: none;
  max-height: none;
  overflow: visible;
}

.linked-cat-dialog::backdrop {
  background: rgba(23, 24, 26, 0.55);
  backdrop-filter: blur(3px);
}

.linked-cat-card {
  --linked-cat-accent: var(--pink);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
  position: relative;
}

.linked-cat-close-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  background: var(--cream);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.linked-cat-close-corner:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.linked-cat-hero {
  background: var(--linked-cat-accent);
  border-bottom: 3px solid var(--ink);
  padding: 1.5rem 1.35rem 1.2rem;
  position: relative;
}

.linked-cat-hero::before {
  content: "🐾 🐾 🐾";
  position: absolute;
  top: 8px;
  left: 12px;
  opacity: 0.25;
  letter-spacing: 16px;
  transform: rotate(-8deg);
  pointer-events: none;
}

.linked-cat-portrait {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.linked-cat-avatar {
  width: 96px;
  height: 96px;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 4px 4px 0 var(--ink);
  display: grid;
  place-items: center;
  transform: rotate(-3deg);
}

.linked-cat-image {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.linked-cat-name-wrap h3 {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1;
}

.linked-cat-username {
  margin: 0.45rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
  padding: 0.12rem 0.6rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.linked-cat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.95rem 1.35rem 0.2rem;
}

.linked-cat-badge {
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
  padding: 0.16rem 0.62rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.linked-cat-badge.lang {
  background: var(--mustard);
}

.linked-cat-badge.personality {
  background: var(--slate-blue);
  color: var(--cream);
}

.linked-cat-badge.style {
  background: var(--sage);
  color: var(--cream);
}

.linked-cat-about {
  margin: 0.7rem 1.35rem 0;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 3px 3px 0 var(--ink);
  background: #fff;
  padding: 0.75rem 0.85rem 0.75rem 2rem;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
  position: relative;
}

.linked-cat-about::before {
  content: "“";
  position: absolute;
  top: -8px;
  left: 8px;
  color: var(--linked-cat-accent);
  font-family: Georgia, serif;
  font-size: 3.4rem;
  line-height: 1;
}

.linked-cat-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.95rem 1.35rem 0.2rem;
}

.linked-cat-stat {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  text-align: center;
  padding: 0.5rem 0.4rem;
}

.linked-cat-stat .num {
  font-size: 1.14rem;
  line-height: 1;
  font-weight: 800;
}

.linked-cat-stat .label {
  margin-top: 0.35rem;
  color: #6d675c;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.linked-cat-stat.fish .num {
  color: #3f8859;
}

.linked-cat-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.35rem 1.25rem;
}

.linked-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 0.48rem 0.72rem;
  font: inherit;
  font-weight: 800;
}

.linked-cat-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.linked-cat-btn.primary {
  background: #2aabee;
  color: #fff;
}

.linked-cat-btn.primary.disabled {
  pointer-events: none;
  background: #95cde9;
  color: #f8fbff;
  box-shadow: none;
}

.linked-cat-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.linked-cat-btn.secondary {
  background: #fff;
  color: var(--ink);
}

.linked-cat-btn.small {
  font-size: 0.88rem;
}

.linked-cat-unlink-form {
  margin: 0;
}

.linked-cat-btn.danger {
  background: #fff1ee;
  color: #8f2424;
}

@media (max-width: 480px) {
  .linked-cat-card {
    border-radius: 24px;
  }

  .linked-cat-avatar {
    width: 82px;
    height: 82px;
    border-radius: 16px;
  }

  .linked-cat-name-wrap h3 {
    font-size: 1.6rem;
  }

  .linked-cat-about {
    padding-left: 1.7rem;
    font-size: 0.9rem;
  }

  .linked-cat-stat .num {
    font-size: 1.02rem;
  }
}

.account-shop {
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 5.5rem;
}

.shop-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.shop-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: #fff8eb;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 0.38rem 0.85rem;
  text-decoration: none;
  font-weight: 700;
}

.shop-sign-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.shop-sign {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: #a87043;
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--cream);
  padding: 0.55rem 1.7rem 0.65rem;
  transform: rotate(-1.5deg);
}

.shop-sign-paw {
  position: absolute;
  right: -12px;
  bottom: -12px;
}

.shop-aisle {
  position: relative;
  /* border: 3px solid var(--ink); */
  /* border-radius: 24px; */
  background: transparent;
  /* box-shadow: 6px 6px 0 var(--ink); */
  padding: 1.6rem 1.4rem 1.45rem;
  margin-bottom: 2rem;
}

.shop-aisle-memberships {
  /* background: #f4dfcf; */
}

.shop-aisle-packs {
  background: #dceee4;
}

.shop-aisle-tag {
  position: absolute;
  top: -15px;
  left: 18px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--cream);
  padding: 0.15rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.shop-aisle-tag.green {
  background: var(--sage);
}

.shop-hint {
  color: #6d675c;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.shop-current-plan {
  display: inline-block;
  background: var(--sage);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin: -0.6rem 0 1.2rem;
}

.shop-free-banner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: #ede6d4;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.1rem;
}

.shop-free-banner.current {
  background: var(--sage);
}

.shop-free-banner-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-free-banner-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.shop-free-banner-copy {
  flex: 1 1 auto;
}

.shop-free-banner-copy h3 {
  margin: 0 0 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.shop-free-banner-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
}

.shop-free-banner-copy p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #6d675c;
}

.shop-free-banner .shop-cta {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
  margin-top: 0;
}

.shop-plans,
.shop-deals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.shop-plan,
.shop-deal {
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 1.05rem 0.9rem;
}

.shop-plan.current {
  background: var(--cream);
}

.shop-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.48rem;
  transition: transform 120ms ease;
}

.shop-plan:not(.current):hover {
  transform: translateY(-3px);
}

.shop-plan.kitten-current {
  background: var(--sage);
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--cream), 6px 6px 0 var(--ink);
}

.shop-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--sage);
  color: var(--ink);
  padding: 0.08rem 0.68rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.shop-plan-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-plan-icon.beige {
  background: #ede6d4;
}

.shop-plan-icon.mustard {
  background: var(--mustard);
}

.shop-plan-icon.pink {
  background: #f1a9c8;
}

.shop-plan-icon.sage {
  background: var(--sage);
}

.shop-plan-icon > img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.shop-plan-stack {
  position: relative;
  width: 56px;
  height: 52px;
}

.shop-plan-stack img {
  position: absolute;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.shop-plan-stack img:nth-child(1) {
  top: 0;
  left: 14px;
}

.shop-plan-stack img:nth-child(2) {
  bottom: 0;
  left: 2px;
}

.shop-plan-stack img:nth-child(3) {
  bottom: 0;
  right: 2px;
}

.shop-deal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding-top: 1.35rem;
  transition: transform 120ms ease;
}

.shop-deal:hover {
  transform: translateY(-3px);
}

.shop-deal-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.08rem 0.62rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  background: var(--mustard);
}

.shop-deal-ribbon.mustard {
  background: var(--mustard);
}

.shop-deal-ribbon.sage {
  background: var(--sage);
}

.shop-fish-jar {
  width: 86px;
  height: 86px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink);
  display: flex;
  justify-content: center;
  align-items: center;
}

.shop-fish-jar.sky {
  background: #88d0ea;
}

.shop-fish-jar.mustard {
  background: var(--mustard);
}

.shop-fish-jar.tomato {
  background: var(--terracotta);
}

.shop-fish-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  min-height: 32px;
}

.shop-fish-icons.overlap .shop-fish-icon:first-child {
  margin-right: -8px;
  transform: rotate(-10deg);
}

.shop-fish-icons.overlap .shop-fish-icon:last-child {
  transform: rotate(8deg);
}

.shop-fish-icons.grid {
  width: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.shop-fish-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.shop-plan h3 {
  text-align: center;
  margin: 0.12rem 0 0.06rem;
}

.shop-plan ul {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  font-weight: 700;
  font-size: 0.88rem;
}

.shop-plan ul li {
  text-align: left;
  margin-bottom: 0.24rem;
}

.shop-plan ul li.unavailable {
  color: #a29c8f;
  text-decoration: line-through;
  font-weight: 600;
}

.shop-amount {
  text-align: center;
}

.shop-plan .shop-price {
  font-size: 1.05rem;
}

.shop-amount {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}

.shop-amount small {
  display: block;
  margin-top: 0.38rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-price {
  color: var(--terracotta);
  font-weight: 800;
  text-align: center;
}

.shop-per-fish {
  color: #6d675c;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.shop-deal form {
  width: 100%;
}

.shop-plan form {
  width: 100%;
}

.shop-cta {
  width: 100%;
  margin-top: 0.7rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--terracotta);
  color: var(--cream);
  font: inherit;
  font-weight: 800;
}

.shop-cta.muted,
.shop-cta:disabled {
  background: #f4ead8;
  color: var(--ink);
  box-shadow: none;
}

.shop-cta.shop-cta-downgrade {
  background: #f4ead8;
  color: var(--ink);
}

.shop-plan.kitten-current .shop-cta.muted {
  background: var(--sage);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

/* web chat */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chat-room-list {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.9rem;
}

.chat-room-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  color: inherit;
  /* grid items default to min-width:auto, which the nowrap preview would
     blow out into horizontal page scroll on narrow screens */
  min-width: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.chat-room-card:hover {
  transform: translateY(-3px);
  box-shadow: 5px 5px 0 var(--ink);
}

.chat-room-avatar {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.chat-room-avatar img {
  width: 38px;
  height: auto;
}

.chat-room-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.chat-room-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* meta wraps rather than truncating, so the surface tag stays visible */
.chat-room-meta {
  line-height: 1.35;
}

.chat-room-name {
  font-weight: 800;
  font-size: 1.05rem;
}

.chat-room-meta {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.6;
}

.chat-room-preview {
  font-size: 0.86rem;
  font-weight: 500;
  opacity: 0.8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-room-preview-empty {
  font-style: italic;
  opacity: 0.55;
}

.chat-room-tag {
  display: inline-block;
  font-size: 0.62rem;
  background: var(--peach);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.05rem 0.4rem;
  margin-left: 0.25rem;
  vertical-align: 1px;
}

.chat-room-tag.is-trial {
  background: var(--sage);
}

.chat-room-tag.is-trial.is-ending {
  background: var(--mustard);
}

/* trial state — replies are free during a trial, so say so loudly */

.web-chat-fish.is-trial {
  background: var(--sage);
}

.web-chat-trial-banner {
  margin: 0;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  background: var(--sage);
  border-bottom: 2.5px solid var(--ink);
}

.web-chat-trial-banner.is-ending {
  background: var(--mustard);
}

.polaroid-trial-badge {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: lowercase;
  background: var(--sage);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  line-height: 1.5;
}

.polaroid-trial-badge.is-ending {
  background: var(--mustard);
}

.linked-cat-badge.plan.is-trial {
  background: var(--sage);
}

/* per-cat channel buttons: site chat first, then messengers */

.cat-channels {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin: 0 auto;
}

.cat-channel-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.cat-channel-primary {
  font-size: 1rem;
}

.cat-channel-btn {
  font-size: 0.88rem;
  padding: 0.45rem 0.9rem;
}

/* a channel that isn't live yet — looks like a label, not a button */
.cat-channel-btn.is-soon,
.linked-cat-btn.disabled {
  background: transparent;
  border: 3px dashed var(--ink);
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 800;
  color: var(--ink);
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cat-channel-btn.is-soon:hover,
.linked-cat-btn.disabled:hover {
  transform: none;
  box-shadow: none;
}

.interview-chat-lead {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.6;
  margin: 0 0 0.7rem;
}

.detail-channels {
  margin-top: 1rem;
}

.linked-cat-trial-note {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  background: var(--sage);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 0.6rem 0.8rem;
  margin: 0 0 0.9rem;
}

.web-chat-continuity {
  align-self: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: lowercase;
  background: var(--peach);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin: 0 0 0.3rem;
}

.chat-picker-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.chat-picker-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 1.1rem 0.9rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.chat-picker-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.chat-picker-avatar img {
  width: 48px;
  height: auto;
}

.chat-picker-name {
  font-weight: 800;
  font-size: 1rem;
}

.chat-picker-meta,
.chat-picker-lang {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.6;
}

.chat-picker-btn {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  padding: 0.4rem 1.1rem;
}

/* the conversation surface itself */

.web-chat {
  display: flex;
  flex-direction: column;
  max-width: 640px;
  margin: 1.5rem auto 2rem;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--ink);
}

.web-chat-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border-bottom: 3px solid var(--ink);
}

.web-chat-back {
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  padding: 0.1rem 0.3rem;
}

.web-chat-avatar {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.web-chat-avatar img {
  width: 30px;
  height: auto;
}

.web-chat-ident {
  min-width: 0;
  flex: 1;
}

.web-chat-name {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-chat-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* the floating Corner Cat sits exactly where the send button goes */
.page-chat-room .corner-cat-launcher {
  display: none;
}

.web-chat-fish {
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  flex: none;
}

.web-chat-log {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.1rem 1rem;
  height: min(58vh, 460px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.web-chat-empty {
  font-size: 0.9rem;
  font-weight: 500;
  font-style: italic;
  opacity: 0.6;
  text-align: center;
  margin: auto 0;
}

.web-chat-msg {
  max-width: 82%;
  padding: 0.6rem 0.9rem;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.web-chat-msg.cat {
  background: #fff;
  border: 2.5px solid var(--ink);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.web-chat-msg.you {
  background: var(--blush);
  border: 2.5px solid var(--ink);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.web-chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.75rem 0.9rem;
}

.web-chat-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.35;
  animation: web-chat-blink 1.2s infinite ease-in-out;
}

.web-chat-typing i:nth-child(2) {
  animation-delay: 0.18s;
}

.web-chat-typing i:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes web-chat-blink {
  0%,
  80%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  40% {
    opacity: 0.9;
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .web-chat-typing i {
    animation: none;
  }
}

.web-chat-notice {
  margin: 0;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--mustard);
  border-top: 2.5px solid var(--ink);
}

.web-chat-form {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-top: 3px solid var(--ink);
  background: #fff;
}

.web-chat-form textarea {
  flex: 1;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0.6rem 0.8rem;
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  background: var(--cream);
  resize: none;
  overflow-y: auto;
  max-height: 140px;
}

.web-chat-form textarea:focus {
  outline: 3px solid var(--sage);
  outline-offset: 1px;
}

.web-chat-send {
  flex: none;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
}

.web-chat-cost {
  text-align: center;
  padding: 0.7rem 1rem 0.9rem;
  margin: 0;
  font-size: 0.8rem;
  background: #fff;
}

@media (max-width: 620px) {
  .web-chat {
    margin: 0.6rem auto 1.2rem;
    border-radius: 20px;
  }

  .web-chat-log {
    height: min(62vh, 520px);
  }

  .web-chat-msg {
    max-width: 88%;
  }

  /* 16px keeps iOS Safari from zooming the viewport on focus */
  .web-chat-form textarea {
    font-size: 16px;
  }
}

/* gazette — newspaper stand */

.gazette-country-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.gazette-country-pill {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: lowercase;
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gazette-country-pill:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.gazette-country-pill.is-active {
  background: var(--mustard);
  box-shadow: 3px 3px 0 var(--ink);
}

.gazette-stand {
  margin-top: 2rem;
}

.gazette-shelf {
  margin-bottom: 4rem;
}

.gazette-shelf-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--mustard);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin: 0 0 1.6rem;
}

.gazette-rack {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.6rem;
  position: relative;
  z-index: 1;
  padding: 0 0.4rem;
}

.gazette-shelf-plank {
  height: 18px;
  margin: -10px 0.6rem 0;
  background: var(--terracotta);
  border: 3px solid var(--ink);
  border-radius: 0 0 10px 10px;
  box-shadow: 5px 5px 0 var(--ink);
}

.gazette-issue {
  display: block;
  width: 190px;
  flex: none;
  background: #fbf6ea;
  border: 3px solid var(--ink);
  border-radius: 6px;
  padding: 0.8rem 0.8rem 1rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gazette-rack .gazette-issue:nth-child(odd) {
  transform: rotate(-2.5deg);
}

.gazette-rack .gazette-issue:nth-child(even) {
  transform: rotate(2deg);
}

.gazette-issue:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.04) !important;
  box-shadow: 7px 9px 0 var(--ink);
  z-index: 2;
  position: relative;
}

.gazette-issue-masthead {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 0.68rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px double var(--ink);
  padding-bottom: 0.35rem;
  margin: 0 0 0.6rem;
}

.gazette-issue-photo {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--ink);
  margin-bottom: 0.6rem;
}

.gazette-issue-headline {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.22;
  margin: 0 0 0.5rem;
}

.gazette-issue-byline {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.6;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .gazette-issue {
    transition: none;
  }
}

/* interview article — old-timey newspaper */

.interview-article {
  max-width: 680px;
  background: #fbf6ea;
  border: 3px solid var(--ink);
  border-radius: 6px;
  padding: 2.4rem 2.6rem 2.2rem;
  margin: 2rem auto;
  box-shadow: 8px 8px 0 var(--ink);
}

.interview-masthead {
  text-align: center;
  border-bottom: 4px double var(--ink);
  padding-bottom: 0.7rem;
  margin-bottom: 1.6rem;
}

.interview-masthead-title {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

.interview-masthead-meta {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin: 0.2rem 0 0;
}

.interview-header {
  text-align: center;
  margin-bottom: 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 2px solid var(--ink);
}

.interview-headline {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

.interview-byline {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.65;
  margin: 0;
}

.interview-photo {
  margin: 0 0 1.6rem;
}

.interview-photo img {
  width: 100%;
  height: auto;
  display: block;
  border: 3px solid var(--ink);
  border-radius: 8px;
}

.interview-photo figcaption {
  font-size: 0.75rem;
  font-style: italic;
  opacity: 0.65;
  margin-top: 0.6rem;
  text-align: center;
}

.interview-lede {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 1.6rem;
}

.interview-lede::first-letter {
  font-size: 3.2rem;
  font-weight: 900;
  float: left;
  line-height: 0.8;
  padding: 0.1rem 0.4rem 0 0;
}

.interview-chat-cta {
  text-align: center;
  margin-bottom: 1.8rem;
}

.interview-chat-cta .meta {
  margin-top: 0.5rem;
  opacity: 0.7;
}

.interview-qa-section {
  margin: 1.6rem 0;
}

.interview-qa-pair {
  margin-bottom: 1.8rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid #d8cfba;
}

.interview-qa-pair:last-child {
  border-bottom: none;
}

.interview-question {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.interview-answer {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
  position: relative;
}

.interview-answer p {
  margin: 0;
  display: inline;
}

.interview-answer p::before,
.interview-answer p::after {
  font-family: Georgia, serif;
  font-weight: 800;
  opacity: 0.5;
}

.interview-answer p::before {
  content: "\201C";
  margin-right: 0.1rem;
}

.interview-answer p::after {
  content: "\201D";
  margin-left: 0.1rem;
}

.interview-pull-quote {
  text-align: center;
  margin: 2rem 0;
  padding: 1.6rem 1.2rem;
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
}

.interview-pull-quote-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin: 0 0 0.6rem;
}

.interview-pull-quote-text {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.3;
  margin: 0;
  color: var(--terracotta);
}

.interview-pull-quote-text::before,
.interview-pull-quote-text::after {
  font-family: Georgia, serif;
  font-style: normal;
  font-weight: 800;
  opacity: 0.7;
}

.interview-pull-quote-text::before {
  content: "\201C";
}

.interview-pull-quote-text::after {
  content: "\201D";
}

.interview-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
}

/* legal pages (privacy, terms) */

.legal-content {
  margin-top: 2rem;
  max-width: 46em;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  max-width: none;
  transform: none;
  display: block;
  margin-top: 2.2rem;
  margin-bottom: 0.6rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}

.legal-content ul {
  padding-left: 1.4rem;
  margin: 0.6rem 0;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--terracotta);
  font-weight: 700;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid #ddd;
  padding: 0.5rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: #f9f6f0;
  font-weight: 700;
}

/* the erasure request form at /privacy#delete */

.legal-delete-block {
  margin: 1.6rem 0 2rem;
  padding: 1.4rem 1.5rem 1.6rem;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--peach);
  box-shadow: 5px 5px 0 var(--ink);
  scroll-margin-top: 1.5rem;
}

.legal-delete-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.legal-delete-block .public-form {
  margin-top: 1rem;
  max-width: none;
}

.legal-delete-hint {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
}

/* the anchor lands on the heading, so give it room to breathe under the topbar */
.legal-content h2[id] {
  scroll-margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .topbar {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .cat-spot img {
    width: 170px;
  }

  .cat-field .cat-spot:nth-child(n) {
    transform: none;
  }

  .cat-field {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  .corner-cat-launcher {
    width: 80px;
    height: 80px;
  }

  .corner-cat-tooltip {
    right: 58px;
    bottom: 56px;
    font-size: 0.66rem;
  }

  .world-map-frame {
    aspect-ratio: 1000 / 700;
  }

  .map-pin-dot {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    border-width: 2px;
  }

  .map-pin-place {
    font-size: 0.66rem;
    padding: 0.14rem 0.55rem;
  }

  .map-pin-lang {
    font-size: 0.58rem;
    padding: 0.1rem 0.5rem;
  }

  .account-head {
    flex-wrap: wrap;
  }

  .account-tiers {
    grid-template-columns: 1fr;
  }

  .account-fab-label {
    display: none;
  }

  .shop-plans,
  .shop-deals {
    grid-template-columns: 1fr;
  }
}
