/* Scoped feature layout. Shared nulltage.css owns navigation and controls. */
@layer components {
.first-gateway {max-width:1160px;margin:auto;padding-block:24px 64px;}
.setup-hero {display:grid;grid-template-columns:1.4fr 1fr;gap:64px;align-items:center;padding-block:16px 40px;}
.first-gateway h1 {max-width:14ch;}.setup-lead {font-size:1.15rem;line-height:1.65;max-width:58ch;}
.setup-summary {padding:28px;background:var(--color-surface-soft,#edf0e7);border-left:3px solid #173d32;}.setup-summary ol {padding-left:22px;}.setup-summary li {margin-block:10px;}
.setup-actions,.notice-actions {display:flex;gap:20px;align-items:center;flex-wrap:wrap;}
.setup-steps {display:grid;grid-template-columns:repeat(4,1fr);gap:20px;border-block:1px solid #d8d8d0;padding-block:22px;margin-bottom:48px;}.setup-steps a {display:flex;gap:12px;align-items:center;text-decoration:none;}.setup-steps span {color:#657064;font-size:.8rem;}
.first-gateway>section:not(.setup-hero) {scroll-margin-top:30px;}.first-gateway>section>p {max-width:84ch;}
.setup-parts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px;}.setup-part {background:#fff;border:1px solid #d8d8d0;border-radius:3px;padding:26px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;}.setup-part h3,.setup-part p {margin:0;}.setup-part a {margin-top:auto;}.setup-part p {line-height:1.65;}.setup-model {font-size:.75rem;font-weight:600;color:#173d32;background:#e9eee2;padding:3px 8px;border-radius:3px;}
.setup-affiliate {font-size:.82rem;color:#59615f;line-height:1.6;}.setup-paths {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-block:24px;}.setup-instructions {padding-left:24px;max-width:90ch;}.setup-instructions li {padding-left:8px;margin-block:20px;line-height:1.7;}.setup-instructions strong {color:#173d32;}.first-gateway details {padding-block:18px;border-block:1px solid #d8d8d0;margin-block:24px;}.first-gateway summary {cursor:pointer;font-weight:600;}.setup-checksum {overflow-wrap:anywhere;word-break:break-all;font-size:.85rem;}.setup-sources {padding:24px;background:#f1f0eb;}
.usage-notice {position:relative;margin:30px auto;inset:auto;width:min(860px,calc(100% - 32px));max-width:860px;max-height:calc(100dvh - 32px);padding:32px;border:1px solid #d8d8d0;border-radius:4px;background:#fff;color:#181b1c;overflow:auto;box-sizing:border-box;}.usage-notice:modal {position:fixed;margin:auto;inset:0;}.usage-notice::backdrop {background:rgb(20 35 28 / .55);}.usage-notice #notice-title:focus {outline:none;}.usage-notice h1 {font-size:2rem;margin-block:12px 20px;}.usage-notice .notice-document {max-height:35vh;overflow:auto;padding:4px 18px 4px 4px;border-block:1px solid #d8d8d0;margin-block:22px;}.usage-notice .notice-document h2 {font-size:1.12rem;margin-top:24px;}.notice-document p {line-height:1.6;}.notice-check {display:flex;gap:12px;align-items:flex-start;line-height:1.5;}.notice-check input {flex:none;margin-top:4px;}.notice-newsletter {background:#f5f5f0;padding:16px;margin-block:18px;}.notice-newsletter .muted {font-size:.82rem;margin-bottom:0;}.notice-actions {justify-content:space-between;margin-top:24px;}.notice-newsletter input[type=email] {display:block;width:100%;margin-top:8px;}
@media(max-width:760px){.setup-hero {grid-template-columns:1fr;gap:24px;}.setup-steps {grid-template-columns:repeat(2,1fr);}.setup-parts,.setup-paths {grid-template-columns:1fr;}.usage-notice {padding:20px;}.notice-actions {gap:12px;}.notice-actions button {width:100%;}.notice-document {max-height:30vh;}}
}

@layer components {
.setup-access {padding:20px;border-left:3px solid #173c32;background:var(--soft,#edf0e7);margin-block:24px;}
.setup-access p {max-width:78ch;line-height:1.65;}
.setup-address {display:inline-block;font-family:ui-monospace,monospace;font-size:clamp(16px,4vw,24px);font-weight:600;max-width:100%;overflow-wrap:anywhere;}
.setup-part .setup-instructions {margin:0;padding-left:20px;}
.setup-part .setup-instructions li:first-child {margin-top:0;}
}

@layer components {
.setup-models {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px;}
.setup-models details {margin:0;padding:24px;background:#fff;border:1px solid #d8d8d0;}
.setup-shopping {list-style:none;padding:0;}.setup-shopping li {padding-block:16px;border-bottom:1px solid #d8d8d0;}.setup-shopping p {margin:8px 0;font-size:15px;}
.setup-ready {padding:28px;background:#e9eee2;border-left:3px solid #173c32;}.setup-ready p {max-width:76ch;}.setup-ready .button {margin-top:8px;}
@media(max-width:760px){.setup-models{grid-template-columns:1fr;gap:12px;}.setup-ready{padding:20px;}}
}

@layer components {
.setup-flash-parts {margin-top:24px;}.setup-flash-parts h3 {font-size:18px;}.setup-flash-parts>p {font-size:15px;}
.first-gateway .faq-list details {margin:0;padding:0;border:0;border-bottom:1px solid var(--line,#d8d8d0);}
.first-gateway .faq-list summary {list-style:none;position:relative;padding:20px 32px 20px 0;}
.first-gateway .faq-list summary::-webkit-details-marker {display:none;}
.first-gateway .faq-list summary::after {content:'+';position:absolute;right:4px;top:16px;font-size:23px;font-weight:400;}
.first-gateway .faq-list details[open] summary::after {content:'−';}
}

/* One rhythm for the four steps; reserve emphasis for the access address. */
@layer components {
.first-gateway .setup-hero {align-items:start;padding-bottom:24px;}
.first-gateway .setup-step {margin:0;padding:24px 0;border-top:0;}
.setup-step-heading {display:flex;align-items:center;gap:20px;margin-bottom:16px;}
.setup-step-number {display:grid;place-items:center;flex:0 0 44px;height:44px;background:var(--forest,#173c32);color:#fff;border-radius:50%;font-size:20px;font-weight:600;}
.setup-step-heading h2 {margin:0;font-size:clamp(26px,3vw,34px);line-height:1.25;}
.setup-step-body {margin-left:64px;}
.setup-step-body>p,.setup-step-body .setup-ready p {max-width:78ch;}
.first-gateway .setup-ready {background:none;border:0;padding:0;}
.first-gateway .setup-ready h3 {font-size:20px;margin:0 0 12px;}
.first-gateway .setup-ready .button {margin-top:12px;}
.setup-step-body>.muted,.setup-access-note {font-size:13px;line-height:1.6;color:var(--muted,#59615f);}
.first-gateway .setup-models details {background:none;border:0;border-block:1px solid var(--line,#d8d8d0);padding:20px 0;}
.setup-step-body .setup-instructions {max-width:78ch;margin-top:0;}
.setup-step-body .setup-instructions li {margin:0;padding-block:14px;}
.setup-step-body .setup-shopping li {border:0;padding-block:12px;}
.first-gateway .setup-access {margin:24px 0 12px;padding:20px 24px;}
.first-gateway .setup-access p {font-size:14px;margin:0 0 12px;}
.first-gateway .setup-help {margin:0;border-top:0;padding-top:24px;}
@media(max-width:760px){.first-gateway .setup-hero{padding-bottom:20px;}.first-gateway .setup-step{padding:16px 0 20px;}.setup-step-heading{gap:14px;margin-bottom:16px;}.setup-step-number{flex-basis:36px;height:36px;font-size:18px;}.setup-step-body{margin-left:0;}.first-gateway .setup-help{padding-top:20px;}}
}
