/* Pinna site. Direction B, Session: one call, one timeline. Coral only on Me, the playhead and the mark.
   Shared by every page: tokens and base, header and footer, the landing sections, then the reading pages. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk/SchibstedGrotesk-latin-wght.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito/Nunito-latin-wght.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono/JetBrainsMono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #f6f0e8;
  --raised: #fffaf5;
  --ink: #1d1b1a;
  --ink-2: #57524e;
  --ink-3: #6e675f;
  --hair: #e4dbd2;
  --hair-strong: #d4c9be;
  --pill: #efe6dc;
  --coral: #e83b40;
  --coral-tile: #ef4f37;
  --blue: #3c7ee6;
  --purple: #a54bd0;
  --coral-text: #b8262c;
  --coral-on-tint: #9c1c22;
  --blue-text: #1f56b3;
  --purple-text: #82329f;
  --me-tint: rgb(232 59 64 / 0.1);
  --me-tint-on: rgb(232 59 64 / 0.18);
  --them-tint: rgb(60 126 230 / 0.09);
  --them-tint-on: rgb(60 126 230 / 0.16);
  --me-wave: rgb(232 59 64 / 0.55);
  --them-wave: rgb(60 126 230 / 0.5);
  --floor: rgb(29 27 26 / 0.2);
  --focus: #b8262c;
  --scroll: #cfc4b8;
  --btn-bg: #1d1b1a;
  --btn-ink: #fbf9f6;
  --btn-soon-bg: rgb(255 255 255 / 0.14);
  --btn-soon-ink: rgb(255 255 255 / 0.88);
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --round: "Nunito", ui-rounded, ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(20px, 4vw, 72px);
  --gutter: clamp(168px, 18vw, 260px);
  --col-gap: clamp(16px, 2vw, 32px);
  /* Very wide windows: everything (header, session, sections, footer) shares one centered frame, so all right edges
     line up with the 1200 px section column. The percentage resolves where --edge is used, against the full width. */
  --frame: calc(var(--gutter) + var(--col-gap) + 1200px);
  --edge: max(var(--pad), calc((100% - var(--frame)) / 2));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ground: #1c1614;
    --raised: #261f1c;
    --ink: #f3ece6;
    --ink-2: #c4bbb4;
    --ink-3: #a89f97;
    --hair: #3a312c;
    --hair-strong: #4a403a;
    --pill: #342c28;
    --coral: #f0474b;
    --blue: #5b95f0;
    --purple: #c07ce4;
    --coral-text: #ff8a80;
    --coral-on-tint: #ff8a80;
    --blue-text: #93bbff;
    --purple-text: #e0b6f4;
    --me-tint: rgb(240 71 75 / 0.14);
    --me-tint-on: rgb(240 71 75 / 0.24);
    --them-tint: rgb(91 149 240 / 0.12);
    --them-tint-on: rgb(91 149 240 / 0.22);
    --me-wave: rgb(240 71 75 / 0.62);
    --them-wave: rgb(91 149 240 / 0.58);
    --floor: rgb(243 236 230 / 0.22);
    --focus: #ff8a80;
    --scroll: #4a403a;
    --btn-bg: #f3ece6;
    --btn-ink: #1c1614;
    --btn-soon-bg: rgb(28 22 20 / 0.1);
    --btn-soon-ink: rgb(28 22 20 / 0.78);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--ground);
  scrollbar-color: var(--scroll) var(--ground);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
