/* Feature catalog: progressive enhancement keeps every panel readable without JS. */
.features {
  background: #f0eae0;
  border-top: 1px solid var(--ink);
}
.features .section-heading { margin-bottom: 46px; }
.feature-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  margin-bottom: 34px;
}
.feature-selector {
  position: relative;
  display: block;
  padding: 24px 26px 25px;
  min-height: 156px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: background .2s;
}
.feature-selector:hover { background: #e1d8ce; }
.feature-selector[aria-current="true"] { background: var(--lavender); }
.feature-selector h3 { font-size: 20px; line-height: 1.5; margin: 15px 0 8px; letter-spacing: -.7px; }
.feature-selector p { font-size: 12px; line-height: 1.8; color: #55524d; max-width: 91%; }
.feature-open { position: absolute; top: 19px; right: 21px; font-size: 20px; }
.feature-panel {
  color: var(--paper);
  background: var(--ink);
  scroll-margin-top: 10px;
  margin-top: 28px;
}
.feature-panel[hidden] { display: none; }
.feature-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 28px;
  border-bottom: 1px solid #5e5c56;
  color: #d4d0c8;
}
.feature-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; padding: 45px 4% 42px; }
.feature-detail-copy h3 { font-size: clamp(27px, 3vw, 43px); font-weight: 500; line-height: 1.3; letter-spacing: -1.5px; }
.feature-detail-copy h3:focus { outline: none; }
.feature-intro { font-size: 14px; color: #d5d2ca; margin-top: 21px; }
.feature-facts { list-style: none; margin: 27px 0 0; padding: 0; }
.feature-facts li { position: relative; padding: 0 0 20px 19px; }
.feature-facts li::before { content: "+"; position: absolute; left: 0; top: 0; color: var(--lavender); font-family: var(--mono); }
.feature-facts strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.5; margin-bottom: 6px; }
.feature-facts li > span { display: block; color: #bdbab2; font-size: 13px; line-height: 1.85; }
.feature-boundary { padding-top: 15px; border-top: 1px solid #5e5c56; color: #bdbab2; font-size: 11px; line-height: 1.85; }
.feature-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #5e5c56; padding: 18px 28px; font-size: 12px; }
.feature-panel-foot > span { font-family: var(--mono); color: #bdbab2; }
.feature-panel-foot a { line-height: 1.6; }
.feature-panel-foot a:hover { color: var(--lavender); text-decoration: underline; text-underline-offset: 5px; }
.feature-panel a:focus-visible { outline-color: var(--lavender); }
.feature-caption { color: var(--muted); font-size: 11px; padding-top: 20px; }
.feature-preview { align-self: center; min-width: 0; background: var(--paper); color: var(--ink); border: 1px solid #111; box-shadow: 7px 7px 0 #111; }
.preview-label { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--ink); padding: 12px 20px; font-size: 10px; }
.preview-footer { border-top: 1px solid var(--line); padding: 16px 22px; color: #666258; font-size: 10px; }
.preview-kicker { font-size: 20px; letter-spacing: -.7px; margin: 23px 22px; }
.journey-preview { background: #e8edb1; }
.journey-title { padding: 25px 23px 23px; display: flex; flex-direction: column; gap: 8px; }
.journey-title strong { font-size: 25px; font-weight: 500; letter-spacing: -.6px; }
.journey-title > span { color: #65654c; }
.day-ruler { display: flex; justify-content: space-between; margin: 0 23px; padding-bottom: 12px; font: 9px var(--mono); }
.day-records { position: relative; height: 34px; margin: 0 23px 28px; border-top: 1px solid #949975; border-bottom: 1px solid #949975; background: repeating-linear-gradient(to right,transparent,transparent calc(4.166% - 1px),#c6cb97 calc(4.166% - 1px),#c6cb97 4.166%); }
.day-records i { position: absolute; height: 18px; top: 7px; background: #6c7652; }
.day-records i:nth-child(1) { left: 35%; width: 10%; }
.day-records i:nth-child(2) { left: 48%; width: 3%; }
.day-records i:nth-child(3) { left: 58%; width: 9%; }
.day-records i:nth-child(4) { left: 75%; width: 7%; }
.day-records i:nth-child(5) { left: 85%; width: 2%; }
.journey-stops { list-style: none; margin: 0 23px 28px; padding: 0; }
.journey-stops li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 24px; padding-bottom: 25px; }
.journey-stops li:last-child { padding-bottom: 0; }
.journey-stops li::after { content: ""; position: absolute; top: 17px; left: 54px; bottom: -2px; border-left: 1px solid #a3aa7e; }
.journey-stops li:last-child::after { display: none; }
.journey-stops time { font: 11px/1.9 var(--mono); padding-top: 1px; }
.journey-stops li > div::before { content: ""; position: absolute; left: 51px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #495333; }
.journey-stops strong { font-size: 13px; font-weight: 600; }
.journey-stops p { font-size: 13px; line-height: 1.8; margin: 8px 0 4px; }
.journey-stops li > div > span { font-size: 11px; color: #626947; }
.voice-preview { background: #c9bbec; }
.model-list { margin: 0 22px; border-top: 1px solid #857b9a; }
.model-list > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid #a093bc; font: 15px var(--mono); }
.model-list .mono { color: #625670; font-size: 10px; }
.speaker-sample { display: flex; align-items: center; gap: 13px; background: #e4daf8; border: 1px solid var(--ink); margin: 25px 22px 17px; padding: 20px 15px; }
.speaker-label { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; border-radius: 50%; background: var(--ink); color: #f6f5f0; font-size: 12px; }
.speaker-sample p { font-size: 17px; }
.speaker-sample strong { font-weight: 500; border-bottom: 1px solid; padding-bottom: 3px; }
.speaker-key { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0 22px 25px; }
.speaker-key > span { border: 1px solid #8c7da9; padding: 5px 9px; font-size: 10px; }
.speaker-key small { margin-left: auto; color: #625670; font-size: 10px; }
.review-preview { background: #efcbd4; }
.review-metrics { display: grid; grid-template-columns: repeat(3,1fr); margin: 23px 22px 0; }
.review-metrics strong { display: block; font: 30px/1.3 var(--mono); letter-spacing: -1.5px; }
.review-metrics strong small { font-size: 12px; margin-left: 5px; }
.review-metrics span { font-size: 11px; color: #6c535d; }
.week-chart-label { color: #735663; margin: 23px 22px 0; font-size: 9px; }
.week-chart small { position: absolute; bottom: 100%; left: 0; width: 100%; font: 9px/1.5 var(--mono); text-align: center; padding-bottom: 4px; color: #735663; }
.week-chart { height: 156px; display: flex; gap: 13px; align-items: stretch; margin: 25px 22px; padding-top: 7px; }
.week-chart > div { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; position: relative; padding-bottom: 23px; }
.week-chart i { position: relative; flex-shrink: 0; height: var(--bar); max-height: 126px; min-height: 1px; background: #8c5e73; }
.week-chart div:last-child i { background: #292425; }
.week-chart span { font-size: 10px; position: absolute; bottom: 0; width: 100%; text-align: center; color: #735663; }
.review-process { margin: 0 22px 25px; padding-top: 18px; border-top: 1px solid #c69da9; }
.review-process > span { font-size: 10px; color: #735663; }
.review-process p { font-size: 11px; margin-top: 8px; display: flex; justify-content: space-between; gap: 5px; }
.review-process b { font-weight: 400; color: #967081; }
.agent-preview { padding-bottom: 25px; }
.mini-question { background: var(--lavender); padding: 15px 18px; margin: 24px 22px; font-size: 15px; line-height: 1.7; border: 1px solid var(--ink); }
.agent-steps { list-style: none; margin: 0 22px; padding: 0; }
.agent-steps li { display: flex; align-items: flex-start; gap: 13px; border-bottom: 1px solid #d4d1c8; padding: 14px 0; }
.agent-steps li > .mono { padding-top: 2px; color: #8c877e; }
.agent-steps li > span:last-child { margin-left: auto; color: #615077; }
.agent-steps strong { font-size: 13px; font-weight: 500; }
.agent-steps p { font-size: 11px; color: var(--muted); margin-top: 4px; }
.mini-citation { margin: 13px 22px 22px; color: #66507e; font-size: 10px; }
.mini-todo { display: flex; gap: 15px; margin: 0 22px 25px; padding: 16px; background: var(--green); border: 1px solid #898e67; font-size: 13px; }
.mini-todo > span { font-size: 22px; line-height: 1.1; }
.mini-todo small { display: block; font-size: 10px; color: #6b704b; margin-top: 8px; }
.agent-preview > a { margin-left: 22px; font-size: 12px; }
.prompt-notes { display: flex; gap: 0; border-bottom: 1px solid #b9b7af; }
.prompt-notes span { flex: 1; border-right: 1px solid #b9b7af; padding: 14px 6px; text-align: center; font-size: 11px; }
.prompt-notes span:last-child { border-right: 0; }
.export-title { font-family: "Songti SC",serif; font-size: 34px; line-height: 1.3; letter-spacing: -1px; margin: 29px 22px; }
.export-files { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 0 22px; }
.export-files > div { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--ink); padding: 18px 15px; background: var(--green); box-shadow: 3px 3px 0 #b6b3a8; }
.export-files > div:last-child { background: var(--lavender); }
.export-files .mono { font-size: 25px; margin-bottom: 24px; letter-spacing: -1px; }
.export-files strong { font: 14px var(--mono); }
.export-files small { margin-top: 9px; font-size: 10px; color: #5b5b50; }
.export-includes { font-size: 11px; text-align: center; margin: 24px 15px 18px; color: var(--muted); }
.control-preview > a { margin: 0 22px 25px; font-size: 12px; }
.experiment-copy { padding: 18px 20px; border: 1px solid #675b78; margin-bottom: 24px; background: #2f2939; }
.experiment-badge { display: inline-block; color: #d7c6f5; border: 1px solid #77618c; padding: 4px 8px; font-size: 10px; }
.experiment-copy h4 { font-size: 15px; font-weight: 500; margin: 14px 0 8px; }
.experiment-copy p { color: #bdb5c9; font-size: 12px; }
.connection-preview { background: #d3dee6; }
.continuity-list { margin: 10px 22px; }
.continuity-list > div { display: flex; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid #adb8c0; }
.continuity-list > div:last-child { border-bottom: 0; }
.continuity-list > div > span { font: 28px var(--mono); color: #697e8c; letter-spacing: -2px; }
.continuity-list strong { display: block; font-size: 17px; font-weight: 500; }
.continuity-list small { color: #637582; font-size: 11px; }
.mcp-preview { padding: 22px; background: #e5e1ed; border-top: 1px solid #a89db7; }
.mcp-preview .experiment-badge { color: #614e75; border-color: #9e8aae; }
.mcp-flow { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin: 23px 0 15px; font-size: 12px; }
.mcp-flow b { font-weight: 400; color: #8a7c9a; }
.mcp-preview p { font-size: 11px; color: #72667c; }
@media (min-width: 1600px) {
  .feature-selector h3 { font-size: 24px; }
  .feature-detail-grid { gap: 9%; }
  .feature-preview { max-width: 550px; width: 100%; justify-self: end; }
}
@media (max-width: 1050px) {
  .feature-selector { padding: 23px 18px; }
  .feature-selector h3 { font-size: 18px; }
  .feature-selector p { font-size: 11px; }
  .feature-detail-grid { gap: 5%; padding: 34px 3.5%; }
  .feature-facts li > span { font-size: 12px; }
  .feature-preview .preview-label { font-size: 9px; padding: 12px 16px; }
  .speaker-key small { width: 100%; margin-top: 6px; }
}
@media (max-width: 760px) {
  .feature-index { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-selector { padding: 20px 18px; min-height: 147px; }
  .feature-selector h3 { font-size: 18px; max-width: 160px; }
  .feature-selector .mono { font-size: 9px; }
  .feature-open { top: 13px; right: 13px; font-size: 17px; }
  .feature-detail-grid { grid-template-columns: 1fr; gap: 30px; padding: 32px 26px; }
  .feature-detail-copy h3 { font-size: 34px; }
  .feature-intro { font-size: 13px; }
  .feature-facts strong { font-size: 14px; }
  .feature-facts li > span { font-size: 13px; }
  .feature-preview { width: 100%; max-width: 520px; justify-self: center; }
  .feature-panel { scroll-margin-top: 10px; }
  .feature-panel-top { padding: 14px 22px; font-size: 9px; }
  .feature-panel-top > span:last-child { max-width: 45%; text-align: right; font-size: 8px; }
  .feature-panel-foot { padding: 17px 22px; font-size: 11px; flex-wrap: wrap; }
  .feature-panel-foot > span { font-size: 9px; }
  .feature-caption { font-size: 10px; }
  .speaker-key small { width: auto; margin-top: 0; }
}
@media (max-width: 450px) {
  .features .section-heading { margin-bottom: 32px; }
  .feature-index { margin-bottom: 24px; }
  .feature-selector { padding: 18px 13px; min-height: 170px; }
  .feature-selector h3 { font-size: 17px; max-width: 120px; margin-top: 17px; }
  .feature-selector p { font-size: 10px; max-width: 100%; }
  .feature-selector .mono { font-size: 8px; max-width: 92px; display: block; min-height: 24px; }
  .feature-detail-grid { padding: 28px 19px; gap: 28px; }
  .feature-detail-copy h3 { font-size: 29px; }
  .feature-panel-top { padding: 12px 18px; }
  .feature-panel-foot { gap: 10px; padding: 17px 18px; }
  .feature-panel-foot > span { display: none; }
  .journey-title strong { font-size: 23px; }
  .journey-stops li { gap: 21px; grid-template-columns: 40px 1fr; }
  .journey-stops li::after { left: 48px; }
  .journey-stops li > div::before { left: 45px; }
  .journey-stops p { font-size: 12px; }
  .preview-label { font-size: 8px; }
  .preview-kicker { font-size: 18px; }
  .model-list > div { font-size: 13px; }
  .speaker-sample p { font-size: 14px; }
  .speaker-key small { width: 100%; margin-top: 6px; }
  .review-metrics strong { font-size: 26px; }
  .week-chart { gap: 9px; }
  .review-process p { flex-wrap: wrap; justify-content: flex-start; column-gap: 7px; font-size: 10px; }
  .mini-question { font-size: 14px; }
  .export-files { gap: 12px; margin: 0 17px; }
  .export-files > div { padding: 16px 12px; }
  .export-files strong { font-size: 12px; }
  .export-files .mono { font-size: 22px; }
  .continuity-list > div { gap: 13px; }
  .continuity-list strong { font-size: 15px; }
  .continuity-list small { font-size: 10px; }
  .mcp-flow { font-size: 10px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-selector { transition: none; }
}

.feature-update {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  margin: -14px 0 24px;
  background: var(--green);
  border: 1px solid var(--ink)
}
.feature-update > span { font-size: 10px; flex-shrink: 0 }
.feature-update p { font-size: 12px }
.feature-update a { display: inline-block; margin-left: 16px; text-decoration: underline; text-underline-offset: 4px }
.connection-preview > .mcp-preview { border-top: 0; border-bottom: 1px solid #a89db7 }
.mcp-prompt-example { margin: 0 22px 24px; border: 1px solid #9da9b2; background: #e4eaf0 }
.mcp-prompt-example summary { cursor: pointer; font-size: 12px; line-height: 1.8; padding: 13px 14px }
.mcp-prompt-example > div { border-top: 1px solid #b7c1c9; padding: 14px }
.mcp-prompt-example p { font-size: 12px; line-height: 1.9 }
.mcp-prompt-example p + p { margin-top: 12px; color: #647481; font-size: 10px }
.release-version { margin-top: 14px; color: var(--muted) }
.release-changes { margin: 18px 0 20px; padding-left: 18px; font-size: 13px; line-height: 1.9 }
@media(max-width:760px) {
  .feature-update { display: block; padding: 15px 18px }
  .feature-update p { margin-top: 8px }
  .feature-update a { margin-left: 0; margin-top: 6px; display: block }
}
@media(max-width:450px) {
  .mcp-prompt-example { margin-inline: 17px }
  .mcp-prompt-example summary { font-size: 11px; padding: 12px }
  .release-changes { font-size: 12px }
}

.mcp-preview .mcp-access-note { padding-top: 12px; margin-top: 14px; border-top: 1px solid #b5a9bf; color: #584462; font-size: 10px }
