/* The home page. --c is the subject on the hero board; the whole page takes its colour. */
@property --c { syntax: "<color>"; inherits: true; initial-value: #e5484d; }
:root { transition: --c 0.7s ease; }
:root { --c-text: color-mix(in oklab, var(--c) 66%, var(--ink)); --paper: #fffefb; --dotc: rgba(19, 20, 24, 0.13); --hand: "Instrument Serif", Georgia, serif; }
:root[data-theme="dark"] { --paper: #121318; --dotc: rgba(255, 255, 255, 0.11); }

body { overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); }
h2 em, h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h2 em { color: var(--c-text); }
.top { border-bottom-color: var(--line); }
.btn.ghost { background: transparent; }
.btn.invert { background: var(--bg); color: var(--ink); border-color: transparent; }
.eyebrow { color: var(--muted); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }

/* ---- hero ---- */
.hero { position: relative; padding: 64px 0 84px; background-image: radial-gradient(var(--dotc) 1.1px, transparent 1.3px); background-size: 22px 22px; background-position: -11px -11px; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, transparent 70%, var(--bg)); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { margin: 0; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 700; }
.h1-a { white-space: nowrap; }
.word { position: relative; display: inline-grid; white-space: nowrap; vertical-align: bottom; width: var(--sw, auto); transition: width 0.35s ease; }
/* every word sits in the same spot, so the headline never changes size */
.word em { grid-area: 1 / 1; justify-self: start; color: var(--c-text); font-size: 1.08em; padding-right: 0.04em; opacity: 0; transform: translateY(0.18em); transition: opacity 0.3s, transform 0.3s; }
.word em.on { opacity: 1; transform: none; }
.scribble { position: absolute; left: -0.04em; bottom: -0.1em; width: 100%; height: 0.26em; overflow: visible; transition: width 0.3s; }
.scribble path { fill: none; stroke: var(--c); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.scribble.draw path { animation: scrib 0.7s ease-out both; }
@keyframes scrib { from { stroke-dashoffset: 320; } }
.lead { font-size: 19px; color: var(--muted); max-width: 470px; margin: 26px 0 30px; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.note { display: flex; align-items: center; gap: 7px; margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.note .i { color: var(--c-text); }

/* the board */
.stage { position: relative; }
.board { user-select: none; -webkit-user-select: none; position: relative; border: 1.5px solid var(--ink); border-radius: 20px; background: var(--card); box-shadow: 12px 12px 0 var(--c); overflow: hidden; transition: box-shadow 0.7s; }
.b-top { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1.5px solid var(--ink); background: var(--card); }
.b-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.b-tabs::-webkit-scrollbar { display: none; }
.b-tab { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 32px; padding: 0 11px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 600 13.5px/1 var(--display); cursor: pointer; transition: background 0.2s, color 0.2s; }
.b-tab:hover { color: var(--ink); background: var(--soft); }
.b-tab[aria-selected="true"] { background: color-mix(in oklab, var(--t) 82%, #000); color: #fff; }
.b-tab span { display: none; }
.b-tab[aria-selected="true"] span { display: inline; }
.b-tab:not([aria-selected="true"]) { width: 34px; padding: 0; justify-content: center; }
.b-live { display: flex; align-items: center; flex: none; padding-left: 4px; }
.b-live i, .who i { width: 24px; height: 24px; margin-left: -6px; border-radius: 50%; display: grid; place-items: center; background: var(--p); color: #fff; font: 700 11px/1 var(--display); font-style: normal; border: 2px solid var(--card); }
.b-live b { margin-left: 8px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--muted); }
.b-live b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e03131; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.b-body { display: flex; }
.b-tools { flex: none; display: flex; flex-direction: column; gap: 4px; padding: 10px 7px; border-right: 1.5px solid var(--ink); background: var(--card); }
.b-tools button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.b-tools button:hover { background: var(--soft); color: var(--ink); }
.b-tools button[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c-text); }
.b-tools .sep { height: 1px; margin: 4px 6px; background: var(--line); }
.b-paper { position: relative; flex: 1; min-width: 0; height: 420px; background-color: var(--paper); background-image: radial-gradient(var(--dotc) 1px, transparent 1.2px); background-size: 18px 18px; overflow: hidden; touch-action: none; cursor: crosshair; }
.b-paper[data-paper-kind="maths"] { background-image: linear-gradient(var(--dotc) 1px, transparent 1px), linear-gradient(90deg, var(--dotc) 1px, transparent 1px); background-size: 20px 20px; }
.b-paper[data-paper-kind="language"] { background-image: linear-gradient(transparent 27px, color-mix(in srgb, #1c7ed6 28%, transparent) 28px); background-size: 100% 28px; }
.b-paper canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }

.scene { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: 18px; align-items: center; padding: 26px; opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.985); transition: opacity 0.35s, transform 0.35s, visibility 0s 0.35s; }
.scene.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s, transform 0.35s; z-index: 3; }
/* widgets sit above the ink so they stay tappable; drawing happens on the paper around them */
.w { position: relative; z-index: 3; background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px; padding: 14px; box-shadow: 4px 4px 0 color-mix(in srgb, var(--ink) 14%, transparent); cursor: auto; }
.w-title { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-weight: 700; font-size: 13.5px; }
.w-title .i { color: var(--c-text); }
.w-title small { margin-left: auto; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); font: 600 13px/1 var(--display); cursor: pointer; transition: transform 0.12s, background 0.2s; }
.w-btn:hover { transform: translateY(-1px); }
.w-btn:active { transform: translateY(1px); }
.w-btn.go { background: var(--ink); color: var(--bg); }
.w-btn:disabled { opacity: 0.55; cursor: default; transform: none; }

/* general */
.stickies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.sticky { position: relative; min-height: 112px; padding: 10px 10px 26px; border: 0; border-radius: 4px 4px 14px 4px; text-align: left; font: 500 13.5px/1.35 var(--display); color: #1d1d1f; cursor: pointer; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1); transition: transform 0.25s; }
.sticky:nth-child(1) { transform: rotate(-2deg); } .sticky:nth-child(2) { transform: rotate(1.5deg); } .sticky:nth-child(3) { transform: rotate(-1deg); }
.sticky:hover { transform: rotate(0) translateY(-3px); }
.sticky.y { background: #ffe066; } .sticky.p { background: #ffc9de; } .sticky.g { background: #b2f2bb; }
.sticky b { position: absolute; left: 10px; bottom: 8px; font-size: 12px; padding: 1px 8px; border-radius: 99px; background: rgba(0, 0, 0, 0.1); }
.sticky b::before { content: "▲ "; font-size: 9px; }
.sticky.voted b { background: #1d1d1f; color: #fff; }
.sticky.pop b { animation: pop 0.3s; }
@keyframes pop { 50% { transform: scale(1.3); } }
.w-timer { text-align: center; }
.w-timer .w-title { justify-content: center; }
.clock { display: block; font: 700 52px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin: 4px 0 14px; color: var(--c-text); }
.picked { display: block; margin-top: 10px; min-height: 22px; font-weight: 700; font-size: 15px; }

/* maths */
.graph { width: 100%; height: auto; max-height: 230px; display: block; background: var(--paper); border-radius: 10px; }
.gridl line { stroke: var(--dotc); stroke-width: 0.04; }
.axis { stroke: var(--ink); stroke-width: 0.06; opacity: 0.7; }
.curve { fill: none; stroke: var(--c); stroke-width: 0.16; stroke-linecap: round; }
.slider { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 700; font-family: var(--serif); font-style: italic; font-size: 18px; }
.slider input { flex: 1; accent-color: var(--c); }
.slider output { font: 600 13px/1 var(--display); font-style: normal; width: 34px; text-align: right; font-variant-numeric: tabular-nums; }
.frac { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; height: 54px; }
.frac button { border: 0; border-right: 1.5px solid var(--ink); background: transparent; cursor: pointer; transition: background 0.25s; }
.frac button:last-child { border-right: 0; }
.frac button[aria-pressed="true"] { background: var(--c); }
.frac-label { display: block; text-align: center; margin-top: 12px; font: 400 40px/1 var(--serif); }
.frac-label sup, .frac-label sub { font-size: 0.7em; }

/* science */
.atom { width: 100%; max-height: 210px; display: block; }
.orbit { fill: none; stroke: var(--ink); stroke-width: 0.6; opacity: 0.35; }
.nucleus { fill: var(--c); }
.sym { fill: #fff; font: 700 8px var(--display); text-anchor: middle; dominant-baseline: middle; }
.ring { transform-origin: 0 0; }
.r1 { animation: spin 5s linear infinite; } .r2 { animation: spin 9s linear infinite reverse; }
.ring circle { fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.els { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.els button, .e-chips button, .ai-chips button { height: 30px; min-width: 38px; padding: 0 10px; border-radius: 99px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: 600 13px/1 var(--display); cursor: pointer; }
.els button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.chem { font: 400 24px/1.3 var(--serif); margin: 4px 0 12px; }
.chem button { font: inherit; color: var(--c-text); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1.5px dashed var(--c); border-radius: 8px; padding: 0 6px; cursor: pointer; }
.ok { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: #2b8a3e; }
.ok.no { color: #e03131; }

/* language */
.flip { position: relative; width: 100%; height: 170px; border: 0; padding: 0; background: none; perspective: 900px; cursor: pointer; color: var(--ink); }
.face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; border: 1.5px solid var(--ink); background: var(--paper); -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: transform 0.55s cubic-bezier(.3, 1.4, .5, 1); }
.face b { font: 400 34px/1 var(--serif); }
.face small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.face .i { color: var(--c-text); }
.back { transform: rotateY(180deg); background: var(--c); color: #fff; border-color: var(--ink); }
.back small { color: rgba(255, 255, 255, 0.85); }
.flip.flipped .front { transform: rotateY(-180deg); }
.flip.flipped .back { transform: rotateY(0); }
.sent { font: 400 23px/1.5 var(--serif); margin: 0 0 12px; }
.sent span, .sh-l span { cursor: pointer; border-radius: 4px; padding: 0 2px; transition: background 0.2s; }
.sent span:hover, .sh-l span:hover { background: color-mix(in srgb, #ffd43b 55%, transparent); }
.sent span.hl, .sh-l span.hl { background: #ffd43b; color: #1d1d1f; }
.tr { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 10px; background: var(--soft); font-weight: 600; font-size: 14px; color: var(--muted); }
.tr.on { background: var(--ink); color: var(--bg); }

/* music */
.staff { width: 100%; display: block; }
.lines line { stroke: var(--ink); stroke-width: 0.8; opacity: 0.55; }
.clef { font-size: 44px; fill: var(--ink); }
.note-h { fill: var(--c); animation: drop 0.3s ease-out; }
.note-s { stroke: var(--c); stroke-width: 1.5; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.piano { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 3px; margin-top: 10px; }
.piano button { height: 64px; border: 1.5px solid var(--ink); border-radius: 0 0 8px 8px; background: #fff; color: #555; font: 600 11px/1 var(--display); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px; cursor: pointer; transition: background 0.1s, transform 0.1s; }
.piano button.down { background: var(--c); color: #fff; transform: translateY(2px); }
.w-metro { text-align: center; }
.w-metro .w-title { justify-content: center; }
.beats { display: flex; justify-content: center; gap: 10px; margin: 16px 0 18px; }
.beats i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background 0.08s, transform 0.08s; }
.beats i.on { background: var(--c); transform: scale(1.25); }

/* coding */
.code, .out, .e-code { margin: 0; font: 500 13.5px/1.55 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre; overflow-x: auto; }
.code { padding: 12px; border-radius: 10px; background: #15161b; color: #e9e9ee; }
.code .k { color: #ff8fa3; } .code .s { color: #8ce99a; } .code .f { color: #74c0fc; }
.run-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; }
.out { flex: 1; min-height: 66px; padding: 8px 10px; border-radius: 10px; background: var(--soft); color: var(--ink); }
.who { display: flex; padding-left: 6px; margin: 4px 0 10px; }
.who i { width: 34px; height: 34px; font-size: 13px; margin-left: -8px; }
.w-edit small { color: var(--muted); font-size: 13px; }

/* other people on the board */
.cursor { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; color: var(--p); transition: transform 1.6s cubic-bezier(.45, 0, .2, 1); }
.cursor .i { fill: var(--p); stroke: #fff; stroke-width: 1.5; }
.cursor b { position: absolute; left: 13px; top: 15px; padding: 2px 7px; border-radius: 7px; background: color-mix(in oklab, var(--p) 80%, #000); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.try { position: absolute; right: 8px; bottom: -48px; display: flex; align-items: center; gap: 4px; margin: 0; font: italic 400 20px/1 var(--serif); color: var(--muted); transform: rotate(-2deg); }
.try svg { width: 44px; height: 30px; transform: scaleX(-1) rotate(180deg); }
.try path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---- why: what makes it different ---- */
.why { padding: 84px 0 10px; }
.why h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; margin: 0 0 40px; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why-c { padding: 24px; border: 1.5px solid var(--ink); border-radius: 22px; background: var(--card); transition: transform 0.25s, box-shadow 0.25s; }
.why-c:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--c); }
.why-c .fx-ic { background: var(--c); transition: background 0.6s; }
.why-c h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.02em; }
.why-c p { margin: 0; color: var(--muted); }
.vs { margin-top: 22px; border: 1.5px solid var(--ink); border-radius: 22px; background: var(--card); overflow: hidden; }
.vs-head, .vs-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.vs-head > span { display: flex; align-items: center; gap: 8px; padding: 14px 22px; font-weight: 700; font-size: 14px; border-bottom: 1.5px solid var(--ink); }
.vs-head > span:first-child { color: var(--muted); }
.vs-head > span:last-child, .vs-b { background: color-mix(in srgb, var(--c) 8%, var(--card)); border-left: 1.5px solid var(--ink); }
.vs-mark { width: 22px; height: 22px; }
.vs-row + .vs-row > span { border-top: 1px solid var(--line); }
.vs-row > span { display: flex; align-items: center; gap: 10px; padding: 13px 22px; font-size: 15.5px; }
.vs-a { color: var(--muted); }
.vs-a .i { color: var(--muted); opacity: 0.7; }
.vs-b { font-weight: 600; }
.vs-b .i { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--c); color: #fff; transition: background 0.6s; }

/* ---- compare ---- */
.vs-more { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 15px; border-top: 1.5px solid var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; color: var(--c-text); transition: background 0.2s; }
.vs-more:hover { background: var(--soft); }
.cp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 34px 0 0; max-width: 860px; }
.cp-stats div { padding: 18px 20px; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--card); }
.cp-stats div:first-child { background: color-mix(in oklab, var(--c) 78%, #000); color: #fff; border-color: var(--ink); transition: background 0.6s; }
.cp-stats b { display: block; font: 700 44px/1 var(--display); letter-spacing: -0.04em; }
.cp-stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.cp-stats div:first-child span { color: #fff; }
.cp { padding: 56px 0 20px; }
.cp-table { margin: 0 0 22px; scroll-margin-top: 80px; }
.cp-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 0.7fr) !important; }
.cp-row > span { border-left: 0; }
.cp-row .cp-a, .cp-row .cp-b, .vs-head.cp-row span:nth-child(2), .vs-head.cp-row span:nth-child(3) { border-left: 1.5px solid var(--ink); }
.cp-g { color: var(--ink) !important; font-size: 16px !important; gap: 8px; }
.cp-g .i { color: var(--c-text); }
.vs-head.cp-row span:nth-child(2) { color: var(--muted); }
.cp-f { font-size: 15.5px; }
.cp-st { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; }
.cp-st .i { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; }
.cp-st.yes { color: var(--ink); } .cp-st.yes .i { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.cp-st.some { color: #934c00; } .cp-st.some .i { background: color-mix(in srgb, #f08c00 16%, transparent); color: #934c00; }
:root[data-theme="dark"] .cp-st.some { color: #ffb050; }
:root[data-theme="dark"] .cp-st.some .i { color: #ffb050; }
.cp-st.no { color: var(--muted); } .cp-st.no .i { background: transparent; color: var(--muted); opacity: 0.8; }
.cp-b { font-size: 14px; }
/* the compare page's ten, a grid of drawn tiles (pictures in site/compare-art.mjs) */
.cp-grid-sec { padding: 40px 0 28px; }
.cp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cp-grid article { --k: var(--c2); display: flex; flex-direction: column; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--card); overflow: hidden; }
.cp-grid article:nth-child(-n+2) { grid-column: span 2; }
/* an odd one at the end runs the full width, picture beside the words */
.cp-grid article:nth-child(4n+3):last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); grid-template-rows: 1fr auto; }
.cp-grid article:nth-child(4n+3):last-child .cp-pic { grid-row: 1 / 3; padding: 14px 40px; border-bottom: 0; border-right: 1.5px solid var(--ink); }
.cp-grid article:nth-child(4n+3):last-child .cp-tx { align-self: center; }
.cp-pic { padding: 14px 18px; background: color-mix(in srgb, var(--k) 10%, var(--bg)); border-bottom: 1.5px solid var(--ink); }
.cp-grid article:nth-child(-n+2) .cp-pic { padding: 18px 60px; }
.cp-tx { flex: 1; padding: 14px 16px 12px; }
.cp-tx h2 { display: flex; gap: 8px; align-items: baseline; margin: 0 0 4px; font: 700 17px/1.2 var(--display); }
.cp-tx h2 i { font: italic 400 20px/1 var(--serif); color: color-mix(in oklab, var(--k) 78%, var(--ink)); }
.cp-tx p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.cp-grid footer { padding: 9px 16px; border-top: 1px dashed var(--line); font-size: 12px; font-weight: 600; color: var(--muted); }
@media (max-width: 900px) { .cp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .cp-grid-sec { padding-top: 28px; }
  .cp-grid { grid-template-columns: minmax(0, 1fr); }
  .cp-grid article:nth-child(-n+2) { grid-column: auto; }
  .cp-grid article:nth-child(4n+3):last-child { display: flex; }
  .cp-grid article:nth-child(4n+3):last-child .cp-pic { padding: 14px 18px; border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .cp-grid article:nth-child(-n+2) .cp-pic { padding: 14px 18px; }
}
.art { display: block; width: 100%; height: auto; }
.art text { font-family: var(--display); }
.a-card { fill: var(--card); stroke: var(--ink); stroke-width: 1.5; }
.a-pop { filter: drop-shadow(4px 4px 0 var(--k)); }
.a-kline { stroke: var(--k); stroke-width: 2.5; }
.a-line { fill: color-mix(in srgb, var(--ink) 14%, transparent); }
.a-ink { fill: var(--ink); }
.a-ink-fill { fill: #17181c; }
.art .a-onyellow { fill: #3d3200; }
.a-hl { fill: #ffe066; }
.a-k { fill: var(--k); font-weight: 700; }
.a-kfill { fill: var(--k); }
.a-soft { fill: color-mix(in srgb, var(--ink) 9%, transparent); }
.a-small { font-size: 10px; font-weight: 600; fill: var(--ink); }
.a-tiny { font-size: 8px; font-weight: 700; }
.a-big { font-size: 15px; font-weight: 700; fill: var(--ink); }
.a-white { fill: #fff; }
.a-num { font-size: 11px; font-weight: 800; fill: #fff; text-anchor: middle; }
.a-dim { fill: var(--muted); }
.a-frame { fill: none; stroke: var(--k); stroke-width: 2; stroke-dasharray: 5 4; }
.a-bubble { fill: #ffe066; }
.a-dimmer { fill: color-mix(in srgb, var(--ink) 55%, transparent); }
.a-spot { fill: var(--card); stroke: var(--k); stroke-width: 2.5; }
.a-sticky { fill: #ffe066; stroke: #e5c43a; }
.a-mint { fill: #c3fae8; stroke: #63e6be; }
.a-onyellow-l { fill: rgba(61, 50, 0, 0.25); }
.a-trophy { fill: none; stroke: #f5a524; stroke-width: 3; stroke-linecap: round; }
.a-squig { fill: none; stroke-width: 3; stroke-linecap: round; }
.a-kstroke { stroke: var(--k); }
.a-bezel { fill: #17181c; stroke: var(--ink); stroke-width: 1.5; }
.a-arrow { fill: none; stroke: var(--k); stroke-width: 2; stroke-linecap: round; }
.a-tabon { fill: color-mix(in srgb, var(--k) 18%, var(--card)); stroke: var(--k); stroke-width: 1.5; }
.a-ring { stroke: var(--card); stroke-width: 2; }
.a-tile { stroke-width: 1.5; }
.a-sym { font-size: 20px; font-weight: 700; }
.a-timer { fill: none; stroke: var(--k); stroke-width: 7; stroke-dasharray: 78 22; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 66px 70px; }
.cp-all-h { margin: 0 0 18px; }
.cp-all-h h2 { margin: 0; font: 700 clamp(26px, 3.4vw, 36px)/1.1 var(--display); letter-spacing: -0.03em; }
.cp-all-h p { margin: 6px 0 0; color: var(--muted); }
.cp-note { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; }
.cp-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 18px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.cp-key .cp-st span { font-size: 13.5px !important; }

/* ---- guides ---- */
.gd-search { display: flex; align-items: center; gap: 10px; max-width: 560px; height: 54px; margin: 30px 0 0; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: 6px 6px 0 var(--c); transition: box-shadow 0.6s; }
.gd-search .i { color: var(--muted); }
.gd-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 17px/1 var(--display); color: var(--ink); }
.gd-groups { padding: 50px 0 20px; }
.gd-group { margin-bottom: 46px; scroll-margin-top: 80px; }
.gd-group h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 28px; letter-spacing: -0.035em; }
.gd-swatch { width: 14px; height: 14px; border-radius: 5px; border: 1.5px solid var(--ink); }
.g2-grid.gd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gd-card em i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; display: inline-block; margin: 0 4px; }
.gd-none { color: var(--muted); font-size: 16px; }
.gd-hero { padding-bottom: 46px; }
.gd-hero .dot { background: var(--c2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c2) 22%, transparent); }
.gd-back { display: flex; width: max-content; align-items: center; gap: 6px; margin-bottom: 26px; font-weight: 600; font-size: 14.5px; color: var(--muted); text-decoration: none; }
.gd-back:hover { color: var(--ink); }
.gd-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-top: 50px; padding-bottom: 30px; }
.gd-side { position: sticky; top: 90px; align-self: start; }
.gd-side > p { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.gd-side ol { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 4px; }
.gd-side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--muted); border: 1.5px solid transparent; }
.gd-side a span { width: 24px; height: 24px; flex: none; border-radius: 8px; display: grid; place-items: center; font-size: 12px; background: var(--soft); color: var(--ink); }
.gd-side a:hover { color: var(--ink); }
.gd-side a[aria-current] { color: var(--ink); border-color: var(--ink); background: var(--card); }
.gd-side a[aria-current] span { background: var(--c2); color: #fff; }
.gd-try { width: 100%; }
.gd-step { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; padding: 0 0 56px; scroll-margin-top: 90px; }
.gd-n { font: italic 400 64px/0.9 var(--serif); color: color-mix(in oklab, var(--c2) 80%, var(--ink)); }
.gd-step h2 { margin: 6px 0 8px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.035em; line-height: 1.1; }
.gd-step p { margin: 0 0 22px; font-size: 17px; color: var(--muted); max-width: 640px; }
/* a teacher's tip under a guide step: a way to use it in class */
.gd-tip { display: flex; gap: 12px; align-items: flex-start; margin: -6px 0 24px; max-width: 640px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--c2) 9%, transparent); border: 1px solid color-mix(in srgb, var(--c2) 22%, transparent); }
.gd-tip > .i, .gd-tip > svg { flex: none; margin-top: 2px; color: var(--c2); }
.gd-tip strong { display: block; margin-bottom: 2px; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--c2); }
.gd-tip span { display: block; font-size: 16px; line-height: 1.5; color: var(--ink); }
.gd-dev { margin: -6px 0 24px; max-width: 640px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.gd-dev summary { display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.gd-dev summary::-webkit-details-marker { display: none; }
.gd-dev summary::after { content: "+"; margin-left: auto; color: var(--muted); font-weight: 400; font-size: 18px; line-height: 1; }
.gd-dev[open] summary::after { content: "\2212"; }
.gd-dev p { margin: 0; padding: 0 14px 12px; font-size: 14.5px; }
.gd-dev pre { margin: 0 14px 14px; padding: 12px 14px; border-radius: 8px; background: #17181b; color: #e8e8ea; font-size: 12.5px; line-height: 1.55; overflow-x: auto; }
.gd-shot { margin: 0; border: 1.5px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: 10px 10px 0 var(--c2); }
.gd-shot img { width: 100%; height: auto; display: block; }
.gd-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1.5px solid var(--ink); }
.gd-bar i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.gd-shot.phone { max-width: 300px; border-radius: 30px; }
.gd-shot.phone .gd-bar { display: none; }
.gd-end { padding: 10px 0 0 78px; }
.gd-done { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1.5px solid var(--ink); border-radius: 20px; background: color-mix(in srgb, var(--c2) 9%, var(--card)); }
.gd-done .fx-ic { margin: 0; background: var(--c2); }
.gd-done div { flex: 1; display: flex; flex-direction: column; }
.gd-done strong { font-size: 18px; }
.gd-done small { color: var(--muted); font-size: 14.5px; }
.gd-next-l { margin: 34px 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.gd-pn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.gd-pn .g2-c { height: calc(100% - 44px); }
.gd-pn-next .gd-next-l { justify-content: flex-end; }
.gd-next-l { display: flex; align-items: center; gap: 6px; }

/* ---- for websites ---- */
.ws-em { color: var(--c-text); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.ws-hero h1 { font-size: clamp(40px, 4.4vw, 64px); }
.ws-site { border: 1.5px solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: 12px 12px 0 var(--ink); }
.ws-browser { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-bottom: 1.5px solid var(--ink); background: var(--soft); }
.ws-dots { display: flex; gap: 6px; }
.ws-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.ws-url { flex: 1; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 9px; background: var(--card); font-size: 12.5px; color: var(--muted); }
.ws-page { padding: 14px; background: var(--paper); }
.ws-nav { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.ws-nav b { margin-right: auto; color: var(--ink); font-size: 14px; }
.ws-nav .on { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--c); padding-bottom: 2px; }
.ws-page .board { box-shadow: none; border-radius: 14px; }
.ws-page .b-paper { height: 330px; }
.ws-page .try { display: none; }
.ws-page .stage { padding: 0; }
.ws-code { font-size: 13px; line-height: 1.6; white-space: pre; overflow-x: auto; }
.ws-faq { padding: 70px 0 20px; }
.ws-faq h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.04em; margin: 0 0 30px; }
.ws-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.ws-q { border: 1.5px solid var(--ink); border-radius: 18px; background: var(--card); }
.ws-q summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; font-weight: 700; font-size: 16.5px; cursor: pointer; list-style: none; }
.ws-q summary::-webkit-details-marker { display: none; }
.ws-q summary .i { flex: none; transition: transform 0.2s; }
.ws-q[open] summary .i { transform: rotate(45deg); }
.ws-q p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ---- feature tour ---- */
.fx-sec { padding: 64px 0 40px; }
.fx-sec h2, .flow h2, .who2 h2, .g2 h2, .cta2 h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; margin: 0 0 44px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fx { position: relative; display: flex; flex-direction: column; border: 1.5px solid var(--ink); border-radius: 22px; background: var(--card); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.fx:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--c2); }
.fx.wide { grid-column: span 2; flex-direction: row; }
.fx.wide .fx-demo { flex: 1.6; border-bottom: 0; border-right: 1.5px solid var(--ink); }
.fx.wide .fx-text { flex: 1; justify-content: center; }
.fx-demo { --c: var(--c2); --c-text: color-mix(in oklab, var(--c2) 80%, var(--ink)); padding: 22px; min-height: 250px; display: grid; place-items: center; border-bottom: 1.5px solid var(--ink); background: color-mix(in srgb, var(--c2) 9%, var(--card)); background-image: radial-gradient(color-mix(in srgb, var(--c2) 22%, transparent) 1px, transparent 1.2px); background-size: 16px 16px; }
.fx-demo > * { width: 100%; max-width: 380px; }
.fx-text { padding: 22px 24px 24px; display: flex; flex-direction: column; }
.fx-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--c2, var(--c)); color: #fff; margin-bottom: 14px; }
.fx h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.fx p { margin: 0 0 14px; color: var(--muted); font-size: 15.5px; }
.fx .more { margin-top: auto; color: color-mix(in oklab, var(--c2) 66%, var(--ink)); font-size: 14.5px; }

/* quiz */
.q-head { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.q-t { flex: 1; height: 6px; border-radius: 9px; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; }
.q-t i { display: block; height: 100%; width: 100%; background: var(--c); transform-origin: left; }
.q-q { font: 400 26px/1.15 var(--serif); margin: 14px 0; }
.q-opts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.q-opt { position: relative; overflow: hidden; height: 50px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--card); color: var(--ink); font: 700 17px/1 var(--display); cursor: pointer; text-align: left; padding: 0 14px; display: flex; align-items: center; gap: 10px; }
.q-opt .sh { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none; color: #fff; font-size: 11px; }
.q-opt .fill { position: absolute; inset: 0 auto 0 0; width: 0; background: color-mix(in srgb, var(--ink) 9%, transparent); transition: width 0.7s cubic-bezier(.2, .8, .2, 1); }
.q-opt .cnt { margin-left: auto; font-size: 13px; color: var(--muted); opacity: 0; transition: opacity 0.3s 0.4s; position: relative; }
.q-opt span { position: relative; }
.q-opts.done .cnt { opacity: 1; }
.q-opts.done .q-opt { cursor: default; }
.q-opt.right { border-color: #2b8a3e; box-shadow: 0 0 0 2px #2b8a3e inset; }
.q-opt.right .fill { background: color-mix(in srgb, #40c057 30%, transparent); }
.q-opt.wrong { opacity: 0.7; }
.q-res { margin: 18px 0 0; line-height: 2.6; font-weight: 600; font-size: 14px; min-height: 44px; color: var(--muted); }
.q-res b { color: var(--ink); }
.q-next { margin-left: 6px; height: 28px; padding: 0 11px; border-radius: 8px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--bg); font: 600 12.5px/1 var(--display); cursor: pointer; }

/* mood */
.m-q { font: 400 24px/1 var(--serif); text-align: center; margin: 0 0 14px; }
.m-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.m-opts button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); color: var(--ink); font: 600 13px/1 var(--display); cursor: pointer; transition: transform 0.15s; }
.m-opts button:hover { transform: translateY(-2px); }
.m-opts button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.m-bar { display: flex; height: 12px; border-radius: 9px; overflow: hidden; margin: 16px 0 8px; gap: 2px; }
.m-bar i { transition: flex 0.5s; }
.m-bar i:nth-child(1) { background: #40c057; } .m-bar i:nth-child(2) { background: #fab005; } .m-bar i:nth-child(3) { background: #fa5252; }
.m-sum { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; }

/* ai */
.ai-in { display: flex; align-items: center; height: 46px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--card); font-weight: 600; font-size: 15px; }
.caret { width: 2px; height: 20px; margin-left: 2px; background: var(--c); animation: blink 1s steps(1) infinite; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.ai-chips button { height: 28px; font-size: 12px; }
.ai-chips button[aria-pressed="true"], .e-chips button[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c-text); }
.e-chips button[aria-pressed="true"] { border-color: var(--t); background: color-mix(in srgb, var(--t) 15%, transparent); color: var(--ink); }
.ai-out { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; min-height: 0; }
.ai-out { min-height: 145px; align-content: start; }
.ai-out li { display: flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--card); font-size: 13px; font-weight: 600; animation: rise 0.35s cubic-bezier(.3, 1.5, .6, 1) both; }
.ai-out li i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.ai-out li small { margin-left: auto; color: var(--muted); font-weight: 500; }
@keyframes rise { from { opacity: 0; transform: translateY(8px) scale(0.95); } }
.ai .go { width: 100%; }

/* present */
.pres { display: grid; gap: 12px; }
.pr-main { position: relative; height: 150px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); display: grid; place-items: center; text-align: center; padding: 0 50px; }
.pr-main strong { font: 400 28px/1.1 var(--serif); }
.pr-step { position: absolute; top: 10px; left: 12px; font-size: 12px; font-weight: 700; color: var(--muted); }
.pr-nav { position: absolute; inset: auto 8px 8px auto; display: flex; gap: 4px; }
.pr-nav button { width: 34px; height: 34px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 10px; background: color-mix(in oklab, var(--c) 78%, #000); color: #fff; cursor: pointer; }
.pr-nav button:first-child { background: var(--card); color: var(--ink); }
.pr-kids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pr-kids span { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.pr-kids i { width: 100%; height: 54px; border-radius: 9px; border: 1.5px solid var(--ink); background: var(--card); display: grid; place-items: center; font: italic 400 12px/1.1 var(--serif); padding: 4px; text-align: center; transition: opacity 0.2s; }
.pr-kids i.flash { opacity: 0.2; }
.pr-kids b { font-size: 11.5px; color: var(--muted); }

/* worksheet */
.sheet { position: relative; padding: 14px 16px 18px; border-radius: 6px; background: #fff; color: #1d1d1f; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); transform: rotate(-1.2deg); }
.sh-top { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #666; margin-bottom: 10px; }
.sh-top em { margin-left: auto; font-style: normal; font-weight: 500; }
.sh-l { font: 400 22px/1.45 var(--serif); margin: 0 0 10px; }
.sheet .sh-l, .sheet .sh-l span:not(.hl) { color: #1d1d1f; }
.sh-line { display: block; height: 6px; border-radius: 9px; background: #ececec; margin: 8px 0; }
.sh-line.s { width: 60%; }
.sheet .tr { margin-top: 8px; background: #f1f1f1; color: #666; }
.sheet .tr.on { background: #1d1d1f; color: #fff; }

/* rooms */
.rooms { display: grid; gap: 14px; justify-items: center; }
.r-pool { position: relative; width: 100%; height: 150px; }
.r-room { position: absolute; top: 0; width: 31%; height: 100%; border: 1.5px dashed var(--ink); border-radius: 14px; opacity: 0; transition: opacity 0.3s; }
.r-room b { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.rooms.split .r-room { opacity: 1; }
.r-kid { position: absolute; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--p); color: #fff; font-size: 11px; font-weight: 700; border: 2px solid var(--card); transition: left 0.6s cubic-bezier(.4, 1.3, .5, 1), top 0.6s cubic-bezier(.4, 1.3, .5, 1); }
.rooms .w-btn { min-width: 190px; }

/* embed */
.emb { display: grid; gap: 10px; }
.e-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.e-chips button { height: 28px; font-size: 12px; }
.e-code { padding: 12px; border-radius: 10px; background: #15161b; color: #e9e9ee; font-size: 12px; white-space: pre-wrap; word-break: break-all; }
.e-code .t { color: #ff8fa3; } .e-code .a { color: #74c0fc; } .e-code .v { color: #8ce99a; }
.emb .w-btn { justify-self: start; }

/* ---- flow, audiences, guides, cta ---- */
.flow { padding: 90px 0 30px; }
.flow-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.flow-list li { position: relative; padding: 26px 24px; border-top: 1.5px solid var(--ink); }
.flow-list .n { display: block; font: 400 64px/1 var(--serif); font-style: italic; color: var(--c-text); margin-bottom: 14px; }
.flow-list h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.02em; }
.flow-list p { margin: 0; color: var(--muted); }
.who2 { padding: 80px 0 30px; }
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.who-c { padding: 24px; border-radius: 22px; background: var(--soft); }
.who-c .fx-ic { background: var(--ink); color: var(--bg); }
.who-c h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.02em; }
.who-c p { margin: 0; color: var(--muted); }
.g2 { padding: 80px 0 40px; }
.g2-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.g2-head .more { color: var(--c-text); }
.g2-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.g2-c { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--card); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.g2-c:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--c2); }
.g2-c .fx-ic { background: var(--c2); }
.g2-c strong { font-size: 17px; }
.g2-c small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.g2-c em { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cta2 { padding: 60px 0 30px; }
.cta2-in { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 56px; border-radius: 30px; background: var(--ink); color: var(--bg); }
.cta2-in::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--bg) 16%, transparent) 1.1px, transparent 1.3px); background-size: 22px 22px; }
.cta2 h2 { position: relative; margin: 0; }
.cta2 h2 em { color: color-mix(in oklab, var(--c) 72%, var(--bg)); }
.cta2 .btn { position: relative; }

/* ---- features page ---- */
.ft-hero { padding: 70px 0 30px; background-image: radial-gradient(var(--dotc) 1.1px, transparent 1.3px); background-size: 22px 22px; border-bottom: 1px solid var(--line); }
.ft-hero h1 { margin: 0; font-size: clamp(42px, 5.6vw, 76px); line-height: 1; letter-spacing: -0.045em; font-weight: 700; }
.ft-hero h1 em { color: var(--c-text); }
.ft-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding-bottom: 30px; }
.ft-jump a { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 11px; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--card); text-decoration: none; font-weight: 600; font-size: 14px; transition: transform 0.15s, box-shadow 0.15s; }
.ft-jump a .i { color: color-mix(in oklab, var(--c2) 85%, var(--ink)); }
.ft-jump a:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--c2); }
.ft { padding: 84px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.ft-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 60px; align-items: center; }
.ft-flip .ft-text { order: 2; }
.ft-board .ft-in { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
.ft-text { position: relative; }
.ft-num { position: absolute; top: -18px; right: 0; font: italic 400 96px/1 var(--serif); color: color-mix(in srgb, var(--c2) 22%, transparent); pointer-events: none; }
.ft-num::before { content: attr(data-n); }
.ft h2 { margin: 0 0 10px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
.ft-short { margin: 0 0 20px; font-size: 18px; color: var(--muted); }
.ft-ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.ft-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.ft-ticks .i { flex: none; margin-top: 3px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--c2); color: #fff; }
.ft .more { color: color-mix(in oklab, var(--c2) 66%, var(--ink)); }
.ft-demo.fx-demo { border: 1.5px solid var(--ink); border-radius: 24px; min-height: 380px; padding: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 10px 10px 0 var(--c2); }
.ft-demo.fx-demo > * { max-width: 420px; }
.ft-gap { height: 22px; }
.ft-demo .mood { padding-top: 20px; border-top: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent); }
.ft-board .stage { padding-bottom: 40px; }
/* ---- steps: three drawn cards ---- */
.flow2 { padding: 90px 0 30px; }
.flow2 h2 { margin-bottom: 40px; }
.fl-cards { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fl-cards::before { content: ""; position: absolute; left: 12%; right: 12%; top: 92px; border-top: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent); z-index: 0; }
.fl-card { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 0 0 22px; border: 1.5px solid var(--ink); border-radius: 22px; background: var(--card); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.fl-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--c2); }
.fl-scene { height: 168px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px; padding: 16px; border-bottom: 1.5px solid var(--ink); background: color-mix(in srgb, var(--c2) 9%, var(--card)); background-image: radial-gradient(color-mix(in srgb, var(--c2) 22%, transparent) 1px, transparent 1.2px); background-size: 16px 16px; }
.fl-n { margin: -22px 0 0 22px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; border: 1.5px solid var(--ink); background: var(--c2); color: #fff; font: 700 20px/1 var(--display); position: relative; }
.fl-card h3 { margin: 14px 24px 6px; font-size: 22px; letter-spacing: -0.02em; }
.fl-card p { margin: 0 24px; color: var(--muted); font-size: 15.5px; }
.fl-tile { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 12px; border: 1.5px solid var(--ink); background: var(--card); font-weight: 600; font-size: 13.5px; }
.fl-tile .i { color: color-mix(in oklab, var(--c2) 70%, var(--ink)); }
.fl-tile.ai { background: var(--ink); color: var(--bg); }
.fl-tile.ai .i { color: #b197fc; }
.fl-code { display: flex; flex-direction: column; align-items: center; padding: 8px 18px; border-radius: 14px; border: 1.5px solid var(--ink); background: var(--card); }
.fl-code small { font-size: 11px; font-weight: 600; color: var(--muted); }
.fl-code b { font: 700 24px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.16em; }
.fl-faces { display: flex; padding-left: 8px; }
.fl-faces i { width: 34px; height: 34px; margin-left: -8px; border-radius: 50%; display: grid; place-items: center; background: var(--p); color: #fff; font: 700 13px/1 var(--display); font-style: normal; border: 2px solid var(--card); }
.fl-sticky { position: relative; width: 98px; height: 78px; padding: 8px 9px; border-radius: 4px 4px 12px 4px; font-size: 12.5px; font-weight: 600; color: #1d1d1f; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1); }
.fl-sticky.y { background: #ffe066; transform: rotate(-3deg); }
.fl-sticky.p { background: #ffc9de; transform: rotate(2deg); }
.fl-sticky b { position: absolute; left: 8px; bottom: 7px; font-size: 11px; padding: 0 7px; border-radius: 99px; background: rgba(0, 0, 0, 0.12); }
.fl-group { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 99px; border: 1.5px solid var(--ink); background: var(--card); font-size: 12px; font-weight: 700; }

/* ---- who it's for: pick one ---- */
.who3 { padding: 80px 0 30px; }
.who3 h2 { margin-bottom: 26px; }
.ro-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ro-pick button { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 99px; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); font: 600 15.5px/1 var(--display); cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.15s; }
.ro-pick button:hover { transform: translateY(-2px); }
.ro-pick button[aria-selected="true"] { background: var(--c2); color: #fff; }
.ro-panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); align-items: center; gap: 30px; padding: 34px 36px; border: 1.5px solid var(--ink); border-radius: 26px; background: color-mix(in srgb, var(--c2) 8%, var(--card)); box-shadow: 10px 10px 0 var(--c2); animation: rise 0.35s cubic-bezier(.3, 1.4, .6, 1) both; }
.ro-panel[hidden] { display: none; }
.ro-text h3 { margin: 0 0 16px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1.1; }
.ro-text ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.ro-text li { display: flex; gap: 10px; font-size: 16.5px; }
.ro-text li .i { flex: none; margin-top: 3px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--c2); color: #fff; }
.ro-art { display: grid; place-items: center; }
.ro-big { width: 150px; height: 150px; border-radius: 40px; display: grid; place-items: center; border: 1.5px solid var(--ink); background: var(--c2); color: #fff; transform: rotate(-6deg); box-shadow: 8px 8px 0 var(--ink); }

/* ---- closing banner ---- */
.cta3 { padding: 60px 0 30px; }
.cta3-in { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: center; gap: 30px; padding: 56px; border-radius: 30px; background: var(--ink); color: var(--bg); }
.cta3-in::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--bg) 16%, transparent) 1.1px, transparent 1.3px); background-size: 22px 22px; }
.cta3-text { position: relative; }
.cta3 h2 { margin: 0; font-size: clamp(38px, 4.8vw, 62px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; }
.cta3 h2 em { color: color-mix(in oklab, var(--c) 72%, var(--bg)); font-family: var(--serif); font-style: italic; font-weight: 400; }
.cta3-text > p { margin: 16px 0 26px; color: color-mix(in srgb, var(--bg) 70%, transparent); font-size: 17px; }
.cta3-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta3-ghost { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.cta3-ghost:hover { border-color: var(--bg); }
.cta3-art { position: relative; height: 240px; }
.cta3-tile { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 92px; height: 92px; border-radius: 22px; background: var(--t); color: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); animation: bob 6s ease-in-out infinite; }
.cta3-tile small { font-size: 11px; font-weight: 700; }
.cta3-tile.t0 { left: 4%; top: 18%; transform: rotate(-8deg); animation-delay: 0s; }
.cta3-tile.t1 { left: 34%; top: 0; transform: rotate(5deg); animation-delay: -1s; }
.cta3-tile.t2 { left: 66%; top: 14%; transform: rotate(-4deg); animation-delay: -2s; }
.cta3-tile.t3 { left: 14%; top: 58%; transform: rotate(6deg); animation-delay: -3s; }
.cta3-tile.t4 { left: 46%; top: 50%; transform: rotate(-6deg); animation-delay: -4s; }
.cta3-tile.t5 { left: 76%; top: 60%; transform: rotate(4deg); animation-delay: -5s; }
@keyframes bob { 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .cta3-tile { animation: none; } }
@media (max-width: 980px) {
  .fl-cards { grid-template-columns: minmax(0, 1fr); }
  .fl-cards::before { display: none; }
  .ro-panel { grid-template-columns: minmax(0, 1fr); }
  .ro-art { display: none; }
  .cta3-in { grid-template-columns: minmax(0, 1fr); padding: 40px 28px; }
  .cta3-art { height: 120px; }
  .cta3-tile { width: 64px; height: 64px; border-radius: 16px; }
  .cta3-tile small { display: none; }
}
@media (max-width: 640px) { .ro-panel { padding: 24px 20px; box-shadow: 6px 6px 0 var(--c2); } }

@media (max-width: 980px) {
  .ft-in, .ft-board .ft-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ft-in > * { min-width: 0; }
  .ft-flip .ft-text { order: 0; }
}
@media (max-width: 640px) {
  .ft { padding: 56px 0; }
  .ft-num { font-size: 70px; }
  .ft-demo.fx-demo { padding: 20px 14px; min-height: 0; box-shadow: 6px 6px 0 var(--c2); }
  .ft-hero { padding-top: 44px; }
}

@media (max-width: 980px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-in > * { min-width: 0; }
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fx.wide { grid-column: span 2; }
  .g2-grid, .g2-grid.gd-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gd-body { grid-template-columns: 200px minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 70px; }
  .top nav { display: none; }
  .top-in { gap: 10px; }
  .top-in .logo { margin-right: auto; }
  .lead { font-size: 17px; }
  .board { box-shadow: 7px 7px 0 var(--c); border-radius: 16px; }
  .b-tab span { display: none; }
  .b-tab[aria-selected="true"] span { display: inline; }
  .b-live b { display: none; }
  .b-tools { padding: 8px 4px; }
  .b-tools button { width: 30px; height: 30px; }
  .b-paper { height: 380px; }
  .graph { max-height: 150px; }
  .atom { max-height: 160px; }
  .eyebrow { font-size: 11.5px; }
  .hero { padding-bottom: 40px; }
  .fx-sec { padding-top: 48px; }
  .scene { grid-template-columns: minmax(0, 1fr); padding: 16px; align-content: center; }
  .scene .side { display: none; }
  .stickies { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stickies .sticky:nth-child(3) { display: none; }
  .try { position: static; justify-content: flex-end; margin-top: 18px; }
  .bento, .flow-list, .who-grid, .g2-grid, .why-grid { grid-template-columns: minmax(0, 1fr); }
  .vs-row > span, .vs-head > span { padding: 11px 12px; font-size: 13.5px; gap: 7px; }
  .cp-stats { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .g2-grid.gd-grid, .ws-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .gd-body { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 30px; }
  .gd-side { position: static; }
  .gd-side ol { display: none; }
  .gd-side > p { display: none; }
  .gd-step { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .gd-n { font-size: 48px; }
  .gd-shot { box-shadow: 6px 6px 0 var(--c2); }
  .gd-end { padding-left: 0; }
  .gd-done { flex-wrap: wrap; }
  .gd-pn { grid-template-columns: minmax(0, 1fr); }
  .gd-pn-next .gd-next-l { justify-content: flex-start; }
  .ws-site { box-shadow: 7px 7px 0 var(--ink); }
  .ws-nav span:not(.on) { display: none; }
  .ws-page { padding: 10px; }
  .cp-stats b { font-size: 34px; }
  .cp-row { grid-template-columns: minmax(0, 1fr) 58px 58px !important; }
  .cp-st span, .cp-b > span, .vs-head.cp-row span:nth-child(2), .vs-head.cp-row span:nth-child(3) { font-size: 0 !important; }
  .vs-head.cp-row span:nth-child(3) .mark { width: 22px; height: 22px; }
  .vs-head.cp-row span:nth-child(2)::after { content: "Others"; font-size: 11px; font-weight: 700; }
  .vs-head.cp-row span:nth-child(2), .vs-head.cp-row span:nth-child(3) { justify-content: center; padding: 11px 0 !important; }
  .cp-row .cp-a, .cp-row .cp-b { justify-content: center; padding: 11px 0 !important; }
  .cp-g { font-size: 14px !important; }
  .why { padding-top: 56px; }
  .fx.wide { grid-column: auto; flex-direction: column; }
  .fx.wide .fx-demo { border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .fx-demo { padding: 18px 14px; }
  .cta2-in { padding: 34px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .r1, .r2, .b-live b::before, .caret { animation: none; }
  .cursor { display: none; }
}

/* sticky notes vote demo */
.stk { display: grid; gap: 10px; }
.stk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 600 15px/1.2 var(--display); }
.stk-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.stk-n { position: relative; height: 74px; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--n); color: #131418; text-align: left; font: 400 17px/1.15 var(--serif); cursor: pointer; display: flex; align-items: flex-start; box-shadow: 2px 3px 0 rgba(0,0,0,.12); transition: transform .15s; }
.stk-n:hover { transform: rotate(-1deg) translateY(-1px); }
.stk-n b { position: absolute; right: 8px; bottom: 7px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 99px; background: rgba(255,255,255,.7); font: 700 12px/1 var(--display); }
.stk-n b em { font-style: normal; }
.stk-n.voted b { background: #131418; color: #fff; }
.stk-tip { margin: 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 420px) { .stk-head { flex-direction: column; align-items: flex-start; } }

/* present demo: say whose screen is whose */
.pres { gap: 8px; }
.pr-who, .pr-arrow { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--display); color: var(--muted); letter-spacing: 0.02em; }
.pr-arrow { justify-self: center; margin: 2px 0; }
.pr-main { height: 132px; }
.pr-nav .pr-next { width: auto; padding: 0 10px 0 12px; gap: 2px; display: inline-flex; align-items: center; font: 700 13px/1 var(--display); }
.pr-kids i { position: relative; height: 50px; border-radius: 10px; border-width: 2px; padding-top: 8px; transition: opacity .2s, box-shadow .3s; }
.pr-kids i::before { content: ""; position: absolute; top: 4px; left: 50%; width: 14px; height: 3px; margin-left: -7px; border-radius: 3px; background: var(--line); }
.pr-kids i.got { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 45%, transparent); }
.pr-kids b { display: inline-flex; align-items: center; gap: 4px; }
.q-res .w-btn { margin-left: 10px; vertical-align: middle; }

/* coding card: one editor, code above and what it prints below */
.w-code .w-title .run-btn { margin-left: auto; height: 30px; padding: 0 12px; font-size: 12.5px; }
.ide { border-radius: 12px; overflow: hidden; background: #15161b; }
.ide .code { border-radius: 0; font-size: 12.5px; white-space: pre; overflow: hidden; }
.out-wrap { padding: 8px 12px 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); background: #1d1f26; }
.out-l { display: block; margin-bottom: 4px; font: 700 10.5px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.ide .out { min-height: 44px; padding: 0; border-radius: 0; background: none; color: #8ce99a; font-size: 13px; }
.out-hint { color: rgba(255, 255, 255, 0.38); font-family: var(--display); font-weight: 500; }

/* lesson first: the short story under the hero */
.story { padding: 90px 0 6px; }
.story-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.story h2 { margin: 0; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.story h2 em { color: var(--c-text); }
.story-r > p { margin: 0 0 14px; font-size: 17.5px; line-height: 1.6; color: var(--muted); }
.story-r > p:first-child { color: var(--ink); }
.story-vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 22px 0 18px; }
.story-vs span { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1.5px dashed color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 16px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.story-vs span.on { border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); box-shadow: 5px 5px 0 var(--c); }
.story-vs b { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 15px; }
.story-vs b .vs-mark { width: 20px; height: 20px; flex: none; }
.story-more { display: inline-flex; align-items: center; gap: 6px; color: var(--c-text); font-weight: 700; text-decoration: none; }
.story-more:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .story { padding-top: 64px; }
  .story-in { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 520px) { .story-vs { grid-template-columns: minmax(0, 1fr); } }

/* hero: what students and teachers don't have to do */
.assure { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; padding: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.assure li { display: inline-flex; align-items: center; gap: 7px; }
.assure .i { color: var(--c-text); }

/* teacher controls */
.ctl { padding: 80px 0 20px; }
.ctl-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.ctl h2 { margin: 0; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.ctl h2 em { color: var(--c-text); }
.ctl-lead { margin: 18px 0 22px; max-width: 520px; font-size: 17.5px; line-height: 1.55; color: var(--muted); }
.ctl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.ctl-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.ctl-list li .i { flex: none; margin-top: 2px; color: var(--c-text); }
.ctl-list b { color: var(--ink); }
.ctl-card { padding: 20px; border: 1.5px solid var(--ink); border-radius: 22px; background: var(--card); box-shadow: 8px 8px 0 var(--c); }
.ctl-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 700; font-size: 15px; }
.ctl-h small { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
.ctl-t { width: 100%; display: flex; align-items: center; gap: 11px; padding: 11px 4px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); font: 600 14.5px/1 var(--display); text-align: left; cursor: pointer; }
.ctl-t span { flex: 1; }
.ctl-t .i { color: var(--muted); }
.ctl-t i { position: relative; width: 40px; height: 24px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 16%, transparent); transition: background 0.2s; }
.ctl-t i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform 0.2s; }
.ctl-t[aria-pressed="true"] i { background: var(--c); }
.ctl-t[aria-pressed="true"] i::after { transform: translateX(16px); }
.ctl-t[aria-pressed="true"] .i { color: var(--c-text); }
.ctl-foot { margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* your tablet as your pen */
.tb-in { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.tb-sec .story-more { display: inline-flex; margin-top: 24px; }
.tb-demo { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.tb-main { display: grid; gap: 12px; }
.tb-ipad { padding: 4px; border-radius: 20px; background: #1b1c21; border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 var(--c); }
.tb-ipad > .tb-ibar, .tb-ipad > .tb-paper { background-color: var(--paper); }
.tb-ibar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 7px; border-radius: 15px 15px 0 0; border-bottom: 1px solid var(--line); }
.tb-pill, .tb-clear { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 11.5px/1 var(--display); }
.tb-clear { cursor: pointer; }
.tb-clear:hover { background: var(--soft); }
.tb-dot { width: 7px; height: 7px; border-radius: 50%; background: #30a46c; box-shadow: 0 0 0 3px color-mix(in srgb, #30a46c 25%, transparent); }
.tb-paper { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; background-color: var(--paper); background-image: radial-gradient(var(--dotc) 1px, transparent 1.2px); background-size: 16px 16px; overflow: hidden; }
.tb-ipad > .tb-paper { border-radius: 0 0 15px 15px; }
.tb-paper canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tb-pen { touch-action: none; cursor: crosshair; }
.tb-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted); font: 600 14px/1 var(--display); pointer-events: none; }
.tb-hint[hidden] { display: none; }
.tb-subs { display: flex; flex-wrap: wrap; gap: 5px; }
.tb-subs button { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 9px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); color: var(--muted); font: 600 12px/1 var(--display); cursor: pointer; }
.tb-subs button:hover { color: var(--ink); }
.tb-subs button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.tb-class { display: grid; gap: 12px; }
.tb-scr { padding: 7px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); }
.tb-scr .tb-paper { border-radius: 8px; }
.tb-who { display: flex; align-items: center; gap: 7px; margin: 0 0 7px; font: 600 12px/1 var(--display); color: var(--muted); }
.tb-who i { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; font-style: normal; font-size: 10px; }
/* the card text size (.fx p) must not reach the name label */
.tb-demo .tb-who { margin: 0 0 7px; font-size: 12px; color: var(--muted); }
.tb-who span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* phones: until tapped, a finger here scrolls the page instead of writing */
.tb-pen.tb-scroll { touch-action: pan-x pan-y; cursor: pointer; }
.tb-cap { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font: 600 13px/1 var(--display); color: var(--muted); }
@media (max-width: 560px) { .tb-demo { grid-template-columns: minmax(0, 1fr); } .tb-class { grid-template-columns: 1fr 1fr; } .tb-cap { grid-column: 1 / -1; } }
@media (max-width: 900px) { .tb-in > .tb-demo { order: 2; } }

/* privacy facts */
.trust { padding: 70px 0 10px; }
.tr-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.tr-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
.tr-head h2 em { color: var(--c-text); }
.tr-head a { display: inline-flex; align-items: center; gap: 6px; color: var(--c-text); font-weight: 700; text-decoration: none; }
.tr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tr-grid > div { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--card); }
.tr-grid .i { color: var(--c-text); margin-bottom: 4px; }
.tr-grid b { font-size: 16px; }
.tr-grid p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) {
  .ctl-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tr-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 520px) { .tr-grid { grid-template-columns: minmax(0, 1fr); } }

/* try the real board */
.tryb { --tc: #e5484d; padding: 80px 0 10px; }
.try-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.tryb h2 { margin: 0; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.tryb h2 em { color: var(--c-text); }
.try-note { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.try-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.try-tabs button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 600 14px/1 var(--display); cursor: pointer; }
.try-tabs button .i { color: var(--t); }
.try-tabs button[aria-selected="true"] { border-color: var(--ink); background: var(--t); color: #fff; }
.try-tabs button[aria-selected="true"] .i { color: #fff; }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; align-items: stretch; }
.try-frame { position: relative; height: 620px; border: 1.5px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: 8px 8px 0 var(--tc); }
.try-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.try-frame.on .try-poster { display: none; }
.try-poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 0; background: var(--paper, #f7f5f0); background-image: radial-gradient(var(--dotc, rgba(0,0,0,.12)) 1.1px, transparent 1.3px); background-size: 22px 22px; color: var(--ink); font-family: var(--display); cursor: pointer; }
.try-poster b { font-size: 18px; }
.try-poster small { color: var(--muted); font-size: 13px; }
.try-play { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--tc); color: #fff; margin-bottom: 4px; }
.try-steps { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1.5px solid var(--ink); border-radius: 22px; background: var(--card); }
.try-h { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.try-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.try-steps li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.try-steps li i { flex: none; width: 22px; height: 22px; margin-top: 0; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.try-steps li.ok i { background: var(--tc); border-color: var(--tc); color: #fff; }
.try-steps li.ok span { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent); }
.try-steps em { font-style: normal; font-weight: 700; }
.try-done { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--tc) 14%, transparent); font-size: 14px; font-weight: 600; }
.try-steps .btn { margin-top: auto; justify-content: center; }
@media (max-width: 960px) { .try-grid { grid-template-columns: minmax(0, 1fr); } .try-frame { height: 560px; } }
@media (max-width: 760px) { .tryb { padding-top: 60px; } .try-frame { height: 520px; } .try-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px 4px; } .try-tabs button { flex: none; } }
.try-done[hidden] { display: none; }

/* the try page: the board fills the screen */
.tryb { padding-top: 44px; }
.tryb h1 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.tryb h1 em { color: var(--c-text); }
.try-frame { height: max(560px, calc(100vh - 300px)); }
@media (max-width: 960px) { .try-frame { height: 560px; } }
@media (max-width: 760px) { .tryb { padding-top: 28px; } .try-frame { height: 520px; } }

/* just like teaching in the room */
.room { padding: 76px 0 6px; }
.room-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.room h2 { margin: 0; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.room h2 em { color: var(--c-text); }
.room-head a { display: inline-flex; align-items: center; gap: 6px; color: var(--c-text); font-weight: 700; text-decoration: none; }
.room-head a:hover { text-decoration: underline; }
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.room-c { padding: 22px; border: 1.5px solid var(--ink); border-radius: 20px; background: var(--card); transition: transform 0.25s, box-shadow 0.25s; }
.room-c:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--c); }
.room-c .fx-ic { background: var(--c); }
.room-c small { display: block; margin: 16px 0 3px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.room-c h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.02em; }
.room-c p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) { .room-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .room-grid { grid-template-columns: minmax(0, 1fr); } .room { padding-top: 56px; } }

/* the four areas */
.areas { padding: 72px 0 24px; }
.areas h2 { margin: 6px 0 10px; }
.areas-lead { max-width: 620px; color: var(--muted, #6b6d76); font-size: 17px; line-height: 1.55; margin: 0 0 28px; }
.areas-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.area { display: flex; flex-direction: column; border-radius: 18px; background: #fff; border: 1px solid rgba(23, 24, 28, 0.08); overflow: hidden; color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgba(20, 20, 30, 0.04); transition: transform 0.15s, box-shadow 0.15s; }
.area:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20, 20, 30, 0.1); }
.area-pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f3f1ec; border-bottom: 1px solid rgba(23, 24, 28, 0.06); }
.area-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.area-text { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; }
.area-text .fx-ic { color: color-mix(in oklab, var(--c2) 70%, var(--ink)); }
.area-text strong { font-size: 17px; }
.area-text small { font-size: 14px; line-height: 1.45; color: #6b6d76; }
.area-text em { font-style: normal; font-weight: 600; font-size: 14px; color: color-mix(in oklab, var(--c2) 70%, var(--ink)); display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
@media (max-width: 1000px) { .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .areas-grid { grid-template-columns: minmax(0, 1fr); } .areas { padding-top: 48px; } }
.ft-shot { width: 100%; border-radius: 14px; border: 1px solid rgba(23, 24, 28, 0.08); box-shadow: 0 10px 30px rgba(20, 20, 30, 0.1); display: block; }
/* ---- the four areas, drawn: a small scene on a soft tint of each area's colour (no screenshots) */
.area-text .fx-ic { color: #fff; }
.area-art { position: relative; display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--c2) 16%, #fff), color-mix(in srgb, var(--c2) 6%, #fff)); }
.area-art > * { position: absolute; }
.area-art svg { display: block; }
.aa-card { background: #fff; border: 1px solid rgba(23, 24, 28, 0.08); border-radius: 12px; box-shadow: 0 6px 18px rgba(20, 20, 30, 0.08); }
.aa-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; background: #fff; color: #17181c; font-size: 12px; font-weight: 700; box-shadow: 0 4px 12px rgba(20, 20, 30, 0.1); border: 1px solid rgba(23, 24, 28, 0.06); white-space: nowrap; }
.aa-chip svg { color: color-mix(in oklab, var(--c2) 70%, var(--ink)); }
/* classroom: a timer, the plan, a picked name */
.aa-timer { left: 9%; top: 16%; width: 30%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; }
.aa-ring { position: absolute; inset: 9%; border-radius: 50%; background: conic-gradient(var(--c2) 0 78%, color-mix(in srgb, var(--c2) 15%, #fff) 0); -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%); mask: radial-gradient(circle, transparent 58%, #000 60%); }
.aa-timer b { position: relative; font-size: 14px; font-weight: 800; color: #17181c; }
.aa-plan { right: 8%; top: 14%; width: 46%; padding: 9px; display: grid; gap: 6px; }
.aa-row { display: flex; align-items: center; gap: 6px; height: 16px; }
.aa-row i { flex: 1; height: 6px; border-radius: 99px; background: #e9e7e1; }
.aa-row.done svg { color: #2f9e44; }
.aa-row.done i { opacity: 0.6; }
.aa-row.now { margin: 0 -4px; padding: 0 4px; height: 20px; border-radius: 6px; background: #17181c; }
.aa-row.now em { font-style: normal; font-size: 9px; font-weight: 800; color: #fff; }
.aa-row.now i { background: rgba(255, 255, 255, 0.4); }
.aa-dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #c9c7c0; }
.aa-pick { left: 14%; bottom: 13%; }
/* whiteboard: a sheet with a stroke, a highlight, a note, a comment and a pointer */
.aa-sheet { left: 8%; top: 13%; width: 62%; height: 58%; padding: 10% 6%; }
.aa-sheet svg { width: 100%; height: 70%; fill: none; stroke: var(--c2); stroke-width: 4; stroke-linecap: round; }
.aa-mark { display: block; width: 55%; height: 8px; margin-top: 8%; border-radius: 3px; background: color-mix(in srgb, #ffd43b 70%, transparent); }
.aa-note { right: 7%; top: 18%; width: 28%; aspect-ratio: 1; padding: 8px; background: #ffe066; color: #5c4a00; font-size: 11px; font-weight: 700; line-height: 1.2; transform: rotate(4deg); box-shadow: 0 6px 14px rgba(20, 20, 30, 0.12); border-radius: 3px; }
.aa-comment { right: 10%; bottom: 14%; }
.aa-cursor { left: 52%; top: 50%; color: #17181c; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2)); }
/* live: faces, a raised hand, the mic and chat */
.aa-faces { left: 50%; top: 46%; transform: translate(-50%, -50%); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.aa-face { position: relative; width: 52px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--p); color: #fff; font-size: 18px; font-weight: 800; box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(20, 20, 30, 0.14); }
.aa-face.hand { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #f5a524, 0 6px 14px rgba(20, 20, 30, 0.14); }
.aa-face i { position: absolute; right: -8px; top: -8px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #f5a524; color: #1d1d1f; }
.aa-mic { left: 9%; bottom: 12%; }
.aa-chat { right: 9%; top: 13%; }
/* learning: a tile for each subject, and a quiz */
.aa-tiles { left: 50%; top: 46%; transform: translate(-50%, -50%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.aa-tile { width: 46px; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--t); box-shadow: 0 4px 12px rgba(20, 20, 30, 0.08); border: 1px solid color-mix(in srgb, var(--t) 22%, transparent); }
.aa-quiz { right: 8%; bottom: 10%; }
html[data-theme="dark"] .area-art { background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--c2) 26%, #1b1c20), color-mix(in srgb, var(--c2) 10%, #151619)); }
/* the drawn scenes scale with their box (cqw: hundredths of the scene's width), from the home cards to the features page */
.area-art { container-type: size; }
.area-art .i { width: 5cqw; height: 5cqw; }
.aa-card { border-radius: 4.5cqw; }
.aa-chip { gap: 1.9cqw; padding: 1.9cqw 3.8cqw; font-size: 4.5cqw; }
.aa-timer b { font-size: 5.3cqw; }
.aa-plan { padding: 3.4cqw; gap: 2.3cqw; }
.aa-row { height: 6cqw; gap: 2.3cqw; }
.aa-row i { height: 2.3cqw; }
.aa-row.now { height: 7.5cqw; margin: 0 -1.5cqw; padding: 0 1.5cqw; border-radius: 2.3cqw; }
.aa-row.now em { font-size: 3.4cqw; }
.aa-dot { width: 3.8cqw; height: 3.8cqw; }
.aa-note { padding: 3cqw; font-size: 4.2cqw; }
.aa-mark { height: 3cqw; }
.aa-cursor .i { width: 6.8cqw; height: 6.8cqw; }
.aa-faces { gap: 3.8cqw; }
.aa-face { width: 19.6cqw; font-size: 6.8cqw; }
.aa-face i { width: 8.3cqw; height: 8.3cqw; right: -3cqw; top: -3cqw; }
.aa-face i .i { width: 4.2cqw; height: 4.2cqw; }
.aa-tiles { gap: 3.4cqw; }
.aa-tile { width: 17.4cqw; border-radius: 4.5cqw; }
.aa-tile .i { width: 6.8cqw; height: 6.8cqw; }
/* every student's own board: four boards, two picked to compare */
.aa-boards { left: 50%; top: 46%; transform: translate(-50%, -50%); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.4cqw; }
.aa-board { width: 33cqw; display: flex; flex-direction: column; border-radius: 3.4cqw; background: #fff; border: 1px solid rgba(23, 24, 28, 0.08); box-shadow: 0 4px 12px rgba(20, 20, 30, 0.08); overflow: hidden; }
.aa-board.picked { box-shadow: 0 0 0 2px var(--c2), 0 6px 16px rgba(20, 20, 30, 0.1); }
.aa-board svg { width: 100%; height: 11cqw; fill: none; stroke-width: 3.2; stroke-linecap: round; background: #fcfbf8; }
.aa-board b { display: flex; align-items: center; gap: 1.5cqw; padding: 1.5cqw 2.6cqw; font-size: 3.4cqw; border-top: 1px solid rgba(23, 24, 28, 0.06); }
.aa-board b i { width: 2.3cqw; height: 2.3cqw; border-radius: 50%; }
.aa-compare { right: 6%; bottom: 7%; }
/* before and after class: the next lesson, the lasting link and the notes */
.aa-next { left: 50%; top: 50%; transform: translate(-50%, -52%); width: 50cqw; padding: 4cqw 4cqw 3.4cqw; display: flex; flex-direction: column; align-items: center; gap: 0.6cqw; text-align: center; }
.aa-next small { font-size: 3cqw; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #6b6d76; }
.aa-next strong { font-size: 8cqw; line-height: 1.1; color: #17181c; }
.aa-next > span { font-size: 4.4cqw; font-weight: 600; color: #3b3d44; }
.aa-next i { margin-top: 2.6cqw; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 1.5cqw; padding: 2.3cqw 0; border-radius: 2.6cqw; background: var(--c2); color: #fff; font-style: normal; font-size: 3.6cqw; font-weight: 700; }
.aa-next i .i { width: 3.8cqw; height: 3.8cqw; color: #fff; }
.aa-link { left: 5%; top: 8%; }
.aa-notes { right: 5%; bottom: 8%; }
/* on the features page: the scene fills the demo box */
.ft-art { width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid rgba(23, 24, 28, 0.08); }
/* the two new scenes: chips at the edges, clear of the cards */
.aa-boards { top: 43%; gap: 3cqw; }
.aa-board { width: 29cqw; }
.aa-board svg { height: 9cqw; }
.aa-compare { right: 4%; bottom: 4%; }
.aa-next { top: 50%; width: 44cqw; transform: translate(-50%, -50%); }
.aa-next strong { font-size: 7cqw; }
.aa-link { left: 4%; top: 5%; }
.aa-notes { right: 4%; bottom: 5%; }
.aa-next { width: 50cqw; top: 52%; }
.aa-next small { white-space: nowrap; }
.aa-link { left: 3%; top: 4%; }
.aa-notes { right: 3%; bottom: 4%; }
/* every main section heading on the home page at the same size */
.areas h2, .flow2 h2, .who3 h2, .tr-head h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.areas h2 { margin: 6px 0 14px; }
/* dark mode: the area cards follow the page; the drawn scenes keep their own (light) colours */
.area { background: var(--card); border-color: var(--line); }
.area-text small { color: var(--muted); }
.area-art .aa-card, .area-art .aa-chip, .area-art .aa-board, .area-art .aa-tile { color: #17181c; }
.aa-board b { color: #17181c; }
.area-art .aa-tile { color: var(--t); }
/* guide pictures: the real app, cropped to what the step is about, on a soft tint of the guide's colour */
.gd-shot { padding: 18px; border: 0; border-radius: 24px; background: color-mix(in srgb, var(--c2) 12%, var(--card)); box-shadow: none; overflow: visible; }
.gd-shot img { border-radius: 14px; border: 1px solid rgba(23, 24, 28, 0.1); box-shadow: 0 1px 2px rgba(20, 20, 30, 0.05), 0 14px 34px rgba(20, 20, 30, 0.12); background: #fff; }
.gd-bar { display: none; }
.gd-shot.phone { max-width: 320px; padding: 14px; border-radius: 34px; }
.gd-shot.phone img { border-radius: 24px; }
@media (max-width: 640px) { .gd-shot { padding: 10px; border-radius: 18px; box-shadow: none; } .gd-shot img { border-radius: 10px; } }
.gd-shot { box-sizing: border-box; max-width: 100%; }

/* features: pick a student and a timer */
.pk { display: grid; gap: 12px; }
.pk-card { padding: 16px; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--card); display: grid; gap: 12px; justify-items: center; }
.pk-q { margin: 0; font: 400 22px/1.1 var(--serif); }
.pk-names { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
.pk-names span { padding: 9px 4px; border-radius: 10px; border: 1.5px solid var(--line, #e3e0d8); text-align: center; font: 600 14px/1 var(--display); transition: background 0.12s, color 0.12s, transform 0.2s; }
.pk-names span.on { background: color-mix(in srgb, var(--c2) 18%, var(--card)); border-color: var(--c2); }
.pk-names span.won { background: var(--c2); border-color: var(--c2); color: #fff; transform: scale(1.06); }
.pk-timer { grid-template-columns: auto 1fr; align-items: center; justify-items: start; }
.pk-ring { --f: 1; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c2) calc(var(--f) * 360deg), color-mix(in srgb, var(--c2) 15%, transparent) 0); }
.pk-ring b { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--card); font: 700 15px/1 var(--display); }
.pk-tbtns { display: flex; gap: 6px; justify-self: end; }
/* features: student boards */
.sb { display: grid; gap: 10px; }
.sb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.sb-grid[hidden], .sb-open[hidden] { display: none; }
.sb-b { position: relative; display: grid; gap: 4px; padding: 10px 10px 8px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); color: var(--ink); cursor: pointer; text-align: left; font: inherit; transition: transform 0.15s; }
.sb-b:hover { transform: translateY(-2px); }
.sb-b svg, .sb-big svg { width: 100%; height: 54px; fill: none; stroke: var(--p); stroke-width: 3; stroke-linecap: round; }
.sb-b em, .sb-big em { position: absolute; right: 10px; top: 8px; font: 600 13px/1 var(--hand, var(--display)); color: color-mix(in oklab, var(--p) 72%, var(--ink)); font-style: normal; }
.sb-b b { font: 600 13px/1 var(--display); }
.sb-open { border: 1.5px solid var(--ink); border-radius: 16px; background: var(--card); overflow: hidden; }
.sb-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line, #e3e0d8); }
.sb-top b { font: 600 14px/1 var(--display); }
.sb-big { position: relative; padding: 18px 16px; }
.sb-big svg { height: 130px; }
.sb-big em { font-size: 20px; right: 16px; top: 14px; }
.sb-tip { margin: 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
/* features: the class link waiting screen */
.wt { display: grid; gap: 10px; }
.wt-card { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 20px 16px; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--card); transition: background 0.3s; }
.wt-card small { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.wt-card strong { font: 400 24px/1.1 var(--serif); }
.wt-state { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.wt-count { font: 700 34px/1 var(--display); letter-spacing: -0.02em; color: var(--c-text, var(--ink)); }
.wt-card.live { background: color-mix(in srgb, #40c057 12%, var(--card)); }
.wt-card.live .wt-count { color: #2b8a3e; font-size: 26px; }
.wt-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.wt-btns .w-btn.done { background: color-mix(in srgb, #40c057 16%, var(--card)); border-color: #2b8a3e; color: #2b8a3e; }
.wt-tip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ===== phones: a layout made for one hand, not a shrunk desktop =====
   Card groups become rows you swipe sideways (the next card peeks in), comparisons stack as
   pairs, and sections sit closer together, so each screen shows more. */
@media (max-width: 600px) {
  .areas-grid, .room-grid, .why-grid, .tr-grid, .g2-grid:not(.gd-grid), .fl-cards, .bento {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 4px 16px 18px; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch;
  }
  .areas-grid > *, .room-grid > *, .why-grid > *, .tr-grid > *, .g2-grid:not(.gd-grid) > *, .fl-cards > *, .bento > * { scroll-snap-align: start; min-width: 0; grid-column: auto !important; grid-row: auto !important; }
  .bento { align-items: stretch; }
  /* every card's picture is the same height, so the titles line up across the row and no card
     grows to match the tallest one */
  .bento .fx .fx-demo { flex: none; height: 360px; min-height: 0; padding: 16px 14px; overflow: hidden; }
  .bento .fx .fx-text { flex: 1; justify-content: flex-start; padding: 20px 20px 22px; }
  /* the two tallest pictures lose a small extra so they fit */
  .bento .fx .fc-tip, .bento .fx .aft .aft-next, .bento .fx .aft .aft-sum ul { display: none; }
  .fx-sec h2, .flow h2, .who2 h2, .g2 h2 { margin-bottom: 24px; }
  .fl-cards::before { display: none; }
  /* the last card lines up with the end of the row, so swiping past it doesn't fight the snap */
  .areas-grid > :last-child, .room-grid > :last-child, .why-grid > :last-child, .tr-grid > :last-child, .g2-grid:not(.gd-grid) > :last-child, .fl-cards > :last-child, .bento > :last-child { scroll-snap-align: end; }

  /* the old and new way: each pair stacked, the new one stronger */
  .vs-head { display: none; }
  .vs-head.cp-row { display: grid; } /* the compare table keeps its group name and column labels */
  .vs-head + .vs-row > span { border-top: 0; }
  .vs-row { grid-template-columns: minmax(0, 1fr); }
  .vs-row > span { padding: 12px 16px; font-size: 15px; }
  .vs-row > .vs-a { padding-bottom: 2px; font-size: 13.5px; }
  .vs-row > .vs-b { padding-top: 6px; border-left: 0; }
  .vs-row + .vs-row > .vs-b { border-top: 0; }

  /* the guides list: compact rows, icon beside the words */
  .g2-grid.gd-grid { gap: 10px; }
  .gd-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 3px; padding: 14px 14px 12px; border-radius: 16px; }
  .gd-card .fx-ic { grid-row: 1 / span 3; width: 40px; height: 40px; margin: 0; }
  .gd-card strong, .gd-card small, .gd-card em { grid-column: 2; }
  .gd-card strong { font-size: 16px; line-height: 1.25; }
  .gd-card small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; align-self: start; }
  .gd-card em { padding-top: 4px; }

  /* compare: the three numbers side by side */
  .cp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cp-stats div { padding: 12px; border-radius: 14px; }
  .cp-stats b { font-size: 30px; }
  .cp-stats span { font-size: 11.5px; line-height: 1.3; }

  /* topic chips: one row you swipe, instead of four wrapped lines */
  .ft-jump, .jump { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch; }
  .ft-jump a, .jump a { flex: none; }

  /* closing cards: inset from the screen edges, with room inside (the page-margin rule used to win) */
  .wrap.cta3-in, .wrap.cta2-in { margin: 0 16px; padding: 34px 24px 30px; border-radius: 24px; }
  .cta3-text > p { font-size: 16px; }
  .cta3-btns .btn { flex: 1 1 auto; }

  /* closer sections, a little less headline */
  .why { padding-top: 52px; }
  .room { padding-top: 48px; }
  .areas { padding-top: 40px; }
}

/* ---- page not found */
.nf { padding: 64px 0 90px; }
.nf-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.nf-board { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; border: 1.5px solid var(--ink); background: var(--card); background-image: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1.2px, transparent 1.4px); background-size: 18px 18px; box-shadow: 8px 8px 0 var(--accent); overflow: hidden; }
.nf-draw { position: absolute; inset: 0; width: 100%; height: 100%; }
.nf-draw path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: nf-draw 1.4s 0.2s ease-out forwards; }
.nf-draw path + path { stroke-dasharray: 60; stroke-dashoffset: 60; animation-delay: 1.4s; animation-duration: 0.3s; }
@keyframes nf-draw { to { stroke-dashoffset: 0; } }
.nf-note { position: absolute; left: 8%; top: 12%; padding: 12px 16px; background: #ffe58f; color: #3d3216; font: 600 20px/1.15 "Instrument Sans", sans-serif; border-radius: 4px; transform: rotate(-4deg); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }
.nf-code { position: absolute; right: 7%; bottom: 8%; font: 700 64px/1 "Instrument Sans", sans-serif; letter-spacing: -2px; color: color-mix(in srgb, var(--ink) 14%, transparent); }
.nf-copy h1 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 12px; }
.nf-copy .lead { margin: 0 0 26px; }
.nf-go { display: flex; flex-wrap: wrap; gap: 10px; }
.nf-more { margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.nf-more a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent); text-underline-offset: 3px; }
@media (max-width: 760px) {
  .nf { padding: 28px 0 56px; }
  .nf-in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .nf-board { max-width: 420px; }
  .nf-go .btn { flex: 1; }
  .nf-code { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) { .nf-draw path { animation: none; stroke-dashoffset: 0; } }
.hero .assure { flex-direction: column; gap: 8px; }

/* home: translate as you teach */
.xl { display: grid; gap: 14px; }
.fx .xl-board { margin: 0; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); font: 400 22px/1.5 var(--serif); }
.xl-board span { cursor: pointer; border-radius: 4px; padding: 0 2px; transition: background 0.2s; }
.xl-board span:hover { background: color-mix(in srgb, #ffd43b 55%, transparent); }
.xl-board span.hl { background: #ffd43b; color: #1d1d1f; }
.xl-kids { display: grid; gap: 6px; }
.xl-kid { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 9px; align-items: center; padding: 7px 10px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--card); }
.xl-kid i { grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--p); color: #fff; font-style: normal; font-weight: 700; font-size: 13px; }
.xl-kid b { font-size: 15px; }
.xl-kid b.pop { animation: rise 0.35s cubic-bezier(.3, 1.5, .6, 1) both; }
.xl-kid small { color: var(--muted); font-size: 11.5px; }
.fx .xl-tip { margin: -4px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; }
/* home: after class */
.fx-demo > .aft { max-width: 520px; }
.aft { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; align-items: start; }
.aft-sum, .aft-rep { padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); font-size: 13px; }
.aft-sum { transform: rotate(-1deg); }
.aft-rep { transform: rotate(1deg) translateY(10px); }
.fx .aft-h { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-weight: 700; font-size: 13px; color: var(--c-text); }
.fx .aft-t { font-size: 13px; margin: 0 0 6px; line-height: 1.45; color: var(--ink); }
.aft ul { margin: 0 0 8px; padding-left: 16px; display: grid; gap: 3px; color: var(--ink); }
.fx .aft-next { font-size: 12.5px; display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 8px; border-radius: 8px; background: color-mix(in srgb, var(--c) 12%, transparent); font-weight: 600; color: var(--ink); }
.aft-row { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.aft-row span { color: var(--muted); font-variant-numeric: tabular-nums; }
.aft-row i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; }
.aft-row i.y { background: color-mix(in srgb, #1f9d55 18%, transparent); color: #1a7f46; }
.aft-row i.n { background: color-mix(in srgb, #e5484d 15%, transparent); color: #c9343a; }
.aft-csv { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 10px; border-radius: 8px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 12px; }
@media (max-width: 560px) { .aft { grid-template-columns: 1fr; } .aft-rep { transform: none; } .aft-sum { transform: none; } }

/* ---- template gallery ---- */
.tp-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 30px 0 0; padding-bottom: 30px; }
/* one line; when the window is too narrow it scrolls sideways (no fade) */
.tp-chips { display: flex; flex-wrap: nowrap; gap: 6px; max-width: calc(100% + 6px); overflow-x: auto; scrollbar-width: none; padding: 4px 4px 6px 6px; margin-left: -6px; }
.tp-chips::-webkit-scrollbar { display: none; }
.tp-chips button, .tp-level button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--card); color: var(--ink); font: 600 14px/1 var(--display); cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.tp-chips button .i { color: color-mix(in oklab, var(--c2) 85%, var(--ink)); }
.tp-chips button small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.tp-chips button:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--c2, var(--c)); }
.tp-chips button.on { background: var(--ink); color: var(--bg); }
.tp-chips button.on .i, .tp-chips button.on small { color: var(--bg); }
/* a little smaller than the level buttons, so all of them fit on one line */
.tp-chips button { flex: none; height: 36px; padding: 0 11px; gap: 5px; font-size: 13.5px; }
.tp-chips button small { font-size: 12px; }
.tp-level { display: inline-flex; padding: 3px; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--card); }
.tp-level button { height: 32px; border: 0; padding: 0 13px; background: transparent; }
.tp-level button.on { background: var(--ink); color: var(--bg); }
.tp-groups .gd-group h2 { margin-bottom: 6px; }
.tp-blurb { margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.tp-c { display: flex; flex-direction: column; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--card); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.tp-c:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--c2); }
.tp-c[hidden] { display: none; }
.tp-pic { display: block; aspect-ratio: 3 / 2; border-bottom: 1.5px solid var(--ink); background: #fbfaf6; overflow: hidden; }
.tp-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tp-c:hover .tp-pic img { transform: scale(1.04); }
.tp-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.tp-tags { display: flex; align-items: center; gap: 6px; }
.tp-tags b { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 99px; background: color-mix(in srgb, var(--c2) 14%, transparent); color: color-mix(in oklab, var(--c2) 60%, var(--ink)); font-size: 12px; font-weight: 700; }
.tp-tags i { padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); font-style: normal; font-size: 12px; font-weight: 600; }
.tp-title { font: 700 17px/1.3 var(--display); letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.tp-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.tp-body small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.tp-use { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 13px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.tp-body small + .tp-use { margin-top: auto; }
.tp-body > small { margin-bottom: 10px; }
.tp-use:hover { background: var(--c2); color: #fff; }
.tp-own { padding: 10px 0 70px; }
.tp-own-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 34px; border: 1.5px solid var(--ink); border-radius: 22px; background: var(--card); box-shadow: 6px 6px 0 var(--c); }
.tp-own h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.03em; }
.tp-own p { margin: 0; color: var(--muted); max-width: 560px; }
.tp-own p b { color: var(--ink); }

/* a template's own page */
.tp-hero { padding: 34px 0 60px; background-image: radial-gradient(var(--dotc) 1.1px, transparent 1.3px); background-size: 22px 22px; border-bottom: 1px solid var(--line); }
.tp-crumbs { display: flex; align-items: center; gap: 6px; margin-bottom: 30px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tp-crumbs a { color: var(--muted); text-decoration: none; }
.tp-crumbs a:hover { color: var(--ink); }
.tp-hero-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 50px; align-items: center; }
.tp-hero h1 { margin: 14px 0 0; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -0.04em; }
.tp-hero .ctas { margin-top: 28px; }
.tp-note { display: flex; align-items: center; gap: 7px; margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.tp-big { display: block; border: 1.5px solid var(--ink); border-radius: 20px; overflow: hidden; background: #fbfaf6; box-shadow: 10px 10px 0 var(--c2); transition: transform 0.2s, box-shadow 0.2s; }
.tp-big:hover { transform: translate(-3px, -3px); box-shadow: 13px 13px 0 var(--c2); }
.tp-big img { width: 100%; height: auto; }
.tp-how { padding: 60px 0 20px; }
.tp-how h2, .tp-more h2 { margin: 0 0 22px; font-size: 28px; letter-spacing: -0.035em; }
.tp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tp-steps li { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--card); }
.tp-steps b { font-size: 17px; }
.tp-steps small { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.tp-more { padding: 50px 0 80px; }
.tp-why { padding: 50px 0 10px; }
.tp-why-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tp-why h2 { margin: 0 0 16px; font-size: 28px; letter-spacing: -0.035em; }
.tp-why p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.tp-faq { padding-top: 50px; }
@media (max-width: 760px) { .tp-why-in { grid-template-columns: 1fr; gap: 28px; } }
.tp-class-head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 22px; }
.tp-class-head h2 { margin: 0 !important; }
.tp-time { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.tp-steps-4 { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.tp-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c2); color: #fff; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.tp-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.tp-meta h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tp-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tp-pills span, .tp-pills a { padding: 6px 12px; border: 1.5px solid var(--ink); border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--card); text-decoration: none; }
.tp-pills a { border-color: var(--c2); color: var(--c2); }
.tp-pills a:hover { background: color-mix(in srgb, var(--c2) 10%, var(--card)); }
.tp-tip { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--c2) 9%, transparent); font-size: 15px; }
.tp-tip .i { color: var(--c2); flex: none; }
@media (max-width: 1000px) { .tp-steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tp-steps-4, .tp-meta { grid-template-columns: minmax(0, 1fr); } }
.tp-more-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.tp-more-head a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: none; font-weight: 600; color: var(--c-text); text-decoration: none; }
@media (max-width: 860px) {
  .tp-hero-in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .tp-steps { grid-template-columns: minmax(0, 1fr); }
  .tp-filters { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .tp-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 8px; width: calc(100% + 32px); max-width: none; scrollbar-width: none; }
  .tp-chips.more { mask-image: none; -webkit-mask-image: none; }
  .tp-chips button { flex: none; }
  .tp-own-in { padding: 24px; }
}
.home-faq { padding-bottom: 80px; }

/* ---- platforms page: four white-label points, the brand card, code comments */
.why-grid.ws-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .why-grid.ws-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why-grid.ws-four { grid-template-columns: none; } } /* phones swipe these sideways like every other card row */
.e-code .c { color: #8b8fa3; }
.ws-brandcard { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 20px; background: var(--card); box-shadow: 10px 10px 0 var(--c2, var(--c)); }
.ws-bc-top { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: #7c3aed; color: #fff; }
.ws-bc-top b { flex: 1; font-size: 17px; }
.ws-bc-logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: #7c3aed; font-weight: 800; }
.ws-bc-live { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.2); font-size: 12.5px; font-weight: 700; }
.ws-bc-row { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14.5px; }
.ws-bc-row span { flex: 1; color: var(--muted); font-weight: 600; }
.ws-bc-row i { width: 22px; height: 22px; border-radius: 50%; }
.ws-bc-row code { padding: 4px 9px; border-radius: 8px; background: var(--soft, rgba(0, 0, 0, 0.05)); font: 600 13px/1.2 ui-monospace, Menlo, monospace; }
.ws-talk { margin: 14px 0 0; font-size: 14px; opacity: 0.8; }
.ws-talk a { color: inherit; font-weight: 700; text-decoration: underline; }
.ws-cta-side { display: flex; flex-direction: column; align-items: center; gap: 0; }

/* Websites page: the brand switcher (one class page, re-skinned) */
.ws-sw { display: flex; flex-direction: column; gap: 14px; padding: 0; border: 0; background: none; box-shadow: none; }
.ws-sw-win { --b: #7c3aed; border: 1.5px solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: 10px 10px 0 var(--b); transition: box-shadow 0.45s ease; }
.ws-sw-win .ws-url b { color: var(--ink); font-weight: 700; }
.ws-sw-page { background: var(--paper); }
.ws-sw-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--b); color: #fff; transition: background 0.45s ease; }
.ws-sw-top b { flex: 1; font-size: 16px; letter-spacing: -0.01em; }
.ws-sw-logo { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #fff; color: var(--b); font-weight: 800; transition: color 0.45s ease; }
.ws-sw-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.2); font-size: 12px; font-weight: 700; }
.ws-sw-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: wsPulse 1.6s ease-in-out infinite; }
@keyframes wsPulse { 50% { opacity: 0.35; } }
.ws-sw-join { display: flex; flex-direction: column; gap: 10px; max-width: 300px; margin: 26px auto 30px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-align: center; }
.ws-sw-join h4 { margin: 0; font-size: 19px; letter-spacing: -0.02em; }
.ws-sw-join p { margin: -4px 0 4px; color: var(--muted); font-size: 13px; }
.ws-sw-field { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: 14px; font-weight: 600; text-align: left; }
.ws-sw-field svg { color: var(--muted); }
.ws-sw-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border-radius: 10px; background: var(--b); color: #fff; font-weight: 700; font-size: 14.5px; transition: background 0.45s ease; }
.ws-sw-join small { display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--muted); font-size: 12px; }
.ws-sw-join small svg { color: #2b8a3e; }
.ws-sw-win.swap .ws-sw-top b, .ws-sw-win.swap .ws-sw-logo, .ws-sw-win.swap .ws-url b { animation: wsSwap 0.45s ease; }
@keyframes wsSwap { from { opacity: 0; transform: translateY(4px); } }
.ws-sw-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ws-sw-pick button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 9px; border: 1.5px solid var(--line); border-radius: 99px; background: var(--card); color: var(--ink); font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; transition: border-color 0.2s; }
.ws-sw-pick button i { width: 14px; height: 14px; border-radius: 50%; }
.ws-sw-pick button[aria-pressed="true"] { border-color: var(--ink); }

/* Websites page: three steps, each with a small picture of itself */
.ws-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ws-steps li { position: relative; display: flex; flex-direction: column; padding: 14px 14px 24px; border: 1.5px solid var(--ink); border-radius: 22px; background: var(--card); }
.ws-steps li:not(:last-child)::after { content: ""; position: absolute; top: 72px; right: -23px; width: 22px; border-top: 1.5px dashed var(--ink); }
.ws-steps .n { display: block; margin: 18px 10px 6px; font: italic 400 46px/1 var(--serif); color: var(--c-text); }
.ws-steps h3 { margin: 0 10px 6px; font-size: 21px; letter-spacing: -0.02em; }
.ws-steps p { margin: 0 10px; color: var(--muted); }
.ws-st-vis { display: flex; flex-direction: column; justify-content: center; gap: 10px; height: 118px; padding: 16px; border-radius: 14px; background: var(--paper); background-image: radial-gradient(var(--dotc, rgba(19, 20, 24, 0.1)) 1px, transparent 1.2px); background-size: 16px 16px; }
.ws-v1 { flex-direction: row; flex-wrap: wrap; align-items: center; align-content: center; }
.ws-v-label { width: 100%; font-size: 12px; font-weight: 700; color: var(--muted); }
.ws-v-step { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--card); }
.ws-v-step i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-style: normal; }
.ws-v-step b { width: 30px; text-align: center; font-size: 15px; }
.ws-v-pill { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 99px; background: color-mix(in srgb, var(--c) 16%, var(--card)); color: var(--c-text); font-size: 12.5px; font-weight: 700; }
.ws-v-brand { display: flex; align-items: center; gap: 7px; }
.ws-v-logo { width: 30px; height: 30px; margin-right: 4px; border-radius: 8px; display: grid; place-items: center; background: #7c3aed; color: #fff; font-weight: 800; font-size: 14px; }
.ws-v-brand i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line); }
.ws-v-dns { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 12px; color: var(--muted); }
.ws-v-dns code { padding: 5px 8px; border-radius: 7px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font: 600 11.5px/1 ui-monospace, Menlo, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-v-ok { display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px; border-radius: 99px; background: color-mix(in srgb, #30a46c 18%, var(--card)); color: #2b8a3e; font-weight: 700; white-space: nowrap; }
.ws-v-line { display: flex; align-items: center; gap: 7px; width: max-content; max-width: 100%; padding: 7px 11px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.ws-v-line em { font-style: normal; font-weight: 500; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.ws-v-out svg { color: var(--c-text); }
.ws-v-in { align-self: flex-end; }
.ws-v-in svg { color: #2b8a3e; }

/* Websites page: questions beside the price */
.ws-faq { padding: 90px 0 20px; }
.ws-faq-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.ws-faq-side { position: sticky; top: 90px; }
.ws-faq h2 { margin: 0 0 28px; }
.ws-price { padding: 26px; border: 1.5px solid var(--ink); border-radius: 22px; background: var(--card); box-shadow: 8px 8px 0 var(--c); }
.ws-price-n { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.ws-price-n b { font-size: 54px; line-height: 1; letter-spacing: -0.04em; }
.ws-price-n span { color: var(--muted); font-size: 14px; line-height: 1.3; font-weight: 600; white-space: nowrap; }
.ws-price-y { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -6px 0 16px; color: var(--muted); font-size: 14px; font-weight: 600; }
.ws-save { padding: 3px 9px; border-radius: 99px; background: color-mix(in srgb, var(--c) 14%, var(--card)); color: var(--c-text); font-size: 12.5px; font-weight: 700; font-style: normal; white-space: nowrap; }
.ws-price ul { list-style: none; margin: 0 0 20px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-weight: 600; font-size: 14.5px; }
.ws-price li { display: flex; align-items: center; gap: 8px; }
.ws-price li svg { color: var(--c-text); flex: none; }
.ws-price .btn { width: 100%; justify-content: center; }
.ws-price-talk { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 13.5px; }
.ws-price-talk a { color: var(--ink); font-weight: 700; }
.ws-qs { border-top: 1.5px solid var(--ink); }
.ws-qs .ws-q { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.ws-qs .ws-q summary { padding: 22px 2px; font-size: 18px; letter-spacing: -0.01em; }
.ws-q-i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--ink); border-radius: 50%; transition: transform 0.2s, background 0.2s, color 0.2s; }
.ws-q[open] .ws-q-i { transform: rotate(45deg); background: var(--ink); color: var(--bg); }
.ws-qs .ws-q p { padding: 0 52px 22px 2px; font-size: 15.5px; line-height: 1.6; }

/* Websites page: the closing banner */
.ws-cta-text { position: relative; }
.ws-cta-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; font-size: 14.5px; font-weight: 600; color: color-mix(in srgb, var(--bg) 78%, transparent); }
.ws-cta-facts span { display: inline-flex; align-items: center; gap: 6px; }
.ws-cta-facts svg { color: color-mix(in oklab, var(--c) 72%, var(--bg)); }
.ws-cta-side .ws-talk { position: relative; }

@media (max-width: 900px) {
  .ws-steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ws-steps li:not(:last-child)::after { top: auto; bottom: -17px; right: auto; left: 50%; width: 0; height: 16px; border-top: 0; border-left: 1.5px dashed var(--ink); }
  .ws-faq-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ws-faq-side { position: static; }
  .ws-qs .ws-q summary { font-size: 16.5px; }
  .ws-qs .ws-q p { padding-right: 2px; }
  .ws-sw-win { box-shadow: 7px 7px 0 var(--b); }
}
.ws-q-i svg { transform: none !important; }
.ft-demo.fx-demo.ws-sw { padding: 0; border: 0; background: none; box-shadow: none; overflow: visible; }
.ws-v-line { font-family: inherit; }
/* the hero's video button and its player */
.hero-video { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 0; border: 0; background: none; color: var(--ink); font: 600 15px/1 inherit; font-family: inherit; cursor: pointer; }
.hero-video .hv-play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--ink); transition: transform 0.15s; }
.hero-video .hv-play svg { fill: currentColor; margin-left: 2px; }
.hero-video:hover .hv-play { transform: scale(1.08); }
.hero-video small { font-size: 13px; font-weight: 500; color: var(--muted); }
.video-pop { width: min(1100px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; }
.video-pop::backdrop { background: rgba(10, 10, 14, 0.82); }
.video-pop video { display: block; width: 100%; height: auto; border-radius: 16px; }
.vp-close { position: absolute; top: -48px; right: 0; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; }
.vp-close:hover { background: rgba(255, 255, 255, 0.24); }

/* Features <-> Compare links */
.ft-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.ft .more.ft-vs { color: var(--muted); font-weight: 600; }
.ft .more.ft-vs:hover { color: var(--ink); }
.cp-more { margin: -8px 0 30px; font-size: 14.5px; color: var(--c-text); }

/* Ask AI: its own section, demo on the left */
.ask-sec { padding-top: 96px; }
.ask-in { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.ask-sec .story-more { margin-top: 24px; }
.ak { padding: 18px; border: 1.5px solid var(--ink); border-radius: 22px; background: var(--card); box-shadow: 8px 8px 0 var(--c); display: grid; gap: 12px; }
/* inside a feature's own framed panel (the features page): one frame, not a card in a card */
.fx-demo > .ak { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.ak-page { padding: 14px 16px; border-radius: 14px; background: var(--paper, #fffefb); border: 1px solid var(--line); display: grid; gap: 4px; }
.ak-page small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.ak-page strong { font-size: 16px; }
.ak-page p { margin: 2px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink); }
.ak-page mark { background: color-mix(in srgb, #f7d54a 55%, transparent); color: inherit; padding: 1px 0; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ak-box { display: flex; align-items: center; gap: 9px; padding: 6px 6px 6px 10px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--c) 45%, var(--line)); background: color-mix(in srgb, var(--c) 5%, var(--card)); }
.ak-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; color: var(--c-text); background: color-mix(in srgb, var(--c) 13%, transparent); }
.ak-typed { flex: 1; min-width: 0; min-height: 1.4em; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-typed::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--c); animation: ak-blink 1s steps(1) infinite; }
@keyframes ak-blink { 50% { opacity: 0; } }
.ak-send { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; background: var(--c); }
.ak-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ak-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 13px/1 var(--display); cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.ak-chip .i { color: var(--c-text); }
.ak-chip:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
.ak-chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--card); }
.ak-chip[aria-selected="true"] .i { color: inherit; }
.ak-card { min-height: 170px; padding: 12px 16px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 2px 6px rgba(20, 20, 30, 0.06), 0 14px 34px rgba(20, 20, 30, 0.12); opacity: 0; transform: translateY(8px); transition: opacity 0.25s, transform 0.25s; }
.ak-card.in { opacity: 1; transform: none; }
.ak-h { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font-size: 14.5px; }
.ak-h small { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ak-body { font-size: 14.5px; line-height: 1.5; }
.ak-body ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.ak-body li::marker { color: var(--c); }
.ak-play { list-style: none; padding-left: 0 !important; }
.ak-q { margin: 0 0 8px; font-weight: 600; }
.ak-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.ak-opts em { font-style: normal; font-size: 13px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.ak-opts em.ok { color: #166534; font-weight: 600; border-color: color-mix(in srgb, #16a34a 45%, transparent); background: color-mix(in srgb, #16a34a 10%, transparent); }
.ak-more { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
:root[data-theme="dark"] .ak-opts em.ok { color: #4ade80; }
:root[data-theme="dark"] .ak-page mark { background: color-mix(in srgb, #f7d54a 30%, transparent); }
@media (max-width: 900px) {
  .ask-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ask-in > .ak { order: 2; }
}
@media (prefers-reduced-motion: reduce) { .ak-typed::after { animation: none; } .ak-card { transition: none; } }
/* the story carries three classroom moves and its links (it replaced three sections that said the same) */
.story-moves { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.story-moves li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--muted); }
.story-moves li > span:last-child { display: grid; gap: 2px; }
.story-moves b { color: var(--ink); font-size: 15.5px; }
.story-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.home-faq-g { margin: -6px 0 18px; color: var(--muted); font-size: 15.5px; }
.home-faq-g a { color: var(--c-text); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.home-faq-g a:hover { text-decoration: underline; }
/* /tools/: every tool, by subject */
.tl-sec { padding: 56px 0 8px; }
.tl-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.tl-head .fx-ic { margin: 0; flex: none; }
.tl-head h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.1; }
.tl-head p { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }
.tl-head .more { margin-left: auto; white-space: nowrap; color: color-mix(in oklab, var(--c2) 66%, var(--ink)); font-size: 14.5px; }
.tl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tl-grid li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.tl-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: color-mix(in oklab, var(--c2) 85%, var(--ink)); background: color-mix(in srgb, var(--c2) 13%, var(--card)); }
.tl-grid strong { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15.5px; margin-bottom: 2px; }
.tl-grid li[hidden], .tl-sec[hidden] { display: none; }
.tl-grid li:has(.tl-go) { padding: 0; }
.tl-go { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 16px; border-radius: 16px; color: inherit; text-decoration: none; }
.tl-grid li:has(.tl-go):hover { border-color: var(--ink); }
.tl-grid strong em { display: inline-block; white-space: nowrap; margin-left: 0; padding: 2px 8px; border-radius: 99px; font-style: normal; font-size: 12px; font-weight: 600; vertical-align: 2px; color: color-mix(in oklab, var(--c2) 85%, var(--ink)); background: color-mix(in srgb, var(--c2) 13%, var(--card)); }
.tl-grid li span:not(.tl-ic) { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; }
.tl-sec + .cta2 { margin-top: 64px; }
@media (max-width: 640px) {
  .tl-sec { padding-top: 44px; }
  .tl-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; }
  .tl-head .more { grid-column: 2; margin-left: 0; }
  .tl-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  /* every card stacks the same way, with or without a Try it page */
  .tl-grid li, .tl-go { flex-direction: column; gap: 10px; }
  .tl-grid li:not(:has(.tl-go)), .tl-go { padding: 14px; }
  .tl-grid strong { overflow-wrap: anywhere; }
  .tl-grid li span:not(.tl-ic) { font-size: 13.5px; }
}
/* landing and alternatives pages */
.lp-hero-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.lp-hero h1 { font-size: clamp(38px, 4.6vw, 62px); }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 14px; }
.lp-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0; color: var(--muted); font-size: 14px; }
.lp-note .i { color: var(--c-text); }
.lp-shot { margin: 0; }
.lp-more, .alt-why, .alt-move, .alt-about { padding-top: 72px; }
.alt-about p { max-width: 760px; margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.alt-about p + p { margin-top: 14px; }
.lp-more h2, .alt-why h2, .alt-move h2, .alt-about h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; margin: 0 0 22px; }
.lp-links { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-links a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.lp-links a:hover { border-color: var(--ink); }
.lp-links .fx-ic { width: 30px; height: 30px; border-radius: 9px; margin: 0; }
.alt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.alt-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--ink); text-decoration: none; }
.alt-card:hover { border-color: var(--ink); }
.alt-card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.02em; }
.alt-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.alt-card .more { margin-top: auto; font-size: 14.5px; color: var(--c-text); }
.alt-all { margin: 22px 0 0; color: var(--muted); }
.alt-move ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 16.5px; }
.alt-move p { color: var(--muted); }
.alt-note { margin: 26px 0 0; color: var(--muted); font-size: 13px; }
/* a quiet side link next to the big button */
.ro-more { margin-left: 18px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: underline dashed; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ro-more:hover { color: var(--ink); }
.lp-more + .cta2, .alt-why + .cta2 { margin-top: 72px; }
@media (max-width: 900px) { .lp-hero-in { grid-template-columns: 1fr; gap: 32px; } }
.lp-note span { display: inline-flex; align-items: center; gap: 6px; }

/* ---- a free tool page (/tools/<slug>/): the tool itself, working, then how to use it -------- */
.tw-hero { padding-bottom: 44px; }
.tw-hero .eyebrow a { color: inherit; text-decoration: none; }
.tw-hero .lead { max-width: 640px; }
.tw-stage { margin-top: 30px; }
.tw-frame { display: block; width: 100%; max-width: var(--fw); aspect-ratio: var(--fr); height: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.tw-bar { max-width: max(var(--fw), 540px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.tw-bar .btn svg { flex: none; }
.tw-free { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 500; }
.tw-free svg { color: var(--c-text); }
.tw-how, .tw-uses { padding-top: 64px; }
.tw-how h2, .tw-uses h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; margin: 0 0 22px; }
.tw-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tw-steps li { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.tw-n { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--c); }
.tw-steps strong { display: block; font-size: 16px; margin-top: 4px; }
.tw-steps p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.tw-uses ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.tw-uses li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; }
.tw-uses li svg { flex: none; margin-top: 3px; color: var(--c-text); }
.tw-board { margin: 26px 0 0; color: var(--muted); font-size: 15px; }
.tw-board a { color: var(--c-text); font-weight: 600; }
@media (max-width: 760px) {
  .tw-frame { border-radius: 16px; }
  /* a tool with a panel or a window needs the height on a phone */
  .tw-stage[data-tall] .tw-frame { aspect-ratio: auto; height: var(--ph); }
  .tw-free { margin-left: 0; width: 100%; }
  .tw-steps, .tw-uses ul { grid-template-columns: 1fr; }
}

/* ---- any file as one card with pages (features) ---- */
.fc { display: grid; gap: 12px; }
.fc-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-kinds button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 600 13px/1 var(--display); cursor: pointer; }
.fc-kinds button[aria-pressed="true"] { background: color-mix(in oklab, var(--c2) 82%, #000); border-color: transparent; color: #fff; }
.fc-card { border: 1.5px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--paper); background-image: radial-gradient(var(--dotc) 1px, transparent 1.2px); background-size: 18px 18px; }
.fc-card[hidden] { display: none; }
.fc-stage { height: 340px; display: grid; place-items: center; padding: 18px; }
.fc-page { position: relative; height: 100%; aspect-ratio: 0.74; container-type: inline-size; background: #fff; color: #1f2329; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.1); overflow: hidden; font-family: Arial, Helvetica, sans-serif; }
.fc-page[hidden] { display: none; }
.fc-in { position: absolute; inset: 0; padding: 9cqw; display: flex; flex-direction: column; gap: 3.2cqw; }
.fc-slides .fc-page, .fc-sheet .fc-page, .fc-photos .fc-page { height: auto; width: 100%; max-height: 100%; }
.fc-slides .fc-page { aspect-ratio: 16 / 9; }
.fc-slides .fc-in { padding: 6cqw 7cqw; justify-content: center; gap: 2.4cqw; }
.fc-sheet .fc-page { aspect-ratio: 1.5; }
.fc-sheet .fc-in { padding: 0; gap: 0; }
.fc-photos .fc-page { aspect-ratio: 4 / 3; }
.fc-photos .fc-in { padding: 0; }
.fc-blank { display: block; flex: none; height: 0; border-bottom: 1px solid #b9bdc6; margin: 3.5cqw 0 1cqw; }
/* PDF: a reading worksheet */
.pd-top { display: flex; justify-content: space-between; padding-bottom: 2.6cqw; border-bottom: 2px solid #0b7285; font-size: 5cqw; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #0b7285; }
.pd-h { font-size: 9.5cqw; line-height: 1.1; margin-top: 1cqw; }
.pd-pic { display: grid; place-items: center; flex: none; height: 30cqw; border-radius: 3cqw; background: linear-gradient(135deg, #e3fafc, #fff3bf); color: #0b7285; }
.pd-pic .i { width: 13cqw; height: 13cqw; }
.pd-p { font-size: 6.3cqw; line-height: 1.45; color: #343a40; }
.pd-q { display: flex; gap: 2.4cqw; align-items: baseline; margin-top: 2cqw; font-size: 6.6cqw; font-weight: 700; }
.pd-q b { display: inline-grid; place-items: center; flex: none; width: 7cqw; height: 7cqw; border-radius: 50%; background: #0b7285; color: #fff; font-size: 4.4cqw; }
.pd-w { display: flex; flex-direction: column; gap: 1cqw; font-size: 5.8cqw; color: #495057; padding: 1.6cqw 0; border-bottom: 1px dashed #dee2e6; }
.pd-w em { align-self: flex-start; font-style: normal; font-weight: 700; color: #1f2329; font-size: 6.6cqw; padding: 0.6cqw 2.4cqw; border-radius: 1.6cqw; }
/* Word: a homework sheet */
.wd-h { font-size: 9.5cqw; color: #1c5fb8; font-family: Georgia, "Times New Roman", serif; padding-bottom: 2cqw; border-bottom: 1px solid #a5c8f0; }
.wd-meta { display: flex; align-items: flex-end; gap: 2cqw; font-size: 5.4cqw; color: #495057; }
.wd-meta .fc-blank { margin: 0 2cqw 0.8cqw 0; }
.wd-q { font-size: 6.4cqw; font-weight: 700; margin-top: 1.6cqw; }
.wd-p { font-size: 6.2cqw; color: #343a40; line-height: 1.6; }
.wd-gap { display: inline-block; width: 18cqw; border-bottom: 1px solid #868e96; }
.wd-tab { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #ced4da; font-size: 6cqw; }
.wd-tab span { padding: 1.4cqw 3cqw; border-bottom: 1px solid #ced4da; }
.wd-tab span:nth-child(odd) { background: #f1f6fd; border-right: 1px solid #ced4da; font-weight: 700; }
.wd-tab span:nth-last-child(-n + 2) { border-bottom: 0; }
.wd-box { display: flex; gap: 2cqw; align-items: center; margin-top: auto; padding: 3cqw; border-radius: 2cqw; background: #f1f6fd; color: #1c5fb8; font-size: 5.6cqw; font-weight: 700; }
.wd-box .i { flex: none; width: 5.6cqw; height: 5.6cqw; }
/* Slides */
.sl-cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 1.4cqw; padding: 0 8cqw; overflow: hidden; color: #fff; background: linear-gradient(135deg, #364fc7, #1c7ed6 60%, #22b8cf); }
.sl-cover.warm { background: linear-gradient(135deg, #e8590c, #f59f00); align-items: center; text-align: center; }
.sl-cover small { font-size: 2.6cqw; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.sl-cover b { position: relative; font-size: 11cqw; line-height: 1; letter-spacing: -0.02em; }
.sl-cover > span:last-child { position: relative; font-size: 3.8cqw; opacity: 0.9; }
.sl-cover .i { position: relative; width: 8cqw; height: 8cqw; fill: #fff; }
.sl-ring { position: absolute; border-radius: 50%; border: 3cqw solid rgba(255, 255, 255, 0.14); }
.sl-ring.a { width: 52cqw; aspect-ratio: 1; right: -14cqw; top: -20cqw; }
.sl-ring.b { width: 26cqw; aspect-ratio: 1; right: 20cqw; bottom: -14cqw; border-width: 2cqw; }
.sl-two { display: grid; grid-template-columns: 1.25fr 1fr; gap: 5cqw; align-items: center; }
.sl-two > span { display: flex; flex-direction: column; gap: 2cqw; }
.sl-t { font-size: 5.6cqw; color: #364fc7; line-height: 1.1; }
.sl-t.c { text-align: center; }
.sl-p { font-size: 3.8cqw; color: #495057; padding-left: 3cqw; border-left: 0.8cqw solid #74c0fc; }
.sl-tiles { flex-direction: row !important; gap: 2cqw !important; }
.sl-tiles span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1.4cqw; padding: 3cqw 0; border-radius: 2.4cqw; }
.sl-tiles .i { width: 5cqw; height: 5cqw; }
.sl-tiles b { font-size: 3.2cqw; }
.sl-say { font-size: 7cqw; text-align: center; margin: 2cqw 0; }
.sl-opts { display: flex; justify-content: center; gap: 2.4cqw; }
.sl-opts span { font-size: 3.6cqw; font-weight: 700; padding: 1.4cqw 4cqw; border-radius: 99px; background: #edf2ff; color: #364fc7; }
/* Excel */
.xs-grid { display: grid; grid-template-columns: 6cqw 1.5fr 1fr 1fr 1fr; flex: 1; min-height: 0; overflow: hidden; font-size: 3.4cqw; align-content: start; }
.xs-c { padding: 1.1cqw 2cqw; border-right: 1px solid #e3e6ea; border-bottom: 1px solid #e3e6ea; white-space: nowrap; }
.xs-c.xs-n { text-align: right; font-variant-numeric: tabular-nums; }
.xs-corner, .xs-col, .xs-row { background: #f3f4f6; color: #6b7280; font-size: 2.8cqw; text-align: center; padding: 1cqw; }
.xs-col.on { background: #d3f9d8; color: #2b8a3e; font-weight: 700; box-shadow: inset 0 -2px 0 #2b8a3e; }
.xs-head { font-weight: 700; background: #ebfbee; color: #2b8a3e; }
.xs-c:nth-child(5n) { background-color: #f4fcf5; }
.xs-c.xs-col:nth-child(5n), .xs-c.xs-head:nth-child(5n) { background-color: #d3f9d8; }
.xs-tabs { display: flex; gap: 1cqw; padding: 0 2cqw; border-top: 1px solid #e3e6ea; background: #f3f4f6; font-size: 2.8cqw; color: #6b7280; }
.xs-tabs span { padding: 1.4cqw 3cqw; }
.xs-tabs span.on { background: #fff; color: #2b8a3e; font-weight: 700; box-shadow: inset 0 2px 0 #2b8a3e; }
.xs-chart { flex: 1; display: flex; flex-direction: column; gap: 3cqw; padding: 5cqw 7cqw 3cqw; }
.xs-chart > b { font-size: 4cqw; }
.xs-bars { flex: 1; display: flex; align-items: flex-end; gap: 5cqw; border-bottom: 1px solid #ced4da; margin-bottom: 5cqw; }
.xs-bars span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.xs-bars i { display: block; border-radius: 1.4cqw 1.4cqw 0 0; background: linear-gradient(#51cf66, #2f9e44); }
.xs-bars small { position: absolute; top: 100%; left: 0; right: 0; text-align: center; font-size: 2.8cqw; color: #6b7280; padding-top: 1cqw; }
/* Photos */
.fc-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fc-bar { display: flex; align-items: center; gap: 4px; padding: 7px 10px; border-top: 1.5px solid var(--ink); background: var(--card); }
.fc-name { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; min-width: 0; font: 600 13px/1 var(--display); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-bar button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.fc-bar button:disabled { opacity: 0.4; cursor: default; }
.fc-bar b { min-width: 52px; text-align: center; font: 700 13px/1 var(--display); font-variant-numeric: tabular-nums; }
.fc-tip { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .fc-stage { height: 310px; padding: 14px; } }
.bento .fc-stage { height: 200px; padding: 14px; }
.bento .fc-kinds button { height: 28px; padding: 0 9px; font-size: 12px; }

/* the demo board in a narrow column (the features page), not only on a phone: one widget, two notes */
.b-paper { container-type: inline-size; }
@container (max-width: 520px) {
  .scene { grid-template-columns: minmax(0, 1fr); padding: 16px; align-content: center; }
  .scene .side { display: none; }
  .stickies { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stickies .sticky:nth-child(3) { display: none; }
}
.b-top { container-type: inline-size; }
@container (max-width: 520px) { .b-live b { display: none; } }

/* ---- Record tutorials: a 16:9 board being recorded, the notes beside it ---- */
/* share a board: the link, its role, and people joining with their pointers */
.shr { display: grid; gap: 10px; width: 100%; max-width: 400px; }
.shr-board { position: relative; aspect-ratio: 16 / 9; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--card); overflow: hidden; background-image: radial-gradient(var(--line) 1px, transparent 1.4px); background-size: 14px 14px; }
.shr-faces { position: absolute; top: 7px; right: 8px; display: flex; }
.shr-faces i { width: 24px; height: 24px; margin-left: -6px; border-radius: 50%; display: grid; place-items: center; font: 700 10px/1 var(--display); font-style: normal; color: #fff; background: var(--c, #12a594); border: 2px solid var(--card); animation: shr-in 0.35s both; }
.shr-faces i.me { width: auto; margin-left: 0; padding: 0 8px; border-radius: 99px; background: var(--ink); color: var(--card); }
@keyframes shr-in { from { transform: scale(0.4); opacity: 0; } }
.shr-note { position: absolute; width: 74px; padding: 7px 8px; border-radius: 6px; background: #ffe066; color: #3d3200; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12); display: grid; gap: 4px; }
.shr-note b { font: 700 11px/1 var(--display); }
.shr-note span { height: 4px; border-radius: 2px; background: rgba(61, 50, 0, 0.25); }
.shr-note span + span { width: 70%; }
.shr-note.n1 { left: 14%; top: 26%; transform: rotate(-3deg); }
.shr-note.n2 { left: 52%; top: 46%; transform: rotate(2deg); background: #c3fae8; color: #0b4f3f; opacity: 0; transition: opacity 0.4s; }
.shr-note.n2 span { background: rgba(11, 79, 63, 0.25); }
.shr.joined .shr-note.n2 { opacity: 1; }
.shr-ptr { position: absolute; display: flex; align-items: flex-start; gap: 1px; color: var(--c); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.shr-ptr svg { fill: currentColor; stroke: var(--card); stroke-width: 1.5; }
.shr-ptr em { margin-top: 12px; padding: 2px 6px; border-radius: 99px; background: var(--c); color: #fff; font: 700 10px/1.2 var(--display); font-style: normal; }
.shr-ptr.p1 { --c: #e8590c; left: 30%; top: 52%; }
.shr-ptr.p2 { --c: #7048e8; left: 62%; top: 20%; }
.shr-ptr.on { opacity: 1; }
.shr-ptr.p1.on { animation: shr-p1 5s ease-in-out infinite; }
.shr-ptr.p2.on { animation: shr-p2 6s ease-in-out infinite; }
@keyframes shr-p1 { 0%, 100% { transform: none; } 40% { transform: translate(34px, -16px); } 70% { transform: translate(12px, 10px); } }
@keyframes shr-p2 { 0%, 100% { transform: none; } 35% { transform: translate(-30px, 34px); } 65% { transform: translate(-8px, 20px); } }
.shr-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.shr-who { flex-basis: 100%; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; }
.shr-bar .w-btn { flex: 1; }
.shr-role { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.shr-role span { display: inline-flex; }
.shr-role:hover { border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .shr-ptr.on { animation: none; } }
.rc { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; max-width: 400px; align-items: start; }
.rc .wt-tip { grid-column: 1 / -1; }
.rc-frame { position: relative; aspect-ratio: 16 / 9; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--card); overflow: hidden; background-image: radial-gradient(var(--line) 1px, transparent 1.2px); background-size: 12px 12px; }
.rc-board { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 30px 10px 10px; }
.rc-it { opacity: 0; transform: translateY(4px); transition: opacity 0.35s, transform 0.35s; }
.rc-frame.s1 .rc-1, .rc-frame.s2 .rc-1, .rc-frame.s2 .rc-2, .rc-frame.s3 .rc-1, .rc-frame.s3 .rc-2, .rc-frame.s3 .rc-3 { opacity: 1; transform: none; }
.rc-1 { font: 400 17px/1.1 var(--serif); }
.rc-q { font: 700 13px/1 var(--display); color: color-mix(in oklab, #7048e8 80%, var(--ink)); }
.rc-bars { display: grid; gap: 4px; width: 110px; }
.rc-bars span { display: grid; grid-template-columns: repeat(var(--n), 1fr); height: 14px; border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; }
.rc-bars i + i { border-left: 1.5px solid var(--ink); }
.rc-bars i.on { background: color-mix(in srgb, #e03131 30%, var(--card)); }
.rc-pill { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); display: none; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font: 600 11px/1 var(--display); font-variant-numeric: tabular-nums; }
.rc-pill i { width: 7px; height: 7px; border-radius: 50%; background: #e03131; animation: rc-blink 1.2s infinite; }
.rc.on .rc-pill { display: inline-flex; }
@keyframes rc-blink { 50% { opacity: 0.35; } }
.rc-cam { position: absolute; right: 8px; bottom: 8px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, #e03131 18%, var(--card)); color: color-mix(in oklab, #e03131 70%, var(--ink)); border: 2px solid var(--card); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.rc-side { display: grid; gap: 8px; min-width: 0; }
.rc-now { margin: 0; display: grid; gap: 2px; min-height: 44px; }
.rc-now small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.rc-now b { font: 600 14px/1.25 var(--display); }
.rc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; line-height: 1.3; }
.rc-steps li { display: flex; align-items: flex-start; gap: 6px; padding: 5px 6px; border-radius: 8px; transition: background 0.2s, opacity 0.2s; }
.rc-steps li i { flex: none; width: 12px; height: 12px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--muted); }
.rc-steps li.now { background: color-mix(in srgb, #e03131 10%, var(--card)); }
.rc-steps li.now i { border-color: #e03131; }
.rc-steps li.done { opacity: 0.55; }
.rc-steps li.done i { background: #2b8a3e; border-color: #2b8a3e; }
.rc-steps em { flex: none; font-style: normal; font-size: 9.5px; font-weight: 700; text-transform: uppercase; padding: 2px 5px; border-radius: 4px; background: var(--line); }
.rc-steps em.s { background: color-mix(in srgb, #2b8a3e 18%, var(--card)); color: color-mix(in oklab, #2b8a3e 80%, var(--ink)); }
.rc-steps em.q { background: color-mix(in srgb, #7048e8 18%, var(--card)); color: color-mix(in oklab, #7048e8 80%, var(--ink)); }
.rc-dot { width: 8px; height: 8px; border-radius: 50%; background: #e03131; }
.rc.on .rc-dot { display: none; }
.fx:not(.wide) .rc-steps { display: none; }
.ft-demo.fx-demo > .tb-demo { max-width: none; }
.fx-demo .tb-ipad { box-shadow: 6px 6px 0 color-mix(in srgb, var(--ink) 18%, transparent); }
.ft-demo.fx-demo:has(.tb-demo) { padding: 26px 22px; }
.bento .fx.full { grid-column: 1 / -1; }
/* the subject buttons under both, and in a home card one student's screen is enough */
.tb-demo > .tb-subs { grid-column: 1 / -1; }
.fx-demo > .tb-demo { max-width: none; }
.bento .tb-demo { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; }
.bento .tb-scr + .tb-scr { display: none; }
.bento .tb-subs button { padding: 0 8px; font-size: 11.5px; }
.bento .tb-pill > span, .bento .tb-cap { display: none; }

/* platform page: section headings the size of every other section heading on the site (as .why h2) */
.ws-sec h2, .ws-faq h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.04em; }

/* answers: /answers/ list and each answer page */
.an-list { display: grid; gap: 8px; }
.an-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; padding: 16px 20px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line, color-mix(in oklab, var(--ink) 10%, transparent)); text-decoration: none; color: var(--ink); }
.an-row strong { font-size: 17px; letter-spacing: -0.01em; }
.an-row small { grid-column: 1; font-size: 14.5px; color: var(--muted); margin-top: 3px; }
.an-row svg { grid-row: 1 / span 2; grid-column: 2; color: var(--c2); transition: transform 0.15s; }
.an-row:hover { border-color: var(--c2); }
.an-row:hover svg { transform: translateX(3px); }
.an-row[hidden] { display: none; }
.an-body { grid-template-columns: minmax(0, 1fr) 260px; }
.an-step { grid-template-columns: 52px minmax(0, 1fr); padding-bottom: 26px; }
.an-step .gd-n { font-size: 44px; }
.an-step p { margin: 6px 0 0; color: var(--ink); font-size: 17.5px; line-height: 1.6; }
.an-body .gd-end { margin-top: 10px; padding-left: 60px; }
@media (max-width: 640px) { .an-body .gd-end { padding-left: 0; } }
.an-guide .g2-c { max-width: 460px; }
.an-side ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.an-side ul a { font-weight: 500; font-size: 14.5px; line-height: 1.35; padding: 8px 10px; }
.an-side .an-all { color: var(--ink); gap: 6px; }
@media (max-width: 900px) {
  .an-body { grid-template-columns: minmax(0, 1fr); }
  .an-side > p { display: block; margin-top: 10px; }
  .an-step { grid-template-columns: 40px minmax(0, 1fr); gap: 4px; }
  .an-step .gd-n { font-size: 36px; }
  .an-step p { font-size: 16.5px; }
  .an-row { padding: 14px 16px; }
}