::selection { background: rgb(232 59 64 / 0.22); color: inherit; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--scroll); border-radius: 8px; border: 3px solid var(--ground); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ground);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  caret-color: var(--coral);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
code { font-family: var(--mono); font-size: 0.86em; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.skip {
  position: absolute;
  left: var(--pad);
  top: 12px;
  z-index: 5;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  min-height: 72px;
  padding: 16px var(--edge);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
}
.brand-name {
  font-weight: 680;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  font-size: 15px;
}
.topnav a { color: inherit; text-decoration: none; font-weight: 550; }
.topnav a:hover { text-decoration: underline; text-underline-offset: 0.22em; }

.strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 4vw, 72px);
  align-items: end;
  padding: 4px var(--edge) 28px;
}
.headline {
  margin: 0;
  max-width: 14em;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 0.98;
  font-weight: 650;
  letter-spacing: -0.034em;
}
/* Two beats, two lines: the recording, then the agents. */
.headline-2 { display: block; }
.subhead {
  margin: 0 0 18px;
  max-width: 42ch;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.45;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px 0 12px;
  border: 0;
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font: 620 16px/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary img { width: 24px; height: 24px; border-radius: 6px; display: block; }
.btn-primary:hover { text-decoration: none; }
.soon {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--btn-soon-bg);
  color: var(--btn-soon-ink);
  font-size: 12px;
  font-weight: 650;
}
.dl-note, .req, .fine {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.45;
}
.req { margin-top: 14px; }
.text-link {
  color: inherit;
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.arrange {
  position: relative;
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  grid-template-areas:
    "head head"
    ". overview"
    ". ruler"
    "me lme"
    "them lthem"
    "cap caps"
    "ag agline";
  column-gap: var(--col-gap);
  padding: 0 var(--edge) 28px;
  border-top: 1px solid var(--hair);
  user-select: none;
}
.head {
  grid-area: head;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-bottom: 8px;
}
.overview { grid-area: overview; position: relative; display: flex; align-items: center; }
.ruler { grid-area: ruler; position: relative; min-height: 32px; border-bottom: 1px solid var(--hair); }
.track-me { grid-area: me; }
.lane-me { grid-area: lme; }
.track-them { grid-area: them; }
.lane-them { grid-area: lthem; }
.track-cap { grid-area: cap; }
.captions { grid-area: caps; }
.track-ag { grid-area: ag; }
.ask { grid-area: agline; }

.transport {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hair-strong);
  background: var(--raised);
  color: var(--ink);
  cursor: pointer;
}
.transport svg { width: 14px; height: 14px; fill: currentColor; }
.transport .i-pause { display: none; }
.transport[aria-pressed="true"] .i-play { display: none; }
.transport[aria-pressed="true"] .i-pause { display: block; }
.readout { min-width: 0; }
.readout-time {
  font-family: var(--round);
  font-weight: 750;
  font-size: 26px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.readout-of { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.readout-meta {
  margin-top: 3px;
  color: var(--ink-2);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.overview-svg { width: 100%; height: 18px; display: block; }
.ov-l, .ov-r {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font: 700 11px/1 var(--round);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.ov-l { left: 0; }
.ov-r { right: 0; }
.overview { padding-inline: 40px; }
.ruler-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ruler-svg text {
  font: 700 11px var(--round);
  font-variant-numeric: tabular-nums;
  fill: var(--ink-2);
}
.ruler-svg line { stroke: var(--hair-strong); stroke-width: 1; }
.ruler-svg line.major { stroke: var(--ink-3); }
.sample {
  margin: 0;
  padding: 0 var(--edge) 12px;
  color: var(--ink-2);
  font-size: 13px;
}

.track {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  padding-block: 8px;
  border-bottom: 1px solid var(--hair);
}
.track-name { font-weight: 680; font-size: 15px; letter-spacing: -0.01em; }
.track-sub, .track-file { color: var(--ink-2); font-size: 13px; line-height: 1.35; }
.track-file { color: var(--ink-3); font-size: 12px; overflow-wrap: anywhere; }
.track-me .track-name { color: var(--coral-text); }
.track-them .track-name { color: var(--blue-text); }
.track-cap, .track-ag { align-self: start; padding-top: 16px; border-bottom: 0; }
.lane {
  position: relative;
  min-height: 76px;
  border-bottom: 1px solid var(--hair);
}
.wave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wave .floor { stroke: var(--floor); stroke-width: 2; stroke-linecap: round; fill: none; }
.wave .region path { fill: none; stroke-width: 2; stroke-linecap: round; }
.lane-me .region rect { fill: var(--me-tint); }
.lane-me .region path { stroke: var(--me-wave); }
.lane-me .region.is-on rect { fill: var(--me-tint-on); }
.lane-me .region.is-on path { stroke: var(--coral); }
.lane-them .region rect { fill: var(--them-tint); }
.lane-them .region path { stroke: var(--them-wave); }
.lane-them .region.is-on rect { fill: var(--them-tint-on); }
.lane-them .region.is-on path { stroke: var(--blue); }

.playhead-layer {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
/* main.js adds .is-live; without it the play button and playhead would do nothing, so they stay hidden. */
.arrange:not(.is-live) .transport,
.arrange:not(.is-live) .playhead-layer { visibility: hidden; }
.ruler-svg text { transition: opacity 0.12s ease-out; }
.ruler-svg text.is-under { opacity: 0; }
.playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--p, 0.3) * 100% - 12px);
  width: 24px;
  pointer-events: auto;
  cursor: ew-resize;
  touch-action: none;
}
.playhead-line {
  position: absolute;
  left: 11px;
  top: 16px;
  bottom: 0;
  width: 2px;
  border-radius: 1px;
  background: var(--coral);
}
.playhead-cap {
  position: absolute;
  left: 4px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: var(--coral);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
}
.arrange.is-scrubbing, .arrange.is-scrubbing * { cursor: ew-resize; }

.captions {
  margin: 0;
  padding: 12px 0 8px;
  list-style: none;
  user-select: text;
}
.cap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 34px;
  color: var(--ink-3);
}
.cap.is-on { color: var(--ink); }
.cap-who { flex: none; width: 3.2em; font-size: 13px; font-weight: 700; }
.cap-me .cap-who { color: var(--coral-text); }
.cap-them .cap-who { color: var(--blue-text); }
.cap-text { font-size: 16px; line-height: 1.4; }
.pill {
  flex: none;
  min-height: 28px;
  padding: 2px 8px;
  border: 0;
  border-radius: 999px;
  background: var(--pill);
  color: var(--ink-2);
  font: 750 12.5px/1.4 var(--round);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.cap-me.is-on .pill { background: var(--me-tint-on); color: var(--coral-on-tint); }
.cap-them.is-on .pill { background: var(--them-tint-on); color: var(--blue-text); }
/* The agent lane: the same meeting, asked about. A question, the tools Pinna answers with, the answer with its moment. */
.ask {
  margin: 0;
  padding: 10px 0 4px;
  list-style: none;
  border-top: 1px solid var(--hair);
  user-select: text;
}
.ask-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 34px;
}
.ask-who { flex: none; width: 100px; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.ask-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; min-width: 0; font-size: 16px; line-height: 1.4; }
.ask-you .ask-text { font-weight: 560; }
.ask-tools code {
  padding: 3px 8px;
  border: 1px solid var(--hair-strong);
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 12.5px;
}
/* A short drawn arrow between the two tool calls; it wraps with the call it points to, never alone. */
.ask-next { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.ask-to { align-self: center; width: 18px; height: 1.5px; background: var(--ink-3); position: relative; }
.ask-to::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--ink-3);
  border-right: 1.5px solid var(--ink-3);
  transform: rotate(45deg);
  transform-origin: center;
}
.ask-answer { font-weight: 620; letter-spacing: -0.005em; }
.ask-agent .pill { background: var(--me-tint-on); color: var(--coral-on-tint); }
.ask-link { color: var(--ink-3); font-size: 12px; overflow-wrap: anywhere; }

