@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --paper-sunk: #f5f7f4;
  --ink: #1b211e;
  --ink-soft: #5c6661;
  --rule: #e3e7e1;
  --green: #1dbf85;
  --green-press: #169c6c;
  --green-wash: #e5f8f0;
  --warn: #9a6212;
  --warn-wash: #fbf1df;
  --bin-plastic: #b77f00;
  --bin-paper: #2d6fb5;
  --bin-glass: #2e6b4a;
  --bin-organic: #7a5a3a;
  --bin-residual: #6b7280;
  --bin-special: #b3453a;
  --bin-deposit: #1dbf85;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121614;
    --paper-sunk: #1a1f1c;
    --ink: #e6ebe7;
    --ink-soft: #9aa59f;
    --rule: #2a322d;
    --green: #3be199;
    --green-press: #2ec684;
    --green-wash: #163628;
    --warn: #d9a24a;
    --warn-wash: #2c2415;
    --bin-plastic: #d9a12a;
    --bin-paper: #5b96d6;
    --bin-glass: #5aa57c;
    --bin-organic: #b08965;
    --bin-residual: #9aa3ae;
    --bin-special: #d4665a;
    --bin-deposit: #3be199;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121614;
  --paper-sunk: #1a1f1c;
  --ink: #e6ebe7;
  --ink-soft: #9aa59f;
  --rule: #2a322d;
  --green: #3be199;
  --green-press: #2ec684;
  --green-wash: #163628;
  --warn: #d9a24a;
  --warn-wash: #2c2415;
  --bin-plastic: #d9a12a;
  --bin-paper: #5b96d6;
  --bin-glass: #5aa57c;
  --bin-organic: #b08965;
  --bin-residual: #9aa3ae;
  --bin-special: #d4665a;
  --bin-deposit: #3be199;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
  max-width: 24ch;
}
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.small { font-size: 0.875rem; color: var(--ink-soft); }
.label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-bottom: 6px;
}
p { max-width: 68ch; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 20px;
}
.section { padding-block: 96px; border-top: 1px solid var(--rule); }
.section:first-of-type { border-top: 0; }
@media (min-width: 900px) {
  .section { padding-block: 128px; }
}

header.site {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
header.site .container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: 1.375rem;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wordmark .logo { display: block; flex: 0 0 auto; }
header.site nav { display: flex; gap: 20px; font-size: 0.9375rem; }
header.site nav a { color: var(--ink-soft); }
header.site nav a:hover { color: var(--ink); }
@media (max-width: 600px) {
  header.site nav { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding-inline: 18px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--paper);
  font-weight: 500;
  font-size: 0.9375rem;
}
.btn:hover { border-color: var(--ink-soft); }
.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.btn.primary:hover, .btn.primary:active { background: var(--green-press); border-color: var(--green-press); }
.btn.primary:disabled { opacity: 0.45; cursor: not-allowed; }
.quiet {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quiet:hover { color: var(--ink); }
.quiet[aria-pressed="true"] { color: var(--green); text-decoration: none; font-weight: 500; }

.hero { padding-block: 80px 96px; }
.hero .sub { margin-top: 24px; color: var(--ink-soft); font-size: 1.125rem; }
.greeting { color: var(--green); font-weight: 600; font-size: 0.9375rem; margin-bottom: 8px; }
.greeting[hidden] { display: none; }
.ask-block {
  max-width: 720px;
  margin: 56px auto 0;
}
.composer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 10px;
  padding-inline: 14px 10px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--paper);
  transition: box-shadow 160ms var(--ease), border-color 160ms var(--ease);
}
.composer:focus-within {
  border-color: var(--ink-soft);
  box-shadow: 0 1px 2px rgba(27, 33, 30, 0.04), 0 14px 36px -14px rgba(27, 33, 30, 0.14);
}
.composer input[type="text"] {
  flex: 0 0 auto;
  width: 160px;
  height: 36px;
  margin-top: 2px;
  padding-inline: 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.875rem;
  font-weight: 500;
}
.composer input[type="text"]::placeholder { color: var(--ink-soft); font-weight: 400; }
.composer input[type="text"]:focus { outline: none; border-color: var(--green); }
.composer textarea {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  max-height: calc(6 * 1.6em);
  padding: 7px 0;
  border: 0;
  background: none;
  resize: none;
  line-height: 1.6;
  field-sizing: content;
}
.composer textarea:focus { outline: none; }
.composer textarea::placeholder { color: var(--ink-soft); }
.composer .btn { flex: 0 0 auto; }
@media (max-width: 600px) {
  .composer { flex-wrap: wrap; }
  .composer textarea { order: -1; flex-basis: 100%; }
  .composer input[type="text"] { flex: 1; width: auto; }
  .composer .btn { margin-inline-start: auto; }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
}
.icon-btn:hover { color: var(--ink); border-color: var(--ink-soft); }

