/* Guides shares the website palette, logo and language selector. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body { margin: 0; color: var(--ink); font: 16px/1.65 "Segoe UI", Arial, sans-serif; }
/* Match the homepage artwork tint, leaving content and the footer untouched. */
body::before, body::after { filter: url(#irius-violet-background); }
a { color: inherit; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
.wrap { width: min(1280px, 92%); margin: auto; }
header { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header nav { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.navlinks { display: flex; align-items: center; font-size: 14px; }
.navlinks a { text-decoration: none; }
.navlinks a[aria-current="page"] { color: var(--violet); font-weight: 700; }
.button { appearance: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 650; line-height: 1.3; }
.guide-layout { padding: 12px 0 70px; }
.breadcrumbs { margin: 2px 0 12px; color: var(--muted); font-size: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li { display: flex; align-items: baseline; gap: 9px; }
.breadcrumbs a { text-decoration: none; }
.guide-hero { margin-bottom: 24px; padding: clamp(26px, 4vw, 48px); border: 1px solid #7b2cff26; border-radius: 24px; background: linear-gradient(115deg, #f2eafff2, #fffffff2 78%); }
.guide-hero h1 { max-width: 22ch; }
.guide-hero .guide-lead { margin-bottom: 0; }
.guide-hero .guide-lead + .guide-lead { margin-top: 16px; }
/* Pipeline Queue uses the homepage's hero, eyebrow, button and canvas styles. */
.guide-hero.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "heading ." "copy media"; align-items: start; gap: 0 64px; padding: 8px 0 28px; border: 0; border-radius: 0; background: transparent; }
.guide-hero.hero > * { min-width: 0; }
.guide-hero-heading { grid-area: heading; }
.guide-hero-copy { grid-area: copy; }
.guide-hero-media { grid-area: media; }
.guide-hero-copy > .guide-lead:first-child { margin-top: 0; }
.guide-hero.hero h1 { margin: 23px 0 26px; font-size: clamp(44px, 4.5vw, 65px); font-weight: 700; line-height: 1.06; letter-spacing: -.055em; }
.guide-hero.hero .guide-lead { max-width: 490px; line-height: 1.6; }
.guide-hero .canvas-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-transform: uppercase; letter-spacing: .11em; }
.guide-hero-media img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
@media (max-width: 1100px) { .guide-hero.hero { column-gap: 35px; } }
@media (max-width: 850px) { .guide-hero.hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "copy" "media"; padding: 8px 0 24px; } .guide-hero .guide-hero-media { margin-top: 35px; } }
@media (max-width: 560px) { .guide-hero.hero { padding-bottom: 28px; } .guide-hero .guide-hero-media { margin-top: 30px; } .guide-hero.hero h1 { font-size: clamp(36px, 10.8vw, 48px); } }
.eyebrow { color: var(--violet-deep); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
h1 { margin: 12px 0 19px; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -.05em; }
.guide-lead { max-width: 670px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.guide-category-title { margin: 24px 0 15px; font-size: 21px; letter-spacing: -.025em; }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.guide-card { display: flex; flex-direction: column; min-height: 195px; padding: 23px; background: #ffffffea; border: 1px solid var(--line); border-radius: 17px; text-decoration: none; transition: border-color .15s, transform .15s; }
.guide-card:hover { border-color: var(--violet); transform: translateY(-3px); }
.guide-card-top { display: flex; align-items: center; justify-content: space-between; }
.guide-card img { width: 37px; height: 37px; object-fit: contain; }
.guide-card-arrow { color: var(--violet); }
.guide-card h3 { margin: 17px 0 7px; font-size: 17px; line-height: 1.3; }
.guide-card p { margin: 0; color: var(--muted); font-size: 13px; }
.draft-note { display: flex; gap: 12px; align-items: baseline; margin: 0 0 25px; padding: 13px 17px; border: 1px solid #7b2cff22; border-radius: 11px; background: #f6f2ff; font-size: 13px; color: var(--violet-deep); }
.draft-note strong { white-space: nowrap; }
.guide-contents { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.guide-contents a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; background: white; text-decoration: none; color: var(--muted); font-size: 12px; }
.guide-section { padding: 23px 0; border-top: 1px solid var(--line); }
.guide-section h2 { margin: 0 0 12px; font-size: 25px; letter-spacing: -.025em; line-height: 1.25; }
.guide-section p { margin: 0 0 16px; color: var(--muted); }
.guide-review-index { margin-top: 32px; }
.guide-review-status { margin-bottom: 24px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: #f6f2ff; }
.guide-review-status h2 { margin: 0 0 6px; font-size: 18px; }
.guide-review-status p { margin: 0; color: var(--muted); }
.guide-section figure { margin: 20px 0 0; padding: 9px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.guide-section figure img { display: block; width: 100%; height: auto; border-radius: 8px; }
#guide-content #overview > figure { padding: 0; border: 0; background: transparent; }
#guide-content #overview > figure img { width: auto; max-width: 100%; height: auto; }
.guide-section figcaption { padding: 10px 8px 3px; font-size: 12px; color: var(--muted); }
.section-slot { min-height: 85px; padding: 20px; border: 1px dashed #c9bddf; border-radius: 12px; background: #ffffffb8; color: var(--muted); font-size: 14px; }
.function-template { margin-top: 24px; padding: 26px; border: 1px solid var(--line); border-radius: 17px; background: #ffffffeb; }
.function-template h3 { margin: 0 0 22px; font-size: 21px; letter-spacing: -.02em; }
.function-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
.function-copy { margin: 0; }
.function-copy dt { margin-bottom: 6px; color: var(--ink); font-weight: 650; font-size: 14px; }
.function-copy dd { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.function-copy dd:last-child { margin-bottom: 0; }
.function-copy h4 { margin: 0 0 8px; font-size: 14px; color: var(--ink); }
.function-copy p, .function-copy li { font-size: 14px; line-height: 1.7; }
.function-steps { margin: 0 0 22px; padding-left: 25px; color: var(--muted); }
.function-steps li { padding-left: 4px; margin-bottom: 13px; }
.function-steps li::marker { font-weight: 700; color: var(--violet-deep); }
.function-steps strong { color: var(--ink); }
.configuration-jump { display: inline-block; margin-bottom: 4px; color: var(--violet-deep); font-size: 14px; font-weight: 650; text-underline-offset: 4px; }
.function-options { margin-top: 28px; padding: 26px 0 0; border-top: 1px solid var(--line); }
.function-options h4 { margin: 0 0 10px; color: var(--ink); font-size: 20px; }
.function-options > p { font-size: 14px; }
.configuration-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: white; }
.configuration-table-wrap:focus-visible { outline: 3px solid var(--violet-deep); outline-offset: 4px; }
.configuration-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.65; text-align: left; }
.configuration-table th, .configuration-table td { padding: 16px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.configuration-table thead th { background: #f6f2ff; color: var(--violet-deep); font-weight: 650; }
.configuration-table tbody th { width: 32%; color: var(--ink); font-weight: 650; }
.configuration-table td { width: 34%; color: var(--muted); }
.configuration-table small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 400; }
.configuration-table tr:last-child th, .configuration-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .configuration-table { min-width: 0; }
  .configuration-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .configuration-table tbody, .configuration-table tr, .configuration-table tbody th, .configuration-table td { display: block; width: 100%; }
  .configuration-table tbody tr { border-bottom: 1px solid var(--line); }
  .configuration-table tbody tr:last-child { border-bottom: 0; }
  .configuration-table tbody th { background: #f6f2ff; }
  .configuration-table tbody th, .configuration-table td { padding: 13px 16px; border-bottom: 0; }
  .configuration-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--ink); font-size: 12px; font-weight: 650; }
}
.queue-sound-layout { display: flex; flex-direction: column; }
.queue-sound-layout > .function-copy { order: 1; }
.queue-sound-layout > .queue-sound-visual { order: 2; }
.queue-sound-capture { display: block; width: 827px; max-width: none; height: 239px; background: white; }
.queue-sound-visual { width: 100%; max-width: 829px; min-width: 0; justify-self: start; }
.queue-guide-visual { max-width: calc(var(--capture-width) + 2px); }
.guide-section .queue-editor-visual { margin-top: 24px; }
@media (min-width: 961px) { .queue-editor-visual .queue-guide-capture { width: 100%; height: auto; } }
.queue-guide-capture { display: block; width: var(--capture-width); max-width: none; height: auto; background: white; }
.queue-function-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 30px; }
.queue-function-index a { padding: 12px 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--violet-deep); font-size: 14px; line-height: 1.45; text-decoration: none; }
.queue-function-index a:hover { border-color: var(--violet); background: #f6f2ff; }
.queue-function-index a:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.queue-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 35px; margin-top: 24px; }
.queue-faq h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.4; }
.queue-faq p { font-size: 14px; }
@media (max-width: 850px) { .queue-function-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .queue-function-index, .queue-faq { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1360px) {
  .queue-sound-layout { display: flow-root; }
  .guide-section .queue-sound-layout .queue-sound-visual { float: right; width: calc(50% - 14px); margin: 0 0 20px 28px; }
  .queue-sound-visual .queue-sound-capture { width: 100%; height: auto; }
  .queue-guide-visual .queue-guide-capture { width: 100%; height: auto; }
  /* Tall panels need their native width to keep the small app labels readable. */
  .queue-panel-layout { display: flex; flex-direction: column; }
  .guide-section .queue-panel-layout .queue-guide-visual { float: none; width: 100%; margin: 0; }
  .queue-panel-layout .queue-guide-capture { width: var(--capture-width); max-width: none; }
}
.queue-capture-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: white; }
.queue-capture-scroll:focus-visible { outline: 3px solid var(--violet-deep); outline-offset: 4px; }
@media (min-width: 961px) {
  .guide-section .pipeline-guide-visual .queue-guide-capture { width: 100%; height: auto; }
}
.queue-capture-hint { display: none; margin-top: 6px; }
@media (max-width: 960px) { .queue-capture-hint { display: block; } }
.guide-section .function-visual { margin: 0; padding: 0; border: 0; background: transparent; }
.focused-screenshot-slot { min-height: 240px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; border: 1px dashed #b49bd7; border-radius: 12px; background: #f8f5ff; color: var(--violet-deep); }
.focused-screenshot-slot span { max-width: 320px; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .function-layout { grid-template-columns: 1fr; } .function-template { padding: 20px; } }
footer { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.guides-footer { border-top: 0; background: transparent; }
.guides-footer .closing { display: flex; align-items: center; justify-content: space-between; gap: 40px; color: #fff; }
.closing h2 { max-width: 650px; margin: 16px 0 20px; font-size: clamp(29px, 3vw, 42px); line-height: 1.15; letter-spacing: -.035em; }
.closing p { margin: 0 0 16px; font-size: 14px; }
.closing .button { flex-shrink: 0; font-size: 14px; }
@media (max-width: 850px) { .guides-footer .closing { flex-direction: column; align-items: flex-start; gap: 0; } .closing .button { margin-top: 16px; } }
dialog { max-width: 540px; width: 90%; padding: 30px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); }
dialog::backdrop { background: #061a38aa; }
@media (max-width: 1100px) { .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brand img { width: 220px; } }
@media (max-width: 760px) { header nav { min-height: 76px; flex-wrap: wrap; padding: 14px 0; } .brand img { width: 205px; } .navlinks { gap: 14px; } .navlinks > a:not([aria-current]) { display: none; } .navlinks .download-button { display: none; } .guide-layout { padding-top: 8px; } .breadcrumbs { margin-bottom: 12px; } .draft-note { display: block; } .draft-note strong { display: block; margin-bottom: 4px; } }
@media (max-width: 460px) { .guide-cards { grid-template-columns: 1fr; } .guide-card { min-height: 150px; } .footer-inner { display: block; } .footer-inner span { display: block; } .brand img { width: 175px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .guide-card { transition: none; } }