.btn-primary.is-soon {
  background: var(--pill);
  color: var(--ink);
  cursor: default;
}
.btn-primary.is-soon .soon { background: var(--raised); color: var(--ink-2); }
a.btn-primary:hover { background: color-mix(in oklab, var(--btn-bg) 86%, var(--coral)); }
a.btn-primary { transition: background-color 0.12s ease-out, transform 0.12s ease-out; }
a.btn-primary:active { transform: scale(0.97); }

/* Landing sections: heading in the gutter, one authored picture, then a few facts. */
.band {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  column-gap: var(--col-gap);
  padding: clamp(56px, 9vh, 104px) var(--edge);
  border-top: 1px solid var(--hair);
}
.band h2 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.band-body { min-width: 0; max-width: 1200px; }
.lede {
  margin: 0 0 32px;
  max-width: 56ch;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.label {
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 680;
}
.shot-cap {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.4;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px clamp(20px, 2.4vw, 40px);
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
}
.facts p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.facts strong { color: var(--ink); font-weight: 650; }
.facts-stack { grid-template-columns: 1fr; margin-top: 0; padding-top: 0; border-top: 0; align-content: start; }
.facts-stack p { padding-top: 14px; border-top: 1px solid var(--hair); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  margin-top: 40px;
}
.split-even { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); margin-top: 0; }
/* A dense settings list: a wider picture column so its rows stay readable. */
.split-wide { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.shot { margin: 0; min-width: 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--hair);
  background: var(--raised);
}
.shot-menu img { max-width: 368px; border-radius: 16px; }
/* Facts first, then the picture: the consent sheet answers the facts beside it. */
.split-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
.shot-sheet { width: 100%; max-width: 480px; }
.fine { margin: 18px 0 0; }

