/* Perslis Accessibility — micro-site styles.

   This micro-site runs a LIGHT theme of its own, scoped entirely to
   `body.acc-site`, over the dark dive.css / peel-site.css base. Everything
   below either re-tones an inherited rule for light, or adds a component the
   base does not have. Nothing here leaks to the rest of the site.

   System fonts and local assets only — no external requests, matching the
   rest of perslis.com. */

/* ================================================================ tokens */
body.acc-site {
  --bg: #ffffff;
  --ink: #163350;          /* headings — deep navy */
  --body: #56738a;         /* body copy — slate */
  --muted: #627f94;
  --dim: #87a0b3;
  --line: #e3edf4;
  --line-soft: #eef4f9;

  --blue: #2f90e0;         /* primary action */
  --blue-deep: #1d6fb6;
  --blue-soft: #dcecfb;
  --teal: #2fb3a3;
  --teal-soft: #d8f1ec;
  --purple-soft: #e6e1fa;
  --green-soft: #d9efe0;
  --pink-soft: #fce0e4;
  --amber-soft: #fdeccd;

  --sky: #eaf4fc;          /* tinted band — blue */
  --mist: #f4f9fc;         /* tinted band — grey-blue */
  --mint: #edf7f1;         /* tinted band — green */
  --cream: #fdf6ec;        /* tinted band — peach */
  --navy: #15334f;         /* footer */

  --card: #ffffff;
  --shadow: 0 2px 16px rgba(24, 64, 102, .07);
  --shadow-lift: 0 10px 34px rgba(24, 64, 102, .11);
  --hand: "Bradley Hand", "Segoe Script", "Brush Script MT", "Comic Sans MS", cursive;

  background: var(--bg);
  color: var(--body);
}

/* ================================================================ base re-tone */
body.acc-site h1,
body.acc-site h2,
body.acc-site h3,
body.acc-site h4 { color: var(--ink); letter-spacing: -.02em; }
body.acc-site h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.12; font-weight: 800; }
body.acc-site h2 { font-size: clamp(1.6rem, 3.1vw, 2.3rem); line-height: 1.18; font-weight: 800; }
body.acc-site p { color: var(--body); }
body.acc-site a { color: var(--blue-deep); }
body.acc-site strong { color: var(--ink); }

