/* Phrazez landing page — Soft UI in Eagle Rank colours (teal #46818F, coral #FF6F61, black/white).
   Builds on app.css (variables, fonts, light/dark). Mobile first; wider layouts from 720px and 1024px.
   All motion stops for visitors who prefer reduced motion. */

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--fill); color: var(--on-fill); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Header */
.lp-top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 0; box-shadow: 0 6px 18px var(--shadow-dark); }
.lp-nav { display: none; gap: 8px; padding: 6px; border-radius: 999px; box-shadow: var(--inset); }
.lp-nav a { padding: 8px 16px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; transition: box-shadow .2s, color .2s; }
.lp-nav a:hover { color: var(--coral-ink); box-shadow: var(--raised-sm); }
.lp-top .tools { align-items: center; }

main#main { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; overflow-x: clip; }

/* Buttons */
.lp-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; text-decoration: none;
  box-shadow: var(--raised); transition: transform .2s ease, box-shadow .2s ease, background-color .2s;
}
.lp-btn svg { width: 20px; height: 20px; transition: transform .2s; }
.lp-btn:hover svg { transform: translateX(4px); }
.lp-btn.primary { background: var(--fill); color: var(--on-fill); }
.lp-btn.primary:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }
.lp-btn.soft { background: var(--surface); color: var(--text); }
.lp-btn.soft:hover { color: var(--coral-ink); }
.lp-btn:active { box-shadow: var(--inset); transform: none; }
.lp-btn.small { min-height: 44px; padding: 0 18px; font-size: .9rem; box-shadow: var(--raised-sm); }
.lp-btn.light { background: #fff; color: #1D3A41; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.lp-btn.light:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }

/* Hero */
.lp-hero { display: grid; gap: 40px; padding: 44px 0 28px; align-items: center; }
.lp-eyebrow { margin: 0 0 14px; display: inline-block; padding: 8px 14px; border-radius: 999px; box-shadow: var(--inset); font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); }
.lp-hero h1 { margin: 0; font-size: clamp(2.2rem, 7vw, 3.8rem); line-height: 1.06; letter-spacing: -.025em; font-weight: 800; }
.lp-hero h1 .hl { color: var(--teal); background: linear-gradient(transparent 68%, var(--coral-soft) 68%); }
.lp-lead { margin: 20px 0 0; font-size: clamp(1.02rem, 2.4vw, 1.16rem); line-height: 1.65; color: var(--muted); max-width: 58ch; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.lp-note { margin: 16px 0 0; font-size: .88rem; color: var(--muted); }

/* Animated lesson card */
.lp-mock { position: relative; isolation: isolate; display: grid; gap: 16px; padding: 22px; border-radius: 32px; background: var(--surface); box-shadow: var(--raised-lg); }
.orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.orb-a { width: 150px; height: 150px; right: -30px; top: -40px; background: radial-gradient(circle at 35% 35%, #fff 0, color-mix(in srgb, var(--teal) 55%, transparent) 60%, transparent 70%); opacity: .55; animation: float 7s ease-in-out infinite; }
.orb-b { width: 90px; height: 90px; left: -26px; bottom: 40px; background: radial-gradient(circle at 35% 35%, #fff 0, color-mix(in srgb, var(--coral) 60%, transparent) 60%, transparent 70%); opacity: .45; animation: float 9s ease-in-out infinite reverse; }
.mock-media { position: relative; height: 170px; border-radius: 20px; background-size: cover; background-position: center; box-shadow: var(--inset); }
.mock-chip { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-family: var(--font-head); font-size: .74rem; font-weight: 700; }
.mock-card { position: relative; padding: 16px 96px 16px 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--raised-sm); }
.mock-card.base { box-shadow: var(--inset); padding-right: 18px; }
.mock-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--teal-ink); }
.mock-tag img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.mock-target { margin: 8px 0 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.3rem, 4vw, 1.7rem); line-height: 1.25; }
.mock-target span, .mock-sounds span { border-radius: 6px; padding: 0 2px; transition: background-color .2s, box-shadow .2s, color .2s; }
.mock-target span.on { background: var(--coral-soft); box-shadow: inset 0 -3px 0 var(--coral); }
.mock-sounds { margin: 6px 0 0; color: var(--muted); font-size: .98rem; }
.mock-sounds span.on { color: var(--text); background: var(--coral-soft); }
.mock-base { margin: 8px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.mock-play { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 64px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--fill); color: var(--on-fill); box-shadow: var(--raised-sm); animation: pulse-soft 2.6s ease-in-out infinite; }
.mock-score { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 20px; background: var(--surface); box-shadow: var(--raised-sm); }
.mock-score p { margin: 0; font-family: var(--font-head); font-weight: 800; }
.mock-meter { position: relative; height: 24px; border-radius: 999px; box-shadow: var(--inset); overflow: hidden; }
.mock-meter span { position: absolute; inset: 0 auto 0 0; width: 94%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--good)); animation: meter 4.5s ease-in-out infinite; }
.mock-meter b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-size: .8rem; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }

