:root {
  --academy-ink: #123f31;
  --academy-green: #087c45;
  --academy-soft: #e8f0de;
  --academy-pale: #f2f6ed;
  --academy-cream: #fbfaf3;
  --academy-line: #d9e3d0;
  --academy-muted: #5b7065;
}

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

main {
  overflow: hidden;
  background: var(--academy-cream);
}

.guidance-hero[hidden],
.answer-section[hidden],
.answer-compose[hidden],
.answer-card[hidden],
.academy-cta[hidden] {
  display: none;
}

.guidance-hero {
  position: relative;
  min-height: 720px;
  padding: 42px clamp(48px, 7vw, 132px) 76px;
  border-bottom: 1px solid var(--academy-line);
  background:
    radial-gradient(circle at 50% 40%, rgba(201, 225, 174, 0.32), transparent 32%),
    linear-gradient(145deg, #fbfaf3 0%, #f8f9f1 60%, #edf5e7 100%);
}

.guidance-hero::before,
.guidance-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(8, 124, 69, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.guidance-hero::before {
  width: 520px;
  height: 520px;
  top: 105px;
  left: calc(50% - 260px);
}

.guidance-hero::after {
  width: 360px;
  height: 360px;
  top: 184px;
  left: calc(50% - 180px);
  border-style: dashed;
}

.guidance-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--academy-ink);
}

