/* Small visual accents and an illustrative, manually controlled product tour. */
.feature-icon { width: 26px; height: 26px; display: inline-block; flex-shrink: 0; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-utility { display: flex; align-items: center; gap: 24px; }
.language-picker { display: inline-flex; align-items: center; gap: 8px; }
.language-picker .feature-icon { width: 18px; height: 18px; }
.language-picker select { font: .75rem var(--font-body); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); padding: 7px 20px 7px 0; max-width: 110px; }
.language-picker select:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.pillar .step-number { display: grid; align-content: start; gap: 14px; font-family: var(--font-note); font-size: .8rem; }
.pillar .step-number .feature-icon { width: 30px; height: 30px; }
.eco-role { display: inline-flex; gap: 8px; align-items: center; }
.eco-role .feature-icon { width: 19px; height: 19px; color: currentColor; }
.eco-card { position: relative; transition: border-color .25s, transform .25s; }
.eco-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.eco-card::after { content: ''; position: absolute; bottom: 10px; right: 10px; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; opacity: .4; }
.brand-star { transition: transform .35s; }
.wordmark:hover .brand-star { transform: rotate(90deg); }
.hero-visual { transform: rotate(1.5deg); }
.photo-frame { border: 1px solid var(--ink); }
.hero h1 span:after { transform: rotate(-.8deg); height: .1em; }
.image-stamp { font-family: var(--font-note); text-transform: uppercase; font-weight: 400; font-size: .75rem; }
.hero-visual::after { content: '+'; position: absolute; top: -28px; left: -18px; color: var(--blue); font: 28px var(--font-note); }
.motion-pending { opacity: 0; transform: translateY(14px); }
.motion-entered { animation: enter-gently .6s both; }
@keyframes enter-gently { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.workbench { margin-top: 76px; border-top: 1px solid #8192fa; padding-top: 40px; }
.workbench-heading { display: flex; gap: 28px; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.workbench-heading h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 550; margin-top: 12px; line-height: 1.1; }
.workbench-heading > p { max-width: 350px; font-size: 1rem; line-height: 1.5; color: #e0e5ff; }
.tour-route { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 22px; }
.tour-step { position: relative; border: 1px solid #8192fa; border-right: 0; background: transparent; color: var(--paper); padding: 18px; display: flex; align-items: center; gap: 14px; text-align: left; transition: background .25s, color .25s; min-width: 0; }
.tour-step:last-child { border-right: 1px solid #8192fa; }
.tour-step .feature-icon { color: currentColor; }
.tour-step > span { display: grid; gap: 3px; font-size: 1rem; font-weight: 600; }
.tour-step small { font: .625rem var(--font-note); font-weight: 400; }
.tour-step[aria-selected="true"] { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.tour-step:focus-visible { outline-color: var(--acid); outline-offset: 4px; z-index: 1; }
.workbench-screen { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); box-shadow: 8px 8px 0 #191919; }
.workbench-bar { display: flex; justify-content: space-between; align-items: center; padding: 15px 24px; border-bottom: 1px solid var(--line); gap: 15px; }
.workbench-bar span:last-child { font: .625rem var(--font-note); text-transform: uppercase; text-align: right; }
.workbench-brand { font-family: var(--font-display); font-weight: 600; letter-spacing: -.045em; }
.tour-panel { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 340px; }
.tour-panel[hidden] { display: none; }
.tour-panel.is-entering { animation: tour-entrance .3s both; }
@keyframes tour-entrance { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.tour-aside { border-right: 1px solid var(--line); padding: 26px 22px; background: #eae8df; }
.tour-aside .feature-icon { width: 34px; height: 34px; margin-bottom: 24px; }
.tour-aside strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 550; line-height: 1.2; }
.tour-aside p { font-size: .9rem; margin-top: 12px; line-height: 1.5; }
.tour-body { padding: 28px 32px; min-width: 0; }
.tour-body h4 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 550; font-size: 1.25rem; letter-spacing: -.03em; }
.tour-files { list-style: none; margin: 0; padding: 0; }
.tour-files li { border-top: 1px solid var(--line); padding: 15px 0; display: flex; align-items: center; gap: 12px; }
.tour-files li:last-child { border-bottom: 1px solid var(--line); }
.tour-files li span { flex: 1; }
.tour-files small { font: .65rem var(--font-note); color: #57574e; }
.tour-footnote { margin-top: 16px; color: #57574e; font-size: .875rem; line-height: 1.5; }
.tour-message { padding: 14px 18px; margin-bottom: 12px; border-left: 2px solid var(--blue); background: #fff; line-height: 1.5; }
.tour-message.user { background: #eae8df; border-left-color: var(--ink); }
.tour-message > span { display: block; font: .625rem var(--font-note); text-transform: uppercase; margin-bottom: 8px; }
.tour-citation { display: inline-block; margin-top: 8px; padding: 4px 8px; font-size: .75rem; border: 1px solid var(--line); }
.tour-approval { border: 1px solid var(--ink); padding: 20px; }
.tour-state { font: .65rem var(--font-note); padding: 5px 9px; display: inline-flex; align-items: center; gap: 8px; background: var(--acid); }
.tour-state::before { content: ''; width: 6px; height: 6px; background: var(--ink); }
.tour-approval p { margin: 16px 0; font-size: 1rem; line-height: 1.5; }
.tour-metadata { display: flex; gap: 24px; flex-wrap: wrap; margin: 0; font-size: .875rem; }
.tour-metadata dt { font: .625rem var(--font-note); text-transform: uppercase; color: #57574e; margin-bottom: 5px; }
.tour-metadata dd { margin: 0; }
.tour-result { display: flex; align-items: center; gap: 18px; border: 1px solid var(--ink); padding: 22px; margin: 18px 0; }
.tour-result .feature-icon { width: 38px; height: 38px; }
.tour-result p { font-weight: 600; }
.tour-result > div { min-width: 0; }
.tour-result p { overflow-wrap: anywhere; }
.tour-result small { display: block; margin-top: 5px; color: #57574e; }
.tour-trace { display: flex; gap: 8px; flex-wrap: wrap; font: .7rem var(--font-note); }
.tour-trace span { padding: 5px 8px; border-bottom: 1px solid var(--line); }
.tour-controls { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-top: 26px; }
.tour-counter { font: .75rem var(--font-note); }
.tour-buttons { display: flex; gap: 8px; }
.tour-buttons button { background: transparent; border: 1px solid #8192fa; color: var(--paper); padding: 10px 18px; min-height: 44px; font-weight: 600; }
.tour-buttons button:hover:not(:disabled) { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.tour-buttons button:disabled { opacity: .4; }
.tour-buttons button:focus-visible { outline-color: var(--acid); }
.tour-controls > a { font-size: .9375rem; text-decoration: underline; text-underline-offset: 5px; }
.tour-route[hidden], .tour-controls[hidden] { display: none; }
@media (max-width: 1100px) { .site-header { height: auto; min-height: 90px; gap: 20px; padding-top: 16px; padding-bottom: 16px; } .site-header nav { justify-content: flex-end; flex-wrap: wrap; row-gap: 2px; } .site-header .wordmark { flex-shrink: 0; } }
@media (max-width: 700px) {
  .hero-actions { max-width: 100%; min-width: 0; }
  .hero-actions .button { white-space: normal; text-align: center; max-width: 100%; }
  .api-demo-wrapper { grid-template-columns: minmax(0, 1fr); }
  .api-form-panel, .api-console-panel, .form-block, .field-group { min-width: 0; min-inline-size: 0; }
  .form-block legend { max-width: 100%; white-space: normal; }
  .dev-api-content p code { overflow-wrap: anywhere; }
  .api-drawer-heading > p { min-width: 0; }
  .field-group label { flex-wrap: wrap; gap: 6px; }
  .hero-kicker { max-width: none; align-items: start; gap: 16px; }
  .hero-kicker > span { max-width: 190px; }
  .hero-utility { flex-shrink: 0; }
  .workbench { margin-top: 48px; padding-top: 28px; }
  .workbench-heading { display: block; }
  .workbench-heading > p { margin-top: 16px; }
  .tour-route { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tour-step { border-right: 1px solid #8192fa; padding: 12px; gap: 10px; min-height: 70px; }
  .tour-step > span { font-size: .875rem; }
  .tour-step .feature-icon { width: 21px; height: 21px; }
  .workbench-bar { padding: 14px 16px; }
  .workbench-bar span:last-child { max-width: 145px; line-height: 1.5; }
  .tour-panel { display: block; min-height: 0; }
  .tour-aside { padding: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .tour-aside .feature-icon { width: 24px; height: 24px; margin: 0 8px 0 0; vertical-align: middle; }
  .tour-aside strong { display: inline; font-size: 1.05rem; }
  .tour-aside p { margin-top: 10px; }
  .tour-body { padding: 22px 20px; }
  .tour-files small { font-size: .6rem; }
  .tour-controls { flex-wrap: wrap; gap: 16px; }
  .tour-controls > a { width: 100%; }
  .tour-result { padding: 16px; gap: 12px; }
  .site-footer > div { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-pending { opacity: 1; transform: none; }
  .motion-entered, .tour-panel.is-entering { animation: none; }
  .eco-card:hover, .wordmark:hover .brand-star { transform: none; }
}