/* The call's life: one timeline with the real pills as markers. */
.life { margin: 0; }
.life-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 40px;
  margin-bottom: 18px;
}
.seg { position: relative; }
.seg-wait, .seg-quiet {
  background: radial-gradient(circle, var(--floor) 1.2px, transparent 1.6px) 0 50% / 8px 8px repeat-x;
}
.seg-call {
  border-radius: 8px;
  background: linear-gradient(var(--floor), var(--floor)) center / 100% 2px no-repeat;
}
.seg-call::before, .seg-call::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 2px;
  border-radius: 1px;
  background: var(--coral);
}
.seg-call::before { left: -1px; }
.seg-call::after { right: -1px; background: var(--ink-3); }
.life .b {
  position: absolute;
  top: 8px;
  bottom: 8px;
  border-radius: 5px;
}
.life .b.me { background: var(--me-wave); }
.life .b.them { background: var(--them-wave); }
.beats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.beat { min-width: 0; padding-right: clamp(12px, 2vw, 28px); }
.beat:nth-child(3) { padding-right: 0; }
.beat-time {
  display: inline-block;
  margin-bottom: 6px;
  font: 750 14px/1 var(--round);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.beat:nth-child(2) .beat-time { color: var(--coral-text); }
.beat-what { margin: 0 0 14px; max-width: 34ch; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.beat-what strong { display: block; color: var(--ink); font-weight: 650; }
.beat img { display: block; width: 100%; max-width: 292px; height: auto; border-radius: 14px; }
.beat:nth-child(2) img { max-width: 340px; }
.beat:nth-child(3) img { max-width: 396px; }

/* Three stems. */
.stems {
  position: relative;
  display: grid;
  gap: 4px;
  margin: 0;
}
.stem {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(150px, 220px);
  gap: 16px;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--hair);
}
.stem-name { font-weight: 700; font-size: 15px; }
.stem-me .stem-name { color: var(--coral-text); }
.stem-them .stem-name { color: var(--blue-text); }
.stem-wave { display: block; width: 100%; height: 52px; }
.stem-wave .floor { stroke: var(--floor); stroke-width: 2; stroke-linecap: round; }
.stem-wave .me { stroke: var(--me-wave); stroke-width: 2; stroke-linecap: round; }
.stem-wave .them { stroke: var(--them-wave); stroke-width: 2; stroke-linecap: round; }
.stem-file { color: var(--ink-2); font-size: 12px; overflow-wrap: anywhere; }
.stem-align {
  position: absolute;
  top: 0;
  height: 0;
  left: 0;
  width: 2px;
  border-radius: 1px;
  background: var(--coral);
  pointer-events: none;
}
.stems .shot-cap { margin-top: 12px; }

/* Transcript and engines. */
.transcript { margin: 0; padding: 0; list-style: none; }
.transcript li {
  display: grid;
  grid-template-columns: auto 3.4em minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--hair);
}
.transcript li:last-child { border-bottom: 1px solid var(--hair); }
.who { font-size: 13px; font-weight: 700; }
.who.me { color: var(--coral-text); }
.who.them { color: var(--blue-text); }
.engines { display: grid; gap: 22px; align-content: start; }
.engine-group h3 { margin: 0 0 6px; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.engine-group ul { margin: 0; padding: 0; list-style: none; }
.engine-group li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--hair);
}
.engine-group li em, .where-row em {
  flex: none;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-2);
}
.engine-group p { margin: 0; padding-top: 10px; border-top: 1px solid var(--hair); color: var(--ink-2); font-size: 15px; }
.engine-cloud li, .engine-cloud p { border-top-style: dashed; border-top-color: var(--hair-strong); }

