/* Design tokens mirror the dApp theme (frontend/tailwind.config.js + globals.css). */
:root {
  --background: #11141b;
  --foreground: #fafafa;
  --card: #181b1f;
  --primary: #f1b90a;
  --primary-foreground: #11141b;
  --primary-soft: rgba(241, 185, 10, 0.1);
  --primary-tint: rgba(241, 185, 10, 0.2);
  --secondary: rgba(255, 255, 255, 0.05);
  --muted: #a0a0a3;
  --muted-foreground: #9f9fa9;
  --accent: #27272a;
  --border: rgba(255, 255, 255, 0.1);
  --input: rgba(255, 255, 255, 0.15);
  --ring: #a65f00;
  --success: #0af18d;
  --radius: 16px;
  --radius-sm: 12px;
  --header-height: 88px;
  --page-gutter: 24px;
  --panel-gap: 12px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
  -webkit-text-size-adjust: 100%;
}

/* dApp: `font-family: Inter, Emoji`; CJK glyphs fall through to the system font per language. */
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Color Emoji", sans-serif;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

:lang(ja) body {
  font-family: Inter, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Color Emoji", sans-serif;
}

:lang(ko) body {
  font-family: Inter, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Color Emoji", sans-serif;
}

:lang(hi) body {
  font-family: Inter, "Noto Sans Devanagari", "Kohinoor Devanagari", "Devanagari Sangam MN", "Nirmala UI", "Noto Color Emoji", sans-serif;
}

:lang(ta) body {
  font-family: Inter, "Noto Sans Tamil", "Tamil Sangam MN", "Nirmala UI", "Noto Color Emoji", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

/* ---------- Header (dApp navbar) ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
  padding: 0 var(--page-gutter);
  background: var(--background);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-logo {
  width: 32px;
  height: 32px;
}

.topbar-right {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav.has-more {
  mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
}

.nav a {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

/* ---------- Language switcher (dApp header select) ---------- */

.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--input);
  border-radius: 6px;
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.045);
  font-size: 14px;
  cursor: pointer;
}

.lang-trigger:hover,
.lang-switcher.open .lang-trigger {
  background: rgba(255, 255, 255, 0.08);
}

.lang-flag {
  font-family: "Noto Color Emoji", sans-serif;
  font-size: 14px;
  line-height: 1;
}

.lang-chevron {
  width: 14px;
  height: 14px;
  color: var(--muted);
  transition: transform 0.15s ease;
}

.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 60;
  display: none;
  min-width: 128px;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.lang-switcher.open .lang-menu {
  display: block;
}

.lang-menu li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.lang-menu li:hover,
.lang-menu li:focus {
  background: var(--accent);
}

.lang-menu .lang-name {
  display: none;
}

.lang-check {
  width: 14px;
  height: 14px;
  margin-left: auto;
  visibility: hidden;
}

.lang-menu li[aria-selected="true"] .lang-check {
  visibility: visible;
}

/* ---------- Page layout: stacked cards like dApp pages ---------- */

main {
  display: grid;
  gap: var(--panel-gap);
  padding: 0 var(--page-gutter) var(--page-gutter);
}

.hero,
.section {
  background: var(--card);
}

.section {
  padding: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 32px 24px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* dApp <Button> default (gold) and secondary variants */
.primary-action,
.secondary-action,
.start-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.primary-action,
.start-grid a {
  color: var(--primary-foreground);
  background: var(--primary);
}

.primary-action:hover,
.start-grid a:hover {
  opacity: 0.9;
}

.secondary-action {
  color: var(--foreground);
  background: var(--secondary);
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-board {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--secondary);
}

.board-top,
.prompt-top,
.course-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.board-top span,
.progress-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.board-top strong,
.progress-card strong {
  color: var(--primary);
  font-size: 28px;
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 8px;
  margin: 12px 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--border);
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width 0.25s ease;
}

.artifact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.artifact-list span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--background);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.board-note {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
}

