/* Landing page, terms.gg */

/*
 * A floating pill that starts as a small capsule and expands into the full bar
 * on load, then rides along as you scroll. Borrowed from Payr, restyled light
 * so it belongs on this page.
 */

  30%  { opacity: 1; transform: translateY(0);     max-width: 52px; }
  100% { opacity: 1; transform: translateY(0);     max-width: 760px; }
}

  to   { opacity: 1; transform: scale(1);    filter: blur(0); }
}

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

/*
 * The wash belongs to the page, not to the section, so it runs behind the
 * floating island and reaches the top edge of the document.
 */
body::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 780px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1000px 460px at 12% -4%, #eef0ff 0%, rgba(238, 240, 255, 0) 62%),
    radial-gradient(880px 440px at 92% 6%, #e6f6ff 0%, rgba(230, 246, 255, 0) 60%),
    linear-gradient(180deg, #f4f6ff 0%, rgba(244, 246, 255, 0) 70%);
}

.hero {
  position: relative;
  padding: 72px 0 96px;
}
.hero::after {
  content: '';
  position: absolute; inset: auto 0 0; height: 1px;
  background: var(--line-soft);
}
.hero h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -0.034em; }
.hero .lede { margin-top: 20px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 20px; font-size: 13.5px; color: var(--faint); }
.tick { color: var(--green); flex: none; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 12px 0 6px;
  border-radius: 999px; background: #fff;
  font-size: 12.5px; font-weight: 540; color: var(--body);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-xs);
  margin-bottom: 22px;
}
.pill b { color: var(--brand); font-weight: 620; }
.pill .chip {
  height: 18px; padding: 0 7px; border-radius: 999px;
  background: var(--brand-wash); color: var(--brand-dark);
  font-size: 11px; font-weight: 640; display: grid; place-items: center;
}

/* --------------------------------------------------- widget mockup */


@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }


.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-lg);
  font-size: 13px; font-weight: 540; color: var(--ink);
  animation: floaty 5s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 420; color: var(--muted); font-size: 11.5px; }
