/* Public AI connection and authoring guide, using the website's shared tokens. */
.ai-page { --ai-accent: #f7a48b; --ai-muted: #beb8b4; padding-bottom: 5rem; }
.ai-page a { text-underline-offset: .22em; }
.ai-page button, .ai-page input, .ai-page select, .ai-page textarea { font: inherit; }
.ai-page :is(a, button, input, select, textarea, summary, pre):focus-visible { outline: 2px solid var(--ai-accent); outline-offset: 4px; }
.ai-page [id] { scroll-margin-top: 2rem; }
.ai-eyebrow { color: var(--ai-accent); font-size: .75rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; line-height: 1.6; }
.ai-eyebrow span { display: inline-block; margin-left: .6rem; border: 1px solid #675047; padding: .12rem .55rem; border-radius: 3px; color: var(--ai-muted); font-size: .65rem; letter-spacing: .08em; }
.ai-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; padding-top: 5rem; padding-bottom: 5rem; }
.ai-hero h1, .ai-guide__hero h1 { margin: 1.25rem 0 1.5rem; font-size: clamp(2.7rem, 4.9vw, 4.4rem); line-height: 1.13; font-weight: 550; letter-spacing: -.055em; }
.ai-hero h1 em { font-style: normal; color: var(--ai-accent); }
.ai-lead { max-width: 39rem; color: var(--ai-muted); font-size: 1.15rem; line-height: 1.65; }
.ai-actions { display: flex; flex-wrap: wrap; gap: 1.3rem; align-items: center; margin: 2rem 0 1.5rem; }
.ai-button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .85rem 1.1rem; border: 1px solid var(--ai-accent); border-radius: 5px; background: var(--ai-accent); color: #231912; font-weight: 650; text-decoration: none; cursor: pointer; line-height: 1.3; }
.ai-button:hover { background: #ffc5af; color: #231912; border-color: #ffc5af; }
.ai-button--quiet { background: transparent; color: var(--ai-accent); }
.ai-text-link { color: #eee6df; text-decoration: none; display: inline-flex; gap: .55rem; align-items: center; }
.ai-text-link:hover, .ai-page a:not(.ai-button):hover { color: var(--ai-accent); }
.ai-fine { color: var(--ai-muted); font-size: .85rem; line-height: 1.6; }
.ai-fine a { color: inherit; }
.ai-preview { padding: 1.8rem; border: 1px solid #4e433d; border-radius: 10px; background: linear-gradient(135deg, #2d2521, #1e1e1f 70%); box-shadow: 0 20px 65px #0003; }
.ai-preview__label { color: var(--ai-muted); font-size: .73rem; letter-spacing: .03em; display: flex; gap: .5rem; align-items: center; }
.ai-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ai-accent); flex-shrink: 0; }
.ai-preview__prompt { color: #f0e9e1; font-size: 1.45rem; line-height: 1.45; letter-spacing: -.02em; padding: 1.6rem 0 1.9rem; }
.ai-preview__draft { display: flex; gap: .75rem; align-items: center; border-top: 1px solid #423a35; padding: .95rem 0; }
.ai-preview__draft > i { color: var(--ai-accent); font-size: 1.65rem; flex-shrink: 0; }
.ai-preview__draft div { flex: 1; }
.ai-preview__draft strong, .ai-preview__draft div span { display: block; }
.ai-preview__draft strong { color: #eee8e2; font-size: .95rem; font-weight: 550; }
.ai-preview__draft div span { color: var(--ai-muted); font-size: .78rem; line-height: 1.6; margin-top: .15rem; }
.ai-tag { font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; color: #c4b4a9; padding: .1rem .45rem; border: 1px solid #4c423b; border-radius: 3px; }
.ai-preview__foot { font-size: .78rem; color: var(--ai-muted); border-top: 1px solid #423a35; padding-top: 1rem; }
.ai-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.ai-section__heading { display: flex; gap: 3rem; justify-content: space-between; align-items: end; margin-bottom: 2rem; }
.ai-section__heading h2, .ai-review h2, .ai-guide__body h2 { font-size: clamp(1.75rem, 3vw, 2.3rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.3; margin-top: .65rem; }
.ai-section__heading > p { color: var(--ai-muted); max-width: 25rem; font-size: 1rem; line-height: 1.6; }
.ai-endpoint { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.4rem; background: #222222; border: 1px solid #45403b; border-radius: 6px; margin-bottom: 1.5rem; }
.ai-endpoint span { color: var(--ai-muted); font-size: .75rem; display: block; margin-bottom: .25rem; }
.ai-endpoint code { color: #f7e9df; font-family: var(--font-family-monospace); font-size: .95rem; overflow-wrap: anywhere; }
.ai-copy { background: none; border: 1px solid #51483f; border-radius: 4px; padding: .5rem .75rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; color: #eee4da; cursor: pointer; font-size: .83rem !important; white-space: nowrap; }
.ai-copy:hover { border-color: var(--ai-accent); color: var(--ai-accent); }
.ai-client-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ai-client { padding: 1.8rem; border: 1px solid #3e3e40; border-radius: 6px; background: #1e1e20; }
.ai-client__heading { display: flex; gap: .9rem; align-items: center; margin-bottom: 1.5rem; }
.ai-client__heading h3 { font-size: 1.35rem; font-weight: 600; }
.ai-client__heading p { color: var(--ai-muted); margin-top: .2rem; font-size: .9rem; }
.ai-client__mark { display: flex; align-items: center; justify-content: center; width: 2.7rem; height: 2.7rem; border: 1px solid #715343; color: var(--ai-accent); border-radius: 5px; font-size: 1.8rem; font-family: Georgia, serif; }
.ai-client__mark--code { font-size: 1rem; font-family: var(--font-family-monospace); border-color: #5a5a5c; color: #e0dfdc; }
.ai-steps { padding-left: 1.3rem; margin: .5rem 0 1rem; color: #c4c0bc; }
.ai-steps li { padding-left: .35rem; margin-bottom: 1rem; line-height: 1.6; }
.ai-steps li::marker { color: var(--ai-accent); }
.ai-steps strong { color: #eee8e2; font-weight: 550; }
.ai-client > .ai-text-link { margin-top: 1rem; font-size: .85rem; }
.ai-command { padding: .9rem; border: 1px solid #39393d; border-radius: 4px; background: #151517; margin-bottom: 1rem; }
.ai-command pre { color: #e1d8cf; font-size: .78rem; margin: 0 0 .8rem; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-family-monospace); line-height: 1.7; }
.ai-setup-note { margin-top: 1.2rem; }
.ai-notice { background: #362920; border: 1px solid #745841; padding: 1rem; margin-bottom: 1.5rem; color: #efd7c1; border-radius: 4px; }
.ai-brief { display: grid; grid-template-columns: .8fr 1.2fr; border: 1px solid #45403b; border-radius: 8px; overflow: hidden; }
.ai-brief__form { padding: 1.7rem; background: #242221; display: flex; flex-direction: column; gap: .65rem; }
.ai-brief__form label { color: #e8e1da; font-size: .85rem; margin-top: .45rem; }
.ai-brief__form :is(input, select, textarea) { padding: .75rem .85rem; background: #191919; border: 1px solid #524b44; border-radius: 4px; color: #efe8e0; width: 100%; min-width: 0; }
.ai-brief__form textarea { resize: vertical; line-height: 1.6; }
.ai-brief__form input::placeholder, .ai-brief__form textarea::placeholder { color: #a89e95; }
.ai-brief__form .ai-button { align-self: flex-start; margin-top: .45rem; }
.ai-brief__result { padding: 1.7rem; background: #151517; min-width: 0; }
.ai-brief__result-heading { display: flex; gap: .5rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; font-size: .8rem; color: var(--ai-muted); }
.ai-brief__result pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .92rem; line-height: 1.8; color: #ddd4cb; font-family: var(--font-family-body); }
.ai-review { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.ai-review > div > p { margin: 1.2rem 0; color: var(--ai-muted); font-size: 1rem; line-height: 1.7; max-width: 32rem; }
.ai-costs { border-left: 2px solid var(--ai-accent); padding-left: 1.7rem; }
.ai-costs h3 { font-size: 1.25rem; font-weight: 550; }
.ai-costs strong { color: #eee5dd; font-weight: 550; }
.ai-costs a, .ai-guide__body a { color: var(--ai-accent); }
.ai-guide-banner { display: flex; gap: 1.3rem; align-items: center; padding-top: 2rem; padding-bottom: 2rem; margin-top: 2rem; border-top: 1px solid #3e3b38; border-bottom: 1px solid #3e3b38; }
.ai-guide-banner > i { font-size: 2rem; color: var(--ai-accent); }
.ai-guide-banner > div { flex: 1; }
.ai-guide-banner h2 { font-size: 1.25rem; line-height: 1.4; letter-spacing: -.02em; }
.ai-guide-banner p { color: var(--ai-muted); font-size: .92rem; margin-top: .4rem; line-height: 1.6; }
.ai-copy-status:not(:empty) { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); max-width: calc(100vw - 2rem); width: max-content; padding: .8rem 1.2rem; background: #efe3d6; color: #251e18; font-size: .9rem; border-radius: 6px; box-shadow: 0 4px 30px #0008; z-index: 20; }
.ai-guide__hero { padding-top: 4rem; padding-bottom: 3.5rem; }
.ai-guide__hero h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); }
.ai-guide__hero .ai-button { margin-top: 1.5rem; }
.ai-guide__hero .ai-eyebrow a { color: inherit; }
.ai-guide__layout { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 4.5rem; align-items: start; }
.ai-guide__contents { position: sticky; top: 2rem; display: flex; flex-direction: column; gap: .8rem; border-left: 1px solid #52483e; padding-left: 1.3rem; font-size: .9rem; }
.ai-guide__contents span { color: #b4a79a; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; margin-bottom: .4rem; }
.ai-guide__contents a { color: #dbd4cd; text-decoration: none; }
.ai-guide__body { max-width: 47rem; }
.ai-guide__body > section { padding-bottom: 3.5rem; }
.ai-guide__body h2 { margin-bottom: 1.2rem; }
.ai-guide__body p { color: #bfbab6; font-size: 1.03rem; line-height: 1.8; margin: 1rem 0; }
.ai-guide__steps { padding-left: 1.4rem; color: #bfbab6; line-height: 1.8; font-size: 1rem; }
.ai-guide__steps li { margin: .7rem 0; padding-left: .5rem; }
.ai-guide__steps strong { color: #eee7df; font-weight: 550; }
.ai-example { padding: 1.4rem; background: #22201e; border: 1px solid #51443a; border-radius: 5px; margin: 1.5rem 0; }
.ai-example > span { color: var(--ai-accent); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.ai-example pre { white-space: pre-wrap; overflow-wrap: anywhere; color: #dfd6ce; font-family: var(--font-family-body); font-size: 1rem; line-height: 1.8; margin: .9rem 0; }
.ai-workflow-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ai-workflow-list a { display: block; padding: 1.2rem; border: 1px solid #43403b; border-radius: 5px; text-decoration: none; position: relative; background: #202021; }
.ai-workflow-list a:hover { border-color: var(--ai-accent); }
.ai-workflow-list a > span { color: var(--ai-accent); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.ai-workflow-list h3 { margin-top: .6rem; font-size: 1.1rem; line-height: 1.4; font-weight: 500; padding-right: 1rem; }
.ai-workflow-list p { font-size: .88rem; line-height: 1.6; margin-bottom: 0; }
.ai-workflow-list i { position: absolute; right: 1rem; top: 1rem; color: var(--ai-accent); }
.ai-guide__callout { border-left: 2px solid var(--ai-accent); background: #22201e; padding: 1rem 1.4rem; margin: 1.5rem 0; }
.ai-guide__callout h3 { font-size: 1.15rem; font-weight: 550; }
.ai-guide__callout p:last-child { margin-bottom: 0; }
.ai-faq details { border-top: 1px solid #45403b; padding: 1rem 0; }
.ai-faq details:last-child { border-bottom: 1px solid #45403b; }
.ai-faq summary { color: #ece3db; font-size: 1rem; cursor: pointer; line-height: 1.6; }
.ai-faq details p { margin-bottom: .2rem; font-size: .95rem; }
.ai-faq code { overflow-wrap: anywhere; font-size: .83em; color: #e6d6c5; }
@media (max-width: 56rem) { .ai-hero { gap: 2rem; } .ai-preview { padding: 1.3rem; } .ai-preview__prompt { font-size: 1.25rem; } .ai-guide__layout { gap: 2rem; grid-template-columns: 10rem minmax(0, 1fr); } .ai-review { gap: 2rem; } }
@media (max-width: 42rem) { .ai-hero, .ai-client-grid, .ai-brief, .ai-review, .ai-guide__layout { grid-template-columns: 1fr; } .ai-hero { padding-top: 2.5rem; padding-bottom: 2rem; gap: 2.5rem; } .ai-hero h1 { font-size: clamp(2.7rem, 10vw, 3.7rem); } .ai-section { padding-top: 2.5rem; padding-bottom: 2.5rem; } .ai-section__heading { display: block; } .ai-section__heading > p { margin-top: 1rem; } .ai-client { padding: 1.3rem; } .ai-endpoint { padding: .9rem; align-items: start; } .ai-endpoint code { font-size: .82rem; } .ai-endpoint .ai-copy { padding: .45rem .55rem; } .ai-brief__form, .ai-brief__result { padding: 1.3rem; } .ai-guide-banner { flex-wrap: wrap; } .ai-guide-banner > div { flex-basis: calc(100% - 4rem); } .ai-guide-banner .ai-button { margin-left: 3.3rem; } .ai-guide__hero { padding-top: 2.5rem; } .ai-guide__contents { position: static; display: flex; flex-direction: row; flex-wrap: wrap; gap: .6rem 1rem; } .ai-guide__contents span { flex-basis: 100%; } .ai-guide__body > section { padding-bottom: 2.5rem; } .ai-workflow-list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { .ai-page a, .ai-page button { transition: background-color .15s, border-color .15s, color .15s; } }
