:root {
  color-scheme: light;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --ink: #17243b;
  --muted: #526279;
  --primary: #2457d6;
  --line: #dce3eb;
  --film: #17243b;
  font-family: Assistant, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; font-size: 1.125rem; line-height: 1.65; }
button, input, summary { font: inherit; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: Heebo, sans-serif; font-weight: 500; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; border-radius: 3px; }
.page-width { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; inset-inline-start: 24px; top: 12px; z-index: 10; padding: 10px 20px; background: var(--ink); color: var(--surface); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; gap: 22px; align-items: center; min-height: 106px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: Heebo, sans-serif; font-size: 1.625rem; font-weight: 500; }
.brand img { width: 40px; height: 40px; }
.header-label { border-inline-start: 1px solid var(--line); padding-inline-start: 22px; font-size: 0.9375rem; color: var(--muted); }
.back-link { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 1rem; }
.back-link:hover, .text-link:hover, .site-footer a:hover { color: var(--primary); }
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: end; padding-block: 74px 54px; }
.eyebrow { display: flex; gap: 10px; align-items: center; font-size: 0.875rem; font-weight: 600; color: var(--primary); margin-bottom: 15px; }
.eyebrow-line { width: 26px; height: 1px; background: currentColor; }
h1 { font-size: clamp(2.5rem, 4.4vw, 3.8125rem); line-height: 1.25; letter-spacing: -0.035em; }
h1 span { display: block; font-size: .66em; color: var(--muted); font-weight: 400; letter-spacing: -0.035em; margin-top: 6px; }
.intro-aside { max-width: 430px; padding-bottom: 4px; }
.intro-aside > p { color: var(--muted); font-size: 1.1875rem; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; font-weight: 600; }
.intro-aside .text-link { margin-top: 14px; font-size: 1rem; }
.film-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 17px 24px; color: var(--paper); background: var(--film); border-radius: 16px 16px 0 0; }
.film-heading h2 { font-family: Assistant, sans-serif; font-size: 1.0625rem; font-weight: 600; }
.film-kind { display: inline-flex; gap: 8px; align-items: center; font-size: 0.8125rem; color: #dce3eb; white-space: nowrap; }
.film-dot { width: 5px; height: 5px; border-radius: 50%; background: #8eadff; }
.film-frame { background: var(--film); border: 8px solid var(--film); border-top: 0; border-radius: 0 0 16px 16px; box-shadow: 0 20px 40px -30px #17243b4d; overflow: hidden; }
video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--film); object-fit: contain; border-radius: 5px; }
video::cue { font-family: Assistant, sans-serif; font-size: 1em; background: rgba(24, 27, 25, .9); color: white; }
.film-caption { display: flex; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 0.875rem; padding: 16px 4px 0; }
.caption-language { white-space: nowrap; }
.video-status { margin-top: 14px; padding: 12px 16px; border-inline-start: 2px solid var(--primary); background: #edf2ff; font-size: 1rem; }
.written-guides { padding-top: 94px; }
.section-heading { display: flex; align-items: end; gap: 40px; justify-content: space-between; margin-bottom: 33px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2 { font-size: 1.9375rem; letter-spacing: -.025em; }
.section-heading > p { font-size: 1rem; color: var(--muted); }
.guide-count { color: var(--ink); }
.guide-list { border-top: 1px solid var(--line); }
.guide { border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.guide summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 50px minmax(0, 1fr) 36px; gap: 21px; align-items: center; min-height: 114px; padding: 21px 15px; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary:hover { background: #f7f9fc; }
.guide-number { font-family: Heebo, sans-serif; color: var(--primary); font-size: 1.375rem; font-variant-numeric: tabular-nums; font-weight: 400; }
.guide-title { display: block; font-family: Heebo, sans-serif; font-size: 1.3125rem; line-height: 1.5; font-weight: 500; letter-spacing: -.02em; }
.guide-summary { display: block; color: var(--muted); font-size: 1rem; margin-top: 3px; line-height: 1.65; }
.guide-toggle { position: relative; display: block; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; }
.guide-toggle::before, .guide-toggle::after { content: ''; position: absolute; width: 12px; height: 1px; background: var(--muted); top: 16px; left: 10px; }
.guide-toggle::after { transform: rotate(90deg); }
.guide[open] { background: var(--surface); }
.guide[open] .guide-toggle { background: var(--ink); border-color: var(--ink); }
.guide[open] .guide-toggle::before { background: var(--surface); }
.guide[open] .guide-toggle::after { display: none; }
.guide-body { padding: 4px 86px 37px 72px; }
.guide-steps { list-style: none; padding: 0; margin: 0; max-width: 830px; }
.guide-steps li { position: relative; padding-inline-start: 40px; font-size: 1.125rem; line-height: 1.8; margin-bottom: 19px; }
.guide-steps .step-number { position: absolute; inset-inline-start: 0; top: 4px; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 6px; color: var(--primary); font-size: 0.875rem; line-height: 1; font-variant-numeric: tabular-nums; }
.guide-result { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 20px; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 20px; max-width: 830px; }
.guide-result h3 { color: var(--primary); font-family: Assistant, sans-serif; font-size: 1rem; font-weight: 600; padding-top: 2px; }
.guide-result p { font-size: 1.0625rem; line-height: 1.75; }
.guide-tip { margin-top: 21px; padding: 16px 20px; background: var(--paper); border-inline-start: 2px solid #2457d6; max-width: 830px; color: #526279; font-size: 1rem; line-height: 1.75; }
.guide-tip strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.guide-end { display: flex; justify-content: end; max-width: 830px; margin-top: 15px; }
.guide-end a { font-size: 0.875rem; text-decoration: underline; text-underline-offset: 4px; min-height: 40px; display: inline-flex; align-items: center; }
.closing-note { display: flex; gap: 20px; align-items: center; padding-block: 48px; margin-top: 15px; }
.closing-note img { width: 34px; height: 34px; }
.closing-note p { font-family: Heebo, sans-serif; font-weight: 400; font-size: 1.1875rem; }
.closing-note p span { display: block; font-family: Assistant, sans-serif; font-size: 1rem; color: var(--muted); margin-top: 2px; }
.closing-note .text-link { margin-inline-start: auto; font-size: 0.9375rem; }
.site-footer { display: flex; align-items: center; gap: 25px; border-top: 1px solid var(--line); padding-block: 25px 32px; color: var(--muted); font-size: 0.875rem; }
.site-footer > span { font-family: Heebo, sans-serif; color: var(--ink); font-size: 1.25rem; }
.site-footer > a { margin-inline-start: auto; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 850px) {
  .page-width { width: calc(100% - 48px); }
  .intro { gap: 35px; padding-block: 54px 39px; }
  .intro-aside > p { font-size: 1.0625rem; }
  .guide-body { padding-inline: 68px 28px; }
  .guide summary { grid-template-columns: 38px minmax(0, 1fr) 34px; gap: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 1.0625rem; }
  .page-width { width: calc(100% - 36px); }
  .site-header { min-height: 82px; gap: 11px; }
  .brand { font-size: 1.4375rem; gap: 6px; }
  .brand img { width: 33px; height: 33px; }
  .header-label { border: 0; padding: 0; font-size: 0.75rem; }
  .back-link { gap: 5px; font-size: 0.8125rem; }
  .back-link svg { width: 18px; height: 18px; }
  .intro { grid-template-columns: 1fr; gap: 24px; padding-block: 42px 30px; }
  h1 { font-size: 2.6875rem; }
  h1 span { font-size: 1.6875rem; margin-top: 4px; }
  .eyebrow { font-size: 0.8125rem; margin-bottom: 12px; }
  .intro-aside { max-width: 36ch; }
  .intro-aside > p { font-size: 1.0625rem; line-height: 1.7; }
  .intro-aside .text-link { margin-top: 8px; }
  .film-heading { padding: 13px 14px; gap: 8px; border-radius: 10px 10px 0 0; }
  .film-heading h2 { font-size: 0.9375rem; }
  .film-kind { font-size: 0.6875rem; gap: 5px; }
  .film-frame { border-width: 4px; border-top: 0; border-radius: 0 0 10px 10px; }
  .film-caption { flex-direction: column; gap: 3px; padding-top: 12px; font-size: 0.8125rem; }
  .caption-language { font-size: 0.75rem; }
  .written-guides { padding-top: 54px; }
  .section-heading { display: block; margin-bottom: 23px; }
  .section-heading h2 { font-size: 1.6875rem; }
  .section-heading > p { margin-top: 10px; font-size: 0.9375rem; }
  .section-heading br { display: none; }
  .section-heading .guide-count::before { content: ' '; white-space: pre; }
  .guide summary { min-height: 112px; padding: 19px 3px; grid-template-columns: 29px minmax(0, 1fr) 28px; gap: 11px; align-items: start; }
  .guide-number { font-size: 1.125rem; line-height: 1.65; }
  .guide-title { font-size: 1.125rem; line-height: 1.65; }
  .guide-summary { font-size: 0.9375rem; line-height: 1.6; }
  .guide-toggle { width: 27px; height: 27px; margin-top: 2px; }
  .guide-toggle::before, .guide-toggle::after { width: 11px; top: 12px; left: 7px; }
  .guide-body { padding: 0 15px 24px; }
  .guide-steps li { font-size: 1.0625rem; padding-inline-start: 34px; margin-bottom: 18px; line-height: 1.8; }
  .guide-steps .step-number { top: 4px; width: 23px; height: 23px; font-size: 0.8125rem; }
  .guide-result { display: block; margin-top: 19px; padding-top: 16px; }
  .guide-result h3 { margin-bottom: 5px; }
  .guide-result p { font-size: 1rem; }
  .guide-tip { font-size: 0.9375rem; padding: 13px 15px; }
  .closing-note { flex-wrap: wrap; gap: 14px; padding-block: 30px; }
  .closing-note p { max-width: calc(100% - 50px); font-size: 1.0625rem; }
  .closing-note p span { font-size: 0.9375rem; }
  .closing-note .text-link { margin-inline-start: 48px; font-size: 0.875rem; }
  .site-footer { gap: 15px; font-size: 0.75rem; padding-block: 18px 24px; }
  .site-footer > span { font-size: 1.125rem; }
}
@media (max-width: 355px) {
  .header-label { display: none; }
  .film-kind { display: none; }
  .site-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .film-section, .intro-aside .text-link, .closing-note, .site-footer, .guide-end, .guide-toggle { display: none; }
  :root { background: white; }
  .page-width { width: 100%; }
  .intro { padding-block: 0 30px; }
  .written-guides { padding-top: 0; }
  .guide { break-inside: avoid; }
  .guide-body { display: block !important; padding-inline: 15px; }
}