.float-1 { top: 16%; left: -46px; }
.float-2 { bottom: 12%; right: -38px; animation-delay: 1.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* --------------------------------------------------------- sections */

.section { padding: 104px 0; }
/* The island floats over the page, so an anchored section has to start below it. */
section[id] { scroll-margin-top: 84px; }
.section-sunken { background: var(--surface-sunken); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.wrap-sm > .eyebrow + h2 { margin-top: 14px; }
.center { text-align: center; }
.section-head .lede { margin-top: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.stat { background: #fff; padding: 26px 24px; }
.stat b { display: block; font-size: 32px; font-weight: 640; color: var(--navy); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: 13.5px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 22px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -8px; left: 0;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 640;
}
.step h3 { margin: 22px 0 8px; }


.checklist { display: grid; gap: 13px; margin-top: 26px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; }
.checklist b { color: var(--ink); font-weight: 580; }
.check-icon {
  width: 20px; height: 20px; border-radius: 6px; flex: none; margin-top: 1px;
  background: var(--green-wash); color: var(--green);
  display: grid; place-items: center;
}

 .tok-str { color: #ffd39b; } .tok-tag { color: #92a9ff; } .tok-com { color: #6b8099; }

.channel-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.channel {
  display: flex; gap: 16px; padding: 24px;
  border-radius: var(--r-lg); background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow-xs);
}
.channel-logo { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff; }
.channel-discord { background: #5865f2; }
.channel-telegram { background: #2aabee; }
.channel h3 { font-size: 16px; margin-bottom: 6px; }
.channel p { font-size: 14px; }

/* Three cards of the same height, whatever their lists say, with the button
   on the same line across all three. */
/* Four now. They wrap to two before they wrap to one, because four columns
   squeezed onto a laptop reads as a table nobody can compare. */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 1100px) { .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan {
  padding: 26px 22px; border-radius: var(--r-lg); background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow-xs);
  display: flex; flex-direction: column; gap: 18px;
  height: 100%;
}
/* The list grows, the button stays at the bottom, so the three line up. */
.plan ul { flex: 1; }
.plan .btn { margin-top: 4px; }
/*
 * The plan meant to catch the eye, with nothing switched on yet.
 *
 * It carried a "Most popular" badge, which was a claim about what other
 * customers had chosen on a product that has none, next to a button saying the
 * plan is not on sale. Both the badge and the border that went with it are now
 * off unless asked for, because four prices that all look the same is an
 * honest page and a highlighted one is a recommendation.
 *
 * The class stays on the card so the intended choice is still written down.
 * Two attributes bring it back, separately:
 *
 *   <div class="plan plan-featured" data-highlight>              the border
 *   <div class="plan plan-featured" data-badge="Most popular">   the label
 */
.plan-featured { position: relative; }
.plan-featured[data-highlight] {
  box-shadow: inset 0 0 0 2px var(--brand), var(--shadow-lg);
}
/* A price you cannot pay yet says so where the button would be. */
.plan .soon {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; border-radius: var(--r-sm);
  background: var(--surface-sunken); color: var(--muted);
  font-size: 14px; font-weight: 560;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.plan .soon b { color: var(--ink); font-weight: 600; }

/* The label itself, for the day there is a number behind it. */
.plan-featured[data-badge]::before {
  content: attr(data-badge);
  position: absolute; top: -11px; left: 26px;
  height: 22px; padding: 0 10px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: 11.5px; font-weight: 620; display: grid; place-items: center;
}
.plan h3 { font-size: 16px; }
.price { display: flex; align-items: baseline; gap: 4px; }
.price b { font-size: 38px; font-weight: 640; color: var(--navy); letter-spacing: -0.03em; }
.price span { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }

/* The closing note sits on the page rather than in a box. Nothing here needs
   a gradient to be read. */
.cta-band {
  padding: 84px 24px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(26px, 3.2vw, 36px); }
.cta-band p { color: var(--muted); margin-top: 14px; font-size: 17px; max-width: 52ch; margin-inline: auto; }

.footer { padding: 56px 0 40px; border-top: 1px solid var(--line-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 14px; }
.footer nav { display: grid; gap: 9px; }
.footer nav a { font-size: 14px; color: var(--body); }
.footer-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* The floating cards sit outside the mock, so they need real room either side. */
@media (max-width: 1180px) {
  .float-1, .float-2 { display: none; }
}

@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .mock { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps, .features, .pricing, .channel-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 56px; }
  .cta-band { padding: 40px 24px; }
  .stats { grid-template-columns: 1fr; }
}


/* ------------------------------------------------- live legal generator */

.section-tight { padding: 48px 0 0; }

.generator {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.generator-controls {
  display: grid; gap: 18px;
  padding: 22px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow-xs);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-toggle {
  height: 30px; padding: 0 12px; border: 0; border-radius: 999px;
  background: var(--surface-sunken); color: var(--muted);
  font-size: 12.5px; font-weight: 540; cursor: pointer;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease);
}
.chip-toggle:hover { color: var(--navy); }
.chip-toggle.is-on {
  background: var(--brand-wash); color: var(--brand-dark);
  box-shadow: inset 0 0 0 1px #d9d5ff;
}

.generator-output {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow-xs);
  overflow: hidden;
  min-width: 0;
}
.generator-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line-soft);
}
.generator-head h4 { font-size: 14px; }

.generator-list { display: grid; gap: 1px; background: var(--line-soft); }
.doc-pill {
  display: grid; gap: 2px; text-align: left;
  padding: 12px 20px; border: 0; background: #fff; cursor: pointer;
  transition: background var(--speed) var(--ease);
}
.doc-pill:hover { background: var(--surface-sunken); }
.doc-pill.is-active { background: var(--brand-wash); }
.doc-pill-title { font-size: 13.5px; font-weight: 580; color: var(--navy); }
.doc-pill-why { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.generator-preview { background: var(--navy); }
.generator-preview .code-bar { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.generator-preview pre {
  margin: 0; padding: 16px 20px 20px;
  max-height: 280px; overflow: auto;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.7;
  color: #8fa4ba; white-space: pre-wrap; word-break: break-word;
}
.md-h { color: #fff; font-weight: 600; }
.md-strong { color: #d7e3f1; }
.md-quote { color: #f0c98a; }
.md-table { color: #8fd8c4; }
.md-bullet { color: #7f92a8; }

.fine-print {
  margin-top: 22px; font-size: 13px; color: var(--muted);
  max-width: 72ch; margin-inline: auto; text-align: center; line-height: 1.6;
}

/* ------------------------------------------------------- store cards */

.store-row { display: flex; gap: 14px; align-items: flex-start; }
.store-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: grid; place-items: center; color: #fff;
}
.store-apple { background: #111; }
.store-play { background: #1a73e8; }
.store-row h4 { font-size: 14.5px; margin-bottom: 3px; }

/* ------------------------------------------------------- agent note */

.agent-note {
  margin-top: 26px; padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--brand-wash);
  box-shadow: inset 0 0 0 1px #e2dfff;
}
.agent-note h4 { font-size: 14.5px; margin-bottom: 6px; }
.agent-note p { font-size: 14px; color: var(--body); max-width: 78ch; line-height: 1.65; }

/* --------------------------------------------------------------- faq */


@media (max-width: 960px) {
  .generator { grid-template-columns: 1fr; }
  .hero-visual { gap: 12px; }
}


/* ------------------------------------------------------- purist bits */

/*
 * Fewer boxes, more typography. A numbered list carries the same information
 * as three cards and asks far less of the eye.
 */

/* Grid items default to min-width:auto, which lets a code block widen the page. */


.plain-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.plain-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
}
.plain-list li:last-child { border-bottom: 1px solid var(--line-soft); }

.quiet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 36px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.quiet-grid h4 { font-size: 14px; margin-bottom: 8px; }
.quiet-grid p { font-size: 14.5px; color: var(--muted); line-height: 1.7; max-width: 52ch; }

/* Pricing lists lose their check icons, the text is enough. */
.plan ul { gap: 0; }
.plan li {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--body);
}
.plan li:first-child { border-top: 0; padding-top: 0; }

.asterisk {
  display: inline-block;
  margin-left: 2px;
  padding: 0 3px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}
.asterisk:hover { text-decoration: underline; }

#answer-quality { text-align: left; margin-top: 30px; }
#answer-quality b { color: var(--brand); }

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .plain-steps { gap: 32px; }
}

.footer-inline { display: flex; gap: 18px; }
.footer-inline a { color: var(--muted); font-size: 13px; }
.footer-inline a:hover { color: var(--navy); }


/* ---------------------------------------------- store acceptance block */

.stores {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 44px;
  align-items: center;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.stores-copy h3 { font-size: 22px; letter-spacing: -0.025em; }
.stores-copy p { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 48ch; }

.store-badges { display: grid; gap: 0; margin-top: 26px; grid-column: 1; }
.store-badge {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}
.store-badge:last-child { border-bottom: 1px solid var(--line-soft); }
.store-badge .store-mark { grid-row: 1 / span 2; align-self: start; margin-top: 2px; }
.store-badge b { font-size: 14.5px; color: var(--navy); }
.store-badge span:not(.store-mark) { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.store-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center; color: #fff;
}
.store-apple { background: #111; }
.store-play { background: #1a73e8; }
.store-web { background: linear-gradient(135deg, #7a73ff, #4b45c6); }

.stores-art { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: center; }
.stores-art svg { width: 100%; height: auto; }

@media (max-width: 900px) {
  .stores { grid-template-columns: 1fr; gap: 24px; }
  .store-badges, .stores-art { grid-column: 1; }
  .stores-art { grid-row: auto; max-width: 320px; }
}

/* ------------------------------------------- sections with an illustration */


@media (max-width: 940px) {
  .art-grid, .art-grid-flip { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  /* The picture is support, so it follows the words on a narrow screen. */
  .section-art { order: 2; max-width: 340px; margin-inline: auto; }
  .art-copy { order: 1; }
}

/* ===================================================== the simple homepage
 *
 * One idea per screen, a picture for each, and nothing to click except the
 * three buttons on the page. Anything that needed explaining in code was the
 * wrong thing to put on a homepage.
 */

.center { text-align: center; }
.wrap-narrow { max-width: 54ch; margin-inline: auto; }

.mascot { width: 152px; height: auto; display: block; margin: 0 auto 18px; }
.mascot-sm { width: 108px; margin-bottom: 18px; }

/* The island is in the flow and already pushes the page down by its own height
   plus its margin, so the hero adds very little on top of that. */
.hero-simple { padding: 40px 0 64px; }
.hero-simple h1 {
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(30px, 5.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.hero-simple .lede { margin: 16px auto 28px; max-width: 42ch; }
.hero-simple .hero-note { margin-top: 18px; font-size: 13.5px; color: var(--faint); }

.section h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.03em; }
.section h2.center + .lede { margin-top: 16px; }
/* Anything that is not a paragraph needs the space the old section head gave it. */
.section h2.center + .pricing,
.section h2.center + .cards-3,
.section h2.center + .steps-3,
.section h2.center + .doc-list,
.section h2.center + .qa { margin-top: 46px; }
.pricing + .fine-print { margin-top: 34px; }

/* Three cards, each one picture and one idea. */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 48px;
}
.big-card {
  padding: 8px 8px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow-sm);
}
.big-card figure { margin: 0 0 20px; border-radius: var(--r-md); background: #f7f6ff; padding: 10px; }
.big-card svg { display: block; width: 100%; height: auto; }
.big-card h3 { font-size: 18px; letter-spacing: -0.02em; padding: 0 18px; }
.big-card p { margin-top: 9px; padding: 0 18px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* Three steps, in order, each with its own picture. */
.steps-3 {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  counter-reset: step;
}
.steps-3 li { text-align: center; min-width: 0; }
.steps-3 figure { margin: 0 0 18px; }
.steps-3 svg { display: block; width: 100%; height: auto; }
.step-n {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: 14px; font-weight: 640;
}
.steps-3 h3 { margin-top: 12px; font-size: 18px; letter-spacing: -0.02em; }
.steps-3 p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* Which documents exist, as a plain list rather than a demo. */
.doc-list {
  list-style: none;
  margin: 44px auto 0;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: 0;
}
.doc-list li {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 17px 4px;
  border-top: 1px solid var(--line-soft);
}
.doc-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.doc-list b { font-size: 15px; color: var(--navy); }
.doc-list span { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Questions, answered in the open rather than behind a click. */
.qa { display: grid; gap: 0; margin-top: 40px; }
.qa > div { padding: 22px 0; border-top: 1px solid var(--line-soft); }
.qa > div:last-child { border-bottom: 1px solid var(--line-soft); }
.qa h3 { font-size: 16.5px; letter-spacing: -0.015em; }
.qa p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 68ch; }

#start .lede { margin: 16px auto 30px; max-width: 46ch; }

@media (max-width: 900px) {
  .cards-3, .steps-3 { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-simple { padding: 28px 0 48px; }
  .doc-list li { grid-template-columns: minmax(0, 1fr); gap: 5px; }
}

.guide-teasers { list-style: none; margin: 34px auto 20px; padding: 0; max-width: 560px; display: grid; }
.guide-teasers li a {
  display: block; padding: 15px 4px; font-size: 15.5px; color: var(--ink);
  border-top: 1px solid var(--line-soft);
}
.guide-teasers li:last-child a { border-bottom: 1px solid var(--line-soft); }
.guide-teasers li a:hover { color: var(--brand); }

/*
 * The other way in: hand the line to whatever is building the app.
 *
 * It gets a picture and a button because the sentence alone did not land. The
 * picture says where the line goes, the button removes the step of selecting
 * it, and the text stays selectable for anyone whose clipboard is blocked.
 */
.agent-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  width: min(620px, 100%);
  margin: 40px auto 0;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow-sm);
  text-align: left;
}
.agent-art { width: 132px; height: auto; display: block; }
.agent-body b { display: block; font-size: 15.5px; letter-spacing: -0.015em; color: var(--ink); }
.agent-body p { margin-top: 7px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

.agent-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 7px 7px 7px 14px;
  border-radius: 12px;
  background: var(--surface-sunken);
  box-shadow: inset 0 0 0 1px var(--line);
}
.agent-field span {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
  user-select: all;
}
.agent-field .btn { flex: none; }
.agent-field .btn.is-done { background: var(--green); }

@media (max-width: 620px) {
  .agent-card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; }
  .agent-art { width: 108px; margin-inline: auto; }
  .agent-body { text-align: center; }
  .agent-field { text-align: left; }
}

/* The language switcher in the footer. A select, because sixteen options on
   a phone are the platform's problem to solve and it already solved it. */
.lang-pick {
  height: 30px;
  padding: 0 26px 0 10px;
  font: inherit;
  font-size: 13px;
  color: var(--body);
  background: transparent url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7c93' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  appearance: none;
}
.lang-pick:hover { border-color: #cfd7e3; }
.lang-pick:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
