.tutorial-main { padding-top: 54px; }
.back-home { font-size: 13px; color: #aebbd0; }
.tutorial-heading { text-align: center; }
.tutorial-heading .eyebrow { justify-content: center; }
.tutorial-heading h1 { font-size: clamp(40px,5vw,62px); letter-spacing: -2px; line-height: 1.06; margin: 18px 0; }
.tutorial-heading p { color: var(--muted); font-size: 16px; }
.demo-notice { max-width: 760px; margin: 25px auto; padding: 12px 18px; border: 1px solid rgba(95,166,255,.17); border-radius: 12px; background: rgba(21,70,129,.1); color: #93a9c8; text-align: center; font-size: 12px; }
.demo-notice span { color: var(--cyan); margin-right: 5px; }
.stage-switch { display: flex; align-items: center; gap: 22px; max-width: 800px; margin: 30px auto 45px; }
.stage-switch button { flex: 1; display: flex; align-items: center; gap: 13px; padding: 16px 20px; border: 1px solid var(--stroke); border-radius: 18px; background: #0a1220; color: var(--text); text-align: left; font-family: inherit; cursor: pointer; }
.stage-switch button[aria-pressed="true"] { border-color: #2189ff; background: linear-gradient(115deg,#10294b,#0b1729); box-shadow: 0 5px 24px #006aff15; }
.stage-number { display: grid; place-items: center; min-width: 35px; height: 35px; border-radius: 11px; color: #51ceff; background: #1164cf20; font-size: 12px; }
.stage-switch b,.stage-switch small { display: block; }.stage-switch b { font-size: 15px; }.stage-switch small { margin-top: 3px; font-size: 11px; color: #90a1ba; }.stage-connector { color: #5d759c; }
.tutorial-workspace { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 64px; padding: 38px 45px; border: 1px solid var(--stroke); border-radius: 28px; background: radial-gradient(ellipse at 85% 30%,#0d2a512e,transparent 65%),linear-gradient(130deg,#0b1525,#070d18); }
.guide-copy { min-width: 0; }.guide-copy h2 { font-size: 38px; letter-spacing: -1.3px; margin-top: 12px; }
.device-selector { margin: 24px 0 30px; padding: 0; border: 0; }.device-selector legend { font-size: 12px; color: #a8b7cf; margin-bottom: 10px; }
#device-options { display: flex; flex-wrap: wrap; gap: 8px; }.device-choice { position: relative; cursor: pointer; }.device-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }.device-choice span { display: block; border: 1px solid #293952; padding: 10px 18px; border-radius: 12px; font-size: 13px; background: #070d18; }.device-choice input:checked + span { color: #fff; border-color: #1c97ff; background: #1165d330; }.device-choice input:focus-visible + span { outline: 2px solid #fff; outline-offset: 4px; }
.step-description { min-height: 164px; }.step-label { color: #4bccff; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; }.step-description h3 { font-size: 25px; line-height: 1.2; margin: 9px 0 12px; letter-spacing: -.5px; }.step-description p { font-size: 14px; color: #a8b5c9; line-height: 1.7; }
.tutorial-referral { padding: 15px 18px; border: 1px solid #2676c947; border-radius: 15px; margin: 18px 0; background: #0b2040; }.tutorial-referral > span { font-size: 11px; color: #a5bfdf; }.tutorial-referral > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 7px 0; }.tutorial-referral code { font: 600 23px ui-monospace,Consolas,monospace; letter-spacing: 2px; color: #fff; }.tutorial-referral button { border: 1px solid #419dff4d; background: #116cf329; border-radius: 9px; color: #78d9ff; padding: 9px 12px; font-family: inherit; cursor: pointer; }.tutorial-referral small { color: #8da6c9; font-size: 11px; }
.guide-next { display: flex; margin-top: 23px; width: 100%; font-family: inherit; cursor: pointer; }.guide-viewer { min-width: 0; }.device-name { color: #a7bad4; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; text-align: center; margin-bottom: 17px; }
.device-carousel { position: relative; display: flex; justify-content: center; align-items: center; min-height: 490px; padding: 0 50px; touch-action: pan-y; }
.tutorial-device { position: relative; width: 223px; padding: 7px; background: linear-gradient(145deg,#a8a5a0,#222834 13%,#151b25 90%,#8f9297); border-radius: 39px; box-shadow: 0 22px 50px #0008,0 0 65px #006aff12; flex: 0 1 auto; }
.tutorial-device img { display: block; width: 100%; aspect-ratio: 9/19.5; object-fit: contain; background: #050a15; border-radius: 32px; user-select: none; }.phone-cutout { position: absolute; left: 50%; top: 15px; transform: translateX(-50%); width: 65px; height: 17px; border-radius: 12px; background: #02040a; }.tutorial-device.samsung { border-radius: 24px; }.tutorial-device.samsung img { border-radius: 18px; }.tutorial-device.samsung .phone-cutout { width: 9px; height: 9px; top: 14px; }
.tutorial-device.television { width: 100%; padding: 7px; border-radius: 13px; background: linear-gradient(150deg,#4c596e,#19212e 15%,#111722 85%,#44536a); }.tutorial-device.television img { aspect-ratio: 16/9; border-radius: 6px; }.tutorial-device.television .phone-cutout { display: none; }.tutorial-device.television::after { content: ''; position: absolute; width: 28%; height: 16px; left: 36%; bottom: -16px; border-bottom: 5px solid #2c3b51; background: linear-gradient(90deg,transparent 35%,#243147 35%,#243147 65%,transparent 65%); }
.carousel-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid #345073; background: #0b1a2e; color: #5fd5ff; font-size: 20px; cursor: pointer; }.carousel-arrow:hover:not(:disabled) { background: #15417a; }.carousel-arrow:disabled { opacity: .25; cursor: default; }.previous { left: 0; }.next { right: 0; }
.viewer-progress { max-width: 340px; margin: 22px auto 0; }.progress-caption { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #a7b9d2; }.progress-caption strong { font-size: 20px; color: #5fd7ff; }.progress-track { height: 5px; border-radius: 10px; background: #1b2a40; margin-top: 8px; overflow: hidden; }.progress-track > span { display: block; height: 100%; background: linear-gradient(90deg,#0c70ff,#28d9ff); transition: width .25s; }
.step-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 14px; }.step-dots button { width: 35px; height: 35px; background: #0d1b2d; color: #92a9c8; border: 1px solid #294360; border-radius: 10px; font: 500 12px var(--font); cursor: pointer; display: grid; place-items: center; padding: 0; }.step-dots button[aria-current="step"] { background: #0e69d8; color: #fff; border-color: #45c5ff; }.viewer-hint { color: #6e83a3; font-size: 10px; text-align: center; margin: 5px 0 0; }
.real-capture .phone-cutout { display: none; }.real-capture img { aspect-ratio: 946 / 2048; }.real-capture.samsung img { aspect-ratio: 9 / 16; }.enlarge-capture { display: block; margin: 16px auto 10px; padding: 9px 13px; border-radius: 9px; border: 1px solid #2c5079; background: #0c1d33; color: #7ddcff; font: 500 12px var(--font); cursor: pointer; }
.capture-dialog { width: min(96vw,600px); max-height: 92vh; padding: 0; border: 1px solid #355d8e; border-radius: 16px; background: #081221; color: #f5f8ff; }.capture-dialog::backdrop { background: #01050de6; backdrop-filter: blur(6px); }.capture-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 15px; justify-content: space-between; padding: 12px 16px; background: #0c1c30; }.capture-dialog-header p { margin: 0; font-size: 13px; }.capture-dialog-header button { flex: 0 0 auto; padding: 10px; border: 1px solid #3c618e; border-radius: 8px; background: #102a4b; color: white; font-family: inherit; cursor: pointer; }.capture-dialog img { display: block; width: 100%; height: auto; }
.tutorial-workspace.is-tv { grid-template-columns: .75fr 1.25fr; gap: 30px; }.is-tv .device-carousel { min-height: 340px; }.is-tv .device-name { margin-bottom: 0; }
.tutorial-complete { text-align: center; margin-top: 35px; padding: 36px 20px; border: 1px solid #3bd7a147; border-radius: 22px; background: #0b272026; }.tutorial-complete[hidden] { display: none; }.complete-mark { color: #48e3a6; font-size: 32px; }.tutorial-complete h2 { font-size: 32px; }.tutorial-complete p { color: #a5b8c9; max-width: 580px; margin: 0 auto 24px; }.tutorial-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 26px 0 55px; color: #7990ae; font-size: 12px; }.tutorial-bottom p { margin: 0; }.tutorial-bottom button { color: #91b9ee; border: 0; background: none; font-family: inherit; cursor: pointer; }.tutorial-footer { border-top: 1px solid var(--stroke); padding-block: 25px; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: #8297b4; }
.tutorial-page button:focus-visible,.tutorial-page a:focus-visible { outline: 2px solid #5dd6ff; outline-offset: 4px; }
@media(max-width:900px) { .tutorial-workspace { gap: 30px; padding: 28px; }.guide-copy h2 { font-size: 32px; }.device-carousel { padding-inline: 42px; }.tutorial-workspace.is-tv { grid-template-columns: 1fr; }.is-tv .device-carousel { min-height: 0; padding-block: 30px; }.is-tv .step-description { min-height: 0; } }
@media(max-width:680px) { .tutorial-main { padding-top: 35px; }.tutorial-heading h1 { font-size: 38px; letter-spacing: -1.4px; }.tutorial-heading p { font-size: 13px; }.back-home { font-size: 11px; }.demo-notice { font-size: 11px; padding: 10px; }.stage-switch { gap: 8px; margin-block: 20px 25px; }.stage-switch button { padding: 12px 10px; gap: 8px; border-radius: 13px; }.stage-switch b { font-size: 12px; }.stage-switch small { font-size: 9px; line-height: 1.3; }.stage-number { min-width: 25px; height: 28px; font-size: 10px; }.stage-connector { display: none; }.tutorial-workspace { grid-template-columns: 1fr; padding: 24px 17px; gap: 28px; border-radius: 20px; }.guide-copy h2 { font-size: 30px; }.device-selector { margin: 20px 0; }.step-description { min-height: 0; }.step-description h3 { font-size: 23px; }.step-description p { font-size: 13px; }.device-carousel { min-height: 0; padding-inline: 36px; }.tutorial-device { width: min(223px,100%); }.carousel-arrow { width: 31px; height: 36px; font-size: 17px; }.tutorial-bottom { flex-direction: column; text-align: center; gap: 12px; }.tutorial-footer { font-size: 10px; flex-wrap: wrap; }.is-tv .device-carousel { padding-inline: 34px; }.tutorial-referral code { font-size: 22px; }.guide-next { min-height: 48px; } }

.tutorial-reference { margin: 48px auto; max-width: 900px; color: var(--muted, #a5b6d0); line-height: 1.7; overflow-wrap: anywhere; }
.tutorial-reference h2, .tutorial-reference h3 { color: #f5f7ff; }
.tutorial-reference h2 { font-size: clamp(22px, 4vw, 30px); }
.tutorial-reference details { margin-top: 16px; padding: 20px; border: 1px solid #23354c; border-radius: 18px; background: #091321; }
.tutorial-reference summary { cursor: pointer; color: #f5f7ff; font-weight: 600; }
.tutorial-reference ol { padding-left: 22px; }
.tutorial-reference li + li { margin-top: 22px; }
.tutorial-reference h3 { font-size: 17px; margin-bottom: 6px; }
.tutorial-reference p { margin-top: 8px; }

/* TV photographs are rectified individually to a 16:9 screen. Companion phone screens keep their ratio. */
.tutorial-device.television.real-capture img { aspect-ratio: 16 / 9; object-fit: contain; }
.tutorial-device.companion-phone { width: min(245px,100%); border-radius: 23px; padding: 6px; }
.tutorial-device.companion-phone img { aspect-ratio: auto; max-height: 460px; object-fit: contain; border-radius: 17px; }
.companion-phone .phone-cutout { display: none; }
.capture-dialog.landscape-capture { width: min(96vw,1280px); }
.capture-dialog.landscape-capture img { object-fit: contain; max-height: calc(92vh - 74px); }
@media (max-width:680px) { .is-tv .device-carousel { padding-inline: 0; padding-bottom: 65px; } .is-tv .carousel-arrow { top: auto; bottom: 0; transform: none; width: 44px; height: 44px; } .is-tv .previous { left: calc(50% - 52px); } .is-tv .next { right: calc(50% - 52px); } }

#stage-title { scroll-margin-top: 100px; }

/* Keep the TV tutorial viewer and progress anchored while swapping screenshots. */
.tutorial-workspace.is-tv { align-items: start; }
.is-tv .guide-viewer { align-self: start; }
.is-tv .step-description { min-height: 180px; }
.is-tv .device-name { min-height: 32px; }
.is-tv .device-carousel { height: 490px; min-height: 490px; }
.is-tv .tutorial-device { transform: none; transition: none; }
.is-tv .tutorial-device img { object-position: center; transform: none; transition: none; }
.tutorial-device.companion-phone { width: min(223px,100%); }
.tutorial-device.companion-phone img { aspect-ratio: 1 / 2; height: auto; max-height: none; }
@media(max-width:900px) { .is-tv .device-carousel { height: 510px; min-height: 510px; } }
@media(max-width:680px) { .is-tv .device-carousel { height: 515px; min-height: 515px; padding-top: 0; padding-bottom: 65px; } .is-tv .step-description { min-height: 180px; } }

.tutorial-device img { height: auto; }

.tutorial-reference figure { margin: 15px 0; }
.step-reference-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 420px; object-fit: contain; border: 1px solid #294360; border-radius: 12px; }
