:root {
  color-scheme: light;
  --ink: #192b29;
  --muted: #48615d;
  --teal: #0f675f;
  --hero: #123e38;
  --paper: #f6faf8;
  --line: #ccded8;
  --mint: #c2eee1;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--teal); text-underline-offset: .19em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid #167b69; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 68rem); margin-inline: auto; }
.skip { position: absolute; inset: .55rem auto auto .55rem; transform: translateY(-180%); padding: .65rem; background: #fff; z-index: 1; }
.skip:focus { transform: none; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.top-inner a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.brand { gap: .55rem; color: var(--hero); font-size: 1.55rem; letter-spacing: -.04em; font-weight: 700; text-decoration: none; }
.brand img { object-fit: contain; }
.brand-label { font-weight: 500; font-size: .88rem; letter-spacing: 0; border-left: 1px solid var(--line); padding-left: .8rem; margin-left: .25rem; }
.hero { background: var(--hero); color: #fff; padding-block: clamp(2.4rem, 6vw, 5.1rem); border-bottom: .35rem solid #20937f; }
.hero-copy { max-width: 48rem; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 4.2rem); letter-spacing: -.047em; line-height: 1.06; margin-bottom: .9rem; text-wrap: balance; }
h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.025em; line-height: 1.2; margin-bottom: 1rem; }
.hero p { font-size: clamp(1rem, 2vw, 1.22rem); color: #dcf3ed; margin-bottom: 1.7rem; }
.hero label { display: block; font-size: .92rem; color: var(--mint); font-weight: 650; margin-bottom: .35rem; }
.hero input { width: min(100%, 36rem); min-height: 3.2rem; padding: .65rem 1rem; font: inherit; border: 1px solid #85bfb3; border-radius: .45rem; color: var(--ink); background: #fff; }
.hero input:focus-visible { outline-color: var(--mint); }
.home-body { padding-block: 2.4rem 3rem; }
.category-grid, .guide-list { list-style: none; padding: 0; margin: 0; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; }
.category-grid li, .guide-list li { border-top: 1px solid var(--line); padding: .9rem 0 1.15rem; }
.category-grid li a, .guide-list li a { font-weight: 650; font-size: 1.1rem; }
.category-grid p, .guide-list p { color: var(--muted); margin: .2rem 0 0; }
.category-grid small { display: block; margin-top: .45rem; font-size: .88rem; color: var(--muted); }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.5rem; margin-top: 2rem; border-left: .25rem solid #20937f; background: #e4f2ed; }
.contact h2 { font-size: 1.25rem; margin-bottom: .2rem; }
.contact p { margin: 0; }
.contact a { padding: .55rem .85rem; border-radius: .35rem; background: var(--teal); color: #fff; font-weight: 650; flex-shrink: 0; }
footer { border-top: 1px solid var(--line); background: #fff; font-size: .95rem; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .5rem 1.45rem; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.content { max-width: 50rem; padding-block: 2rem 3rem; overflow-wrap: anywhere; }
.content h1 { font-size: clamp(2rem, 1rem + 3.5vw, 3.4rem); }
.content nav { margin-bottom: 1.55rem; }
.crumb { display: flex; flex-wrap: wrap; gap: .35rem .75rem; }
.intro { font-size: 1.18rem; color: var(--muted); }
.platform { color: var(--teal); font-size: .95rem; font-weight: 650; }
.content section, .content details { margin-top: 1.9rem; }
.steps { padding-left: 1.5rem; }
.steps li { padding: .55rem 0 .55rem .25rem; border-bottom: 1px solid var(--line); }
.steps li::marker { color: var(--teal); font-weight: 700; }
figure { margin: 1rem 0; }
figure img { max-width: 100%; height: auto; }
.player { display: block; width: min(100%, 35rem); aspect-ratio: 16 / 9; min-height: 200px; border: 0; background: #121b19; margin-bottom: .7rem; }
summary { color: var(--teal); cursor: pointer; font-weight: 650; padding-block: .55rem; }
.transcript { white-space: pre-wrap; }
.preview { margin: 0; padding: .5rem 1rem; text-align: center; color: #633d13; background: #fff0d7; font-size: .9rem; }
@media (max-width: 47rem) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 32rem) {
  .wrap { width: calc(100% - 2rem); }
  .category-grid { grid-template-columns: 1fr; }
  .brand-label { display: none; }
  .contact, .footer-inner { flex-direction: column; align-items: flex-start; }
}
