/* Marketing pages, in the app's design language (src/styles/globals.css): its palette and
   type, pill buttons and chips, 16px cards on warm-white, peach letter-spaced labels and line
   icons on a sage wash. ExpensesFiled swaps sage for the app's accountant colour. */
:root {
  --sage: #7d9e7d;
  --sage-dark: #597659;
  --sage-strong: #5e7e5e;
  --sage-muted: #d4e4d4;
  --sage-wash: #edf5ed;
  --peach: #e8a87c;
  --peach-dark: #ab5d2d;
  --peach-wash: #fff5ed;
  --cpa: #4a5a8a;
  --cpa-wash: #eef0f7;
  --cream: #fafaf6;
  --warm-white: #fffdf9;
  --text: #2c3e2c;
  --text-secondary: #5a6b5a;
  --text-light: #637263;
  --border: #e2e8e2;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', Calibri, 'Gill Sans', sans-serif;
  --measure: 720px;
  --wide: 1120px;
  --gutter: 2rem;
  --radius-card: 16px;
  --radius-pill: 100px;

  /* What a site recolours. */
  --accent: var(--sage-strong);
  --accent-ink: var(--sage-dark);
  --accent-wash: var(--sage-wash);
  --glow-a: rgb(125 158 125 / 0.1);
  --glow-b: rgb(232 168 124 / 0.12);
}

.site-expensesfiled {
  --accent: var(--cpa);
  --accent-ink: var(--cpa);
  --accent-wash: var(--cpa-wash);
  --glow-a: rgb(74 90 138 / 0.06);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--warm-white);
  color: var(--text);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--peach-dark);
}

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 1.9rem);
  margin: 3rem 0 0.8rem;
}

h3 {
  font-size: 1.25rem;
  margin: 1.8rem 0 0.4rem;
}

p,
li {
  text-wrap: pretty;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--accent-ink);
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--warm-white);
  padding: 0.5rem 1rem;
  z-index: 20;
}

/* Navigation: the app's nav, warm-white over the page, a hairline below. */
.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 253 249 / 0.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
}

.top {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.6rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  display: block;
  width: 64px;
  height: 44px;
  object-fit: cover;
}

.brand .tile {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 9px;
}

.brand .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.brand:hover {
  color: var(--text);
}

.links {
  display: flex;
  gap: 1.75rem;
  margin-right: auto;
  font-size: 0.94rem;
  font-weight: 500;
}

.links a {
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
}

.links a:hover {
  color: var(--accent-ink);
}

/* Buttons: the app's pill. */
.button {
  display: inline-block;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgb(44 62 44 / 0.12);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.button:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgb(44 62 44 / 0.16);
}

.button.secondary {
  background: var(--warm-white);
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}

.button.secondary:hover {
  color: var(--accent-ink);
  border-color: var(--accent-ink);
}

.button.small {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  box-shadow: none;
}

main {
  padding: 0 var(--gutter) 5rem;
}

/* Home hero: words on the left, the picture on the right, a soft glow behind both. */
.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 5.5rem 0 5rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    radial-gradient(40rem 26rem at 12% 20%, var(--glow-a), transparent 70%),
    radial-gradient(34rem 24rem at 88% 70%, var(--glow-b), transparent 70%);
}

.hero.has-visual {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.3rem);
  line-height: 1.04;
  margin-bottom: 1.4rem;
}

.hero .lede {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 34rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.2rem 0 0;
}

.eyebrow,
.v-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--peach-dark);
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 38rem;
  margin: 0;
}

/* The picture: a loose pile of records above a tidy list. */
.visual {
  margin: 0;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}

.pile,
.sorted {
  width: 100%;
  max-width: 30rem;
  border-radius: var(--radius-card);
  padding: 1.25rem 1.4rem;
}

.pile {
  border: 1px dashed #cdd8cd;
  background: rgb(250 250 246 / 0.7);
}

.pile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pile li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--warm-white);
  font-size: 0.88rem;
  color: var(--text-secondary);
  box-shadow: 0 2px 8px rgb(44 62 44 / 0.06);
}

.pile li:nth-child(odd) {
  transform: rotate(-1.6deg);
}

.pile li:nth-child(even) {
  transform: rotate(1.2deg) translateY(2px);
}

.pile .icon {
  width: 1rem;
  height: 1rem;
  color: var(--text-light);
}

.v-arrow {
  display: flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent-ink);
}

.v-arrow .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.sorted {
  border: 1px solid var(--border);
  background: var(--warm-white);
  box-shadow: 0 10px 36px rgb(44 62 44 / 0.1);
}

.sorted ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sorted li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--border);
  line-height: 1.35;
}

.sorted b {
  display: block;
  font-weight: 600;
  font-size: 0.97rem;
}

.sorted small {
  color: var(--text-light);
  font-size: 0.8rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
}

.pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.pill.ok {
  background: var(--sage-wash);
  color: var(--sage-dark);
}

.pill.ask {
  background: var(--peach-wash);
  color: var(--peach-dark);
}

.pill.cpa {
  background: var(--cpa-wash);
  color: var(--cpa);
}

