/* =========================================================
   CURSONALTA — tema limpo e moderno
   Fundo quase preto, tipografia grande, uma cor de destaque
   ========================================================= */
:root {
  --bg: #f7f7f5;
  --bg-2: #eeeeea;
  --surface: #ffffff;
  --surface-2: #f2f2ee;
  --line: rgba(15, 15, 20, 0.08);
  --line-2: rgba(15, 15, 20, 0.16);
  --text: #141414;
  --muted: #6a6a74;
  --accent: #d9480f;
  --accent-ink: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -28px rgba(15, 15, 40, .35);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--text);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; object-fit: contain; border-radius: 9px; background: #fff; padding: 2px; }
.brand span b { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: transform .15s, background .2s, border-color .2s, color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #b93b0b; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text); }
.btn-light { background: rgba(15,15,20,.05); color: var(--text); border-color: var(--line-2); }
.btn-light:hover { background: rgba(15,15,20,.09); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* ---------- Títulos e rótulos ---------- */
.eyebrow { display: inline-block; font-family: var(--mono); font-size: .75rem; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.kicker { font-family: var(--mono); font-size: .75rem; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-row h2 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; }
.section-row a { color: var(--accent); font-weight: 600; }

/* ---------- Banner (destaque) ---------- */
.banner {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(800px 420px at 88% 18%, rgba(217, 72, 15, .12), transparent 62%),
    radial-gradient(600px 300px at 10% 100%, rgba(217, 72, 15, .06), transparent 60%),
    var(--bg);
}
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  background: var(--accent); color: #fff; font-size: .85rem; font-weight: 500; padding: 9px 16px; text-align: center;
}
.topbar a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 15, 20, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 15, 20, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 70% 45%, #000 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 75% at 70% 45%, #000 25%, transparent 80%);
}
.player { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.player .banner-poster { box-shadow: none; border-radius: 0; }
.play {
  position: absolute; right: 22px; bottom: 22px;
  width: 60px; height: 60px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 34px rgba(15, 15, 40, .25);
}
.play svg { width: 28px; height: 28px; fill: var(--accent); margin-left: 4px; }
.player-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .3); }
.player-bar span { display: block; width: 0; height: 100%; background: var(--accent); }
.cats { padding: 26px 0; }
.cats-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cats-row a {
  padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 600; font-size: .92rem; transition: all .2s;
}
.cats-row a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 0; }
.stats-grid strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.stats-grid span { color: var(--muted); font-size: .9rem; }
.steps { counter-reset: step; }
.step { counter-increment: step; }
.step .ico { width: auto; height: auto; background: none; color: var(--accent); font-family: var(--mono); font-weight: 600; font-size: .9rem; margin-bottom: 18px; }
.step .ico::before { content: counter(step, decimal-leading-zero); background: none; width: auto; height: auto; border-radius: 0; }
main > section:not(.banner):not(.stats):not(.rows):not(.page-hero):not(.series-hero) { padding-bottom: 96px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; padding: 26px 0; } .stats-grid strong { font-size: 1.35rem; } }
.banner-bg { position: absolute; inset: 0; background: var(--bg-2); }
.banner-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(247,247,245,.97) 0%, rgba(247,247,245,.78) 48%, rgba(247,247,245,.12) 100%);
}
.banner-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; min-height: min(78vh, 660px); }
.banner-content { padding: 96px 0 104px; }
.banner h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin-bottom: 18px; }
.banner-meta { font-family: var(--mono); font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.banner-desc { color: #3d3d47; font-size: 1.1rem; max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.banner-poster { position: relative; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Fileiras horizontais (estilo streaming) ---------- */
.rows { padding: 56px 0 24px; }
.row { margin-bottom: 52px; }
.row-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 4% 16px; }
.row-track {
  display: flex; gap: 16px; overflow-x: auto; padding: 4px 4% 24px; scroll-snap-type: x mandatory; scroll-padding: 0 4%;
  scrollbar-width: none;
}
.row-track::-webkit-scrollbar { display: none; }
.poster {
  flex: 0 0 auto; width: 300px; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s;
}
.poster:hover { transform: translateY(-6px); background: var(--surface-2); }
.poster-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.poster-img img { width: 100%; height: 100%; object-fit: cover; }
.poster-fallback { width: 100%; height: 100%; display: grid; place-items: center; padding: 18px; text-align: center; color: #fff; font-weight: 800; font-size: 1.05rem; }
.poster-info { padding: 14px 16px 16px; }
.poster-info strong { display: block; font-size: .95rem; line-height: 1.3; margin-bottom: 4px; }
.poster-info small { color: var(--muted); font-size: .8rem; font-family: var(--mono); }

/* ---------- Como funciona ---------- */
.benefits { padding: 100px 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 30px 26px; }
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.quote { background: var(--surface); border-radius: var(--radius); padding: 30px; }
.quote .stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 16px; }
.quote p { color: #2b2b33; margin-bottom: 22px; font-size: 1.02rem; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.quote .who strong { display: block; font-size: .95rem; }
.quote .who small { color: var(--muted); }

/* ---------- Faixa de chamada ---------- */
.cta-band {
  background: var(--accent); color: var(--accent-ink); border-radius: 28px; padding: 60px;
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 8px; }
.cta-band p { opacity: .75; }
.cta-band .btn-primary { background: #ffffff; color: var(--accent); }
.cta-band .btn-light { background: transparent; color: var(--accent-ink); border-color: var(--accent-ink); }

/* ---------- Perguntas frequentes ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--radius-sm); padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* ---------- Catálogo ---------- */
.page-hero { padding: 40px 0 22px; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.catalog-bar { display: grid; grid-template-columns: 1fr 180px 180px; gap: 10px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; position: relative; }
.field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.input, .select { padding: 12px 14px; }
#rows-view .row-track { padding-left: 0; padding-right: 0; scroll-padding: 0; }
#rows-view .row-title { margin-left: 0; margin-right: 0; }

/* Setas e arraste das fileiras */
.row { position: relative; }
.row-track { cursor: grab; }
.row-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.row-nav { position: absolute; right: 4%; top: -6px; display: flex; gap: 8px; z-index: 3; }
#rows-view .row-nav { right: 0; }
.row-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff;
  color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(15, 15, 40, .3);
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.row-btn:hover:not(:disabled) { background: var(--accent); color: #fff; border-color: var(--accent); }
.row-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 760px) { .row-btn { width: 36px; height: 36px; font-size: 1.3rem; } .row-nav { top: -4px; } }
.input, .select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--surface);
  color: var(--text); outline: none; transition: border-color .2s;
}
.input::placeholder { color: #6b6b75; }
.select option { background: var(--surface); }
.input:focus, .select:focus { border-color: var(--accent); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid transparent; color: var(--muted); font-weight: 500; font-size: .9rem; cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--text); }
.chip.active { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.results-count { color: var(--muted); font-family: var(--mono); font-size: .85rem; margin-bottom: 8px; }
.catalog-results { padding: 16px 0 60px; }
.catalog-results .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.catalog-results .poster { width: 100%; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty strong { display: block; color: var(--text); font-size: 1.2rem; margin-bottom: 6px; }

/* ---------- Página do curso (formato de série) ---------- */
.series-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.series-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 80px 0 90px; }
.breadcrumb { color: var(--muted); font-size: .85rem; font-family: var(--mono); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--text); }
.series-title { font-size: clamp(2.4rem, 4.8vw, 3.8rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; margin-bottom: 16px; }
.series-meta { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.series-desc { color: #3d3d47; font-size: 1.08rem; max-width: 620px; margin-bottom: 28px; }
.series-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.series-cover-fallback { width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); display: grid; place-items: center; color: #fff; font-weight: 800; padding: 20px; text-align: center; }
.series-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding: 60px 0 40px; align-items: start; }
.season-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.episodes { list-style: none; display: grid; gap: 8px; }
.ep { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); transition: background .2s; }
.ep:hover { background: var(--surface-2); }
.ep-num { font-family: var(--mono); font-size: 1.3rem; color: var(--accent); }
.ep strong { display: block; font-weight: 600; }
.ep small { color: var(--muted); font-family: var(--mono); font-size: .78rem; }
.ep-time { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.panel { background: var(--surface); border-radius: var(--radius); padding: 30px; }
.panel h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.panel p { color: var(--muted); margin-bottom: 12px; }
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checklist li { color: #2b2b33; display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.buy-card { position: sticky; top: 96px; }
.price-big { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em; margin: 6px 0 4px; }
.price-big small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.buy-card ul { list-style: none; margin: 20px 0 24px; display: grid; gap: 10px; color: var(--muted); font-size: .95rem; }
.buy-card ul li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.guarantee { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 14px; }
.instructor { display: flex; gap: 14px; align-items: center; }
.instructor strong { display: block; }
.instructor small { color: var(--muted); }

/* ---------- Entrar / Cadastrar ---------- */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { padding: 70px; display: flex; flex-direction: column; justify-content: center; background: var(--surface); }
.auth-side h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 16px; }
.auth-side p { color: var(--muted); max-width: 420px; font-size: 1.05rem; }
.auth-side img { width: 120px; margin-bottom: 30px; border-radius: 26px; background: #fff; padding: 12px; }
.auth-form-wrap { display: grid; place-items: center; padding: 48px 24px; }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.auth-card > p { color: var(--muted); margin: 6px 0 28px; }
.form { display: grid; gap: 16px; }
.form .row { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 0; }
.form .row a { color: var(--accent); font-weight: 600; }
.form .check { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--muted); }
.form .check a { color: var(--accent); font-weight: 600; }
.auth-foot { text-align: center; margin-top: 24px; color: var(--muted); }
.auth-foot a { color: var(--accent); font-weight: 700; }
.divider { display: none; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 40px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand { color: var(--text); }
.site-footer h4 { color: var(--text); font-size: .9rem; font-weight: 700; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; font-size: .92rem; }
.site-footer a:hover { color: var(--text); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; font-family: var(--mono); }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .banner-inner { grid-template-columns: 1fr; gap: 0; min-height: auto; }
  .banner .player { margin: 0 0 56px; }
  .series-grid { grid-template-columns: 1fr; gap: 28px; padding: 56px 0 60px; }
  .series-cover { display: none; }
  .series-body { grid-template-columns: 1fr; }
  .buy-card { position: static; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px; }
  .catalog-bar { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); padding: 18px 6%; gap: 16px; border-bottom: 1px solid var(--line); }
  .banner-content { padding: 56px 0 72px; }
  .checklist { grid-template-columns: 1fr; }
  .poster { width: 240px; }
  .ep { grid-template-columns: 44px 1fr; }
  .ep-time { grid-column: 2; }
  .benefits { padding: 70px 0; }
  .cta-band { padding: 32px; border-radius: 22px; }
  .site-footer { padding: 40px 0 22px; margin-top: 24px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }
  .site-footer h4 { font-size: .85rem; margin-bottom: 10px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .site-footer ul { gap: 8px; font-size: .88rem; }
  .footer-bottom { margin-top: 30px; flex-direction: column; gap: 6px; text-align: center; }
}
@media (max-width: 520px) {
  .brand span { font-size: 1rem; }
}
/* Visual neutro: sem gradientes coloridos nos fundos e capas sem imagem */
.banner-bg { background: linear-gradient(180deg, #ffffff, #ececf0) !important; }
.poster-fallback,
.series-cover-fallback { background: #e7e7ec !important; color: var(--text) !important; }

/* "Como funciona" em preto fosco, com laranja escuro nos detalhes */
.benefits { background: #161616; color: #fff; }
.benefits .kicker { color: #ff7a3d; }
.benefits .section-head h2 { color: #fff; }
.benefits .section-head p { color: #a6a6a6; }
.benefits .step { background: #1f1f1f; border: 1px solid rgba(255, 255, 255, .06); box-shadow: none; }
.benefits .step h3 { color: #fff; }
.benefits .step p { color: #a6a6a6; }
.benefits .step .ico { color: #ff7a3d; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Pop-up do serviço de DRT */
.pop-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(20, 20, 20, .55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; transition: opacity .25s;
}
.pop-overlay.open { opacity: 1; }
.pop {
  position: relative; background: #fff; color: var(--text); border-radius: 22px;
  width: min(460px, 100%); padding: 36px 32px 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
  transform: translateY(14px); transition: transform .25s;
}
.pop-overlay.open .pop { transform: none; }
.pop .kicker { color: var(--accent); }
.pop h2 { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 10px 0 12px; }
.pop p { color: var(--muted); font-size: .98rem; }
.pop-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 16px; }
.pop-note { font-size: .78rem; color: #8a8a94; }
.pop-close {
  position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 1.8rem;
  line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px;
}
.pop-close:hover { color: var(--text); }
@media (max-width: 520px) { .pop { padding: 30px 22px 22px; } .pop h2 { font-size: 1.5rem; } .pop-actions .btn { width: 100%; } }
