/* ============================================================
   IA CRAFTERS — "Terminal Claro"  (SPEC-04)
   Light technical/dev aesthetic. Brand neons as accents.
   Dark variant = estética neon nativa da marca (toggle na nav).
   Backup do design neon anterior: style.neon.css.bak
   ============================================================ */

:root {
  /* surfaces */
  --paper:      #F4F3EC;
  --paper-2:    #EEEDE4;
  --surface:    #FFFFFF;
  --surface-2:  #FBFAF4;
  --grid:       #E4E2D6;

  /* ink */
  --ink:    #14151A;
  --ink-2:  #55585F;
  --ink-3:  #8C8F97;
  --line:   #DFDDD1;
  --line-2: #CBC8BA;

  /* brand accents (from logo) */
  --blue:      #2746FF;
  --blue-ink:  #0F1D8C;
  --violet:    #7C3AED;
  --violet-ink:#4C1D95;
  --amber:     #E08A0B;
  --cyan:      #1399C6;
  --lock:      #9A8F73;

  /* semantic */
  --accent:     var(--blue);
  --accent-ink: var(--blue-ink);

  /* status (6 reais do backend) */
  --st-nova:      #1399C6;
  --st-validando: #E08A0B;
  --st-exec:      #7C3AED;
  --st-pausada:   #8C8F97;
  --st-feito:     #2E9E5B;
  --st-arquivada: #B6B3A6;

  /* type */
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --disp: "Space Grotesk", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;

  /* shape */
  --r:    4px;
  --r-lg: 8px;
  --shadow:        3px 3px 0 var(--ink);
  --shadow-sm:     2px 2px 0 var(--ink);
  --shadow-accent: 3px 3px 0 var(--accent);

  --maxw: 1180px;
  color-scheme: light;
}

/* ---------- dark variant (brand-native neon) ---------- */
[data-theme="dark"] {
  --paper:     #05060D;
  --paper-2:   #0A0C16;
  --grid:      #161A2B;
  --surface:   #0C0E1A;
  --surface-2: #10131F;
  --ink:    #ECEEF6;
  --ink-2:  #9AA0B4;
  --ink-3:  #646B82;
  --line:   #1E2236;
  --line-2: #2A3050;
  --blue:      #5B78FF;
  --blue-ink:  #AFC0FF;
  --violet:    #A87BFF;
  --violet-ink:#D6C2FF;
  --amber:  #F4A62A;
  --cyan:   #3CC6F0;
  --lock:   #6E6650;
  --st-pausada:   #646B82;
  --st-arquivada: #4A5170;
  --accent-ink: var(--blue-ink);
  --shadow:        0 0 0 1px var(--line-2), 0 10px 30px -12px rgba(0,0,0,.8);
  --shadow-sm:     0 0 0 1px var(--line-2);
  --shadow-accent: 0 0 0 1px var(--accent), 0 0 24px -6px var(--accent);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: -1px -1px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 { font-family: var(--disp); font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- a11y: skip link + sr-only + focus ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 13px;
  padding: 10px 16px; border-radius: var(--r);
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- shared atoms ---------- */
.mono { font-family: var(--mono); }
.kbd-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3);
}
.accent-label {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 7px;
}
.accent-label::before { content: "//"; opacity: .55; }

.cur::after {
  content: ""; display: inline-block;
  width: 0.58em; height: 1.05em; margin-left: 3px;
  background: var(--accent); transform: translateY(2px);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: var(--maxw); }

/* ---------- buttons ---------- */
.btn, .btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.01em; padding: 11px 18px;
  border: 1.5px solid var(--ink); border-radius: var(--r);
  background: var(--surface); color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.btn:hover, .btn-primary:hover, .btn-secondary:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active, .btn-primary:active, .btn-secondary:active { transform: translate(1px,1px); box-shadow: 0 0 0 var(--ink); }
