/* The feature pages (Studio 1.478): Show Rewind, Audience whiteboards, Phones in the room, How Studio compares, and the
   landing page's "Only in Studio" cards. The landing page's paper, ink and gold (styles.css); each page's live demo is
   the night, as the stage is everywhere on the site. features.js runs the demos and the reveals. */

/* ── "Only in Studio" (index.html #only) ── */
.only-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.only-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 0 20px; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); color: inherit; text-decoration: none; transition: transform .35s var(--glide), box-shadow .35s; }
.only-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(23, 19, 40, .06), 0 22px 44px rgba(23, 19, 40, .12); }
.only-card:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.only-art { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(120% 120% at 30% 0%, #241a52, #0b0718 70%); overflow: hidden; }
.only-card h3 { margin: 6px 20px 0; font: 900 21px/1.1 var(--display); font-stretch: 92%; letter-spacing: -.005em; }
.only-card p { margin: 0 20px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.only-card .more { margin: auto 20px 0; padding-top: 6px; font: 700 13.5px var(--body); color: var(--ink); }
.only-card .more::after { content: " →"; transition: margin .3s; }
.only-card:hover .more::after { margin-left: 4px; }
.only-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #17131f; font: 800 10.5px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.only-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding: 18px 22px; border-radius: 18px; border: 1px dashed var(--line); }
.only-foot p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 62ch; }
/* Members only (1.486): the rest teased, not shown. Each card a glimpse, blurred behind the curtain, with a lock on it;
   the real thing is the members' tour (members.html#tour). */
.unlock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.unlock-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 0 22px; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.unlock-peek { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(120% 120% at 30% 0%, #241a52, #0b0718 70%); }
.unlock-peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(7px) saturate(1.15); transform: scale(1.12); transition: filter .6s var(--out), transform .8s var(--out); }
.unlock-peek .oa-deck { filter: blur(3px); }
.unlock-peek::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 9, 24, .15), rgba(12, 9, 24, .62)); }
.unlock-card:hover .unlock-peek img { filter: blur(4px) saturate(1.2); transform: scale(1.06); }
.unlock-lock { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; background: rgba(12, 9, 24, .72); border: 1px solid rgba(255, 210, 122, .55); color: #ffe6b0; font: 700 12.5px/1 var(--body); letter-spacing: .04em; white-space: nowrap; backdrop-filter: blur(6px); }
.unlock-lock::before { content: ""; width: 11px; height: 13px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 13'%3E%3Cpath d='M2.5 5.5V4a3 3 0 0 1 6 0v1.5h.5a1 1 0 0 1 1 1V12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6.5a1 1 0 0 1 1-1zm1.4 0h3.2V4a1.6 1.6 0 0 0-3.2 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 13'%3E%3Cpath d='M2.5 5.5V4a3 3 0 0 1 6 0v1.5h.5a1 1 0 0 1 1 1V12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6.5a1 1 0 0 1 1-1zm1.4 0h3.2V4a1.6 1.6 0 0 0-3.2 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.unlock-card h3 { margin: 6px 20px 0; font: 900 21px/1.1 var(--display); font-stretch: 92%; letter-spacing: -.005em; }
.unlock-card p { margin: 0 20px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.unlock-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 28px; }
/* Online, in the room, or both (1.487) */
.any-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.any-card { position: relative; padding: 26px 24px 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); overflow: hidden; }
.any-card.is-room { background: radial-gradient(120% 90% at 20% 0%, rgba(255, 210, 122, .22), transparent 60%), var(--card); border-color: rgba(234, 169, 60, .45); }
.any-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--paper-2); font-size: 26px; margin-bottom: 14px; }
.any-tag { margin: 0 0 4px; font: 800 11.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.any-card h3 { margin: 0 0 8px; font: 900 22px/1.1 var(--display); font-stretch: 78%; text-transform: uppercase; letter-spacing: -.005em; }
.any-card p:last-child { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.any-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px auto 0; padding: 0; list-style: none; max-width: 900px; }
.any-list li { padding: 9px 15px; border-radius: 99px; background: var(--paper-2); border: 1px solid var(--line); font: 600 13.5px/1 var(--body); color: var(--ink); white-space: nowrap; }
.btn-ink { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 700 14px var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s; }
.btn-ink:hover { transform: translateY(-1px); }
.btn-line { display: inline-flex; align-items: center; gap: 8px; padding: 11px 17px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 700 14px var(--body); text-decoration: none; }
[data-theme="dark"] .btn-ink { background: #f3eefc; color: #0c0918; }

/* the cards' little pictures: drawn, not filmed */
.oa-strip { position: absolute; left: 8%; right: 8%; bottom: 10%; display: flex; gap: 6%; }
.oa-strip i { flex: 1; aspect-ratio: 16 / 10; border-radius: 4px; background: linear-gradient(135deg, #3b3170, #1b1440); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.oa-strip i:nth-child(3) { box-shadow: 0 0 0 2px #ffd27a; }
.oa-slide { position: absolute; left: 14%; right: 14%; top: 10%; height: 52%; border-radius: 6px; background: linear-gradient(160deg, #f8f6ff, #dcd6f2); }
.oa-slide::before { content: ""; position: absolute; left: 10%; top: 16%; width: 46%; height: 9%; border-radius: 3px; background: #3c2f86; }
.oa-slide::after { content: ""; position: absolute; left: 10%; top: 40%; width: 72%; height: 34%; background: repeating-linear-gradient(#9b93c4 0 7%, transparent 7% 26%); }
.oa-ring { position: absolute; left: 50%; top: 30%; width: 22%; aspect-ratio: 1.6; border: 3px solid #ff4d5e; border-radius: 50%; transform: rotate(-6deg); animation: oa-ring 3.2s ease-in-out infinite; }
@keyframes oa-ring { 0%, 100% { opacity: .2; transform: rotate(-6deg) scale(.9); } 40%, 70% { opacity: 1; transform: rotate(-6deg) scale(1); } }
.oa-boards { position: absolute; inset: 10% 8%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.oa-boards i { position: relative; border-radius: 6px; background: #fdfcf7; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); overflow: hidden; }
.oa-boards i::after { content: ""; position: absolute; left: 14%; top: 30%; width: 66%; height: 3px; border-radius: 2px; background: #2f5bd6; box-shadow: 0 9px 0 #2f5bd6, 6px 18px 0 #e2484d; transform: rotate(-4deg); animation: oa-ink 2.8s ease-in-out infinite; transform-origin: left; }
.oa-boards i:nth-child(2)::after { animation-delay: .5s; } .oa-boards i:nth-child(4)::after { animation-delay: 1s; } .oa-boards i:nth-child(6)::after { animation-delay: 1.5s; }
.oa-boards i:nth-child(5) { box-shadow: 0 0 0 3px #ffd27a, 0 2px 10px rgba(0, 0, 0, .4); }
@keyframes oa-ink { 0% { transform: rotate(-4deg) scaleX(0); } 45%, 100% { transform: rotate(-4deg) scaleX(1); } }
.oa-phone { position: absolute; left: 50%; top: 10%; width: 26%; height: 82%; transform: translateX(-50%); border-radius: 12px; background: #120d26; box-shadow: 0 0 0 3px #3a3360, 0 10px 24px rgba(0, 0, 0, .5); }
.oa-phone b { position: absolute; left: 12%; right: 12%; height: 13%; border-radius: 5px; background: #2a2152; color: #fff; font: 700 8px/1 var(--body); display: grid; place-items: center; }
.oa-phone b:nth-child(1) { top: 12%; } .oa-phone b:nth-child(2) { top: 30%; background: #ff4d5e; } .oa-phone b:nth-child(3) { top: 48%; } .oa-phone b:nth-child(4) { top: 66%; background: #3b82f6; }
.oa-pill { position: absolute; right: 7%; top: 12%; padding: 5px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font: 700 9px/1 var(--body); animation: oa-pulse 2.4s ease-in-out infinite; }
.oa-pill + .oa-pill { top: 26%; animation-delay: 1.2s; }
@keyframes oa-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.oa-room { position: absolute; inset: 8% 6%; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); gap: 4%; }
.oa-room i { border-radius: 4px; background: linear-gradient(160deg, #6b5aa8, #2b2160); }
.oa-room i.you { grid-column: 2 / 6; grid-row: 2 / 4; background: linear-gradient(160deg, #e8b46a, #9a5a1c); box-shadow: 0 0 0 2px #ffd27a; }
.oa-deck { position: absolute; left: 50%; top: 50%; width: 62%; transform: translate(-50%, -50%); padding: 4%; border-radius: 14px; background: #1c1c1e; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5%; }
.oa-deck i { aspect-ratio: 1; border-radius: 17%; background: #000; box-shadow: inset 0 0 0 1px #3a3a3c; }
.oa-deck i:nth-child(1) { background: linear-gradient(135deg, #ffd27a, #e8890c); animation: oa-pulse 1.8s ease-in-out infinite; }
.oa-deck i:nth-child(2) { background: linear-gradient(135deg, #34d36b, #0f8a3a); } .oa-deck i:nth-child(6), .oa-deck i:nth-child(7) { background: linear-gradient(135deg, #539fff, #2a13ff); } .oa-deck i:nth-child(8) { background: linear-gradient(135deg, #ffa24a, #e4471b); }
.oa-two { position: absolute; inset: 12% 10%; display: flex; gap: 6%; align-items: center; justify-content: center; }
.oa-two i { border-radius: 6px; background: linear-gradient(160deg, #6b5aa8, #2b2160); box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.oa-two i:first-child { width: 62%; aspect-ratio: 16 / 9; } .oa-two i:last-child { width: 18%; aspect-ratio: 9 / 16; box-shadow: 0 0 0 2px #ffd27a; }

/* ── The feature pages ── */
.fpage main { overflow: hidden; }
.fhero { max-width: 1180px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px) 0; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.fhero h1 { margin: 0 0 16px; font: 900 clamp(29px, 3.5vw, 46px)/1 var(--display); font-stretch: 78%; text-transform: uppercase; letter-spacing: -.01em; }
.fhero h1 em { font-style: normal; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fhero .lede { color: var(--muted); font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.6; margin: 0 0 24px; max-width: 54ch; }
.fhero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fcrumbs { margin: 0 0 18px; font: 600 13px var(--body); color: var(--dim); }
.fcrumbs a { color: var(--muted); text-decoration: none; } .fcrumbs a:hover { color: var(--ink); }
.fsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: fs; }
.fsteps li { list-style: none; position: relative; padding: 22px 22px 22px 70px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); color: var(--muted); font-size: 14.5px; line-height: 1.55; counter-increment: fs; }
.fsteps li::before { content: counter(fs); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 800 15px var(--display); }
.fsteps b { display: block; color: var(--ink); font: 800 16px/1.3 var(--display); margin-bottom: 4px; }
.fsteps { margin: 0; padding: 0; }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fgrid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcard { padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.fcard .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; background: var(--paper-2); margin-bottom: 12px; }
.fcard h3 { margin: 0 0 6px; font: 800 17px/1.25 var(--display); }
.fcard p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.fquote { max-width: 860px; margin: 0 auto; text-align: center; font: 800 clamp(18px, 1.9vw, 24px)/1.35 var(--display); font-stretch: 92%; }
.fquote small { display: block; margin-top: 12px; font: 600 14px var(--body); color: var(--muted); }
.ffaq { display: grid; gap: 10px; max-width: 860px; }
.ffaq details { padding: 16px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.ffaq summary { cursor: pointer; font: 700 15.5px var(--body); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ffaq summary::-webkit-details-marker { display: none; }
.ffaq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--dim); transition: transform .25s; }
.ffaq details[open] summary::after { transform: rotate(45deg); }
.ffaq details p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.fcta { max-width: 1084px; margin: clamp(40px, 6vw, 80px) auto 0; padding: clamp(28px, 4vw, 48px); border-radius: 28px; text-align: center; background: radial-gradient(120% 140% at 50% 0%, #2a1d60, #0b0718 70%); color: #f6f1ff; }
.fcta h2 { color: #fff; } .fcta p { color: #c9bfe6; max-width: 60ch; margin: 0 auto 22px; }
.fcta .btn-ink { background: var(--gold); color: #1a1000; }
.fcta .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.fnext { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fnext a { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font: 700 15px var(--body); }
.fnext a small { display: block; color: var(--muted); font: 500 13px var(--body); margin-top: 4px; }
.fnext a:hover { border-color: rgba(23, 19, 40, .3); }

/* the demos' frame: the night */
.fdemo { position: relative; border-radius: 26px; padding: clamp(14px, 2vw, 22px); background: radial-gradient(120% 120% at 30% 0%, #241a52, #0b0718 72%); color: #f6f1ff; box-shadow: 0 30px 60px rgba(23, 19, 40, .28); }
.fdemo-note { margin: 10px 4px 0; font-size: 12.5px; color: #a99fc4; }

/* Show Rewind's demo: a student's phone beside the presenter's window */
.rwd { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.rwd-phone { position: relative; border-radius: 26px; padding: 12px 10px; background: #0b0e1b; box-shadow: 0 0 0 3px #2f2a52, 0 12px 30px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 8px; }
.rwd-top { display: flex; justify-content: space-between; align-items: center; font: 700 11px var(--body); color: #cbd5e1; }
.rwd-live { padding: 3px 7px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 9.5px; border: 0; cursor: pointer; }
.rwd-live[aria-pressed="false"] { background: #1b2036; }
.rwd-pic { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #000; touch-action: none; }
.rwd-pic canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rwd-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.rwd-strip button { aspect-ratio: 16 / 10; padding: 0; border-radius: 4px; border: 2px solid transparent; cursor: pointer; overflow: hidden; background: #1b2036; position: relative; }
.rwd-strip button[aria-current="true"] { border-color: #3b82f6; }
.rwd-strip canvas { width: 100%; height: 100%; display: block; }
.rwd-tools { display: flex; flex-wrap: wrap; gap: 4px; }
.rwd-tools button { flex: 1 1 auto; padding: 6px 6px; border-radius: 8px; border: 1px solid #39406a; background: #1b2036; color: #fff; font: 700 10px var(--body); cursor: pointer; }
.rwd-tools button[aria-pressed="true"] { background: #3b82f6; border-color: #93c5fd; }
.rwd-ask { display: flex; gap: 4px; }
.rwd-ask input { flex: 1; min-width: 0; padding: 7px 8px; border-radius: 8px; border: 1px solid #39406a; background: #0b0e1b; color: #fff; font: 500 11px var(--body); }
.rwd-ask button { padding: 0 9px; border-radius: 8px; border: 0; background: #22c55e; color: #052e16; font: 800 11px var(--body); cursor: pointer; }
.rwd-win { border-radius: 14px; background: #0b0d12; border: 1px solid #2a3146; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
.rwd-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #141824; border-bottom: 1px solid #2a3146; font: 700 12px var(--body); }
.rwd-bar span { color: #98a2bd; font-weight: 500; }
.rwd-body { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; padding: 10px; min-height: 0; }
.rwd-view { position: relative; border-radius: 8px; overflow: hidden; background: #000; align-self: start; aspect-ratio: 16 / 10; }
.rwd-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rwd-onair { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 999px; background: #f43f5e; color: #fff; font: 800 9.5px var(--body); letter-spacing: .06em; opacity: 0; transition: opacity .3s; }
.rwd-view.is-air .rwd-onair { opacity: 1; }
.rwd-qs { display: flex; flex-direction: column; gap: 6px; min-height: 0; overflow: auto; }
.rwd-qs h4 { margin: 0; font: 800 10.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: #98a2bd; }
.rwd-q { padding: 8px; border-radius: 8px; border: 1px solid #2a3146; background: #0f131d; font: 600 11.5px/1.35 var(--body); animation: rwd-in .4s ease-out; }
.rwd-q small { display: block; color: #98a2bd; font-weight: 500; margin-top: 2px; }
.rwd-q button { margin-top: 6px; padding: 4px 8px; border-radius: 6px; border: 0; background: #f43f5e; color: #fff; font: 800 10px var(--body); cursor: pointer; }
.rwd-q button.is-on { background: transparent; color: #fda4af; box-shadow: inset 0 0 0 1px #f43f5e; }
.rwd-empty { color: #98a2bd; font-size: 11.5px; line-height: 1.5; }
@keyframes rwd-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* the Whiteboards demo: everyone's boards, one on air */
.wbd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.wbd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wbd-board { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; background: #fdfcf7; border: 0; padding: 0; cursor: pointer; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.wbd-board canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wbd-board .who { position: absolute; left: 5px; bottom: 4px; padding: 2px 6px; border-radius: 999px; background: rgba(23, 19, 40, .78); color: #fff; font: 700 9px var(--body); }
.wbd-board .hand { position: absolute; right: 5px; top: 4px; font-size: 13px; display: none; }
.wbd-board.is-help .hand { display: block; animation: oa-pulse 1.2s ease-in-out infinite; }
.wbd-board.is-air { box-shadow: 0 0 0 3px #f43f5e, 0 2px 10px rgba(0, 0, 0, .4); }
.wbd-board:focus-visible { outline: 3px solid #ffd27a; outline-offset: 2px; }
.wbd-air { border-radius: 12px; overflow: hidden; background: #000; position: relative; aspect-ratio: 16 / 9; }
.wbd-air canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wbd-air .rwd-onair { opacity: 1; }
.wbd-cap { margin: 8px 2px 0; font-size: 12.5px; color: #c9bfe6; }

/* the phones demo: what students see, switched from your phone */
.phd { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; }
.phd-dash { border-radius: 22px; padding: 12px; background: #0f1222; box-shadow: 0 0 0 3px #2f2a52; }
.phd-dash h4 { margin: 2px 4px 8px; font: 800 12px var(--body); }
.phd-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 4px; border-top: 1px solid rgba(255, 255, 255, .07); font: 600 11.5px var(--body); }
.phd-sw { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; border: 0; background: #2c3354; cursor: pointer; }
.phd-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #cbd5e1; transition: transform .2s; }
.phd-sw[aria-checked="true"] { background: #16a34a; } .phd-sw[aria-checked="true"]::after { transform: translateX(14px); background: #fff; }
.phd-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.phd-phone { border-radius: 20px; padding: 10px 8px; background: #0b0e1b; box-shadow: 0 0 0 3px #2f2a52; display: flex; flex-direction: column; gap: 6px; min-height: 250px; }
.phd-phone > b { font: 700 11px var(--body); color: #cbd5e1; text-align: center; }
.phd-phone i { display: block; padding: 8px; border-radius: 9px; background: #1b2036; font: 700 10.5px var(--body); font-style: normal; transition: opacity .3s, transform .3s, max-height .3s, padding .3s, margin .3s; max-height: 40px; overflow: hidden; }
.phd-phone i.is-off { opacity: 0; transform: scale(.94); max-height: 0; padding-block: 0; margin-block: -3px; }
.signals { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.signals span { padding: 7px 12px; border-radius: 999px; background: rgba(0, 0, 0, .55); font: 700 12px var(--body); }

/* How Studio compares */
.ctable-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--card-shadow); }
.ctable { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 14px; }
.ctable th, .ctable td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ctable thead th { position: sticky; top: 0; background: var(--paper-2); font: 800 12.5px/1.3 var(--body); color: var(--ink); }
.ctable thead th small { display: block; font: 500 11px/1.3 var(--body); color: var(--dim); margin-top: 3px; }
.ctable tbody th { text-align: left; font: 600 14px/1.4 var(--body); color: var(--ink); width: 34%; }
.ctable tbody th small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; margin-top: 2px; }
.ctable td.us, .ctable th.us { background: rgba(255, 210, 122, .12); }
.ctable tr:last-child > * { border-bottom: 0; }
.mk { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 800 13px var(--body); }
.mk.yes { background: #16a34a; color: #fff; } .mk.part { background: rgba(234, 169, 60, .2); color: #8a5a0c; } .mk.no { color: var(--dim); }
[data-theme="dark"] .mk.part { color: #ffd27a; }
.clegend { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 2px 0; color: var(--muted); font-size: 13px; align-items: center; }
.cnote { color: var(--dim); font-size: 12.5px; margin-top: 10px; max-width: 90ch; }

@media (max-width: 1000px) {
  .fgrid, .unlock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .any-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .only-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .fhero { grid-template-columns: minmax(0, 1fr); }
  .rwd { grid-template-columns: minmax(0, 1fr); } .rwd-phone { max-width: 320px; margin: 0 auto; width: 100%; }
  .wbd { grid-template-columns: minmax(0, 1fr); }
  .phd { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .only-grid, .unlock-grid, .any-grid, .fgrid, .fgrid.two, .fsteps, .fnext { grid-template-columns: minmax(0, 1fr); }
  .rwd-body { grid-template-columns: minmax(0, 1fr); }
  .phd-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .unlock-peek img { transition: none; } .oa-ring, .oa-boards i::after, .oa-pill, .oa-deck i, .wbd-board.is-help .hand { animation: none; } }

/* Real footage (1.482): a clip recorded in Studio over a card's drawing (its poster a real frame of it, at once), and a
   feature page's hero clip, with a line saying what it is. */
.only-art .only-video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; background: #07050f; }
.only-art .only-video ~ .only-badge, .only-art .only-badge { z-index: 2; }
.fclip { margin: 0; }
.fclip video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: #07050f; box-shadow: 0 30px 70px rgba(23, 19, 40, .22), 0 0 0 1px rgba(23, 19, 40, .12); }
.fclip figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.fdemo-wide { max-width: 760px; margin: 0 auto; }
