/* The LessonScreen website: home, features and guides. The app has its own styles. */
/* no grey box on a tapped link or button on iPhone (the app does the same) */
* { -webkit-tap-highlight-color: transparent; }
:root {
  --bg: #f7f5f0;
  --card: #ffffff;
  --ink: #131418;
  --muted: #5f616a;
  --line: rgba(19, 20, 24, 0.11);
  --soft: #eeebe4;
  --accent: #e5484d;
  --c: var(--accent);
  --shadow: 0 1px 2px rgba(20, 20, 30, 0.05), 0 12px 40px rgba(20, 20, 30, 0.09);
  --display: "Instrument Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0c0d10;
  --card: #15161b;
  --ink: #f2f0ea;
  --muted: #9a9ba3;
  --line: rgba(255, 255, 255, 0.1);
  --soft: #1b1c22;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 40px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}
.theme-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.theme-btn:hover { background: var(--soft); }
.theme-btn .sun, :root[data-theme="dark"] .theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.6 "Instrument Sans", system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.i { flex-shrink: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: 14.5px; text-decoration: none; background: var(--card); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; transition: transform 0.12s, box-shadow 0.12s, background 0.12s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(20, 20, 30, 0.08); }
.btn.primary { background: var(--ink); border-color: transparent; color: var(--bg); }
.btn.primary:hover { box-shadow: 0 10px 26px color-mix(in srgb, var(--c) 35%, transparent); }
.btn.big { height: 50px; padding: 0 22px; border-radius: 14px; font-size: 16px; }
.btn.light { background: #fff; color: var(--ink); }

/* header and footer */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.top nav { display: flex; gap: 4px; margin-right: auto; }
.top nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--muted); white-space: nowrap; }
/* German, Spanish and French words are longer: a tighter menu, and "Join a lesson" goes into the footer below wide screens */
html:not([lang="en"]) .top nav a { padding: 8px 9px; }
@media (max-width: 1240px) { html:not([lang="en"]) .top-join { display: none; } }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); background: var(--soft); }
.logo { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.logo.small { font-size: 16px; }
.mark { width: 36px; height: 36px; flex: none; display: block; }
.logo.small .mark { width: 28px; height: 28px; }
.mk-bg { fill: var(--c); transition: fill .6s; }
.mk-l { fill: none; stroke: #fff; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.mk-dot { fill: #fff; transform-box: fill-box; transform-origin: center; }
.lw { font: 700 21px/1 var(--display); letter-spacing: -0.035em; padding-bottom: 4px; }
.lw-s { position: relative; display: inline-block; }
.lw-s svg { position: absolute; left: 4%; bottom: -7px; width: 94%; height: 9px; overflow: visible; }
.lw-s path { fill: none; stroke: var(--c); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 120; transition: stroke .6s; }
.logo:hover .lw-s path { animation: lwdraw 1.1s cubic-bezier(0.45, 0, 0.25, 1); }
@keyframes lwdraw { from { stroke-dashoffset: 120; } }
.logo.small .lw { font-size: 17px; }
.logo.small .lw-s svg { bottom: -6px; height: 7px; }
.logo.small .lw-s path { stroke-width: 2.6; }
.logo:hover .mk-dot { animation: mkdot .5s ease-out; }
@keyframes mkdot { 40% { transform: translateY(-2px); } }
.foot { margin-top: 40px; padding: 34px 0 48px; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; }
.foot nav a:hover { color: var(--ink); }

/* type */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.25; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: color-mix(in oklab, var(--accent) 70%, var(--ink)); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); margin: 18px 0 0; max-width: 620px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--c, var(--accent)); }
.more:hover { gap: 9px; }
.chip { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 12%, var(--card)); }