body.acc-site .eyebrow {
  color: var(--blue); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
body.acc-site .lede { color: var(--body); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.7; }

/* Bands are left-aligned here — the Figma leads with a heading, not a centred
   column. Tinted bands get a full-bleed backdrop behind the centred content. */
body.acc-site .band {
  max-width: 1120px; margin-inline: auto;
  padding: clamp(52px, 7vw, 86px) 28px;
  text-align: left; position: relative;
}
body.acc-site .band > .eyebrow + h2 { margin-top: 10px; }
body.acc-site .band > h2 + .lede { margin-top: 12px; max-width: 760px; margin-inline: 0; }

body.acc-site .acc-tint::before {
  content: ""; position: absolute; inset: 0;
  left: 50%; margin-left: -50vw; width: 100vw;
  z-index: -1;
}
body.acc-site .acc-tint-sky::before   { background: var(--sky); }
body.acc-site .acc-tint-mist::before  { background: var(--mist); }
body.acc-site .acc-tint-mint::before  { background: var(--mint); }
body.acc-site .acc-tint-cream::before { background: var(--cream); }

/* Handwritten accents — the Figma's marginal notes. Decorative only, so they
   are never the sole carrier of meaning. */
body.acc-site .acc-hand {
  font-family: var(--hand);
  color: var(--blue-deep);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.35;
  font-weight: 600;
}
body.acc-site .acc-hand-sm { font-size: 1rem; }

/* ================================================================ header */
body.acc-site .peel-header {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
}
body.acc-site .peel-brand { color: var(--ink); }
body.acc-site .peel-mark { color: var(--blue); }
body.acc-site .peel-global a { color: var(--muted); }
body.acc-site .peel-global a:hover,
body.acc-site .peel-global a[aria-current="page"] { color: var(--ink); }
body.acc-site .peel-global .lang-toggle { border-color: var(--line); }
body.acc-site .peel-nav { flex-wrap: wrap; }
body.acc-site .peel-nav > a { color: var(--muted); font-weight: 500; }
body.acc-site .peel-nav > a:hover { color: var(--ink); }
body.acc-site .peel-nav a[aria-current="page"] { color: var(--blue-deep); border-color: var(--blue); }
body.acc-site .peel-nav .peel-nav-demo {
  background: var(--blue); color: #fff; border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: 13px;
}
body.acc-site .peel-nav .peel-nav-demo:hover { background: var(--blue-deep); color: #fff; }

/* ================================================================ buttons */
body.acc-site .peel-button {
  border-radius: 999px; padding: 12px 24px;
  font-size: 15px; font-weight: 600;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(24, 64, 102, .06);
  transition: transform .14s, box-shadow .14s, background .14s;
}
body.acc-site .peel-button:hover {
  text-decoration: none; transform: translateY(-1px);
  box-shadow: var(--shadow); border-color: #cfe0ec;
}
body.acc-site .peel-button.primary {
  background: var(--blue); color: #fff; border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(47, 144, 224, .28);
}
body.acc-site .peel-button.primary:hover {
  background: var(--blue-deep); border-color: var(--blue-deep); color: #fff;
  box-shadow: 0 8px 22px rgba(47, 144, 224, .34);
}
body.acc-site .peel-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

body.acc-site .skip-link { background: var(--blue); color: #fff; }

/* ================================================================ hero */
.acc-hero-split {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
  max-width: 1120px; margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) 28px clamp(64px, 8vw, 104px);
}
.acc-hero-split::before {
  content: ""; position: absolute; inset: 0;
  left: 50%; margin-left: -50vw; width: 100vw; z-index: -1;
  background: linear-gradient(176deg, #e2f0fb 0%, #edf6fc 62%, #f3f9fd 100%);
}
.acc-hero-copy, .acc-chat-wrap { position: relative; z-index: 1; }
.acc-hero-split h1 { margin: 10px 0 0; }
.acc-hero-split .lede { margin: 18px 0 0; max-width: 34rem; margin-inline: 0; }
.acc-hero-eyebrow-hand { display: block; margin-bottom: 2px; }

/* The soft wave that closes the hero, as in the Figma: a white crest laid over
   the foot of the tinted gradient so the hero melts into the band below. */
.acc-hero-wave {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -1px; width: 100vw; line-height: 0; z-index: 0;
}
.acc-hero-wave svg { display: block; width: 100%; height: auto; }

/* Trust badges */
.acc-badges { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.acc-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.acc-badge-dot {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.acc-badge-dot.pink  { background: var(--pink-soft); }
.acc-badge-dot.teal  { background: var(--teal-soft); }
.acc-badge-dot.green { background: var(--green-soft); }

/* ================================================================ chat mockup */
.acc-chat-wrap { position: relative; }
.acc-chat {
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 20px;
  box-shadow: var(--shadow-lift);
}
.acc-chat-label {
  font-size: 10.5px; letter-spacing: .13em; color: var(--dim);
  margin-bottom: 14px; text-transform: uppercase; font-weight: 700;
}
.acc-bubble {
  padding: 11px 15px; border-radius: 14px; font-size: 14px;
  line-height: 1.5; margin-bottom: 10px; max-width: 90%;
}
.acc-bubble-partner { background: var(--mist); color: var(--ink); border: 1px solid var(--line-soft); }
.acc-live-form { position: relative; }
.acc-live-form .acc-bubble-partner {
  display: block; width: 100%; max-width: none; margin: 0;
  padding-right: 44px; font: inherit; outline: none;
}
.acc-live-form .acc-bubble-partner:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 144, 224, .12);
}
.acc-live-submit {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 31px; height: 31px; border: 0; border-radius: 9px;
  background: var(--blue); color: #fff; cursor: pointer;
  font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1;
}
.acc-live-submit:hover { background: var(--blue-deep); }
.acc-live-submit:focus-visible { outline: 3px solid rgba(47, 144, 224, .28); outline-offset: 2px; }
.acc-bubble-user {
  background: var(--blue); color: #fff;
  margin-left: auto; text-align: right; font-weight: 500;
}
.acc-chat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 12px 0; }
.acc-chat-tile {
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 11px 6px; text-align: center; font-size: 12px;
  font-family: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
}
.acc-chat-tile:hover { border-color: var(--blue); transform: translateY(-1px); }
.acc-chat-tile:focus-visible { outline: 3px solid rgba(47, 144, 224, .24); outline-offset: 2px; }
.acc-chat-tile .acc-tile-emoji { font-size: 22px; display: block; margin-bottom: 5px; }
.acc-chat-tile.is-selected {
  border-color: var(--blue); background: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(47, 144, 224, .12);
}
.acc-chat-arrow {
  text-align: center; color: var(--dim); font-size: 10.5px;
  margin: 8px 0; letter-spacing: .1em; font-weight: 700;
}
/* The handwritten note that floats beside the chat card. */
.acc-chat-note { position: absolute; top: -26px; right: -4px; text-align: right; max-width: 11rem; }
.acc-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;
}

/* ================================================================ feature cards */
.acc-features {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px; margin-top: 34px;
}
.acc-features.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acc-features.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acc-feature {
  text-align: left; padding: 26px 22px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow);
  transition: transform .16s, box-shadow .16s;
}
.acc-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.acc-feature-icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; background: var(--blue-soft);
}
.acc-feature-icon.blue   { background: var(--blue-soft); }
.acc-feature-icon.purple { background: var(--purple-soft); }
.acc-feature-icon.green  { background: var(--green-soft); }
.acc-feature-icon.orange { background: var(--amber-soft); }
.acc-feature-icon.pink   { background: var(--pink-soft); }
.acc-feature h3 { font-size: 16px; margin: 0 0 8px; font-weight: 700; }
.acc-feature p { font-size: 14px; color: var(--body); line-height: 1.6; margin: 0; }