/* Said, then kept. */
.condense { margin: 0; }
.said-kept {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--hair);
}
.said-kept:last-of-type { border-bottom: 1px solid var(--hair); }
.said p { margin: 0; color: var(--ink-2); font-size: 15px; }
.said .who { margin-right: 6px; }
.kept p { margin: 0; font-size: clamp(17px, 1.3vw, 20px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.kept .pill { margin-left: 6px; vertical-align: 2px; }
.sk-label { display: block; margin-bottom: 3px; color: var(--ink-2); font-size: 12px; font-weight: 700; }
.sk-arrow svg { display: block; width: 40px; height: 12px; margin: 0 auto; fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Agents. */
.reader { margin-bottom: 8px; }
.switch {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 16px;
  padding: 4px;
  border-radius: 999px;
  background: var(--pill);
}
.switch button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 650 14px/1 var(--sans);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.switch button[aria-selected="true"] { background: var(--raised); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 0.08); }
[role="tabpanel"] { min-height: 300px; }
[role="tabpanel"]:focus-visible { outline-offset: 6px; border-radius: 8px; }
.people-view {
  max-width: 68ch;
  padding: 20px 22px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: var(--raised);
}
.people-view h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.people-view h4 { margin: 16px 0 4px; color: var(--ink-2); font-size: 13px; }
.people-view p, .people-view ul { margin: 0; }
.people-view ul { padding-left: 20px; }
.people-view .meta { margin-top: 2px; color: var(--ink-2); font-size: 14px; }
.file { margin: 0 0 16px; min-width: 0; }
.file figcaption { margin-bottom: 8px; color: var(--ink-2); font-size: 13px; }
.file pre {
  margin: 0;
  padding: 16px 18px;
  overflow: auto;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: var(--raised);
  color: var(--ink);
  font: 12.5px/1.6 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(20px, 2.4vw, 40px);
  margin: 40px 0 0;
}
.tools div { padding: 12px 0; border-top: 1px solid var(--hair); }
.tools dt code { font-size: 13px; color: var(--ink); }
.tools dd { margin: 3px 0 0; color: var(--ink-2); font-size: 14px; }

/* The exchange: one question to an agent, the tools Pinna answers with, the answer with its moments. */
.split-ask { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); margin-top: 0; }
.exchange { margin: 0; min-width: 0; }
.ex-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 12px 18px;
  border: 1px solid var(--hair);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: var(--pill);
  font-size: 13px;
}
.ex-app { font-weight: 700; }
.ex-meta { color: var(--ink-2); }
.ex-steps {
  margin: 0;
  padding: 6px 18px 10px;
  list-style: none;
  border: 1px solid var(--hair);
  border-radius: 0 0 12px 12px;
  background: var(--raised);
}
.ex-step {
  display: grid;
  grid-template-columns: 4.2em minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
}
.ex-step + .ex-step { border-top: 1px solid var(--hair); }
.ex-who { color: var(--ink-2); font-size: 13px; font-weight: 700; }
.ex-step p { margin: 0; }
.ex-you p { font-size: clamp(17px, 1.3vw, 19px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.ex-tool p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--ink-2); font-size: 14px; }
.ex-tool code {
  padding: 3px 8px;
  border: 1px solid var(--hair-strong);
  border-radius: 6px;
  color: var(--ink);
  font-size: 12.5px;
}
.ex-arg { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.ex-res { flex-basis: 100%; }
.ex-agent p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; }
.ex-agent .pill { margin-inline: 2px; vertical-align: 1px; background: var(--me-tint-on); color: var(--coral-on-tint); }
.nb { white-space: nowrap; }
.ex-agent .ex-link { margin-top: 10px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.ex-link code { color: var(--ink); overflow-wrap: anywhere; }
.agents-side { display: grid; gap: 28px; align-content: start; min-width: 0; }
.clients h3, .label-h { margin: 0 0 10px; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.client-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.client-list li {
  padding: 8px 0;
  border-top: 1px solid var(--hair);
  font-size: 16px;
  font-weight: 620;
  letter-spacing: -0.01em;
}
.clients p { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; }
.label-h { margin-top: 48px; }
.label-h + .tools { margin-top: 0; }

/* Where things live. */
.where { display: grid; gap: 8px; }
.where-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--hair);
}
.where-row strong { font-size: 15px; }
.where-row .me { color: var(--coral-text); }
.where-row .them { color: var(--blue-text); }
.where-row span { color: var(--ink-2); font-size: 15px; }
.where-row.cloud { border: 1px dashed var(--hair-strong); border-radius: 12px; padding-inline: 14px; }