dialog {
  width: min(420px, calc(100% - 32px));
  padding: 24px 28px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop { background: rgba(27, 33, 30, 0.4); }
dialog h3 { margin-bottom: 20px; }
dialog fieldset { border: 0; padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--rule); }
dialog fieldset:last-of-type { border-bottom: 0; padding-bottom: 0; margin-bottom: 20px; }
dialog legend, dialog .field > span { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); margin-bottom: 10px; }
dialog fieldset label { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
dialog .field { display: block; margin-bottom: 20px; }
dialog select { width: 100%; height: 40px; padding-inline: 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); color-scheme: light dark; outline: none; }
dialog select:focus-visible { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-wash); }
dialog select option { background: var(--paper); color: var(--ink); }
dialog input[type="text"] { width: 100%; height: 40px; padding-inline: 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); }
dialog input[type="radio"] { accent-color: var(--green); }
.usage-bar { height: 6px; border-radius: 999px; background: var(--paper-sunk); overflow: hidden; margin-bottom: 8px; }
.usage-fill { height: 100%; background: var(--green); border-radius: 999px; transition: width 0.3s ease; }
.usage-text { font-size: 0.8125rem; color: var(--ink-soft); margin-bottom: 12px; }
#settings-history { list-style: none; max-height: 160px; overflow-y: auto; font-size: 0.875rem; }
#settings-history li { padding: 8px 0; border-top: 1px solid var(--rule); color: var(--ink); }
#settings-history li:first-child { border-top: 0; }
#settings-history:empty { display: none; }

.legal { padding-block: 64px; }
.legal h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.legal h2 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 1.25rem; font-weight: 600; margin-top: 32px; }
.legal p, .legal li { max-width: 68ch; margin-top: 8px; }
.legal ul { list-style: disc; padding-inline-start: 20px; }
.legal .lang-block + .lang-block { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--rule); }
.legal .placeholder { color: var(--warn); }



