/* ==========================================================================
   Esbizaro English Method — stylesheet (vanilla, mobile-first)
   Palette: warm + professional, Brazilian-aware. No external fonts/CDNs.
   ========================================================================== */

:root {
  --teal-900: #0c3b39;
  --teal-700: #14706b;
  --teal-600: #1a8a83;
  --teal-100: #d8efed;
  --coral:    #ff6b4a;
  --coral-dk: #e8512f;
  --amber:    #ffb627;
  --ink:      #1f2a2e;
  --muted:    #5d6f72;
  --bg:       #f6faf9;
  --card:     #ffffff;
  --line:     #e2eceb;
  --shadow:   0 6px 20px rgba(12, 59, 57, 0.08);
  --shadow-lg:0 16px 40px rgba(12, 59, 57, 0.14);
  --radius:   16px;
  --radius-sm:10px;
  --maxw:     1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
a { color: var(--teal-700); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.page { padding-top: 26px; padding-bottom: 56px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.accent { color: var(--coral); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: .7rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 16px rgba(255, 107, 74, .35); }
.btn-primary:hover { background: var(--coral-dk); }
.btn-ghost { background: transparent; color: var(--teal-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal-600); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---- Header / nav ------------------------------------------------------- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-size: 1.05rem; }
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-900));
  color: #fff; font-weight: 800;
}
.brand-text strong { color: var(--teal-700); }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--card); border-bottom: 1px solid var(--line);
  padding: 8px 18px 16px;
  box-shadow: var(--shadow);
}
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600;
  padding: .7rem 0; border-bottom: 1px solid var(--line);
  white-space: nowrap; /* keep each label on one line */
}
.site-nav a.is-active { color: var(--teal-700); }
.site-nav .nav-cta {
  margin-top: 10px; border: 0;
  background: var(--teal-700); color: #fff;
  border-radius: 999px; text-align: center; padding: .7rem 1rem;
}