/* Languages: two rows that glide, faded at both ends */
.lp-marquee { display: grid; gap: 14px; margin: 10px -18px 18px; padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-row.reverse { animation-direction: reverse; animation-duration: 56s; }
.lp-marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-track { list-style: none; margin: 0; padding: 6px 0; display: flex; gap: 14px; padding-inline-end: 14px; }
.marquee-track li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--raised-sm); font-weight: 600; white-space: nowrap; }
.marquee-track img { border-radius: 50%; object-fit: cover; }

/* Facts */
.lp-facts { display: grid; gap: 16px; margin: 8px 0 12px; }
.lp-facts p { margin: 0; display: flex; align-items: baseline; gap: 10px; padding: 18px 20px; border-radius: 22px; background: var(--surface); box-shadow: var(--raised); }
.lp-facts b { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--teal-ink); font-variant-numeric: tabular-nums; }
.lp-facts span { color: var(--muted); }

/* Sections */
.lp-section { padding: 56px 0 8px; scroll-margin-top: 90px; }
.lp-section h2 { margin: 0 0 24px; font-size: clamp(1.5rem, 4.4vw, 2.25rem); line-height: 1.2; letter-spacing: -.015em; font-weight: 800; }
.lp-sub { margin: -12px 0 24px; color: var(--muted); }
.lp-cards { display: grid; gap: 20px; }
.lp-card { padding: 24px; border-radius: 26px; background: var(--surface); box-shadow: var(--raised); transition: transform .25s ease, box-shadow .25s ease; }
.lp-card:hover { transform: translateY(-4px); box-shadow: var(--raised-lg); }
.lp-card h3 { margin: 16px 0 8px; font-size: 1.15rem; font-weight: 800; }
.lp-card p { margin: 0; line-height: 1.6; color: var(--muted); }
.lp-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--surface); color: var(--teal-ink); box-shadow: var(--inset); }
.lp-card:hover .lp-icon { color: var(--coral-ink); }

/* Paths with pictures */
.lp-paths { display: grid; gap: 20px; }
.lp-path { overflow: hidden; border-radius: 26px; background: var(--surface); box-shadow: var(--raised); transition: transform .25s ease, box-shadow .25s ease; }
.lp-path:hover { transform: translateY(-4px); box-shadow: var(--raised-lg); }
.lp-path-img { aspect-ratio: 16 / 10; background: var(--surface-hi) center / cover no-repeat; transition: transform .6s ease; }
.lp-path:hover .lp-path-img { transform: scale(1.05); }
.lp-path-body { position: relative; padding: 16px 20px 20px; background: var(--surface); }
.lp-path-body h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; }
.lp-path-body p { margin: 0; color: var(--muted); line-height: 1.5; font-size: .95rem; }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.lp-steps li { position: relative; padding: 24px 24px 24px 84px; border-radius: 26px; background: var(--surface); box-shadow: var(--raised); }
.lp-step-n { position: absolute; left: 22px; top: 22px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); box-shadow: var(--inset); color: var(--coral-ink); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.lp-steps h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; }
.lp-steps p { margin: 0; color: var(--muted); line-height: 1.6; }