/* ================================================================ numbered steps */
.acc-docs-layout {
  display: grid; grid-template-columns: 240px 1fr;
  gap: clamp(24px, 3.5vw, 48px); margin-top: 34px; align-items: start;
}
.acc-docs-rail {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 18px; box-shadow: var(--shadow); position: sticky; top: 130px;
}
.acc-docs-rail h3 {
  font-size: 14px; margin: 0 0 14px; display: flex; align-items: center; gap: 8px;
}
.acc-docs-rail ol { list-style: none; margin: 0; padding: 0; }
.acc-docs-rail li { margin: 0; }
.acc-docs-rail a {
  display: block; padding: 8px 10px; border-radius: 8px;
  font-size: 13.5px; color: var(--muted); font-weight: 500;
}
.acc-docs-rail a:hover { background: var(--mist); color: var(--ink); text-decoration: none; }
.acc-docs-rail a.is-current { background: var(--blue-soft); color: var(--blue-deep); font-weight: 650; }
.acc-docs-help {
  margin-top: 16px; padding: 14px; border-radius: 12px;
  background: var(--sky); font-size: 13px; line-height: 1.55;
}
.acc-docs-help strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 13.5px; }

.acc-steps { text-align: left; }
.acc-step { display: grid; grid-template-columns: 38px 1fr; gap: 16px; margin-bottom: 30px; }
.acc-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.acc-step h3 { font-size: 17px; margin: 0 0 4px; font-weight: 700; }
.acc-step p { font-size: 14px; color: var(--body); line-height: 1.6; margin: 0; }
.acc-step .acc-code { margin: 12px 0 0; }
.acc-step-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  color: var(--blue-deep); font-size: 14.5px; font-weight: 650;
}
.acc-step-link:hover { color: var(--blue); text-decoration: none; }

/* The "pro tip" callout that closes the walkthrough. */
.acc-tip {
  display: flex; gap: 13px; align-items: flex-start;
  margin-top: 8px; padding: 16px 18px;
  background: var(--sky); border-radius: 14px;
  border: 1px solid #d6e8f6;
}
.acc-tip-icon { font-size: 18px; line-height: 1.4; flex-shrink: 0; }
.acc-tip strong { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 3px; }
.acc-tip p { margin: 0; font-size: 13.5px; line-height: 1.6; }