/* ---- Hero --------------------------------------------------------------- */
.hero { display: grid; gap: 24px; padding: 18px 0 8px; }
.eyebrow { color: var(--teal-700); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; margin-bottom: .4rem; }
.hero h1 { font-size: 2.1rem; }
.lead { font-size: 1.1rem; color: #36474b; }
.lead-pt { color: var(--muted); font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-card {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  color: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-lg); text-align: center;
}
.mini-timer { font-size: 1.8rem; font-weight: 800; letter-spacing: .02em; }
.mini-label { color: #cfeae8; margin: .4rem 0 0; }

/* ---- Features ----------------------------------------------------------- */
.features { display: grid; gap: 16px; margin-top: 34px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.feature-icon { font-size: 1.8rem; }
.feature h3 { margin: .4rem 0 .2rem; }
.feature p { margin: 0; color: var(--muted); }

/* ---- Auth + forms ------------------------------------------------------- */
.auth-card, .onboarding {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  max-width: 460px; margin: 18px auto;
}
.onboarding { max-width: var(--maxw); }
.form { display: grid; gap: 14px; margin-top: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input {
  font: inherit; padding: .7rem .8rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff;
}
.form input:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px var(--teal-100); }
.form-foot { margin-top: 14px; text-align: center; color: var(--muted); }
.alert { border-radius: var(--radius-sm); padding: .8rem 1rem; margin: 12px 0; }
.alert-error { background: #fff0ec; border: 1px solid #ffd2c6; color: #b03a1e; }
.alert ul { margin: 0; padding-left: 1.1rem; }

/* ---- Onboarding profession grid ---------------------------------------- */
.profession-grid { display: grid; gap: 14px; margin: 18px 0; }
.profession-option input { position: absolute; opacity: 0; }
.profession-card {
  display: block; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 18px; background: #fff; cursor: pointer; transition: .15s;
  height: 100%;
}
.profession-option:hover .profession-card { border-color: var(--teal-600); }
.profession-option input:checked + .profession-card {
  border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,107,74,.18);
}
.profession-name { display: block; font-weight: 700; font-size: 1.05rem; }
.profession-name-pt { display: block; color: var(--muted); font-style: italic; font-size: .9rem; margin-bottom: .4rem; }
.profession-blurb { display: block; color: var(--muted); font-size: .9rem; }

/* ---- Dashboard ---------------------------------------------------------- */
.dash-head { margin-bottom: 16px; }
.change-prof {
  display: inline-block; margin-left: 6px; font-size: .85rem; font-weight: 600;
  text-decoration: none; color: var(--teal-700);
  border: 1px solid var(--line); border-radius: 999px; padding: .15rem .6rem;
}
.change-prof:hover { border-color: var(--teal-600); background: var(--teal-100); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; box-shadow: var(--shadow); }
.stat-num { display: block; font-size: 1.9rem; font-weight: 800; color: var(--teal-700); }
.stat-label { color: var(--muted); font-size: .85rem; }

.tool-grid { display: grid; gap: 14px; margin-bottom: 22px; }
.tool-card {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .1s ease, box-shadow .15s ease;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tool-icon { font-size: 1.7rem; }
.tool-title { font-weight: 700; font-size: 1.1rem; }
.tool-desc { color: var(--muted); font-size: .92rem; }
.tool-count { margin-top: 6px; font-size: .8rem; color: var(--teal-700); font-weight: 600; }

/* ---- Panels ------------------------------------------------------------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.tool-head { margin-bottom: 8px; }
.checklist { margin: .4rem 0 1rem; padding-left: 1.1rem; }
.checklist li { margin-bottom: .4rem; }
.encourage { font-weight: 600; color: var(--teal-700); }
.steps { padding-left: 1.2rem; }
.steps li { margin-bottom: .5rem; }

/* ---- 4/3/2 timer -------------------------------------------------------- */
.timer-panel { text-align: center; }
.timer-display { margin-bottom: 18px; }
.timer-round { color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.timer-clock { font-size: 4rem; font-weight: 800; color: var(--teal-900); font-variant-numeric: tabular-nums; }
.timer-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.timer-status { margin-top: 14px; min-height: 1.4em; color: var(--coral-dk); font-weight: 600; }

/* ---- Prompt lists ------------------------------------------------------- */
.prompt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.prompt-list li { background: var(--teal-100); border-radius: var(--radius-sm); padding: 12px 14px; }
.prompt-text { display: block; font-weight: 600; }
.prompt-pt { display: block; color: var(--muted); font-style: italic; font-size: .9rem; }

/* ---- Chunk bank --------------------------------------------------------- */
.chunk-grid { display: grid; gap: 12px; }
.chunk-card { position: relative; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius-sm); padding: 14px 44px 14px 14px; }
.chunk-phrase { font-weight: 700; margin: 0 0 .25rem; }
.chunk-pron { margin: 0 0 .25rem; color: var(--teal-700); font-size: .9rem; }
.chunk-example { margin: 0 0 .25rem; color: #41545a; font-style: italic; }
.chunk-note { margin: 0; color: var(--muted); font-size: .88rem; }
.chunk-copy {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; color: var(--teal-700);
}
.chunk-copy.copied { background: var(--teal-600); color: #fff; border-color: var(--teal-600); }

/* ---- Sound cards (flip/expand) ----------------------------------------- */
.sound-grid { display: grid; gap: 14px; }
.sound-card {
  text-align: left; cursor: pointer; font: inherit; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); display: block; width: 100%;
}
.sound-card .sound-back { display: none; }
.sound-card.is-flipped { border-color: var(--teal-600); }
.sound-card.is-flipped .sound-back { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.sound-title { display: block; font-weight: 700; font-size: 1.05rem; }
.sound-pairs { display: block; color: var(--teal-700); font-weight: 600; margin: .25rem 0; }
.sound-tap { display: block; color: var(--muted); font-size: .82rem; }
.sound-hint { display: inline-block; background: var(--amber); color: #4a3500; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; margin-bottom: .5rem; }
.sound-exp { display: block; margin-bottom: .4rem; }
.sound-pt { display: block; color: var(--muted); font-style: italic; }

/* ---- Log panel ---------------------------------------------------------- */
.log-panel { text-align: center; }
.log-status { min-height: 1.4em; margin: .6rem 0 0; color: var(--teal-700); font-weight: 600; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--card); padding: 26px 0; margin-top: 30px; }
.site-footer p { margin: 0 0 .3rem; }

/* ==========================================================================
   Models to imitate (v0.5) — Web Speech audio + read-along highlight
   ========================================================================== */
.no-audio-note { margin-top: 8px; }

/* Model blocks (shadowing scripts, 4/3/2 model answers) */
.model-block { margin-top: 12px; background: #fbfdfc; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.model-block.is-playing { border-color: var(--teal-600); box-shadow: 0 0 0 3px var(--teal-100); }
.audio-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.btn-audio {
  font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer;
  border: 0; border-radius: 999px; padding: .4rem .9rem;
  background: var(--teal-700); color: #fff;
}
.btn-audio:hover { background: var(--teal-600); }
.btn-audio-ghost { background: #fff; color: var(--teal-700); border: 1px solid var(--line); }
.btn-audio-ghost:hover { border-color: var(--teal-600); background: var(--teal-100); }
.model-text { margin: 0; font-size: 1.05rem; line-height: 1.7; }

/* The word currently being spoken */
.rd-word { border-radius: 4px; padding: 0 1px; transition: background .05s linear; }
.rd-active { background: var(--amber); color: #4a3500; box-shadow: 0 0 0 2px var(--amber); }

.model-item { margin-bottom: 18px; }
.model-item:last-child { margin-bottom: 0; }
.model-title { font-size: 1.05rem; margin: 0 0 4px; color: var(--teal-900); }

/* Chunk card: listen + copy buttons, stacked top-right */
.chunk-card { padding-right: 80px; }
.chunk-actions { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.chunk-speak, .chunk-copy {
  position: static; width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; color: var(--teal-700);
}
.chunk-speak:hover, .chunk-copy:hover { border-color: var(--teal-600); background: var(--teal-100); }

/* Sound-fix listen chips */
.sound-words { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.speak-chip {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--teal-700);
  border-radius: 999px; padding: .25rem .7rem;
}
.speak-chip:hover { border-color: var(--teal-600); background: var(--teal-100); }
.sound-card:focus-visible { outline: 3px solid var(--teal-100); outline-offset: 2px; }

/* ==========================================================================
   Record-your-voice + chunk listen toggle (v0.6)
   ========================================================================== */
.recorder { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.recorder.compact { margin-top: 10px; gap: 6px; }

.btn-rec {
  font: inherit; font-weight: 600; cursor: pointer; border: 0;
  border-radius: 999px; padding: .45rem 1rem; background: var(--coral); color: #fff;
}
.btn-rec:hover { background: var(--coral-dk); }
.btn-rec.is-recording { background: var(--coral-dk); animation: recpulse 1.1s infinite; }
@keyframes recpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 81, 47, .55); }
  50%      { box-shadow: 0 0 0 7px rgba(232, 81, 47, 0); }
}
.btn-rec-play {
  font: inherit; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--teal-700);
  border-radius: 999px; padding: .45rem 1rem;
}
.btn-rec-play:hover:not(:disabled) { border-color: var(--teal-600); background: var(--teal-100); }
.btn-rec-play:disabled { opacity: .5; cursor: not-allowed; }
.recorder.compact .btn-rec,
.recorder.compact .btn-rec-play { padding: .3rem .6rem; font-size: .95rem; }
.rec-status { font-size: .82rem; color: var(--muted); }
.no-rec-note { width: 100%; margin: 4px 0 0; }
.sound-record { display: block; margin-top: 10px; }

/* Chunk card tools: listen toggle (phrase/example) + copy + record */
.chunk-card { padding: 14px; }
.chunk-tools {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line);
}
.chunk-listen {
  font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--teal-700);
  border-radius: 999px; padding: .28rem .65rem;
}
.chunk-listen:hover { border-color: var(--teal-600); background: var(--teal-100); }
.chunk-tools .chunk-copy {
  position: static; width: auto; height: auto;
  border-radius: 999px; padding: .28rem .6rem;
  border: 1px solid var(--line); background: #fff; color: var(--teal-700);
  font-size: .9rem; cursor: pointer;
}
.chunk-tools .chunk-copy:hover { border-color: var(--teal-600); background: var(--teal-100); }

/* ==========================================================================
   Dialogues module (v0.7)
   ========================================================================== */
.dlg-title { margin-bottom: 2px; }
.dlg-setting { margin-top: 0; }
.dlg-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; }
.dlg-role-pick { font-size: .9rem; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.dlg-role-pick select { font: inherit; padding: .3rem .5rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.dlg-status { min-height: 1.3em; margin: 0 0 8px; color: var(--teal-700); font-weight: 600; }

.dlg-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dlg-line {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; background: #fff; max-width: 92%;
}
.dlg-line.side-a { border-left: 4px solid var(--teal-600); align-self: flex-start; }
.dlg-line.side-b { border-left: 4px solid var(--coral); align-self: flex-end; background: #fffaf8; }
.dlg-line.is-active { box-shadow: 0 0 0 3px var(--teal-100); border-color: var(--teal-600); }
.dlg-line.your-turn { box-shadow: 0 0 0 3px rgba(255, 182, 39, .45); border-color: var(--amber); }
.dlg-speaker { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 2px; }
.dlg-text { display: block; font-size: 1.05rem; line-height: 1.6; }
.dlg-note { display: block; color: var(--muted); font-style: italic; font-size: .85rem; margin-top: 2px; }
.dlg-line-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.dlg-line-tools .recorder { margin-top: 0; }

/* ==========================================================================
   Dialogue theme filter + category badge (v0.9)
   ========================================================================== */
.dlg-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.dlg-pill {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--teal-700);
  border-radius: 999px; padding: .35rem .8rem;
}
.dlg-pill:hover { border-color: var(--teal-600); background: var(--teal-100); }
.dlg-pill.is-active { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }

.dialogue { position: relative; }
.dlg-category-badge {
  display: inline-block; margin-bottom: 8px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--teal-700); background: var(--teal-100);
  border-radius: 999px; padding: .2rem .6rem;
}

/* ==========================================================================
   Generic theme filter + theme tags (v0.10)
   ========================================================================== */
.theme-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.theme-pill {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--teal-700);
  border-radius: 999px; padding: .35rem .8rem;
}
.theme-pill:hover { border-color: var(--teal-600); background: var(--teal-100); }
.theme-pill.is-active { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }

.chunk-theme-tag, .prompt-theme-tag {
  display: inline-block; margin-bottom: 6px;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  color: var(--teal-700); background: var(--teal-100);
  border-radius: 999px; padding: .12rem .55rem;
}
.prompt-list li { position: relative; }

/* Sound card: words pulled from the dialogues */
.sound-dialogue-words { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.sound-words-label { font-size: .8rem; font-weight: 600; color: var(--muted); width: 100%; }

/* ==========================================================================
   Teacher admin panel (v1.0)
   ========================================================================== */
.admin-hub { display: grid; gap: 14px; grid-template-columns: 1fr; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.admin-filter { display: flex; gap: 8px; align-items: center; }
.admin-filter select, .admin-form select, .admin-form textarea { font: inherit; padding: .5rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.admin-form { max-width: 760px; margin: 0 auto; }
.admin-form .form label { font-weight: 600; font-size: .95rem; }

.admin-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.admin-table th, .admin-table td { text-align: left; padding: .55rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.row-actions { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.inline-form { display: inline; margin: 0; }
.link-danger { background: none; border: 0; color: var(--coral-dk); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.link-danger:hover { text-decoration: underline; }
.tag-ok { font-size: .75rem; color: var(--teal-700); font-weight: 600; }

/* Dialogue line editor */
.line-table td { padding: .35rem .35rem; }
.line-table input[type="text"], .line-table input[type="number"], .line-table select { font: inherit; padding: .4rem; border: 1px solid var(--line); border-radius: 8px; width: 100%; }
.line-table .sp-order { width: 64px; }
.del-box { font-size: .8rem; color: var(--coral-dk); white-space: nowrap; }

/* Danger zone (delete student) */
.danger-zone { border: 1px solid #ffd2c6; background: #fff7f5; }
.danger-zone h2 { color: var(--coral-dk); }
.btn-danger { background: var(--coral-dk); color: #fff; border: 0; border-radius: 999px; padding: .7rem 1.4rem; font: inherit; font-weight: 600; cursor: pointer; }
.btn-danger:hover { background: #c43e1f; }

@media (min-width: 720px) {
  .admin-hub { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Responsive — tablet & up
   ========================================================================== */
@media (min-width: 720px) {
  h1 { font-size: 2.2rem; }
  .hero { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .hero h1 { font-size: 2.6rem; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .profession-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .chunk-grid { grid-template-columns: repeat(2, 1fr); }
  .sound-grid { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: none; }
  .site-nav {
    display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 2px 4px;
    position: static; flex-direction: row; padding: 0; box-shadow: none; border: 0; background: none;
  }
  .site-nav a { border: 0; padding: .45rem .5rem; font-size: .95rem; }
  .site-nav .nav-cta { margin: 0; padding: .45rem .9rem; }
}

@media (min-width: 1000px) {
  .features { grid-template-columns: repeat(4, 1fr); }
  .tool-grid { grid-template-columns: repeat(4, 1fr); }
  .profession-grid { grid-template-columns: repeat(3, 1fr); }
  .chunk-grid { grid-template-columns: repeat(3, 1fr); }
}