.lp-final { position: relative; isolation: isolate; overflow: hidden; margin: 60px 0 40px; padding: 46px 24px; border-radius: 32px; text-align: center; display: grid; gap: 22px; justify-items: center;
  background: linear-gradient(135deg, #46818F, #2F5F6A); color: #fff; box-shadow: var(--raised-lg); }
.lp-final h2 { margin: 0; font-size: clamp(1.4rem, 4.4vw, 2.2rem); font-weight: 800; color: #fff; }
.orb-c { width: 260px; height: 260px; right: -60px; top: -90px; background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .5), rgba(255, 111, 97, .35) 55%, transparent 70%); animation: float 8s ease-in-out infinite; }

/* Scroll reveal (only when JS turned animations on) */
.anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.anim .reveal.in { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 50% { transform: translateY(-14px) translateX(6px); } }
@keyframes pulse-soft { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--teal) 22%, transparent); } }
@keyframes meter { 0% { width: 8%; } 55%, 100% { width: 94%; } }

/* Tablet */
@media (min-width: 720px) {
  .lp-facts { grid-template-columns: repeat(3, 1fr); }
  .lp-facts p { flex-direction: column; gap: 2px; }
  .lp-cards { grid-template-columns: repeat(3, 1fr); }
  .lp-cards.two { grid-template-columns: repeat(2, 1fr); }
  .lp-paths { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-steps li { padding: 86px 24px 24px; }
}
/* Desktop */
@media (min-width: 1024px) {
  .lp-nav { display: flex; }
  .lp-hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); padding: 70px 0 44px; gap: 60px; }
  .lp-paths { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 420px) {
  .lp-top { gap: 8px; padding-inline: 12px; }
  .lp-top .tools { gap: 6px; }
  .lp-top .icon-btn { width: 40px; height: 40px; }
  .lp-top .brand-word { font-size: 1.2rem; }
  .lp-top .logo-mark { width: 32px; height: 32px; }
  .lp-btn.small { padding: 0 12px; font-size: .8rem; }
  .mock-card { padding-right: 84px; }
  .mock-play { width: 54px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; }
}

/* ===== Homepage + search pages ===== */
.lp-nav a[aria-current="page"] { color: var(--coral-ink); box-shadow: var(--inset); }
.lp-mock-wrap { margin: 0; display: grid; gap: 10px; }
.lp-caption { font-size: .8rem; color: var(--muted); text-align: center; }
@media (min-width: 720px) { .lp-steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-steps.four { grid-template-columns: repeat(4, 1fr); } }

.lp-lang-cards { display: grid; gap: 20px; }
@media (min-width: 720px) { .lp-lang-cards { grid-template-columns: repeat(3, 1fr); } }
.lp-lang-card { display: grid; gap: 8px; padding: 24px; border-radius: 26px; background: var(--surface); box-shadow: var(--raised); color: var(--text); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.lp-lang-card:hover { transform: translateY(-4px); box-shadow: var(--raised-lg); }
.lp-lang-card .flags { display: flex; }
.lp-lang-card .flags img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--surface); }
.lp-lang-card .flags img + img { margin-inline-start: -8px; }
.lp-lang-card b { font-family: var(--font-head); font-size: 1.15rem; }
.lp-lang-card span { color: var(--muted); line-height: 1.5; }
.lp-lang-card em { font-style: normal; font-weight: 700; color: var(--teal-ink); }
.lp-lang-card:hover em { color: var(--coral-ink); }

.lp-feature { display: grid; overflow: hidden; border-radius: 30px; background: var(--surface); box-shadow: var(--raised); }
.lp-feature-img { min-height: 220px; background: var(--surface-hi) center / cover no-repeat; }
.lp-feature-body { padding: 28px; display: grid; gap: 14px; align-content: center; justify-items: start; }
.lp-feature-body h2 { margin: 0; }
.lp-feature-body p { margin: 0; color: var(--muted); line-height: 1.6; }
.lp-feature-body .lp-eyebrow { margin: 0; }
@media (min-width: 900px) { .lp-feature { grid-template-columns: 1fr 1.1fr; } .lp-feature-img { min-height: 100%; } }