/* ================================================================ input → output panels */
.acc-panels {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: stretch; margin-top: 34px; gap: 0;
}
.acc-panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
}
.acc-panel-label {
  padding: 13px 18px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.acc-panel-label.input  { color: var(--blue-deep); background: var(--blue-soft); }
.acc-panel-label.output { color: #1a7f71; background: var(--teal-soft); }
.acc-panel .acc-code { margin: 0; border: 0; border-radius: 0; }
.acc-panel-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--blue); padding: 0 18px; font-weight: 700;
}
.acc-panel-tagline { margin-top: 22px; text-align: right; }

/* ================================================================ impact cards */
.acc-impact {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px; margin-top: 34px;
}
.acc-impact-card { text-align: left; }
.acc-impact-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  background: var(--blue-soft);
}
.acc-impact-card:nth-child(2) .acc-impact-icon { background: var(--green-soft); }
.acc-impact-card:nth-child(3) .acc-impact-icon { background: var(--teal-soft); }
.acc-impact-card:nth-child(4) .acc-impact-icon { background: var(--purple-soft); }
.acc-impact-card h3 { font-size: 15.5px; margin: 0 0 7px; font-weight: 700; }
.acc-impact-card p { font-size: 14px; color: var(--body); line-height: 1.6; margin: 0; }

/* ================================================================ CTA banner */
.acc-cta-banner {
  position: relative; text-align: center;
  padding: clamp(44px, 6vw, 68px) 28px;
  background: linear-gradient(170deg, #e8f3fc 0%, #eef7fb 100%);
  border-radius: 22px; margin: 0 auto; max-width: 940px;
  border: 1px solid #d8e9f6;
}
.acc-cta-banner h2 { margin: 0 0 10px; }
.acc-cta-banner p { font-size: 15px; margin: 0 auto 6px; max-width: 34rem; }
.acc-cta-banner .peel-actions { justify-content: center; }
.acc-cta-tagline { display: block; margin-top: 20px; }

/* ================================================================ code */
.acc-code {
  margin: 1.1rem 0;
  padding: 1rem 1.15rem;
  background: #1d2e40;
  border: 0;
  border-radius: 12px;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: .82rem;
  line-height: 1.65;
  color: #cfe0ee;
  -webkit-overflow-scrolling: touch;
}
.acc-code code { background: none; padding: 0; font: inherit; color: inherit; }

/* ================================================================ tables */
.acc-table-wrap {
  margin: 1.4rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow);
}
.acc-table-wrap table { min-width: 34rem; width: 100%; border-collapse: collapse; }
body.acc-site .peel-table th {
  background: var(--mist); color: var(--ink);
  font-size: 12px; letter-spacing: .07em; text-transform: uppercase;
  font-weight: 700; padding: 13px 18px; text-align: left;
  border-bottom: 1px solid var(--line);
}
body.acc-site .peel-table td {
  padding: 12px 18px; font-size: 14px; color: var(--body);
  border-bottom: 1px solid var(--line-soft);
}
body.acc-site .peel-table tr:last-child td { border-bottom: 0; }
body.acc-site .peel-table code {
  background: var(--mist); color: var(--blue-deep);
  padding: 2px 7px; border-radius: 6px; font-size: .84em; white-space: nowrap;
}
.acc-table-wrap code { font-size: .82em; white-space: nowrap; }

/* ================================================================ shared blocks, re-toned */
body.acc-site .peel-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 24px 22px;
  box-shadow: var(--shadow); text-align: left;
}
body.acc-site .peel-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 20px; margin-top: 30px;
}
body.acc-site .peel-number { color: var(--blue); font-weight: 700; font-size: 13px; }
body.acc-site .peel-card h3 { font-size: 16px; margin: 8px 0; }
body.acc-site .peel-card p { font-size: 14px; line-height: 1.6; margin: 0; }

body.acc-site .peel-note {
  background: var(--cream); border: 1px solid #f3e4cd;
  border-radius: 14px; padding: 20px 22px; margin: 1.4rem 0; text-align: left;
}
body.acc-site .peel-note h3 { font-size: 15px; margin: 0 0 6px; }
body.acc-site .peel-note p { font-size: 14px; line-height: 1.65; margin: 0; }