/* pictures of the app */
.shot { margin: 0; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; }
.shot.phone { max-width: 300px; border-radius: 28px; border: 6px solid #17181c; }

/* home */
.hero { padding: 40px 0 30px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.hero h1 { max-width: 620px; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.hero-shot { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; width: 112%; }
.subjects { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 54px; }
.subjects span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.subjects .i { color: color-mix(in oklab, var(--c) 70%, var(--ink)); }
.feature { padding: 70px 0; }
.feature-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature-text h2 { margin-top: 18px; }
.feature-text > p { font-size: 18px; color: var(--muted); margin: 14px 0 0; }
.ticks { list-style: none; padding: 0; margin: 22px 0 22px; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.ticks .i { margin-top: 4px; color: var(--c, var(--accent)); }
.steps-band { padding: 80px 0; background: var(--card); border-block: 1px solid var(--line); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.three p { color: var(--muted); margin: 8px 0 0; }
.num { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: var(--accent); color: #fff; font: 700 17px/1 var(--display); }
.who { padding: 80px 0 40px; }
.cards .card { padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.cards .card h3 { margin-top: 16px; }
.guides-band { padding: 50px 0 40px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform 0.12s, box-shadow 0.12s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eceae4; border-bottom: 1px solid var(--line); }
.guide-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.guide-thumb.empty { display: grid; place-items: center; color: var(--muted); }
.guide-card-text { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.guide-card-text strong { font: 700 17px/1.25 var(--display); }
.guide-card-text small { font-size: 14px; color: var(--muted); line-height: 1.45; }
.guide-card-text em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cta-band { padding: 40px 0 20px; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px; border-radius: 28px; background: linear-gradient(120deg, #2f6df6, #5b4cf0); color: #fff; }

/* features page */
.page-hero { padding: 56px 0 30px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); max-width: 800px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; }
.jump .i { color: color-mix(in oklab, var(--c) 70%, var(--ink)); }
.fsec { padding: 54px 0; border-top: 1px solid var(--line); }
.fsec-head { display: flex; gap: 18px; align-items: flex-start; }
.fsec-head p { margin: 8px 0 0; font-size: 18px; color: var(--muted); max-width: 680px; }
.fsec-body { display: grid; grid-template-columns: 340px 1fr; gap: 40px; margin: 26px 0 20px; align-items: start; }
.gallery { display: grid; gap: 16px; }
.gallery.n2, .gallery.n3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.gallery.n3 .shot:first-child { grid-column: 1 / -1; }

/* a guide */
.guide { display: grid; grid-template-columns: 230px 1fr; gap: 56px; padding-top: 44px; }
.guide-side { position: sticky; top: 92px; align-self: start; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--ink); }
.guide-side ol { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 2px; }
.guide-side li { counter-increment: s; }
.guide-side li a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-size: 14px; color: var(--muted); }
.guide-side li a::before { content: counter(s); font-weight: 700; color: color-mix(in oklab, var(--accent) 70%, var(--ink)); }
.guide-side li a:hover { background: rgba(23, 24, 28, 0.05); color: var(--ink); }
.guide-main { max-width: 820px; min-width: 0; }
.guide-main h1 { font-size: clamp(34px, 4.6vw, 52px); }
.gstep { margin-top: 50px; }
.gstep-head { display: flex; align-items: center; gap: 14px; }
.gstep-head .num { margin: 0; }
.gstep h2 { font-size: 26px; }
.gstep > p { font-size: 17px; margin: 12px 0 20px; color: #3a3c43; }
.guide-end { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.next { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; }
.next small { color: var(--muted); font-size: 13px; }
.next strong { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; }
.guide-groups h2 { font-size: 24px; margin: 40px 0 16px; }

@media (max-width: 900px) {
  .hero-in, .feature-in, .fsec-body, .guide { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feature-text { order: 0; }
  .hero-shot { transform: none; width: 100%; }
  .three { grid-template-columns: minmax(0, 1fr); }
  .guide-side { position: static; }
  .guide-side ol { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .top-in { gap: 10px; }
  .top nav a { padding: 8px; }
  .top-in > .btn { display: none; }
  .feature { padding: 44px 0; }
  .gallery.n2, .gallery.n3 { grid-template-columns: minmax(0, 1fr); }
  .cta-in { padding: 28px; }
}

/* no scrollbars anywhere: everything still scrolls with the wheel, trackpad, touch and keys */
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
.top-join { font-weight: 600; font-size: 14.5px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.top-join:hover { color: var(--ink); }
@media (max-width: 640px) { .top-join { display: none; } }

/* ---- footer ---- */
.foot2 { margin-top: 60px; padding: 54px 0 34px; border-top: 1px solid var(--line); }
.f2-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; }
.f2-brand p { margin: 14px 0 0; max-width: 380px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.f2-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.f2-cols div { display: flex; flex-direction: column; gap: 10px; }
.f2-cols strong { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.f2-cols a, .f2-legal a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.f2-legal a { font-size: inherit; }
.f2-cols a:hover, .f2-legal a:hover { color: var(--ink); }
.f2-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.f2-legal { display: flex; gap: 18px; }
@media (max-width: 760px) {
  .f2-top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .f2-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* ---- about, contact, terms, privacy ---- */
.lg-hero h1 em { color: color-mix(in oklab, var(--c) 70%, var(--ink)); }
.lg { max-width: 760px; padding-top: 40px; padding-bottom: 20px; font-size: 16.5px; line-height: 1.7; }
.lg h2 { margin: 36px 0 10px; font-size: 24px; letter-spacing: -0.025em; }
.lg ul { padding-left: 20px; display: grid; gap: 8px; }
.lg a { color: color-mix(in oklab, var(--c) 70%, var(--ink)); }
.lg .btn { color: var(--bg); }
.lg-todo { padding: 1px 8px; border-radius: 6px; background: color-mix(in srgb, #f5a524 22%, transparent); font-weight: 600; }
.lg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0; }
.lg-cards.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lg-cards > div { padding: 20px; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--card); }
.lg-cards .fx-ic { background: var(--c); }
.lg-cards h3 { margin: 0 0 4px; font-size: 17px; }
.lg-cards p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 640px) { .lg-cards, .lg-cards.two { grid-template-columns: minmax(0, 1fr); } }
.f2-cols a.f2-ai { display: inline-flex; align-items: center; gap: 6px; }
.f2-cols a.f2-ai svg { color: color-mix(in oklab, var(--c) 70%, var(--ink)); }

/* about: meeting first vs lesson first, and the room-to-screen list */
.lg-vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin: 18px 0 8px; }
.lg-vs > div { padding: 20px; border: 1.5px dashed color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 18px; }
.lg-vs > div.on { border: 1.5px solid var(--ink); background: var(--card); box-shadow: 6px 6px 0 var(--c); }
.lg-vs b { font-size: 17px; }
.lg-vs p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.lg-moves { display: grid; gap: 10px; margin: 18px 0 8px; }
.lg-moves > div { display: grid; grid-template-columns: auto minmax(0, 0.8fr) auto minmax(0, 1.2fr); align-items: center; gap: 14px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); }
.lg-moves .fx-ic { background: var(--c); }
.lg-moves p { margin: 0; font-size: 14.5px; line-height: 1.45; }
.lg-moves small { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.lg-moves b { font-size: 15.5px; }
.lg-moves > div > svg { color: var(--muted); }
@media (max-width: 640px) {
  .lg-vs { grid-template-columns: minmax(0, 1fr); }
  .lg-moves > div { grid-template-columns: auto minmax(0, 1fr); }
  .lg-moves > div > svg { display: none; }
  .lg-moves > div > p:last-child { grid-column: 2; }
}

/* ---- pricing ---- */
.pr-hero h1 em { color: color-mix(in oklab, var(--c) 70%, var(--ink)); }
.pr-plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; max-width: 880px; padding-top: 40px; }
.pr-card { display: flex; flex-direction: column; padding: 28px; border: 1.5px solid var(--ink); border-radius: 24px; background: var(--card); }
.pr-team { max-width: 880px; padding-top: 20px; }
.pr-team-in { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border: 1.5px solid var(--ink); border-radius: 24px; background: var(--card); }
.pr-team-in .fx-ic { flex: none; background: var(--c); }
.pr-team-in > div { flex: 1; min-width: 0; }
.pr-team h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 4px; font-size: 20px; letter-spacing: -0.02em; }
.pr-team h2 span { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pr-team p { margin: 0; color: var(--muted); font-size: 14.5px; }
.pr-team .btn { flex: none; }
@media (max-width: 640px) { .pr-team-in { flex-direction: column; align-items: flex-start; } }
.pr-card.on { box-shadow: 8px 8px 0 var(--c); }
.pr-card h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.pr-card h2 em { padding: 4px 9px; border-radius: 8px; background: var(--c); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.pr-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.pr-price strong { font-size: 46px; letter-spacing: -0.04em; line-height: 1; }
.pr-price span { color: var(--muted); font-weight: 600; }
.pr-sub { margin: 0 0 20px; min-height: 44px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.pr-sub b { color: var(--ink); }
.pr-card .btn { justify-content: center; }
.pr-card ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; font-size: 15px; }
.pr-card li { display: flex; gap: 10px; align-items: flex-start; }
.pr-card li svg { flex: none; margin-top: 2px; color: color-mix(in oklab, var(--c) 70%, var(--ink)); }
.pr-table, .pr-faq { max-width: 880px; }
.wrap.pr-table, .wrap.pr-faq { padding-top: 64px; }
.wrap.pr-team { padding-top: 28px; } /* clear of the Pro card's offset shadow on phones too */ /* .wrap.x: a phone .wrap padding shorthand loads later and would zero it */
@media (max-width: 600px) { .wrap.pr-table, .wrap.pr-faq { padding-top: 44px; } }
.pr-table h2, .pr-faq h2 { margin: 0 0 18px; font-size: 30px; letter-spacing: -0.03em; }
.pr-t { border: 1.5px solid var(--ink); border-radius: 20px; background: var(--card); overflow: hidden; }
.pr-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 120px; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 15px; }
.pr-row > span:not(:first-child) { text-align: center; font-weight: 600; }
.pr-head { border-top: 0; font-weight: 800; }
.pr-head > span:last-child { color: color-mix(in oklab, var(--c) 70%, var(--ink)); }
.pr-g { padding: 16px 20px 6px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pr-y, .pr-n { display: inline-grid; place-items: center; }
.pr-y { color: color-mix(in oklab, var(--c) 70%, var(--ink)); }
.pr-n { color: var(--muted); opacity: 0.6; }
/* every FAQ: a strong rule on top, a round plus that turns into a filled cross when open */
.pr-faq details { border-bottom: 1px solid var(--line); }
.pr-faq details:first-of-type { border-top: 1.5px solid var(--ink); }
.pr-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 2px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.pr-faq summary::-webkit-details-marker { display: none; }
.faq-i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); transition: transform 0.2s, background 0.2s, color 0.2s; }
.pr-faq details[open] .faq-i { transform: rotate(45deg); background: var(--ink); color: var(--bg); }
.pr-faq details p { margin: 0; padding: 0 52px 22px 2px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 640px) { .pr-faq summary { font-size: 16.5px; } .pr-faq details p { padding-right: 2px; } }
.pr-faq a { color: color-mix(in oklab, var(--c) 70%, var(--ink)); }
@media (max-width: 720px) {
  .pr-plans { grid-template-columns: minmax(0, 1fr); }
  .pr-row { grid-template-columns: minmax(0, 1fr) 76px 76px; padding: 12px 14px; font-size: 14px; }
  .pr-sub { min-height: 0; }
}

/* pricing: monthly or yearly on the Pro card */
.pr-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pr-switch { display: flex; padding: 3px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); }
.pr-switch button { height: 30px; padding: 0 13px; border: 0; border-radius: 99px; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.pr-switch button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.pr-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pr-save { padding: 3px 9px; border-radius: 99px; background: color-mix(in srgb, #2f9e44 16%, transparent); color: #1f6e30; font-size: 12.5px; font-weight: 800; }
:root[data-theme="dark"] .pr-save { color: #69db7c; }
.pr-card > h2 { min-height: 38px; }

/* ---- blog ---- */
.bl-feed { margin: 18px 0 0; }
.bl-feed a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.bl-feed a:hover { color: var(--ink); }
.bl-list { padding-top: 34px; display: flex; flex-direction: column; gap: 18px; }
.bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.bl-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1.5px solid var(--ink); border-radius: 22px; background: var(--card); color: var(--ink); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.bl-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--c2); }
.bl-card h3 { margin: 0; font-size: 21px; line-height: 1.2; letter-spacing: -0.025em; }
.bl-card p { margin: 0; flex: 1; color: var(--muted); font-size: 15px; line-height: 1.55; }
.bl-card small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.bl-tag { align-self: flex-start; padding: 4px 10px; 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: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.bl-lead { padding: 34px; }
.bl-lead h2 { margin: 0; max-width: 760px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.035em; }
.bl-lead p { max-width: 680px; font-size: 17px; }
.bl-hero .dot { background: var(--c2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c2) 22%, transparent); }
.bl-hero h1 { max-width: 900px; font-size: clamp(36px, 5vw, 58px); }
.bl-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.bl-back:hover { color: var(--ink); }
.bl-meta { margin: 16px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.bl-body h2 { margin-top: 34px; }
.bl-body p, .bl-body li { font-size: 17.5px; }
.bl-body ul { margin: 10px 0 0; }
.bl-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 44px 0 0; padding: 24px; border: 1.5px solid var(--ink); border-radius: 22px; background: var(--card); box-shadow: 7px 7px 0 var(--c2); }
.bl-cta div { display: flex; flex-direction: column; gap: 4px; max-width: 420px; }
.bl-cta b { font-size: 18px; }
.bl-cta span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.bl-cta .btn { color: var(--bg); }
.bl-more { padding-top: 60px; }
.bl-more h2 { margin: 0 0 18px; font-size: 28px; letter-spacing: -0.03em; }
@media (max-width: 640px) { .bl-card, .bl-lead { padding: 22px; } .bl-grid { grid-template-columns: minmax(0, 1fr); } }
.bl-back { display: flex; width: max-content; }
.bl-hero h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; }
.bl-hero .eyebrow .dot { background: var(--c2) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c2) 22%, transparent) !important; }
.ft-hero.bl-hero h1 { max-width: 860px; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.035em; }

/* blog post: contents on the left, the article, and a try card on the right */
.bl-layout { display: grid; grid-template-columns: 210px minmax(0, 720px) 250px; justify-content: space-between; gap: 48px; align-items: start; padding-top: 40px; }
.bl-layout .bl-body { max-width: none; margin: 0; padding: 0; }
.bl-side { position: relative; height: 100%; }
.bl-stick { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
.bl-side-h { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.bl-progress { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bl-progress i { display: block; width: 0; height: 100%; background: var(--c2); transition: width 0.1s linear; }
.bl-toc nav { display: flex; flex-direction: column; gap: 2px; }
.bl-toc nav a { padding: 6px 10px; margin-left: -10px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: none; transition: color 0.15s, background 0.15s; }
.bl-toc nav a:hover { color: var(--ink); }
.bl-toc nav a.on { color: var(--ink); background: color-mix(in srgb, var(--c2) 12%, transparent); }
.bl-try { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1.5px solid var(--ink); border-radius: 20px; background: var(--card); box-shadow: 6px 6px 0 var(--c2); }
.bl-try-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--c2); color: #fff; }
.bl-try b { font-size: 16px; }
.bl-try p { margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.bl-try .btn { justify-content: center; color: var(--bg); }
.bl-share div { display: flex; gap: 6px; }
.bl-share a, .bl-share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; transition: border-color 0.15s; }
.bl-share a:hover, .bl-share button:hover { border-color: var(--ink); }
.bl-share button.done { border-color: #2b8a3e; color: #2b8a3e; }
.bl-body h2 { scroll-margin-top: 96px; }
@media (max-width: 1180px) { .bl-layout { grid-template-columns: 200px minmax(0, 1fr); } .bl-aside { display: none; } }
@media (max-width: 860px) { .bl-layout { grid-template-columns: minmax(0, 1fr); padding-top: 28px; } .bl-toc { display: none; } }

/* contents and share on the left, the article beside it */
.bl-layout { grid-template-columns: 210px minmax(0, 720px); justify-content: start; gap: 64px; }
.bl-toc .bl-share { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 1180px) { .bl-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 48px; } }
@media (max-width: 860px) { .bl-layout { grid-template-columns: minmax(0, 1fr); } }

/* no focus rings on buttons and links */
button:focus, button:focus-visible, a:focus, a:focus-visible { outline: none; }

/* touch screens: text fields at 16px, the size below which an iPhone zooms in when you tap one */
@media (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select { font-size: max(16px, 1em); }
}

/* blog: posts you have read */
.bl-tags { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bl-seen { display: none; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--muted); font-size: 12.5px; font-weight: 700; }
.bl-card.seen .bl-seen { display: inline-flex; }
.bl-card.seen h2, .bl-card.seen h3 { color: var(--muted); }
/* under a post: three, the ones not read yet first; a clear gap after the call to action */
.bl-more .bl-card:nth-child(n + 4) { display: none; }
section.bl-more { margin-top: 64px; padding-top: 0; }

/* blog: follow page */
.bl-follow { padding-top: 30px; }
.bl-feedbox { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--card); max-width: 680px; }
.bl-feedurl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; font-weight: 600; user-select: all; }
.bl-feedbox .btn { flex: none; }
.bl-steps { list-style: none; counter-reset: s; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.bl-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.bl-steps li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: color-mix(in oklab, var(--c) 80%, var(--ink)); font-weight: 700; font-size: 14px; }
.bl-steps b { font-size: 16.5px; }
.bl-steps span { color: var(--muted); font-size: 15px; line-height: 1.5; }
/* pricing: a sparkle beside anything AI, in the page's own green like the ticks */
.pr-ai { display: inline-flex; vertical-align: -2px; margin-left: 6px; color: color-mix(in oklab, var(--c) 70%, var(--ink)); }
.pr-card li .pr-ai { margin-left: -4px; }
.pr-card li .pr-ai svg { margin-top: 3px; }
/* what counts towards an AI allowance, small under its line */
.pr-note { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted, #6b7280); }
.pr-card li > span .pr-ai { margin-left: 6px; }

/* phone menu: the header links fold into one button */
.menu-btn { display: none; width: 40px; height: 40px; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn .shut, .top.menu-open .menu-btn .open { display: none; }
.top.menu-open .menu-btn .shut { display: block; }
.top .top-menu { display: none; }
/* behind the open phone menu: a tap anywhere on the page closes it (and does nothing else) */
.menu-shade { position: fixed; inset: 0; z-index: 9; background: rgba(10, 12, 16, 0.22); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-shade[hidden] { display: none; }
/* below this the links no longer fit on one line: they move into the menu */
@media (max-width: 1080px) {
  .top nav:not(.top-menu), .top-join, .top .top-in > .btn { display: none; }
  .top-in { gap: 10px; }
  .top-in .logo { margin-right: auto; }
  .menu-btn { display: grid; }
  .top .top-menu:not([hidden]) { display: grid; gap: 2px; padding: 8px 16px 18px; border-top: 1px solid var(--line); background: var(--bg); max-height: calc(100dvh - 68px); overflow-y: auto; }
  .top-menu > a { padding: 12px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 16px; color: var(--ink); }
  .top-menu > a:hover, .top-menu > a[aria-current] { background: var(--soft); }
  .top-menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .top-menu-cta .btn { justify-content: center; }
  .top.menu-open { background: var(--bg); border-bottom-color: var(--line); }
}

/* back to top: appears once scrolling stops, away while scrolling */
/* stacked above the Help button (public/site/help.js), right edges lined up */
.to-top { position: fixed; right: 20px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 9; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--muted); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); cursor: pointer; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--ink); }
@media (max-width: 600px) { .to-top { right: 14px; bottom: calc(70px + env(safe-area-inset-bottom)); } }

/* footer: students who land here find the way in */
.f2-join { margin-top: 22px; display: grid; gap: 8px; max-width: 300px; }
.f2-join label { font-size: 13px; font-weight: 700; color: var(--ink); }
.f2-join span { display: flex; gap: 6px; padding: 4px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); }
.f2-join span:focus-within { border-color: var(--ink); }
.f2-join input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border: 0; background: none; outline: none; color: var(--ink); font: 600 15px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.f2-join input::placeholder { color: var(--muted); opacity: 0.6; }
.f2-join button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--ink); color: var(--bg); font: 600 14px/1 var(--display); cursor: pointer; }
.f2-legal { display: flex; gap: 20px; }
.f2-legal a { color: var(--muted); text-decoration: none; }
.f2-legal a:hover { color: var(--ink); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the lifetime deal: a strip above the plans, with how many are left */
.pr-deal { max-width: 880px; padding-top: 36px; }
.pr-deal + .pr-plans { padding-top: 28px; }
.pr-deal-in { display: flex; align-items: center; gap: 22px; padding: 24px 26px; border: 1.5px solid var(--ink); border-radius: 24px; background: var(--ink); color: var(--bg); }
.pr-deal-ic { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--c); color: #fff; }
.pr-deal-t { flex: 1; min-width: 0; }
.pr-deal-k { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.pr-deal h2 { margin: 0; font-size: 26px; letter-spacing: -0.03em; }
.pr-deal h2 em { color: color-mix(in oklab, var(--c) 55%, var(--bg)); }
.pr-deal h2:has(.pr-deal-was) em { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; color: var(--c); }
.pr-deal-k:has(.pr-deal-tag) { opacity: 1; }
.pr-deal-k:has(.pr-deal-tag) { color: color-mix(in oklab, var(--bg) 70%, transparent); }
.pr-deal-tag { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 2px 7px; border-radius: 99px; background: var(--c); color: #fff; font-size: 10px; letter-spacing: 0.06em; vertical-align: 1px; }
.pr-deal-was { font-weight: 600; opacity: 0.55; text-decoration-thickness: 2px; }
.pr-deal-d { margin: 6px 0 0; font-size: 15px; line-height: 1.45; opacity: 0.8; }
.pr-deal-left { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; font-weight: 700; }
.pr-deal-left[hidden] { display: none; }
.pr-deal-left > i { flex: 0 1 220px; height: 8px; border-radius: 99px; background: color-mix(in oklab, var(--bg) 25%, transparent); overflow: hidden; }
.pr-deal-left > i > i { display: block; height: 100%; border-radius: 99px; background: var(--c); }
.pr-deal-left span { flex: none; white-space: nowrap; }
.pr-deal .btn.primary { flex: none; background: var(--bg); color: var(--ink); border-color: var(--bg); }
@media (max-width: 700px) {
  .pr-deal-in { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; }
  .pr-deal h2 { font-size: 23px; }
  .pr-deal .btn { width: 100%; justify-content: center; }
  .pr-deal-left > i { flex: 1 1 auto; }
}

/* the watch page: one recording from a copied link (site/watch.mjs) */
.wv { max-width: 960px; padding-top: 28px; padding-bottom: 64px; }
.wv-player { border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.wv-player video { display: block; width: 100%; max-height: 72vh; background: #000; }
.wv-bar { display: flex; align-items: center; gap: 16px; margin: 18px 2px 0; flex-wrap: wrap; }
.wv-bar h1 { flex: 1; min-width: 0; margin: 0; font: 600 24px/1.25 var(--display); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.wv-speed { display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; background: var(--soft); }
.wv-speed button { height: 34px; min-width: 48px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 600 14px/1 var(--display); cursor: pointer; }
.wv-speed button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.wv-gone { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--muted); }
.wv-made { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.wv-made .fx-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: #e03131; color: #fff; }
.wv-made div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.wv-made small { color: var(--muted); font-size: 14px; }
@media (max-width: 560px) {
  .wv { padding-top: 14px; }
  .wv-player { border-radius: 14px; margin: 0 -4px; }
  .wv-bar h1 { font-size: 20px; flex-basis: 100%; }
  .wv-made { flex-wrap: wrap; }
  .wv-made .btn { width: 100%; }
}
.wv [hidden] { display: none !important; }
.wv-rep { margin-top: 14px; display: flex; justify-content: center; }
.wv-rep-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 500 14px/1 var(--display); cursor: pointer; }
.wv-rep-btn:hover { background: var(--soft); color: var(--ink); }
.wv-rep-form { width: 100%; max-width: 520px; display: grid; gap: 8px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.wv-rep-form label { font-weight: 600; }
.wv-rep-form textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; resize: vertical; }
.wv-rep-acts { display: flex; justify-content: flex-end; gap: 8px; }
.wv-rep-err, .wv-rep-done { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 14px; }
.wv-rep-err { color: var(--accent); }