/* Home bands: full width, alternating warm-white and cream. */
.band {
  margin: 0 calc(-1 * var(--gutter));
  padding: 5.5rem var(--gutter);
  border-top: 1px solid var(--border);
}

.band:nth-of-type(odd) {
  background: var(--cream);
}

.band .prose {
  font-size: 1.15rem;
}

.band .prose h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-top: 0;
}

.problem {
  background: var(--cream);
}

.cards {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--warm-white);
  padding: 1.6rem 1.6rem 0.6rem;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 6px 24px rgb(125 158 125 / 0.1);
}

.card h3 {
  margin: 1.1rem 0 0.35rem;
  font-size: 1.3rem;
}

.card p {
  color: var(--text-secondary);
  margin-top: 0;
}

.problem .intro {
  margin-top: 3.5rem;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.4;
}

.problem .intro p {
  margin: 0 auto 0.4rem;
  max-width: 34ch;
}

.intro:empty {
  display: none;
}

/* Inner pages. */
.crumbs {
  max-width: var(--measure);
  margin: 0 auto;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs a {
  color: var(--text-light);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--accent-ink);
}

.crumbs li + li::before {
  content: '/';
  padding: 0 0.55rem;
  color: var(--border);
}

.page-head {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3.5rem 0 1rem;
}

.crumbs + .page-head {
  padding-top: 1.25rem;
}

.prose,
.faq,
.sources,
.related {
  max-width: var(--measure);
  margin: 0 auto;
}

.prose > :first-child {
  margin-top: 0;
}

.prose li {
  margin: 0.35rem 0;
}

.prose li::marker {
  color: var(--accent-ink);
}

.prose strong {
  font-weight: 600;
}

.prose table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 0.93rem;
  line-height: 1.5;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.prose th,