body.acc-site .peel-next {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--line); padding-top: 34px;
}
body.acc-site .peel-next span { font-size: 12px; letter-spacing: .12em; color: var(--dim); text-transform: uppercase; font-weight: 700; }
body.acc-site .peel-next a { font-size: 19px; font-weight: 700; color: var(--ink); }
body.acc-site .peel-next a:hover { color: var(--blue-deep); text-decoration: none; }

body.acc-site .acc-prose p { margin: 0 0 1rem; line-height: 1.75; }
body.acc-site .acc-quote {
  margin: 1.6rem 0 0; padding: 20px 24px;
  background: var(--sky); border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0; font-size: 1.1rem;
  font-weight: 600; color: var(--ink);
}
body.acc-site .acc-quote cite { display: block; margin-top: 8px; font-size: .82rem; font-weight: 500; font-style: normal; color: var(--muted); }

body.acc-site .acc-faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 10px; box-shadow: var(--shadow);
}
body.acc-site .acc-faq-item summary { cursor: pointer; font-weight: 650; color: var(--ink); font-size: 15px; }
body.acc-site .acc-faq-item p { margin: 10px 0 0; font-size: 14px; line-height: 1.65; }
body.acc-site .acc-faq-list { margin-top: 26px; }

body.acc-site .acc-pills { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 18px; }
body.acc-site .acc-pill {
  padding: 7px 15px; border-radius: 999px; font-size: 13.5px;
  background: #fff; color: var(--blue-deep);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
body.acc-site .acc-pill:hover { border-color: var(--blue); text-decoration: none; }
body.acc-site .acc-pill-label { font-size: 11.5px; letter-spacing: .12em; color: var(--dim); text-transform: uppercase; font-weight: 700; }

body.acc-site .acc-mission-h { margin-top: 10px; }

/* ================================================================ the demo board
   Deliberately kept as a dark panel: it mirrors the real TinkySpeak app, so it
   reads as a device on the page rather than as part of the page. */
.ts-band-section { padding-top: 1rem; }
.ts-board { max-width: 60rem; margin: 0 auto; }

.ts-bar {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem .55rem .5rem 1.1rem; margin-bottom: 1.1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow);
}
.ts-bar:focus-within { border-color: var(--blue); }
.ts-barlabel { font-size: .66rem; letter-spacing: .12em; color: var(--dim); flex: 0 0 auto; font-weight: 700; }
.ts-bar input {
  flex: 1 1 auto; min-width: 0; padding: .65rem 0; font-size: 1.15rem;
  color: var(--ink); background: none; border: 0;
}
.ts-bar input::placeholder { color: var(--dim); font-size: 1rem; }
.ts-bar input:focus { outline: none; }
.ts-go { flex: 0 0 auto; width: 2.8rem; height: 2.8rem; border-radius: 10px; cursor: pointer;
  background: var(--blue); color: #fff; border: 0; font-size: 1rem; }
.ts-go:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 2px; }