.board-note strong {
  color: var(--primary);
}

.board-note p {
  margin: 6px 0 0;
  color: var(--foreground);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Section headings ---------- */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: 32px;
  align-items: start;
}

.intro h2,
.section-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}

.intro p,
.section-heading p,
.day-content p,
.steps p,
.workflow-grid p,
.method-grid p,
.start-grid p,
.mini-card p,
.industry-picker p {
  color: var(--muted);
  line-height: 1.75;
}

.intro > p {
  margin: 0;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 20px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 16px;
  align-items: end;
  max-width: none;
}

/* ---------- Inner cards ---------- */

.progress-card,
.steps article,
.workflow-grid article,
.method-grid article,
.start-grid article,
.day-card,
.industry-group,
.industry-picker,
.industry-solution,
.publish-layout > div {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--secondary);
}

.progress-card {
  padding: 16px;
}

.progress-card strong {
  display: block;
  margin-top: 4px;
}

.start-grid,
.steps,
.workflow-grid,
.method-grid,
.utility-prompts,
.copy-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.method-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.utility-prompts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.copy-guide {
  margin: 12px 0;
}

.start-grid article,
.steps article,
.workflow-grid article,
.method-grid article {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.start-grid article p,
.steps article p,
.workflow-grid article p,
.method-grid article p {
  margin-bottom: 0;
}

.start-grid h3,
.steps h3,
.workflow-grid h3,
.method-grid h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.start-grid a {
  width: 100%;
  margin-top: auto;
}

.start-grid article p {
  margin-bottom: 16px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 10px;
  color: var(--primary-foreground);
  background: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.copy-guide div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
}

/* dApp <Badge> — gold tint pill */
.copy-guide span,
.instruction-badge,
.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 2px 12px;
  border: 1px solid rgba(241, 185, 10, 0.1);
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-tint);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.copy-guide span {
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.copy-guide strong {
  display: block;
  margin-bottom: 6px;
}

.copy-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.market-note,
.video-note {
  margin-top: 12px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  background: var(--secondary);
}

.market-note h3,
.video-note h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.market-note p,
.video-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- Copyable prompt boxes ---------- */

.prompt-wide,
.prompt-box {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
}

.prompt-top {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.prompt-top h3 {
  margin: 0;
  font-size: 16px;
}

pre {
  margin: 0;
  padding: 16px;
  white-space: pre-wrap;
  word-break: break-word;
  color: #d4d4d8;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.75;
}

/* dApp table-row action button (gold, 32px) */
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--primary-foreground);
  background: var(--primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.copy-btn:hover {
  opacity: 0.9;
}

/* dApp tab: idle = muted, done = active tab (gold outline + tint) */
.done-btn {
  flex-shrink: 0;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  color: var(--foreground);
  background: var(--secondary);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease;
}

.done-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.done-btn.completed {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.prompt-box {
  position: relative;
}

.prompt-box .copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
}

.prompt-box h4 {
  margin: 0;
  padding: 18px 110px 0 16px;
  font-size: 15px;
}

.prompt-box pre {
  padding-top: 10px;
}

.instruction-box {
  border-style: dashed;
  border-color: var(--input);
  background: transparent;
}

.instruction-badge {
  margin: 14px 16px 0;
}

.instruction-box h4 {
  padding: 10px 16px 0;
}

/* ---------- Course cards ---------- */

.course-list {
  display: grid;
  gap: 12px;
}

.day-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden;
}

.day-meta {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  border-right: 1px solid var(--border);
  background: var(--card);
}

.day-meta span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.day-meta strong {
  font-size: 20px;
  line-height: 1.25;
}

.agent-day .day-meta {
  background: linear-gradient(180deg, var(--primary-soft), var(--card));
}

.day-content {
  padding: 20px;
}

.course-card-top {
  align-items: flex-start;
}

.day-content h3 {
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.35;
}

.course-card-top p {
  margin: 0;
}

.case-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.mini-card {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--background);
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.mini-card p {
  margin: 0;
  color: var(--foreground);
  font-size: 14px;
  line-height: 1.6;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.prompt-grid {
  display: grid;
  gap: 10px;
}

.assignment {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
}

.assignment strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
}

.assignment p {
  margin: 0;
  color: var(--foreground);
}

/* ---------- Industry picker / map ---------- */

.industry-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.industry-picker h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.industry-picker p {
  margin: 0;
}

/* dApp <Select> trigger */
.industry-picker select {
  width: 100%;
  height: 40px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--input);
  border-radius: 6px;
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.045)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23a0a0a3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 12px center / 14px;
  appearance: none;
  cursor: pointer;
}