/* Pricing. */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  padding: 24px clamp(20px, 2vw, 28px);
  border: 1px solid var(--hair);
  border-radius: 16px;
}
.plan-pro { background: var(--raised); border-color: var(--hair-strong); }
.plan h3 { margin: 0; font-size: 18px; font-weight: 680; }
.plan-price {
  margin: 10px 0 0;
  font: 800 clamp(36px, 3.2vw, 46px)/1 var(--round);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.plan-price.is-unset { font: 650 22px/1.2 var(--sans); letter-spacing: -0.01em; padding-block: 8px; }
.plan-price s { margin-left: 6px; color: var(--ink-2); font-size: 20px; font-weight: 700; text-decoration-thickness: 2px; }
.plan-sub { margin: 8px 0 18px; color: var(--ink-2); font-size: 15px; }
.plan ul { margin: 0 0 20px; padding: 0; list-style: none; }
.plan li { padding: 9px 0 9px 26px; border-top: 1px solid var(--hair); position: relative; }
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(-45deg);
}
.plan-buy { margin-top: auto; }
.plan-two { margin: 12px 0 0; color: var(--ink-2); font-size: 14px; }
.plan-two a { color: inherit; font-weight: 600; text-underline-offset: 0.2em; }

/* Coming. */
.slots { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.slot {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px dashed color-mix(in oklab, var(--purple) 45%, var(--hair-strong));
  color: var(--ink-2);
}
.slot p { margin: 0; }
.slot strong { color: var(--ink); font-weight: 650; }
.slot-state { color: var(--purple-text); font-size: 13px; font-weight: 700; }

.coda .endpoints { grid-column: 1 / -1; }
.endpoints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.endpoint { display: grid; gap: 6px; padding-top: 14px; border-top: 2px solid var(--hair-strong); }
.endpoint:first-child { border-top-color: var(--coral); }
.endpoint-who { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.endpoint-what { color: var(--ink-2); }

.plain {
  padding: clamp(56px, 8vh, 96px) var(--edge);
  padding-left: calc(var(--edge) + var(--gutter) + var(--col-gap));
  border-top: 1px solid var(--hair);
}
.plain h2 { margin: 0 0 16px; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.03em; }
.faq { max-width: 72ch; }
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin: 7px 4px 0 0;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq details p { margin: 0 0 18px; max-width: 68ch; color: var(--ink-2); }
.faq a { color: inherit; text-underline-offset: 0.2em; }

/* Footer, shared. */
.footer {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  column-gap: var(--col-gap);
  row-gap: 18px;
  padding: 40px var(--edge) 56px;
  border-top: 1px solid var(--hair);
  color: var(--ink-2);
  font-size: 14px;
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand img { border-radius: 8px; }
.footer-brand p { margin: 0; line-height: 1.4; }
.footer-brand strong { color: var(--ink); font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: start; padding-top: 6px; }
.footer-nav a { color: var(--ink); font-weight: 550; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 0.22em; }
.footer-legal { grid-column: 2; margin: 0; font-size: 13px; }

/* Reveal: everything is visible by default; with JS and motion allowed, a section draws itself in once. */
.can-reveal .reveal:not(.is-in) .seg,
.can-reveal .reveal:not(.is-in) .beat,
.can-reveal .reveal:not(.is-in) .said-kept,
.can-reveal .reveal:not(.is-in) .where-row,
.can-reveal .reveal:not(.is-in) .transcript li,
.can-reveal .reveal:not(.is-in) .ex-step { opacity: 0; transform: translateY(8px); }
.can-reveal .reveal:not(.is-in) .life-track { clip-path: inset(0 100% 0 0); }
.can-reveal .reveal:not(.is-in) .stem-align { transform: scaleY(0); }
.can-reveal .reveal:not(.is-in) .switch,
.can-reveal .reveal:not(.is-in) .stem { opacity: 0; }
.reveal .beat, .reveal .said-kept, .reveal .stem, .reveal .where-row, .reveal .transcript li, .reveal .seg, .reveal .switch, .reveal .ex-step {
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal .life-track { transition: clip-path 1.6s var(--ease); }
.reveal .stem-align { transform-origin: top; transition: transform 0.9s var(--ease) 0.5s; }
.reveal .beat:nth-child(2), .reveal .said-kept:nth-child(2), .reveal .stem:nth-child(2), .reveal .where-row:nth-child(2), .reveal .transcript li:nth-child(2) { transition-delay: 0.12s; }
.reveal .beat:nth-child(3), .reveal .said-kept:nth-child(3), .reveal .stem:nth-child(3), .reveal .where-row:nth-child(3), .reveal .transcript li:nth-child(3) { transition-delay: 0.24s; }
.reveal .transcript li:nth-child(4) { transition-delay: 0.36s; }
/* The exchange plays out in order: the question, the two tool calls, then the answer. */
.reveal .ex-step:nth-child(2) { transition-delay: 0.35s; }
.reveal .ex-step:nth-child(3) { transition-delay: 0.6s; }
.reveal .ex-step:nth-child(4) { transition-delay: 1s; }
.life .beat:nth-child(2) { transition-delay: 0.5s; }
.life .beat:nth-child(3) { transition-delay: 1.1s; }

/* Reading pages: support, privacy, terms, changelog, 404. */
.page {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  column-gap: var(--col-gap);
  padding: clamp(32px, 6vh, 64px) var(--edge) clamp(56px, 9vh, 104px);
  border-top: 1px solid var(--hair);
}
.page-head { grid-column: 1 / -1; display: grid; grid-template-columns: var(--gutter) minmax(0, 1fr); column-gap: var(--col-gap); margin-bottom: clamp(28px, 5vh, 48px); }
.page-head h1 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.034em;
}
.page-head p { grid-column: 2; margin: 14px 0 0; max-width: 56ch; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 20px); }
.page-head .updated { font-size: 14px; }
.toc { position: sticky; top: 24px; align-self: start; font-size: 14px; }
.toc p { margin: 0 0 8px; color: var(--ink-2); font-weight: 700; font-size: 13px; }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc li { margin: 0; }
.toc a { display: block; padding: 4px 0; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }
.prose { grid-column: 2; max-width: 70ch; min-width: 0; }
.prose h2 {
  margin: 44px 0 10px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.02em;
  scroll-margin-top: 24px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 6px; font-size: 17px; font-weight: 680; }
.prose p, .prose li { color: var(--ink); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: inherit; text-decoration-color: var(--coral); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose a.btn-primary { color: var(--btn-ink); text-decoration: none; }
.prose code { padding: 1px 5px; border-radius: 5px; background: var(--pill); }
.prose kbd { padding: 1px 6px; border: 1px solid var(--hair-strong); border-bottom-width: 2px; border-radius: 6px; font: 600 0.86em var(--sans); }
.prose .note { padding: 14px 16px; border: 1px solid var(--hair); border-radius: 12px; background: var(--raised); }
.prose .note p:last-child { margin-bottom: 0; }
.release { padding-top: 8px; }
.release + .release { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--hair); }
.release-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 12px; }
.release-head h2 { margin: 0; }
.release-head span { color: var(--ink-2); font-size: 14px; }
.lost { min-height: 50vh; align-content: center; }
.lost .actions { margin-top: 24px; }

/* Up to 1360 the side column is too narrow for the dense Speech models list (its row text would drop below the app's own size): picture first, facts in two columns under it. */
@media (max-width: 1360px) {
  .split-wide { grid-template-columns: 1fr; }
  .split-wide .shot-settings { max-width: 720px; }
  .split-wide > .facts { grid-template-columns: 1fr 1fr; }
}

/* Shorter laptop windows (1280 x 800 and the like): tighten the session so the agent lane still shows in the first viewport. */
@media (max-height: 860px) and (min-width: 861px) {
  .strip { padding-bottom: 18px; }
  .sample { padding-bottom: 8px; }
  .head { padding-bottom: 2px; }
  .lane { min-height: 60px; }
  .track { padding-block: 6px; }
  .arrange .track-file { display: none; }
  .cap, .ask-row { min-height: 30px; }
  .captions { padding: 8px 0 6px; }
  .ask { padding-top: 8px; }
}

/* Short browser windows (a 1280 x 800 screen leaves about 1280 x 700 in Chrome): tighter still, so Claude's answer
   and its 11:52 link stay in the first viewport. The agent lane right below stands in for the "See what your agents
   can ask" link. */
@media (max-height: 740px) and (min-width: 861px) {
  .strip { padding-top: 0; padding-bottom: 10px; }
  .subhead { max-width: 50ch; margin-bottom: 14px; }
  .actions .text-link { display: none; }
  .req { margin-top: 10px; }
  .sample { padding-bottom: 4px; }
  .readout-meta { display: none; }
  .ruler { min-height: 26px; }
  .lane { min-height: 48px; }
  .track { padding-block: 3px; }
  .cap, .ask-row { min-height: 28px; }
  .captions { padding: 6px 0 4px; }
  .ask { padding-top: 6px; }
}

@media (max-width: 1080px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .tools { grid-template-columns: 1fr 1fr; }
  .split, .split-even, .split-flip, .split-wide, .split-ask { grid-template-columns: 1fr; }
  .shot-window, .shot-settings { max-width: 720px; }
}

@media (max-width: 860px) {
  .strip, .band, .plans, .where-row, .endpoints, .footer, .page, .page-head { grid-template-columns: 1fr; }
  .band h2 { margin-bottom: 20px; }
  .plain { padding-left: var(--edge); }
  .footer-legal, .prose, .page-head h1, .page-head p { grid-column: 1; }
  .toc { position: static; margin-bottom: 28px; }
  .arrange { --gutter: 128px; }
  .track-sub { display: none; }
  .where-row { gap: 2px 12px; padding: 10px 0; }
  .where-row.cloud { padding: 10px 14px; }
  .readout-time { font-size: 22px; }
  .lane { min-height: 72px; }
  .life-track { display: none; }
  .beats { grid-template-columns: 1fr; gap: 24px; }
  .beat, .beat:nth-child(3) { padding: 0 0 0 16px; border-left: 2px solid var(--hair-strong); }
  .beat:nth-child(2) { border-left-color: var(--coral); }
  .stem { grid-template-columns: 52px minmax(0, 1fr); gap: 4px 12px; padding: 6px 0; }
  .stem-file { grid-column: 2; }
  .stem-align { display: none; }
  .said-kept { grid-template-columns: 1fr; }
  .sk-arrow { display: none; }
  .kept { padding-left: 14px; border-left: 2px solid var(--hair-strong); }
}

@media (max-width: 560px) {
  :root { --pad: 16px; }
  .arrange { --gutter: 108px; --col-gap: 12px; }
  .cap { flex-wrap: wrap; }
  .ask-row { flex-wrap: wrap; gap: 2px 10px; padding-block: 4px; }
  .ask-who { width: 100%; }
  .readout-meta { white-space: normal; }
  .headline { font-size: 36px; }
  .topbar { flex-wrap: wrap; gap: 8px 16px; padding-block: 12px; }
  .topnav { width: 100%; gap: 6px 18px; font-size: 14px; }
  .facts, .tools, .split-wide > .facts { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 1fr; }
}