.guidance-label p {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.guidance-label span {
  color: #79907d;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.guidance-intro {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  margin: 56px auto 0;
  text-align: center;
}

.guidance-logo {
  display: block;
  width: 92px;
  height: auto;
  margin: 0 auto 18px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 18px;
  color: #5d7b68;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.guidance-intro h1,
.answer-title,
.academy-cta h2 {
  margin: 0;
  color: var(--academy-ink);
  letter-spacing: -0.04em;
}

.guidance-intro h1 {
  font-size: clamp(48px, 5.1vw, 78px);
  line-height: 1.14;
}

.guidance-lead {
  max-width: 680px;
  margin: 24px auto 0;
  color: #43594e;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.8;
}

.guidance-support {
  margin: 12px 0 18px;
  color: #789181;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
}

.question-search {
  position: relative;
  width: min(720px, 100%);
  min-height: 66px;
  margin: 34px auto 0;
  padding: 7px 7px 7px 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #bfd2b5;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(34, 74, 47, 0.1);
}

.question-search:focus-within {
  border-color: var(--academy-green);
  box-shadow: 0 0 0 4px rgba(8, 124, 69, 0.09), 0 18px 50px rgba(34, 74, 47, 0.1);
}

.question-search svg {
  position: absolute;
  left: 22px;
  width: 22px;
  height: 22px;
  color: #63806c;
}

.question-search input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #233f33;
  background: transparent;
  font: inherit;
  font-size: 16px;
}

.question-search input::placeholder {
  color: #8a9a8f;
}

.question-search button {
  flex: none;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: var(--academy-green);
  cursor: pointer;
  font-weight: 600;
}

.question-search button:hover {
  background: #066934;
}

.search-results {
  width: min(720px, 100%);
  margin: 12px auto 0;
  padding: 10px;
  border: 1px solid var(--academy-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(34, 74, 47, 0.1);
  text-align: left;
}

.search-results p {
  padding: 10px 12px;
  color: var(--academy-muted);
  font-size: 14px;
  line-height: 1.7;
}

.search-result {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  border-radius: 10px;
  color: #29483a;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.search-result:hover,
.search-result:focus-visible {
  color: var(--academy-green);
  background: #eff6e9;
}

.suggested-questions {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  margin: 46px auto 0;
  text-align: center;
}

.suggested-questions > p {
  margin-bottom: 18px;
  color: #718478;
  font-size: 13px;
}

.question-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.question-chip {
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid #d1dec9;
  border-radius: 999px;
  color: #355646;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.question-chip:hover,
.question-chip[aria-pressed="true"] {
  transform: translateY(-2px);
  border-color: #8fbc8a;
  color: #126e3f;
  background: #e9f3df;
}

.answer-section {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  background: #f4f7f0;
  transition: grid-template-columns 180ms ease;
}

.answer-section.is-sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}

.answer-sidebar {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 42px 24px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--academy-line);
  background: #edf3e8;
  transition: opacity 150ms ease, transform 180ms ease, visibility 180ms;
}

.answer-section.is-sidebar-collapsed .answer-sidebar {
  opacity: 0;
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
}

.answer-sidebar-topbar {
  min-height: 34px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #315944;
  font-size: 14px;
  font-weight: 650;
}

.answer-sidebar-close,
.answer-sidebar-toggle {
  width: 40px;
  height: 40px;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #52675a;
  background: transparent;
  cursor: pointer;
}

.answer-sidebar-close:hover,
.answer-sidebar-toggle:hover {
  border-color: #c9d8c3;
  color: #126e3f;
  background: #fff;
}

.answer-sidebar-close svg,
.answer-sidebar-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.answer-sidebar-heading {
  margin-top: 26px;
  padding: 0 10px 20px;
  border-bottom: 1px solid rgba(106, 135, 112, 0.18);
}

.answer-sidebar-heading h2 {
  margin: 0;
  color: var(--academy-ink);
  font-size: 26px;
  letter-spacing: -0.03em;
}

.answer-sidebar-heading > p:last-child {
  margin: 10px 0 0;
  color: var(--academy-muted);
  font-size: 13px;
  line-height: 1.65;
}

.answer-history {
  min-height: 0;
  margin: 20px -4px 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #bdcfb7 transparent;
}

.answer-history-empty {
  margin: 0;
  padding: 18px 14px;
  color: #74877b;
  font-size: 13px;
  line-height: 1.7;
}

.answer-history-button {
  width: 100%;
  height: 66px;
  min-height: 66px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #365746;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.answer-history-button:hover {
  background: rgba(255, 255, 255, 0.62);
}

.answer-history-button[aria-current="true"] {
  border-color: #c7d9c0;
  color: #0c6137;
  background: #fff;
  box-shadow: 0 8px 22px rgba(35, 72, 45, 0.06);
}

.answer-history-button small {
  color: #7c9183;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.answer-history-button span {
  display: block;
  width: 100%;
  overflow: hidden;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.answer-new-question {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #b7ceb0;
  border-radius: 13px;
  color: #17643b;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.answer-new-question:hover {
  border-color: #74a66d;
  background: #f7faf4;
}

.answer-content {
  min-width: 0;
  padding: 46px clamp(30px, 5vw, 84px) 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 3%, rgba(203, 226, 178, 0.25), transparent 28%),
    #f8faf5;
}

.answer-workspace-toolbar {
  max-width: 1080px;
  min-height: 42px;
  margin: 0 auto 18px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  color: #6d8175;
  font-size: 12px;
}

.answer-workspace-label {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.answer-workspace-label p {
  margin: 0;
  color: #315743;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.answer-workspace-label span {
  color: #79907d;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.answer-section:not(.is-sidebar-collapsed) .answer-sidebar-toggle {
  display: none;
}

.answer-sidebar-toggle[hidden] {
  display: none;
}

.answer-sidebar-backdrop {
  display: none;
}

.answer-compose {
  position: relative;
  isolation: isolate;
  max-width: 1080px;
  min-height: min(720px, calc(100vh - 170px));
  margin: 0 auto;
  padding: 24px 0 68px;
  overflow: hidden;
  text-align: center;
}

.answer-compose::before,
.answer-compose::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 47%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.answer-compose::before {
  width: min(720px, 76vw);
  aspect-ratio: 1;
  border: 1px solid rgba(157, 198, 166, 0.34);
  background: radial-gradient(circle, rgba(225, 238, 205, 0.62) 0%, rgba(247, 250, 241, 0.12) 67%, transparent 68%);
}

.answer-compose::after {
  width: min(520px, 56vw);
  aspect-ratio: 1;
  border: 1px dashed rgba(157, 198, 166, 0.36);
}

.answer-compose > * {
  position: relative;
  z-index: 1;
}

.answer-compose-logo {
  margin-top: 0;
}

.answer-compose > .eyebrow {
  margin: 0 0 18px;
}

.answer-compose h2 {
  margin: 0;
  color: var(--academy-ink);
  font-size: clamp(48px, 5.1vw, 78px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.answer-compose > .guidance-lead {
  max-width: 680px;
  margin: 24px auto 0;
  color: #43594e;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.8;
}

.answer-compose > p.answer-compose-support {
  margin: 12px 0 18px;
  color: #789181;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.answer-compose-search {
  width: min(720px, 100%);
  margin: 34px auto 0;
}

.answer-compose-suggestions {
  width: min(1080px, 100%);
  margin: 46px auto 0;
}

.answer-compose-suggestions > p {
  margin: 0 0 16px;
  color: #71867a;
  font-size: 13px;
}

.answer-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(32px, 4.6vw, 64px);
  border: 1px solid var(--academy-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 64px rgba(31, 67, 43, 0.06);
}

.answer-category {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #477153;
  background: var(--academy-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.answer-title {
  max-width: 790px;
  margin-top: 20px;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.3;
}

.answer-summary {
  max-width: 830px;
  margin-top: 24px;
  color: #42584d;
  font-size: 18px;
  line-height: 1.9;
}

.answer-solution {
  margin-top: 48px;
  padding: 30px 32px 26px;
  border: 1px solid var(--academy-line);
  border-radius: 22px;
  background: #fbfcf8;
}

.answer-solution h3,
.learning-resources h3,
.answer-resources h3 {
  margin: 0;
  color: var(--academy-ink);
  font-size: 19px;
}

.answer-solution-steps {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.answer-solution-steps li {
  min-height: 62px;
  padding: 14px 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border-top: 1px solid #dce7d7;
}

.answer-solution-steps li:first-child {
  border-top: 0;
}

.answer-step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #17643b;
  font-size: 17px;
  font-weight: 700;
}

.answer-solution-steps p {
  margin: 0;
  color: #294c3a;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.65;
}

.answer-solution-note {
  margin: 16px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #dce7d7;
  color: #6b7d72;
  font-size: 13px;
  line-height: 1.85;
}

.answer-solution-note strong {
  margin-right: 10px;
  color: #4f6b5c;
  font-weight: 650;
}

.answer-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.followup-trigger { flex-shrink: 0; min-height: 40px; padding: 8px 16px; border: 1px solid #bfd4b8; border-radius: 11px; color: #286446; background: #f6faf2; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.followup-trigger:hover { background: #eaf3e3; border-color: #92b384; }
.followup-trigger:focus-visible,.followup-close:focus-visible { outline: 3px solid #8eb384; outline-offset: 3px; }
.feedback-dialog { width: min(640px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; overflow: auto; border: 1px solid #d9e5d2; border-radius: 24px; color: var(--academy-ink); background: #fff; box-shadow: 0 28px 80px rgba(14,51,37,.2); }
.feedback-dialog::backdrop { background: rgba(17,44,34,.4); backdrop-filter: blur(4px); }
.followup-card { padding: 30px; }
.followup-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.followup-eyebrow { margin: 0 0 8px; color: #71866e; font-size: 12px; letter-spacing: .08em; }
.followup-heading h2 { margin: 0; font-size: 27px; line-height: 1.4; }
.followup-close { flex-shrink: 0; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f0f5eb; color: #58745d; font: inherit; font-size: 25px; cursor: pointer; }
.followup-intro { margin: 12px 0 20px; color: #718272; font-size: 13px; line-height: 1.8; }
.followup-question { display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; background: #f3f7ee; }
.followup-question span { font-size: 11px; color: #7a8b75; }
.followup-question strong { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.followup-description { display: block; min-width: 0; color: #345440; font-size: 13px; font-weight: 600; }
.followup-card small,.followup-effect legend span { margin-left: 5px; color: #8a9984; font-size: 11px; font-weight: 400; }
.followup-description textarea { display: block; box-sizing: border-box; width: 100%; min-width: 0; margin-top: 8px; padding: 11px 12px; border: 1px solid #d7e3ce; border-radius: 9px; color: #345440; background: #fcfdf9; font: inherit; font-weight: 400; font-size: 14px; }
.followup-card input:focus-visible,.followup-description textarea:focus-visible { outline: 2px solid #88b779; outline-offset: 2px; }
.followup-effect { margin: 22px 0; padding: 0; border: 0; min-width: 0; }
.followup-effect legend { margin-bottom: 12px; padding: 0; color: #345440; font-size: 14px; font-weight: 650; }
.followup-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.followup-options label { position: relative; cursor: pointer; }
.followup-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.followup-options span { display: block; padding: 11px 4px; border: 1px solid #cbdcc2; border-radius: 10px; text-align: center; color: #58745d; background: #fff; font-size: 14px; }
.followup-options input:checked + span { color: #fff; background: #17643b; border-color: #17643b; }
.followup-options input:focus-visible + span { outline: 3px solid #91b886; outline-offset: 2px; }
.followup-description textarea { resize: vertical; min-height: 110px; max-height: 220px; line-height: 1.7; }
.followup-description textarea::placeholder { color: #9aa592; font-size: 12px; }
.followup-hint { display: block; margin-top: 8px; color: #86917f; font-size: 11px; font-weight: 400; line-height: 1.7; }
.followup-save-status { margin: 12px 0 0; color: #276440; font-size: 13px; line-height: 1.7; }
.followup-save-status:empty { display: none; }
.followup-footer { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e8eee2; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.followup-footer span { color: #8a9684; font-size: 11px; line-height: 1.6; }
.followup-footer button { flex-shrink: 0; min-height: 44px; padding: 0 24px; border: 0; border-radius: 11px; color: #fff; background: #17643b; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.followup-footer button:hover { background: #0e5430; }
@media (max-width: 480px) {
  .followup-card { padding: 22px 18px; }
  .followup-heading h2 { font-size: 24px; }
  .followup-options { gap: 7px; }
  .followup-footer { align-items: stretch; flex-direction: column; }
  .followup-trigger { padding: 8px 11px; font-size: 12px; }
}

.learning-resources {
  margin-top: 30px;
  padding: 28px;
  border: 1px solid #c8dcbf;
  border-radius: 22px;
  background: linear-gradient(135deg, #edf5e5, #f8faf3);
}

.learning-resource-list {
  margin-top: 18px;
}

.learning-resource-card {
  width: 100%;
  min-height: 190px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cbdcc3;
  border-radius: 18px;
  color: inherit;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.learning-resource-card:hover {
  transform: translateY(-3px);
  border-color: #91b687;
  box-shadow: 0 14px 30px rgba(31, 76, 44, 0.08);
}

.learning-video-preview {
  min-height: 190px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 28%, rgba(130, 191, 83, 0.55), transparent 26%),
    linear-gradient(145deg, #174f39, #0a7543);
}

.learning-video-play {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 22px;
}

.learning-video-preview small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.learning-video-copy {
  padding: 25px 26px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.learning-resource-source {
  padding: 5px 9px;
  border-radius: 999px;
  color: #3e734d;
  background: #e7f1dd;
  font-size: 11px;
  font-weight: 650;
}

.learning-resource-title {
  display: block;
  margin: 14px 0 0;
  color: var(--academy-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.learning-resource-description {
  display: block;
  margin: 10px 0 0;
  color: #596e61;
  font-size: 14px;
  line-height: 1.75;
}

.video-dialog {
  width: min(760px, calc(100% - 40px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(14, 51, 37, 0.24);
}

.video-dialog::backdrop {
  background: rgba(17, 44, 34, 0.46);
  backdrop-filter: blur(4px);
}

.video-dialog-card {
  overflow: hidden;
  border-radius: 24px;
}

.video-dialog-stage {
  min-height: 330px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 68% 24%, rgba(137, 197, 90, 0.42), transparent 28%),
    linear-gradient(145deg, #102d23, #0a6440);
}

.video-dialog-stage span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 28px;
}

.video-dialog-stage p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.video-dialog-copy {
  padding: 24px 28px 28px;
}

.video-dialog-copy > span {
  color: #547563;
  font-size: 12px;
  font-weight: 650;
}

.video-dialog-copy h2 {
  margin: 10px 0 0;
  color: var(--academy-ink);
  font-size: 24px;
}

.video-dialog-copy p {
  margin: 10px 0 0;
  color: #65796d;
  font-size: 14px;
  line-height: 1.7;
}

.video-dialog-copy button {
  min-width: 104px;
  min-height: 42px;
  margin-top: 20px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #17643b;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.video-dialog-copy button:hover {
  background: #0e5430;
}

.answer-resources {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--academy-line);
}

.resource-list {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.resource-button {
  min-height: 112px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--academy-line);
  border-radius: 17px;
  color: #315542;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.resource-button:hover {
  border-color: #99bd91;
  background: #f0f6ea;
}

.resource-button small {
  color: #7b8c80;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.empty-answer {
  padding: 20px 0;
  text-align: center;
}

.empty-answer h2 {
  color: var(--academy-ink);
  font-size: 30px;
}

.empty-answer p {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--academy-muted);
  font-size: 16px;
  line-height: 1.8;
}

.ai-direction-loading {
  min-height: 360px;
  display: grid;
  place-content: center;
  gap: 16px;
  text-align: center;
}

.ai-direction-loading h2 {
  margin: 0;
  color: var(--academy-ink);
  font-size: 30px;
}

.academy-cta {
  padding: 88px clamp(48px, 7vw, 132px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  background: var(--academy-ink);
}

.academy-cta .eyebrow,
.academy-cta h2 {
  color: #fff;
}

.academy-cta .eyebrow {
  margin-bottom: 16px;
  opacity: 0.7;
}

.academy-cta h2 {
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.28;
}

.button {
  min-height: 54px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 16px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.button:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .guidance-hero {
    min-height: auto;
  }

  .guidance-hero::before,
  .guidance-hero::after {
    opacity: 0.65;
  }

  .answer-section {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .answer-section.is-sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .answer-sidebar {
    position: fixed;
    z-index: 120;
    top: 82px;
    bottom: 0;
    left: 0;
    width: min(330px, 88vw);
    padding: 22px 20px 24px;
    border-right: 1px solid var(--academy-line);
    box-shadow: 18px 0 48px rgba(25, 53, 33, 0.15);
  }

  .answer-section.is-sidebar-collapsed .answer-sidebar {
    transform: translateX(-102%);
  }

  .answer-sidebar-heading {
    margin-top: 24px;
    padding: 0 8px 18px;
  }

  .answer-sidebar-heading h2 {
    font-size: 22px;
  }

  .answer-history {
    margin: 16px -4px 0;
    flex: 1;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .answer-history-button {
    width: 100%;
    height: 64px;
    min-height: 64px;
  }

  .answer-new-question {
    display: flex;
  }

  .answer-content {
    padding: 28px 30px 72px;
  }

  .answer-workspace-toolbar {
    max-width: 1080px;
    margin: 0 auto 20px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    color: #6d8175;
    font-size: 12px;
  }

  .answer-section:not(.is-sidebar-collapsed) .answer-sidebar-toggle {
    visibility: visible;
    pointer-events: auto;
  }

  .answer-sidebar-backdrop {
    position: fixed;
    z-index: 110;
    inset: 82px 0 0;
    display: block;
    border: 0;
    background: rgba(14, 34, 22, 0.24);
    opacity: 1;
    cursor: default;
    transition: opacity 150ms ease, visibility 150ms;
  }

  .answer-section.is-sidebar-collapsed .answer-sidebar-backdrop {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .resource-list {
    grid-template-columns: 1fr;
  }

  .learning-resource-list {
    grid-template-columns: 1fr;
  }

  .academy-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .guidance-hero,
  .academy-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .guidance-hero {
    padding-top: 28px;
    padding-bottom: 54px;
  }

  .guidance-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .guidance-label p {
    font-size: 16px;
  }

  .guidance-intro {
    margin-top: 44px;
  }

  .guidance-logo {
    width: 74px;
  }

  .guidance-intro h1 {
    font-size: 40px;
  }

  .guidance-lead {
    font-size: 16px;
  }

  .question-search {
    min-height: 60px;
    padding-left: 48px;
    border-radius: 17px;
  }

  .question-search svg {
    left: 17px;
    width: 19px;
  }

  .question-search button {
    min-height: 46px;
    padding: 0 15px;
    border-radius: 13px;
    font-size: 13px;
  }

  .question-search input {
    font-size: 14px;
  }

  .suggested-questions {
    margin-top: 34px;
  }

  .question-chips {
    align-items: stretch;
    flex-direction: column;
  }

  .question-chip {
    width: 100%;
    border-radius: 14px;
    text-align: left;
  }

  .answer-sidebar {
    top: 72px;
    padding: 18px 16px 20px;
  }

  .answer-content {
    padding: 20px 16px 58px;
  }

  .answer-workspace-toolbar {
    margin-bottom: 14px;
  }

  .answer-workspace-toolbar > span {
    display: none;
  }

  .answer-workspace-label span {
    display: none;
  }

  .answer-sidebar-backdrop {
    inset: 72px 0 0;
  }

  .answer-compose {
    min-height: calc(100vh - 150px);
    padding: 28px 4px 54px;
  }

  .answer-compose h2 {
    font-size: 40px;
  }

  .answer-compose > .guidance-lead {
    font-size: 15px;
  }

  .answer-compose-suggestions {
    margin-top: 30px;
  }

  .answer-card {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .answer-title {
    font-size: 31px;
  }

  .answer-summary {
    font-size: 16px;
  }

  .answer-solution {
    margin-top: 34px;
    padding: 24px 21px 21px;
  }

  .answer-solution-steps li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 13px;
  }

  .answer-step-number {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .answer-solution-steps p {
    font-size: 15px;
  }

  .learning-resources {
    padding: 21px;
  }

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

  .learning-video-preview {
    min-height: 170px;
  }

  .learning-video-copy {
    padding: 22px;
  }

  .video-dialog-stage {
    min-height: 230px;
  }

  .video-dialog-copy {
    padding: 22px;
  }

  .academy-cta {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .button {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