.btn--primary, .btn-primary { background: var(--accent); color: #fff; border-color: var(--accent-ink); box-shadow: 3px 3px 0 var(--accent-ink); }
.btn--primary:hover, .btn-primary:hover { box-shadow: 4px 4px 0 var(--accent-ink); }
.btn--ghost { background: transparent; border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: none; transform: none; }
.btn--sm { padding: 7px 12px; font-size: 12px; }
.btn[disabled], .btn:disabled, .btn-primary:disabled { opacity: .45; pointer-events: none; }

/* ---------- tags / chips ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 100px;
  color: var(--ink-2); background: var(--surface);
}
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--cat, .badge-cat {
  color: var(--violet-ink);
  border: 1px solid color-mix(in srgb, var(--violet) 38%, var(--line));
  background: color-mix(in srgb, var(--violet) 8%, var(--surface));
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 100px; display: inline-flex; align-items: center;
}

.status, .badge-status {
  display:inline-flex; align-items:center; gap:6px;
  font-family: var(--mono); font-size: 11px; letter-spacing:.04em;
}
.status .dot { width:7px; height:7px; border-radius:50%; background: currentColor; }
.status[data-s="nova"], .badge-status[data-status="nova"]             { color: var(--st-nova); }
.status[data-s="validando"], .badge-status[data-status="validando"]   { color: var(--st-validando); }
.status[data-s="executando"], .badge-status[data-status="executando"] { color: var(--st-exec); }
.status[data-s="pausada"], .badge-status[data-status="pausada"]       { color: var(--st-pausada); }
.status[data-s="concluida"], .badge-status[data-status="concluida"]   { color: var(--st-feito); }
.status[data-s="arquivada"], .badge-status[data-status="arquivada"]   { color: var(--st-arquivada); }

/* chip de filtro */
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 100px;
  color: var(--ink-2); background: var(--surface); cursor: pointer;
  transition: background .12s, color .12s, border-color .12s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- terminal window chrome ---------- */
.term {
  border: 1.5px solid var(--ink); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
}
.term__bar {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px;
  border-bottom: 1.5px solid var(--ink); background: var(--surface-2);
}
.term__lights { display: flex; gap: 6px; }
.term__lights i { width: 11px; height: 11px; border-radius: 50%; display: block; border: 1px solid rgba(0,0,0,.15); }
.term__lights i:nth-child(1){ background:#ff5f57; }
.term__lights i:nth-child(2){ background:#febc2e; }
.term__lights i:nth-child(3){ background:#28c840; }
.term__title { font-family: var(--mono); font-size: 12px; color: var(--ink-2); letter-spacing: .02em; }
.term__body { padding: 18px 20px; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; }

.line-prompt { color: var(--ink-3); }
.line-prompt b { color: var(--accent); font-weight: 600; }

/* stat box (hero terminal) */
.stat { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; background: var(--surface-2); }
.stat__n { font-family: var(--disp); font-size: 26px; font-weight: 600; line-height: 1; }
.stat__l { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }

/* logo chip */
.logo-chip {
  width: 40px; height: 40px; border-radius: 9px;
  background: #05060D; border: 1.5px solid var(--ink);
  display: grid; place-items: center; overflow: hidden; flex: none;
}
.logo-chip img { width: 100%; height: 100%; object-fit: cover; }

/* avatar */
.av {
  width: 30px; height: 30px; border-radius: 7px; flex: none;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: #fff;
  border: 1px solid rgba(0,0,0,.18);
}

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--ink);
}
.nav__row { display: flex; align-items: center; gap: 18px; height: 64px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand b { font-family: var(--disp); font-size: 17px; letter-spacing: -.02em; }
.nav__brand .accent { color: var(--accent); }
.nav__brand .sub { font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing:.1em; }
.nav__links { display: flex; gap: 4px; margin-left: 8px; }
.nav__links a {
  font-family: var(--mono); font-size: 13px; color: var(--ink-2);
  padding: 7px 11px; border-radius: var(--r);
}
.nav__links a:hover { background: var(--surface); color: var(--ink); }
.nav__links a.on { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__user { display: flex; align-items: center; gap: 8px; }
.nav__user .av { width: 30px; height: 30px; font-size: 12px; }

/* theme toggle */
.theme-toggle {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; padding: 0;
  border: 1.5px solid var(--line-2); border-radius: var(--r);
  background: transparent; color: var(--ink-2);
}
.theme-toggle:hover { border-color: var(--ink); color: var(--ink); }

/* mobile hamburger + drawer */
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1.5px solid var(--line-2); border-radius: var(--r); background: transparent; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s, opacity .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); }
.nav__drawer { display: none; flex-direction: column; gap: 4px; padding: 14px 28px 20px; border-bottom: 1.5px solid var(--ink); background: var(--surface); }
.nav__drawer a { font-family: var(--mono); font-size: 14px; color: var(--ink-2); padding: 10px 8px; border-radius: var(--r); }
.nav__drawer a:hover, .nav__drawer a.on { background: var(--surface-2); color: var(--ink); }
.nav__drawer-div { height: 1px; background: var(--line); margin: 8px 0; }

.path-bar {
  border-bottom: 1px solid var(--line); background: var(--surface-2);
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
}
.path-bar .wrap { display:flex; align-items:center; gap:8px; height: 34px; }
.path-bar b { color: var(--accent); }
.path-bar .state { margin-left: auto; }
.path-bar .state.on { color: var(--st-feito); }

/* ---------- generic card ---------- */
.card {
  background: var(--surface); border: 1.5px solid var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}

/* ---------- idea grid + card (vitrine) ---------- */
.grid-cards, .idea-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.idea-card { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.idea-card h3 { font-size: 18px; line-height: 1.2; text-wrap: balance; }
.idea-card__head { display: flex; justify-content: space-between; align-items: center; }
.idea-card__foot { display: flex; align-items: center; justify-content: space-between; }
.idea-card__author { display: flex; align-items: center; gap: 9px; }
.idea-card__author .av { width: 26px; height: 26px; font-size: 11px; }
.idea-card__author span { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.idea-card__when { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }

/* protected description block */
.protected { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; }
.redacted { display: grid; gap: 6px; }
.redacted i {
  height: 9px; border-radius: 3px; display: block;
  background: repeating-linear-gradient(90deg, var(--paper-2) 0 7px, transparent 7px 11px);
  border: 1px dashed var(--line-2);
}
.redacted i:nth-child(1){ width: 100%; }
.redacted i:nth-child(2){ width: 88%; }
.redacted i:nth-child(3){ width: 64%; }
.lock-row {
  display:flex; align-items:center; gap:8px;
  font-family: var(--mono); font-size: 11.5px; color: var(--lock); letter-spacing: .03em;
}

/* skeleton loader */
.skeleton {
  height: 190px; border-radius: var(--r-lg);
  border: 1.5px solid var(--line); background: var(--surface-2);
  position: relative; overflow: hidden;
}
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ink) 5%, transparent), transparent);
  transform: translateX(-100%); animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* empty / error states */
.empty, .error-state {
  grid-column: 1 / -1; text-align: center; padding: 40px 20px;
  border: 1.5px dashed var(--line-2); border-radius: var(--r-lg);
  background: var(--surface-2); color: var(--ink-2);
}

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 18px; }
.field > label { display:block; font-family: var(--mono); font-size: 12px; letter-spacing:.06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 7px; }
.field .req { color: var(--accent); }
.field .pub { color: var(--accent); font-family: var(--mono); font-size: 11px; text-transform: none; letter-spacing: 0; }
.field .hint { display: inline; text-transform: none; letter-spacing: 0; }
.input, .select, .textarea, input[type=text], input[type=email], input[type=password], input[type=tel], select, textarea {
  width: 100%; font-family: var(--mono); font-size: 14px; color: var(--ink);
  background: var(--surface-2); border: 1.5px solid var(--line-2); border-radius: var(--r);
  padding: 11px 13px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s;
}
.input:focus, .select:focus, .textarea:focus,
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
  background: var(--surface);
}
.textarea, textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.hint { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-top: 6px; display: block; }
.field-error { color: #d92d20; font-family: var(--mono); font-size: 12px; margin-top: 6px; min-height: 1em; }
[data-theme="dark"] .field-error { color: #ff8a7a; }
[aria-invalid="true"] { border-color: #d92d20 !important; }
.checkbox-row { display: flex; align-items: center; gap: 10px; }
.checkbox-row input { width: auto; }
.checkbox-row label { text-transform: none; letter-spacing: 0; margin: 0; font-family: var(--body); font-size: 14px; color: var(--ink); }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-full { grid-column: 1 / -1; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* form sections */
.section { margin-bottom: 28px; }
.section-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.section-num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .1em; padding-top: 2px; }
.section-title { font-family: var(--disp); font-size: 19px; font-weight: 600; }
.section-sub { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-top: 2px; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 0; }
.section-heading h2 { font-size: 28px; }
.count { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* ---------- hero ---------- */
.hero { text-align: left; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.tagline { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); display: flex; gap: 10px; }
.intro { color: var(--ink-2); }

/* ---------- trilha (course timeline) ---------- */
.course-step { display: grid; grid-template-columns: 52px 1fr; gap: 0; }
.course-rail { display: flex; flex-direction: column; align-items: center; }
.course-num {
  width: 38px; height: 38px; border-radius: 9px; flex: none;
  border: 1.5px solid var(--ink); background: var(--surface);
  display: grid; place-items: center; font-family: var(--mono); font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.course-line { width: 2px; flex: 1; min-height: 22px; background: var(--line-2); margin: 4px 0; }
.course-card { padding: 16px 18px; margin-bottom: 14px; }
.card-justificativa { color: var(--ink-2); font-size: 14px; margin-top: 8px; }

/* ---------- guide ---------- */
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.guide-p { color: var(--ink-2); margin-bottom: 12px; max-width: 720px; }
.guide-p code, p code, li code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.hint-block { font-family: var(--mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px; padding: 12px 14px; color: var(--ink-2); }
.guide-list { margin: 6px 0 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 7px; }
.guide-list li { line-height: 1.5; }
.guide-list.ok li::marker { content: "✓ "; color: var(--st-feito); }
.guide-list.bad li::marker { content: "✕ "; color: #d92d20; }
.guide-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.ok-title { font-size: 16px; color: var(--st-feito); margin-bottom: 8px; }
.bad-title { font-size: 16px; color: #d92d20; margin-bottom: 8px; }
.faq { border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 10px; overflow: hidden; }
.faq summary { font-family: var(--mono); font-size: 14px; padding: 13px 16px; cursor: pointer; color: var(--ink); list-style: none; display: flex; align-items: center; gap: 10px; }
.faq summary::before { content: "›"; color: var(--accent); transition: transform .15s; display: inline-block; }
.faq[open] summary::before { transform: rotate(90deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq p { padding: 0 16px 14px; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 720px) { .guide-2col { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- actions / footer ---------- */
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
footer, footer.site { border-top: 1.5px solid var(--ink); background: var(--surface-2); margin-top: 40px; }
footer .wrap, footer.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 28px; }
footer p { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
footer a { color: var(--accent); font-family: var(--mono); }
.heart { color: var(--accent); }

/* ---------- utilities ---------- */
.muted { color: var(--ink-2); }
.center { text-align: center; }
.divider { height: 1.5px; background: var(--line); border: 0; margin: 0; }
.dash { border-top: 1.5px dashed var(--line-2); }
.accent { color: var(--accent); }
.fade-in { animation: fadeUp .45s cubic-bezier(.2,.7,.3,1) both; }
@keyframes fadeUp { from { transform: translateY(9px); opacity: 0; } to { transform: none; opacity: 1; } }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .fade-in, .spin, .skeleton::after, .cur::after { animation: none !important; }
}

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120%);
  z-index: 90; max-width: 90vw;
  font-family: var(--mono); font-size: 13px;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; border-radius: var(--r);
  box-shadow: var(--shadow); opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.error { background: #d92d20; color: #fff; }
.toast.info  { background: var(--accent); color: #fff; }

/* contextual banner */
.banner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 14px 18px; margin-bottom: 20px;
  font-family: var(--mono); font-size: 13px;
}
.banner .close { border: none; background: transparent; color: var(--ink-2); font-size: 18px; line-height: 1; padding: 0 4px; }
.banner .actions { display: flex; gap: 8px; align-items: center; }
.banner .btn-tiny { font-family: var(--mono); font-size: 12px; padding: 6px 11px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--surface); color: var(--ink); }
.banner .btn-ghost { background: transparent; border-color: var(--line-2); }
.btn-link { background: none; border: none; color: var(--accent); font-family: var(--mono); text-decoration: underline; padding: 0; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid-cards, .idea-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .nav__row { height: 58px; gap: 10px; }
  .nav__brand .sub { display: none; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .grid-cards, .idea-grid { grid-template-columns: 1fr; }
  .form-2col, .grid, .guide-grid { grid-template-columns: 1fr; }
  .course-step { grid-template-columns: 44px 1fr; }
}
@media (max-width: 460px) {
  .nav__brand b { font-size: 15px; }
}

/* scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; border: 3px solid var(--paper); }
::-webkit-scrollbar-track { background: transparent; }