.faq-list { display: grid; gap: 14px; }
.faq { border-radius: 20px; background: var(--surface); box-shadow: var(--raised-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral-ink); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq[open] { box-shadow: var(--inset); }
.faq p { margin: 0; padding: 0 22px 18px; color: var(--muted); line-height: 1.6; }

.crumbs { padding-top: 22px; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--teal-ink); text-decoration: none; font-weight: 600; }
.lp-samples { padding: 22px; border-radius: 30px; background: var(--surface); box-shadow: var(--raised-lg); }
.lp-samples h2 { margin: 0 0 14px; font-size: 1.15rem; }
.lp-samples ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-samples li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; box-shadow: var(--inset); }
.sample-play { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--fill); color: var(--on-fill); box-shadow: var(--raised-sm); }
.sample-play.playing { background: var(--coral); color: #fff; }
.sample-play svg { width: 20px; height: 20px; }
.sample-text { display: grid; gap: 2px; min-width: 0; }
.sample-text b { font-family: var(--font-head); }
.sample-text small { color: var(--muted); }
.btn-flag { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.card-h { margin: 16px 0 8px; font-size: 1.15rem; font-weight: 800; letter-spacing: 0; }
.lp-card .lp-icon { font-size: 1.4rem; }
.mission-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .mission-list { grid-template-columns: repeat(2, 1fr); } }
.mission-list li { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--raised-sm); font-weight: 600; }
.mission-list li span { color: var(--coral-ink); font-size: .8rem; }
.more-pages h2 { font-size: 1.2rem; margin-bottom: 12px; }
.more-pages p { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.more-pages a { padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--raised-sm); color: var(--text); text-decoration: none; font-weight: 600; }
.more-pages a:hover { color: var(--coral-ink); }
@media (max-width: 1023px) { .lp-nav { display: none; } }
.lp-section .card-h { margin: 16px 0 8px; font-size: 1.15rem; line-height: 1.3; }

/* Translation selector (top of the page, max 300px wide) */
.translate-bar { display: flex; justify-content: flex-end; padding: 8px 18px; max-width: 1180px; margin: 0 auto; }
.translate-box { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 300px; padding: 0 12px; height: 40px;
  border-radius: 999px; background: var(--surface); box-shadow: var(--inset); color: var(--muted); }
.translate-box svg { width: 18px; height: 18px; flex: none; }
.translate-box select { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--text); font: inherit; font-size: .9rem; outline: none; cursor: pointer; }
.translate-box select option { background: var(--surface-hi); color: var(--text); }
.translate-box:focus-within { box-shadow: var(--inset), 0 0 0 3px var(--coral); }
[dir="rtl"] .translate-bar { justify-content: flex-start; }
/* Translated text is often longer: let headings and buttons wrap instead of overflowing. */
.is-translated .lp-btn { white-space: normal; text-align: center; }
.is-translated .lp-nav a { white-space: nowrap; }
[dir="rtl"] .lp-samples li { direction: rtl; } [dir="rtl"] .sample-text b, [dir="rtl"] .sample-text small { unicode-bidi: isolate; }

/* Error pages (404 / 500) */
.error-main { display: grid; place-items: center; min-height: calc(100dvh - 220px); padding: 40px 18px; }
.error-card { width: 100%; max-width: 560px; padding: 40px 28px; border-radius: 32px; text-align: center;
  background: var(--surface); box-shadow: var(--raised-lg); display: grid; gap: 14px; justify-items: center; }
.error-code { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 18vw, 6.5rem); line-height: 1;
  color: var(--teal); text-shadow: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light); }
.error-card h1 { margin: 0; font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 800; }
.error-text { margin: 0; color: var(--muted); line-height: 1.6; max-width: 44ch; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }
.error-actions button.lp-btn { cursor: pointer; }