.examples {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.examples button {
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.875rem;
}
.examples button:hover { border-color: var(--ink-soft); }
#thread { text-align: start; display: grid; gap: 24px; margin-bottom: 20px; }
#thread:empty { display: none; }
.turn .you { font-weight: 500; margin-bottom: 10px; padding-inline-start: 14px; border-inline-start: 2px solid var(--rule); }
.waiting::after { content: ''; display: inline-block; width: 3px; height: 1em; margin-left: 4px; vertical-align: text-bottom; background: var(--green); }

.card {
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 24px 28px;
  max-width: 720px;
}
.card-special { border-color: var(--bin-special); }
.card-error { border-color: var(--warn); }
.card-error .option { margin-top: 12px; }
.block + .block { margin-top: 20px; }
.material-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.material-name code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.safety { font-weight: 500; margin-bottom: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.dest-icon { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.dot-plastic { background: var(--bin-plastic); }
.dot-paper { background: var(--bin-paper); }
.dot-glass { background: var(--bin-glass); }
.dot-organic { background: var(--bin-organic); }
.dot-residual { background: var(--bin-residual); }
.dot-special { background: var(--bin-special); }
.dot-deposit { background: var(--bin-deposit); }
.marker { color: var(--warn); font-size: 0.75rem; font-weight: 500; }
.facts li, .steps li { padding-inline-start: 18px; position: relative; }
.facts li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.72em; width: 8px; height: 1px; background: var(--ink-soft); }
.steps { counter-reset: s; }
.steps li { padding-inline-start: 24px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; inset-inline-start: 0; color: var(--ink-soft); font-size: 0.875rem; font-weight: 500; }
.caveat {
  padding: 12px 16px;
  background: var(--warn-wash);
  border-inline-start: 1px solid var(--warn);
}
.caveat .small { color: var(--warn); }
details.upcycle summary { cursor: pointer; font-weight: 500; list-style: none; }
details.upcycle summary::before { content: '+'; display: inline-block; width: 16px; color: var(--ink-soft); }
details.upcycle[open] summary::before { content: '–'; }
details.upcycle .ideas { margin-top: 12px; }
.ideas { display: grid; gap: 12px; }
.idea { padding: 12px 16px; border: 1px solid var(--rule); border-radius: 14px; }
.idea-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-bottom: 6px; }
.meta { display: inline-flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--ink-soft); }
.effort { display: inline-flex; gap: 3px; }
.effort i { width: 6px; height: 6px; border-radius: 50%; background: var(--rule); }
.effort i.on { background: var(--ink-soft); }
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.foot .small { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.actions { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.feedback { display: inline-flex; gap: 12px; }
.sources span:first-child { color: var(--ink-soft); }
.question { font-size: 1.125rem; font-weight: 500; }
.options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.option {
  padding: 8px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 500;
  font-size: 0.9375rem;
}

@keyframes land {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}
.land { animation: land 160ms var(--ease) both; }
.caret > :last-child::after, .caret > h4 + *::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1em;
  margin-left: 4px;
  vertical-align: text-bottom;
  background: var(--green);
}
@media (prefers-reduced-motion: reduce) {
  .land { animation: none; }
  .caret > :last-child::after, .caret > h4 + *::after, .waiting::after { display: none; }
}

.section h2 + p { margin-top: 16px; color: var(--ink-soft); }
.section .card, .section .cols, .section .grid { margin-top: 40px; }

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.col { padding-inline-end: 24px; }
.col + .col { border-inline-start: 1px solid var(--rule); padding-inline-start: 24px; }
@media (max-width: 600px) {
  .col + .col { border-inline-start: 0; border-top: 1px solid var(--rule); padding: 20px 0 0; margin-top: 20px; }
}
.col h3 { margin-bottom: 12px; }
.col .chip { margin-bottom: 12px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.item { border: 1px solid var(--rule); border-radius: 14px; padding: 20px; }
.item .arrow { font-size: 0.875rem; color: var(--ink-soft); display: block; margin: 2px 0 8px; }

.sources-list { margin-top: 24px; display: grid; gap: 8px; max-width: 68ch; }
.sources-list li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.sources-list li span:first-child { flex: 0 0 120px; font-size: 0.75rem; font-weight: 500; color: var(--ink-soft); padding-top: 3px; }
.limits { margin-top: 24px; padding: 12px 16px; background: var(--warn-wash); border-inline-start: 1px solid var(--warn); }

.close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }

footer.site { border-top: 1px solid var(--rule); padding-block: 40px; font-size: 0.875rem; color: var(--ink-soft); }
footer.site .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
footer.site strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 8px; }
footer.site li + li { margin-top: 4px; }
footer.site a:hover { color: var(--ink); }

.attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.attachments[hidden] { display: none; }
.attachment { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 4px 4px 4px 4px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); font-size: 0.8125rem; color: var(--ink-soft); }
.attachment img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.attachment .name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachment button { border: 0; background: none; color: var(--ink-soft); font-size: 1.125rem; line-height: 1; padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.attachment button:hover { color: var(--ink); background: var(--paper-sunk); }
.file-tag { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 6px; background: var(--paper-sunk); color: var(--ink); font-size: 0.75rem; font-weight: 600; }
.you .file-tag { height: 28px; margin-left: 8px; font-weight: 500; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.dragging::after { content: attr(data-drop); position: fixed; inset: 12px; z-index: 60; display: grid; place-items: center; border: 2px dashed var(--green); border-radius: 18px; background: color-mix(in srgb, var(--paper) 88%, transparent); color: var(--ink); font-size: 1.25rem; font-weight: 500; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { #photo-btn { display: none; } }
.composer .icon-btn { flex: 0 0 auto; margin-top: 2px; }
.turn .you img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 6px; margin-top: 8px; }

.container.page { max-width: 760px; padding-block: 48px 96px; }
.crumbs { font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 16px; }
.crumbs a:hover { color: var(--ink); }
.page-title { font-size: clamp(2.25rem, 5vw, 3.5rem); max-width: none; margin-bottom: 16px; }
.lead { color: var(--ink-soft); font-size: 1.125rem; margin-bottom: 32px; }
.page .card h2.label { font-family: inherit; font-size: 0.75rem; font-weight: 500; line-height: 1.4; max-width: none; }
.page-cta { margin-top: 24px; }
.page-cta a, .related a, .groups a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.page-cta a:hover, .related a:hover, .groups a:hover { text-decoration-color: currentColor; }
.related { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--rule); }
.related h2, .groups h2 { font-size: 1.5rem; margin-bottom: 12px; }
.related ul, .groups ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 24px; }
.groups section + section { margin-top: 40px; }
.az-search { width: 100%; max-width: 360px; margin: 24px 0; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; }
.az-search:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.usage-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper-sunk); font-size: 0.875rem; color: var(--ink); }
.usage-banner.full { border-color: var(--green); }
.usage-banner .quiet { flex-shrink: 0; }
.promise { margin-top: 8px; font-size: 0.8125rem; }
.suggest { margin-top: 10px; }
.suggest:empty { display: none; }
.maps { display: inline-block; margin-left: 12px; font-size: 0.875rem; font-weight: 500; color: var(--green); }
.skeleton { display: grid; gap: 14px; position: relative; }
.sk { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--paper-sunk) 25%, var(--rule) 50%, var(--paper-sunk) 75%); background-size: 200% 100%; animation: sk 1.4s ease-in-out infinite; }
.sk-tall { height: 22px; }
.sk-chip { height: 32px; width: 45%; border-radius: 999px; }
.sk-w40 { width: 40%; }
.sk-w60 { width: 60%; }
.sk-w75 { width: 75%; }
.sk-w90 { width: 90%; }
.sk-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
.usage-banner[hidden] { display: none; }
@media (max-width: 480px) { header.site .container > .btn { display: none; } }
.team { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 20px 0 8px; padding: 0; }
.team li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.team span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper-sunk); border: 1px solid var(--rule); color: var(--green); font-size: 1.125rem; font-weight: 600; }
.helpful { margin-left: auto; }
.notfound { margin: 24px 0 16px; }
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta { display: flex; justify-content: center; position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 20; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
  main.page { padding-bottom: 88px; }
}
.lang-alt { font-size: 0.875rem; white-space: nowrap; }
.pick, .pick::picker(select) { appearance: base-select; }
.pick { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--ink); cursor: pointer; white-space: nowrap; transition: border-color 160ms var(--ease); }
.pick > button { all: unset; display: block; flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick selectedcontent { display: inline; }
.pick:hover { border-color: var(--ink-soft); }
.pick::picker-icon { flex: 0 0 auto; color: var(--ink-soft); transition: rotate 160ms var(--ease); }
.pick:open::picker-icon { rotate: 180deg; }
.pick::picker(select) { margin-block: 6px; padding: 6px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.35); }
.pick option { padding: 9px 12px; border-radius: 9px; }
.pick option:hover, .pick option:focus-visible { background: var(--paper-sunk); outline: none; }
.pick option:checked { background: var(--green-wash); font-weight: 500; }
.pick option::checkmark { color: var(--green); }
.voice-row { display: flex; align-items: stretch; gap: 8px; margin-bottom: 14px; }
#settings-tts { margin-bottom: 0; }
.field-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.field-row > span { flex: 0 0 auto; font-size: 0.8125rem; color: var(--ink-soft); }
.field-row .pick { flex: 1 1 0; min-width: 0; }
.voice-row .pick { flex: 1 1 0; min-width: 0; }
.voice-row .btn { flex: 0 0 auto; }
.pick:disabled { opacity: 0.55; cursor: default; }
.name-lead { font-weight: 600; color: var(--ink); }
.sk-note { margin-top: 2px; }
.sk-note:empty { display: none; }
.card.translating { opacity: 0.55; transition: opacity 200ms var(--ease); }
#example { margin-top: 40px; }
.team-teaser .team { margin-top: 0; margin-bottom: 20px; }
.team-teaser p + p { margin-top: 12px; }
@keyframes rai-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rai-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rai-pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.btn, .icon-btn, .examples button, .option, .attachment button { transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease); }
.item, .team span, .groups li a, .related a { transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease), color 160ms var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .btn:active, .icon-btn:active, .examples button:active, .option:active { transform: scale(0.97); }
  .examples button:hover, .option:hover { transform: translateY(-1px); }
  .item:hover { transform: translateY(-3px); border-color: var(--ink-soft); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.45); }
  .team li:hover span { transform: scale(1.08); }
  .hero h1, .hero .sub, .hero .ask-block, .page-title, .page .lead, .crumbs { animation: rai-rise 700ms var(--ease) both; }
  .hero .sub, .page .lead { animation-delay: 80ms; }
  .hero .ask-block, .page .card { animation-delay: 160ms; }
  .page .card { animation: rai-rise 700ms 160ms var(--ease) both; }
  dialog[open] { animation: rai-pop 240ms var(--ease) both; }
  dialog[open]::backdrop { animation: rai-fade 240ms var(--ease) both; }
  .usage-banner:not([hidden]), .attachment, .suggest button, .sk-note:not(:empty), .name-lead { animation: rai-rise 320ms var(--ease) both; }
  body.dragging::after { animation: rai-fade 160ms var(--ease) both; }
  .sticky-cta { animation: rai-rise 500ms 400ms var(--ease) both; }
  @supports (animation-timeline: view()) {
    .section:not(.hero) .container > *, .grid .item, .cols > *, .groups section, .related, .page-cta {
      animation: rai-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .grid .item:nth-child(2) { animation-range: entry 5% entry 45%; }
    .grid .item:nth-child(3) { animation-range: entry 10% entry 50%; }
    .grid .item:nth-child(4) { animation-range: entry 15% entry 55%; }
  }
}
.r3d { position: fixed; inset: 0; z-index: 0; display: block; width: 100%; height: 100vh; height: 100lvh; pointer-events: none; opacity: 0; transition: opacity 900ms var(--ease); }
.r3d.ready { opacity: 1; }
.r3d.in { position: static; height: 100%; }
.r3d-glow { position: fixed; left: 0; top: 0; z-index: 0; width: 0; height: 0; border-radius: 50%; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.r3 main, .r3 footer.site { position: relative; z-index: 1; }
.r3 footer.site { background: var(--paper); }
.guide-stage { display: none; }
.r3 .guide-stage { display: block; height: clamp(180px, 34vw, 280px); margin: 0 0 28px; border-radius: 16px; background: radial-gradient(70% 90% at 50% 75%, var(--paper-sunk), transparent); }
.r3 .guide-stage + .card { margin-top: 0; }
.r3 #compare .col { transition: filter 300ms var(--ease); }
.r3-on #compare:has(.is-active) .col:not(.is-active) { filter: opacity(0.42); }
@media (min-width: 900px) {
  .r3 main .container { max-width: 1240px; }
  .r3 main .section .container > * { max-width: min(600px, 54vw); }
  .r3 .ask-block { margin-inline: 0; }
  .r3 .examples { justify-content: flex-start; }
  .r3 .section { border-top-color: transparent; }
  .r3 .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .r3 .close { justify-content: flex-start; gap: 28px; }
}
@media (max-width: 899px) {
  .r3 .hero { padding-top: calc(30svh + 16px); }
  .r3 .hero { padding-bottom: 32px; }
  .r3 .section:not(.hero) { padding-block: 46svh 24px; border-top: 0; }
  .r3 main .section > .container { margin-inline: 12px; padding: 24px 20px; border: 1px solid var(--rule); border-radius: 20px; background: color-mix(in srgb, var(--paper) 82%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
}
@media (prefers-reduced-motion: reduce) {
  .r3d, .r3 #compare .col { transition: none; }
}
.icon-btn.recording { color: var(--green); border-color: var(--green); box-shadow: 0 0 0 calc(var(--level, 0) * 10px) var(--green-wash); }
.icon-btn[aria-busy="true"] { opacity: 0.5; }
dialog.talk { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); border: 0; border-radius: 0; background: var(--paper); }
dialog.talk[open] { display: grid; place-content: center; justify-items: center; gap: 20px; text-align: center; }
dialog.talk::backdrop { background: var(--paper); }
.talk-stage { --level: 0; position: relative; display: grid; place-items: center; width: min(72vw, 32vh, 300px); aspect-ratio: 1; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.talk-stage:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }
.talk-stage > * { width: 100%; height: 100%; }
.talk-stage:not(:empty)::before, .talk-stage:not(:empty)::after { display: none; }
.talk-stage:not(:empty) { display: block; width: min(92vw, 640px); height: min(46vh, 440px); aspect-ratio: auto; border-radius: 0; }
.talk-stage::before, .talk-stage::after { content: ''; position: absolute; border-radius: 50%; transition: transform 120ms var(--ease), opacity 200ms var(--ease); }
.talk-stage::before { inset: 0; background: var(--green-wash); transform: scale(calc(0.72 + var(--level) * 0.28)); }
.talk-stage::after { inset: 14%; border: 2px solid var(--green); opacity: calc(0.25 + var(--level) * 0.75); }
.talk-stage[data-state="thinking"]::after { opacity: 0.35; }
.talk-status { font-size: 1.125rem; font-weight: 500; }
.talk-caption { max-width: 36ch; min-height: 3.2em; max-height: 32vh; overflow-y: auto; color: var(--ink-soft); }
.talk-stage[data-state="muted"]::before { background: var(--paper-sunk); transform: scale(0.72); }
.talk-stage[data-state="muted"]::after { opacity: 0.15; }
.talk-actions .btn[aria-pressed="true"] { background: var(--paper-sunk); border-color: var(--ink-soft); }
.talk-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.talk-actions [hidden] { display: none; }
@keyframes rai-breathe { 50% { transform: scale(0.9); } }
@keyframes rai-ring { from { transform: scale(0.8); opacity: 0.9; } to { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .talk-stage[data-state="thinking"]::before { animation: rai-breathe 1.8s var(--ease) infinite; }
  .talk-stage[data-state="speaking"]::before { animation: rai-breathe 1.1s var(--ease) infinite; }
  .talk-stage[data-state="speaking"]::after { animation: rai-ring 1.1s ease-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .talk-stage::before { transform: none; }
  .talk-stage::after { transition: none; }
  .icon-btn.recording { box-shadow: none; }
}