.prose td {
  padding: 0.65rem 0.8rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose th {
  background: var(--accent-wash);
  font-weight: 600;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.4rem 1.4rem;
  border-left: 3px solid var(--peach);
  border-radius: 0 12px 12px 0;
  background: var(--peach-wash);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.dated {
  color: var(--text-light);
  font-size: 0.85rem;
}

.note {
  margin: 2.5rem 0 0;
  padding: 0.4rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--cream);
  font-size: 0.93rem;
  color: var(--text-secondary);
}

/* Guides hub: each list of guides becomes a grid of cards. */
.kind-hub .prose ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.kind-hub .prose li {
  margin: 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--warm-white);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.kind-hub .prose li > a:first-child {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.kind-hub .prose li > a:first-child:hover {
  color: var(--accent-ink);
}

/* Questions: open and close without a script. */
.faq {
  margin-top: 4rem;
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent-ink);
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  margin: 0 0 1.2rem;
  color: var(--text-secondary);
}

.sources {
  margin-top: 3rem;
  font-size: 0.9rem;
}

.sources ul {
  padding-left: 1.1rem;
}

.related {
  margin-top: 3rem;
}

.related ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.related a {
  display: block;
  height: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
}

.related a:hover {
  border-color: var(--accent-ink);
  color: var(--accent-ink);
}

/* The closing call: a quiet card with the hero's glow. */
.cta-band {
  max-width: 920px;
  margin: 5rem auto 0;
  padding: 3.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(28rem 16rem at 15% 100%, var(--glow-a), transparent 70%),
    radial-gradient(24rem 14rem at 90% 0%, var(--glow-b), transparent 70%),
    var(--warm-white);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.cta-band p {
  margin: 0 0 1.6rem;
  color: var(--text-secondary);
}

.cta-band p:last-child {
  margin: 0;
}

footer {
  border-top: 1px solid var(--border);
  background: var(--cream);
  padding: 3.5rem var(--gutter) 2.5rem;
  font-size: 0.9rem;
}

footer .cols,
footer .fine {
  max-width: var(--wide);
  margin: 0 auto;
}

footer .cols {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

footer h2 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 0.8rem;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin: 0.45rem 0;
  line-height: 1.4;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent-ink);
}

footer .fine {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.6;
}

footer .fine p {
  max-width: 56rem;
}

/* The app's phone breakpoint. */
@media (max-width: 860px) {
  :root {
    --gutter: 1.25rem;
  }

  .top {
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    justify-content: space-between;
  }

  .links {
    order: 3;
    width: 100%;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0.25rem var(--gutter) 0.15rem;
    overflow-x: auto;
    gap: 1.4rem;
    scrollbar-width: none;
  }

  .brand img {
    width: 54px;
    height: 37px;
  }

  .hero {
    padding: 3rem 0 3.5rem;
  }

  .hero.has-visual {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .band {
    padding: 3.75rem var(--gutter);
  }

  .prose table {
    display: block;
    overflow-x: auto;
  }

  .cta-band {
    padding: 2.5rem 1.25rem;
  }
}

/* Amy (assets/amy.svg) and her example conversation on the reapt.app hero. */
.avatar {
  display: block;
  border-radius: 50%;
  background: var(--sage-wash);
}

.channels {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.channels li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.channels .icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--accent-ink);
}

.hero.has-visual:has(.stage) {
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
}

.stage {
  position: relative;
  min-height: 750px;
}

.stage .amy {
  position: absolute;
  z-index: 1;
  right: -2.5rem;
  top: 0;
  width: 460px;
  height: auto;
}

.chat {
  position: absolute;
  z-index: 2;
  left: -1.5rem;
  top: 10.5rem;
  width: 290px;
  margin: 0;
}

.phone {
  border: 1px solid var(--border);
  border-radius: 34px;
  background: var(--warm-white);
  padding: 0.75rem 0.85rem 1rem;
  box-shadow:
    0 24px 60px rgb(44 62 44 / 0.16),
    0 0 0 8px rgb(255 253 249 / 0.9);
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.4rem 0.75rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.25;
}

.phone-head b {
  display: block;
  font-size: 0.95rem;
}

.phone-head small {
  font-size: 0.75rem;
  color: var(--text-light);
}

.thread {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.86rem;
  line-height: 1.4;
}

.thread li {
  max-width: 85%;
  padding: 0.55rem 0.8rem;
  border-radius: 18px;
}

.thread .amy-says {
  align-self: flex-start;
  background: var(--sage-wash);
  border-bottom-left-radius: 6px;
}

.thread .you-say {
  align-self: flex-end;
  background: var(--sage-strong);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.thread .typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  background: var(--sage-wash);
  border-bottom-left-radius: 6px;
  padding: 0.7rem 0.85rem;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.chat figcaption {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
}

.cta-band .avatar {
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 0 6px var(--warm-white);
}

@media (prefers-reduced-motion: no-preference) {
  .thread li {
    opacity: 0;
    animation: pop 0.45s ease-out forwards;
  }

  .thread li:nth-child(1) {
    animation-delay: 0.6s;
  }

  .thread li:nth-child(2) {
    animation-delay: 1.9s;
  }

  .thread li:nth-child(3) {
    animation-delay: 3.4s;
  }

  .thread li:nth-child(4) {
    animation-delay: 4.8s;
  }

  .thread li:nth-child(5) {
    animation-delay: 6.3s;
  }

  .thread li:nth-child(6) {
    animation-delay: 7.6s;
  }

  .thread li:nth-child(7) {
    animation-delay: 8.9s;
  }

  .typing i {
    animation: blink 1.2s ease-in-out infinite;
  }

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

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

  .stage .amy {
    animation: float 7s ease-in-out infinite;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 860px) {
  .hero.has-visual:has(.stage) {
    grid-template-columns: 1fr;
  }

  .stage {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .stage .amy {
    position: static;
    width: 300px;
  }

  .chat {
    position: static;
    width: 100%;
    max-width: 340px;
    margin-top: -2.5rem;
  }
}

/* Home bands with a picture: words and picture side by side, alternating sides. */
.band.has-art .band-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.band.has-art .prose {
  margin: 0;
}

.band.has-art:nth-of-type(odd) .art-fig {
  order: -1;
}

.art-fig {
  margin: 0;
}

.art-fig figcaption {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
}

.art {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.art .amy-says,
.art .you-say {
  max-width: 85%;
  margin: 0;
  padding: 0.5rem 0.8rem;
  border-radius: 16px;
  font-size: 0.86rem;
  line-height: 1.4;
}

.art .amy-says {
  justify-self: start;
  background: var(--sage-wash);
  border-bottom-left-radius: 6px;
}

.art .you-say {
  justify-self: end;
  background: var(--sage-strong);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.mini,
.qcard {
  width: 100%;
  max-width: 24rem;
  display: grid;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--warm-white);
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: 0 10px 30px rgb(44 62 44 / 0.08);
}

.mini:nth-child(1) {
  transform: rotate(-1.2deg) translateX(-1.5rem);
}

.mini:nth-child(2) {
  transform: rotate(0.8deg) translateX(1.5rem);
}

.mini:nth-child(3) {
  transform: rotate(-0.5deg) translateX(-0.5rem);
}

.mini-head,
.q-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.mini-head .icon {
  width: 1rem;
  height: 1rem;
  color: var(--accent-ink);
}

.q-head {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.q-head .pill {
  margin-left: auto;
}

.qcard {
  padding: 1.4rem 1.5rem 1.5rem;
  gap: 1rem;
}

.q-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.q-options {
  display: flex;
  gap: 0.6rem;
  margin: 0;
}

.q-options span {
  flex: 1;
  text-align: center;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.q-options .yes {
  background: var(--sage-strong);
  border-color: var(--sage-strong);
  color: #fff;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--warm-white);
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgb(44 62 44 / 0.08);
  font-size: 0.88rem;
}

.toast .avatar {
  flex: none;
}

@media (max-width: 860px) {
  .band.has-art .band-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .band.has-art:nth-of-type(odd) .art-fig {
    order: 0;
  }

  .mini:nth-child(n) {
    transform: none;
  }
}

.art-portrait .avatar {
  box-shadow:
    0 0 0 10px var(--warm-white),
    0 18px 50px rgb(44 62 44 / 0.14);
}