/* Login pages */
.auth-main { display: grid; place-items: center; padding: 36px 18px 56px; min-height: calc(100dvh - 260px); }
.auth-card { width: 100%; max-width: 460px; padding: 34px 28px; border-radius: 30px; background: var(--surface); box-shadow: var(--raised-lg); display: grid; gap: 16px; }
.auth-card h1 { margin: 0; font-size: clamp(1.5rem, 5vw, 1.9rem); font-weight: 800; }
.auth-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; box-shadow: var(--inset); color: var(--teal-ink); }
.auth-lead, .auth-hint { margin: 0; color: var(--muted); line-height: 1.6; }
.auth-hint { font-size: .85rem; }
.auth-form { display: grid; gap: 10px; }
.auth-form label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.auth-form input { height: 52px; padding: 0 16px; border: 0; border-radius: 16px; background: var(--surface); box-shadow: var(--inset); color: var(--text); font: inherit; font-size: 1.05rem; }
.auth-form input[type="password"] { letter-spacing: .2em; font-family: Consolas, Menlo, monospace; }
.auth-form input:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.auth-form .lp-btn { justify-content: center; margin-top: 6px; }
.auth-msg { margin: 0; padding: 12px 14px; border-radius: 14px; box-shadow: var(--inset); line-height: 1.5; }
.auth-msg.error { color: var(--coral-ink); }
.auth-msg.ok { color: var(--good); }
.auth-msg b { color: var(--text); }
.auth-resend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; color: var(--muted); }
.auth-resend .text-btn { font-size: .9rem; text-decoration: none; }
.auth-resend .text-btn:disabled { opacity: .55; cursor: default; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Pricing page */
.pricing-hero { text-align: center; display: grid; gap: 14px; justify-items: center; }
.pricing-hero h1 { margin: 0; font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; }
.price-toggle { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.pt-label { font-family: var(--font-head); font-weight: 700; color: var(--muted); cursor: pointer; }
.pt-label.on { color: var(--text); }
.save-chip { margin-left: 4px; padding: 3px 8px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-ink); font-size: .75rem; font-weight: 800; }
.switch { position: relative; width: 56px; height: 30px; flex: none; border: 0; border-radius: 999px; padding: 0;
  background: var(--surface); box-shadow: var(--inset); cursor: pointer; }
.switch .knob { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--fill); box-shadow: var(--raised-sm); transition: transform .2s ease; }
.switch[aria-checked="true"] .knob { transform: translateX(26px); }
.price-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding-top: 28px; }
.price-card { display: grid; gap: 14px; align-content: start; text-align: center; }
.price-card h2 { margin: 0; font-size: 1.4rem; font-weight: 800; }
.price-card.featured { outline: 2px solid color-mix(in srgb, var(--coral) 60%, transparent); }
.price { margin: 0; color: var(--muted); }
.price b { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--text); }
.price small { display: block; margin-top: 4px; font-size: .9rem; font-weight: 600; }
.compare-wrap { overflow-x: auto; border-radius: 22px; background: var(--surface); box-shadow: var(--raised); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .93rem; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-head); font-weight: 800; color: var(--teal-ink); }
.compare tbody th { font-weight: 700; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare-note { color: var(--muted); font-size: .85rem; text-align: center; }
.price-card .lp-btn { justify-content: center; }
.price-card { display: flex; flex-direction: column; } .price-card .lp-btn { margin-top: auto; }

/* Enterprise & Institutions band (pricing page) */
.ent-band { display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center; margin-top: 24px; padding: 26px;
  border-radius: 26px; background: var(--surface); box-shadow: var(--raised); }
.ent-band .lp-icon { align-self: start; }
.ent-band h2 { margin: 0 0 6px; font-size: clamp(1.25rem, 3.4vw, 1.6rem); font-weight: 800; }
.ent-band .ent-copy p { margin: 0; line-height: 1.6; color: var(--muted); }
.ent-band .ent-copy .ent-price { margin-top: 8px; font-family: var(--font-head); font-weight: 800; color: var(--coral-ink); }
.ent-band .lp-btn, .ent-band .ent-setup { grid-column: 1 / -1; justify-content: center; }
.ent-band .ent-setup { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--coral-soft); }
@media (min-width: 720px) { .ent-band { grid-template-columns: auto 1fr auto; } .ent-band .lp-btn, .ent-band .ent-setup { grid-column: auto; } }
/* Public header: same brand sizing as the app (word = logo size, teal). */
.lp-top .logo-mark { width: var(--brand-size); height: var(--brand-size); }
.lp-top .brand-word { font-size: var(--brand-size); }
/* With the full menu beside it, the public header keeps word and logo a little smaller (still equal). */
@media (min-width: 720px) { .lp-top { --brand-size: 30px; } }
.lp-top .brand-logo { height: var(--brand-size); }

/* Header with 7 links (Blog added): never wrap a link; tighten between the desktop breakpoints. */
.lp-nav a, .lp-top .lp-btn.small { white-space: nowrap; }
@media (max-width: 1320px) { .lp-nav { gap: 2px; } .lp-nav a { padding: 8px 11px; font-size: .88rem; } }
