:root {
  color-scheme: light;
  --ink: #192722;
  --muted: #52615a;
  --line: #d9ddd4;
  --paper: #f5f5ed;
  --white: #fffef8;
  --forest: #142b24;
  --mint: #dcecac;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Myanmar Text", "Noto Sans Myanmar", system-ui, sans-serif; line-height: 1.8; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #5479dc; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
header { background: var(--forest); color: var(--white); }
.bar, nav, .brand, .section-head, .dialog-head { display: flex; align-items: center; gap: 24px; }
.bar, .section-head, .dialog-head { justify-content: space-between; }
.bar { min-height: 74px; }
.brand { gap: 8px; font-size: 15px; }
.brand b, .icon { display: grid; place-items: center; border-radius: 9px; background: var(--mint); color: var(--forest); width: 36px; height: 36px; font-size: 21px; }
nav { font-size: 14px; }
nav a { padding: 5px 0; }
nav a:hover { color: var(--mint); }
.hero {
  display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(28px, 6vw, 86px);
  border-radius: 0 0 26px 26px; margin: 0 0 62px; padding: clamp(30px, 6vw, 85px);
  background: radial-gradient(ellipse at 95% 0%, #365046, transparent 65%), var(--forest); color: var(--white);
}
.eyebrow { color: #53685d; font: 750 11px/1.6 system-ui, sans-serif; letter-spacing: .15em; margin: 0 0 12px; }
.hero .eyebrow { color: var(--mint); }
h1 { font-size: clamp(29px, 4.15vw, 60px); line-height: 1.5; letter-spacing: -.035em; }
h1 em { font-style: normal; color: var(--mint); }
.intro { max-width: 525px; margin: 16px 0 24px; color: #d8e3d8; }
.button, button.action { display: inline-flex; gap: 18px; align-items: center; border: 0; background: var(--mint); color: var(--forest); border-radius: 8px; font-weight: 700; padding: 9px 17px; }
.button:hover, button.action:hover { background: #ecf7ce; }
.brief { position: relative; background: #213d33; color: var(--white); border: 1px solid #577167; border-radius: 18px; padding: clamp(20px, 3vw, 34px); box-shadow: 0 18px 48px #08191265; }
.brief h2 { font-size: 20px; line-height: 1.55; }
.brief dl { margin: 14px 0 0; }
.brief dl div { padding: 9px 0; border-top: 1px solid #4d685c; }
.brief dt { font-size: 12px; color: var(--mint); }
.brief dd { margin: 0; font-size: 15px; }
.library, .prompt { scroll-margin-top: 24px; }
.section-head { align-items: end; }
.section-head h2, .prompt h2 { font-size: clamp(24px, 3.2vw, 38px); line-height: 1.55; }
.section-head label { display: grid; font-size: 13px; gap: 4px; color: var(--muted); }
input { min-width: 0; width: min(100%, 280px); padding: 8px 13px; border-radius: 8px; border: 1px solid #aeb9ad; background: var(--white); color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.card { display: grid; justify-items: start; text-align: left; align-content: start; gap: 9px; padding: 23px; min-height: 172px; background: var(--white); border: 1px solid var(--line); border-radius: 13px; color: inherit; transition: border-color .18s, box-shadow .18s; }
.card:hover { border-color: #73907a; box-shadow: 0 8px 22px #18302415; }
.card h3 { font-size: 19px; line-height: 1.45; }
.card p { font-size: 14px; color: var(--muted); }
.card small { font-weight: 700; color: #345743; }
#progress { margin: 12px 0; color: var(--muted); font-size: 13px; }
.prompt { display: grid; grid-template-columns: .85fr 1.15fr; column-gap: 28px; margin: 60px 0 46px; padding: clamp(20px, 4vw, 44px); border: 1px solid var(--line); border-radius: 16px; background: #e9eee2; }
.prompt .eyebrow { grid-column: 1; margin-bottom: 4px; }
.prompt h2 { grid-column: 1; }
.prompt ol { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding-inline-start: 23px; }
.prompt li + li { margin-top: 7px; }
footer { border-top: 1px solid var(--line); padding: 21px 0; color: var(--muted); font-size: 13px; }
dialog { width: min(680px, calc(100% - 26px)); max-height: 88dvh; overflow: auto; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: clamp(17px, 4vw, 32px); }
dialog::backdrop { background: #10241cce; }
.dialog-head { border-bottom: 1px solid var(--line); padding-bottom: 11px; }
#close { border: 0; background: #e5ebdf; border-radius: 8px; color: var(--ink); font-size: 24px; padding: 0 12px; }
#body h3 { margin-top: 16px; font-size: 16px; }
textarea { display: block; width: 100%; min-height: 120px; resize: vertical; background: #eef2e8; border: 1px solid #b9c6b5; border-radius: 8px; padding: 11px; color: inherit; }
#body .action { margin: 8px 8px 0 0; }
#status { display: block; margin-top: 7px; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 24px; margin-bottom: 38px; }
  .brief { max-width: 520px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .shell { width: calc(100% - 28px); }
  .bar, .section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .bar { padding: 12px 0; }
  nav { flex-wrap: wrap; gap: 6px 16px; }
  .hero { padding: 22px 16px; }
  .cards, .prompt { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .prompt { margin-top: 38px; }
  .prompt ol { grid-column: 1; grid-row: auto; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}