.industry-picker select option {
  color: var(--foreground);
  background: var(--card);
}

.industry-solution {
  padding: 20px;
}

.industry-solution h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.solution-profile {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 12px;
}

.solution-profile div {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--background);
}

.solution-profile strong {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.solution-profile p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.solution-item {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.solution-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 12px;
}

.solution-item span {
  font-size: 14px;
  line-height: 1.5;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.industry-group {
  padding: 20px;
}

.industry-group h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 16px;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-list li {
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Publish ---------- */

.publish-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 12px;
}

.publish-layout > div:first-child {
  padding: 20px;
}

.publish-layout h3 {
  font-size: 16px;
}

.publish-layout > .prompt-wide {
  background: var(--background);
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--background);
  font-size: 14px;
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--primary)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2311141b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center / 12px;
}

/* ---------- Footer (dApp footer) ---------- */

.footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px var(--page-gutter);
  border-top: 1px solid var(--border);
  background: var(--card);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 700;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Toast (sonner) ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 70;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--foreground);
  background: var(--card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  font-size: 14px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.i18n-pending main,
.i18n-pending .topbar,
.i18n-pending .footer {
  visibility: hidden;
}

/* ---------- Responsive ---------- */

@media (max-width: 1440px) {
  .nav a {
    padding: 8px 10px;
    font-size: 15px;
  }
}

/* dApp collapses its navbar on smaller screens; here the section links move to a scroll strip under the bar */
@media (max-width: 1180px) {
  .topbar-right {
    flex: 0 0 auto;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 49;
    padding: 0 8px 8px;
    background: var(--background);
  }

  .nav a {
    padding: 6px 12px;
    font-size: 14px;
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 52px);
  }

  main {
    padding-top: 44px;
  }
}

@media (max-width: 1200px) {
  .method-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .solution-profile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
  }

  .topbar {
    gap: 12px;
    padding: 0 16px;
  }

  .brand {
    flex-shrink: 1;
    min-width: 0;
    font-size: 16px;
  }

  .brand span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  main {
    padding: 44px 0 0;
    gap: 8px;
  }

  .hero,
  .intro,
  .split-heading,
  .publish-layout,
  .industry-picker {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 24px 16px;
  }

  .section {
    padding: 20px 16px;
  }

  .steps,
  .copy-guide,
  .workflow-grid,
  .method-grid,
  .utility-prompts,
  .start-grid,
  .industry-grid,
  .case-strip {
    grid-template-columns: 1fr;
  }

  .day-card {
    grid-template-columns: 1fr;
  }

  .day-meta {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .day-meta strong {
    font-size: 16px;
  }

  .day-content {
    padding: 16px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px;
  }
}

@media (max-width: 640px) {
  .hero-actions a {
    width: 100%;
  }

  .course-card-top {
    display: grid;
  }

  .done-btn {
    width: 100%;
  }

  .prompt-box .copy-btn {
    position: static;
    margin: 12px 12px 0;
  }

  .prompt-box h4 {
    padding: 12px 14px 0;
  }

  .solution-grid,
  .solution-profile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artifact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* dApp mobile menu lists full language names */
  .lang-menu {
    min-width: 240px;
  }

  .lang-menu .lang-name {
    display: inline;
  }

  .lang-menu .lang-code-label {
    display: none;
  }
}