.ts-panel-board {
  background: #14161f; border-radius: 20px; padding: 1.1rem 1.1rem 1.3rem;
  box-shadow: 0 24px 60px rgba(21, 51, 79, .28);
}
.ts-boardtitle { color: #fff; font-size: 1.45rem; font-weight: 700; margin: .25rem .3rem 1rem; text-align: left; }

.ts-say {
  display: flex; align-items: center; gap: .7rem;
  background: #fffaea; border-radius: 10px; padding: .6rem .7rem; margin-bottom: 1rem;
  border: 2px solid transparent;
}
.ts-say.is-draft { border-color: #f0b429; }
.ts-move {
  flex: 0 0 auto; background: #15161c; color: #fff; border-radius: 20px;
  padding: .22rem .7rem; font-size: .72rem; font-weight: 600;
}
.ts-saytext { flex: 1 1 auto; color: #1d2330; font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.ts-saytext.is-hint { color: #8a8372; font-style: italic; font-weight: 400; }
.ts-say-btn {
  flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 8px; cursor: pointer;
  border: 0; font-size: .95rem; line-height: 1;
}
.ts-speak { background: #2563c9; color: #fff; }
.ts-speak[disabled] { background: #c9c3b2; cursor: default; }
.ts-clear { background: #15161c; color: #fff; }
.ts-say-btn:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; }

.ts-tiles { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ts-tile {
  display: flex; flex-direction: column; padding: 0; overflow: hidden; cursor: pointer;
  background: var(--face); border: 0; border-radius: 10px; font: inherit;
  transition: transform .12s, box-shadow .12s;
}
.ts-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.ts-tile:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ts-face {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  padding: 1.5rem .7rem 1.2rem; min-height: 6.2rem;
}
.ts-emoji { font-size: 2.6rem; line-height: 1; }
.ts-art svg { width: 54px; height: 54px; }
.ts-art rect { fill: hsl(var(--h) 60% 80%); stroke: hsl(var(--h) 45% 45%); stroke-width: 2; }
.ts-art text { fill: hsl(var(--h) 55% 28%); font: 700 20px ui-sans-serif, system-ui; }
.ts-price { font-size: .85rem; font-weight: 700; color: #3a3a2e; }
.ts-band {
  background: var(--band); color: #14161f; padding: .5rem .4rem; min-height: 2rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-align: center;
  display: flex; align-items: center; justify-content: center; line-height: 1.15;
}
.ts-empty {
  grid-column: 1 / -1; color: #8d93a3; font-size: 1rem; text-align: center;
  padding: 3rem 1rem; border: 2px dashed #39414f; border-radius: 10px;
}
.ts-note-small { color: var(--muted); font-size: .8rem; margin: .7rem 0 0; }

.ts-under { margin-top: 1.5rem; display: grid; gap: .85rem; }
.ts-quickrow, .ts-scanrow { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ts-quicklabel { font-size: .66rem; letter-spacing: .12em; color: var(--dim); margin-right: .2rem; font-weight: 700; }
.ts-quick { padding: .4rem .8rem; border-radius: 999px; cursor: pointer; font: inherit; font-size: .85rem;
  background: #fff; color: var(--blue-deep); border: 1px solid var(--line); }
.ts-quick:hover { border-color: var(--blue); }
.ts-scan { padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; cursor: pointer; color: var(--ink); font: inherit; }
.ts-scan:hover { border-color: var(--blue); }
.ts-scan img { display: block; width: 140px; height: 96px; object-fit: cover; }
.ts-scan span { display: block; padding: .35rem .5rem; font-size: .78rem; }

.ts-more { margin-top: 1.7rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.ts-more summary { cursor: pointer; font-size: .9rem; color: var(--blue-deep); }
.ts-controls { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0 1.4rem; align-items: center; }
.ts-controls label { display: flex; align-items: center; gap: .5rem; font-size: .85rem; }
.ts-controls select { padding: .35rem .5rem; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .85rem; }
.ts-reset { padding: .45rem 1rem; border-radius: 999px; cursor: pointer; font: inherit; font-size: .85rem;
  background: #fff; color: var(--blue-deep); border: 1px solid var(--line); }
.ts-twocol { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.ts-twocol h4 { font-size: .85rem; margin: 0 0 .6rem; display: flex; align-items: center; gap: .5rem; }
.ts-badge { padding: .08rem .5rem; border-radius: 20px; background: var(--blue-soft); color: var(--blue-deep);
  font-size: .78rem; font-variant-numeric: tabular-nums; }
.ts-history { list-style: none; margin: 0; padding: 0; max-height: 14rem; overflow-y: auto; }
.ts-h { display: flex; gap: .55rem; padding: .35rem 0; border-bottom: 1px solid var(--line-soft); font-size: .85rem; }
.ts-h:last-child { border-bottom: 0; }
.ts-role { flex: 0 0 4.2rem; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding-top: .18rem; }
.ts-h-partner .ts-role { color: var(--dim); }
.ts-h-user .ts-role { color: var(--teal); }
.ts-json { max-height: 14rem; overflow: auto; font-size: .7rem; margin: 0; }

/* ================================================================ footer */
body.acc-site .site-sections,
body.acc-site .site-footer { background: var(--navy); color: #c6d9e8; }
body.acc-site .site-sections a,
body.acc-site .site-footer a { color: #c6d9e8; }
body.acc-site .site-sections a:hover,
body.acc-site .site-footer a:hover { color: #fff; }
body.acc-site .site-sections a[aria-current="page"] { color: #fff; }
body.acc-site .site-sections-label { color: #8fb0c9; }
body.acc-site .site-footer .peel-brand { color: #fff; }
body.acc-site .site-footer .peel-mark { color: #6cc4f5; }
body.acc-site .site-footer .peel-caption { color: #93b1c8; }
body.acc-site .peel-footer-bottom { color: #7e9cb4; border-top-color: rgba(255, 255, 255, .1); }
.acc-mission-foot { font-size: 1.05rem; font-weight: 650; color: #fff; margin: .5rem 0 .35rem; letter-spacing: -.01em; }

/* ================================================================ decoration
   Pure ornament: SVG leaves, sun and hearts from the Figma. Hidden from
   assistive tech and dropped on small screens, where they would crowd. */
.acc-deco { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.acc-deco svg { display: block; }
.acc-deco-tl { top: 7%; left: 1.5%; }
.acc-deco-tr { top: 10%; right: 2%; }
.acc-deco-bl { bottom: 8%; left: 2%; }
.acc-deco-br { bottom: 10%; right: 2.5%; }
@media (max-width: 1080px) { .acc-deco { display: none; } }

/* ================================================================ responsive */
@media (max-width: 960px) {
  .acc-docs-layout { grid-template-columns: 1fr; }
  .acc-docs-rail { position: static; }
  .acc-docs-rail ol { display: flex; flex-wrap: wrap; gap: 4px; }
}
@media (max-width: 880px) {
  .acc-hero-split { grid-template-columns: 1fr; gap: 34px; }
  .acc-chat-note { position: static; max-width: none; margin-bottom: 12px; text-align: left; }
  .acc-features, .acc-features.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-features.cols-2 { grid-template-columns: 1fr; }
  .acc-impact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-panels { grid-template-columns: 1fr; gap: 14px; }
  .acc-panel-arrow { transform: rotate(90deg); padding: 6px 0; }
  .acc-panel-tagline { text-align: left; }
}
@media (max-width: 620px) {
  body.acc-site .band { padding-inline: 20px; }
  .acc-hero-split { padding-inline: 20px; }
  .acc-features, .acc-features.cols-6, .acc-impact { grid-template-columns: 1fr; }
  .ts-bar { flex-wrap: wrap; }
  .ts-barlabel { width: 100%; }
  .ts-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ts-emoji { font-size: 2.1rem; }
  .ts-saytext { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .acc-code, .acc-table-wrap { scroll-behavior: auto; }
  .acc-feature, .peel-button { transition: none; }
  .acc-feature:hover, body.acc-site .peel-button:hover { transform: none; }
}
/* Live AAC controls and long model replies. */
#ts-demo [hidden]{display:none!important}#ts-demo button:disabled{opacity:.55;cursor:wait}#ts-demo .ts-band{white-space:normal;overflow-wrap:anywhere;text-transform:none}#ts-demo .ts-photo-upload{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;margin:14px 0}#ts-demo .ts-photo-upload input{max-width:100%}#ts-demo .ts-note-small{overflow-wrap:anywhere}#ts-demo .ts-bar input{min-width:0}#ts-demo .ts-saytext{overflow-wrap:anywhere;min-width:0}#ts-demo .ts-tiles{grid-template-columns:repeat(auto-fit,minmax(min(120px,100%),1fr))}#ts-demo .ts-controls{flex-wrap:wrap}#ts-demo .ts-json{max-width:100%;overflow:auto}#ts-demo .ts-photo-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}#ts-demo .ts-photo-actions button{padding:9px 14px;border-radius:8px;border:1px solid #bbd4e4;background:#f4faff;color:#153d60}@media(max-width:480px){#ts-demo .ts-twocol{grid-template-columns:minmax(0,1fr)}#ts-demo .ts-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}#ts-demo .ts-scanrow{flex-wrap:wrap}#ts-demo .ts-say{max-width:100%}#ts-demo .ts-bar{gap:6px}}
