:root {
  color-scheme: light;
  --ink: #23252a;
  --muted: #535d70;
  --blue: #194ac9;
  --wash: #f0f4fe;
  --edge: #c6d3f1;
  --round: 6px;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Verdana, sans-serif;
  font-size: 18px;
  color: var(--ink);
  background: #fff;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 30px; }
body { margin: 0; line-height: 1.65; }
[hidden] { display: none !important; }
::selection { background: #cbdcff; color: #19254a; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible, button:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
button, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, .wide-big, .ask-q, .idx strong {
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
}
h1 { margin: .2em 0 .42em; font-size: 3.7rem; line-height: 1.13; letter-spacing: -.035em; max-width: 18ch; overflow-wrap: break-word; }
h2 { margin: 0 0 .9em; font-size: 1.95rem; line-height: 1.28; letter-spacing: -.018em; max-width: 29ch; }
h3 { margin: 0 0 .7em; font-size: 1.25rem; line-height: 1.4; }
li + li { margin-top: .65em; }
li::marker { color: var(--blue); }
.skip { position: absolute; top: -100px; left: 20px; z-index: 10; min-height: 48px; padding: 10px 18px; background: #fff; border: 2px solid var(--blue); border-radius: var(--round); }
.skip:focus { top: 14px; }
.hd { max-width: 1264px; margin: auto; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 2px solid var(--edge); }
.mark { min-height: 58px; display: inline-flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.12; font-weight: bold; }
.mark:hover { color: var(--blue); }
.mark-g { width: 44px; height: 44px; border-radius: var(--round); color: #fff; background: var(--blue); position: relative; font-size: 36px; line-height: .8; padding: 2px 0 0 4px; }
.mark-g span { font-size: 30px; position: absolute; bottom: 3px; right: 4px; }
.top { display: flex; gap: 28px; align-items: center; }
.top a { min-height: 48px; display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; padding: 8px 4px; }
.top a:last-child { background: var(--wash); color: var(--blue); border-radius: var(--round); padding: 10px 18px; }
main { max-width: 1264px; margin: auto; padding: 0 32px; }
.hero { padding: 65px 0 64px; display: grid; grid-template-columns: minmax(0, 1fr) 214px; gap: 64px; align-items: center; }
.ey { font-size: .95rem; color: var(--muted); margin-bottom: 1.3em; }
.home h1 { font-size: 3.65rem; max-width: 22ch; }
.home h1 span { display: block; color: var(--blue); }
.lede { max-width: 62ch; font-size: 1.16rem; line-height: 1.58; }
.lede p + p { font-size: 1rem; color: var(--muted); max-width: 53ch; }
.type-note { min-height: 250px; align-self: center; background: var(--wash); border-radius: var(--round); padding: 20px 26px 30px; color: var(--blue); position: relative; }
.type-q { display: block; font: 700 148px/1 "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; }
.type-note p { font-size: 1.25rem; line-height: 1.3; margin-top: 10px; }
.steps { display: block; position: absolute; width: 8px; height: 8px; right: 28px; bottom: 28px; background: var(--blue); box-shadow: -8px 0 var(--blue), 0 -8px var(--blue), -8px -8px var(--blue), -16px -8px var(--blue), -8px -16px var(--blue); }
.body-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 76px; align-items: start; border-top: 2px solid var(--edge); padding-top: 52px; }
.rail { position: sticky; top: 28px; font-size: .95rem; }
.rail p { font-weight: bold; margin-bottom: 16px; }
.rail a { display: flex; align-items: center; min-height: 48px; border-radius: var(--round); padding: 8px 12px; margin: 0 0 3px -12px; color: var(--muted); text-decoration: none; line-height: 1.35; }
.rail a:hover, .rail a:focus-visible { color: var(--blue); background: var(--wash); }
.read { min-width: 0; max-width: 740px; font-size: 1.0556rem; }
.ch { margin-bottom: 68px; scroll-margin-top: 28px; }
.ch > p, .sub > p { max-width: 66ch; }
.sub { margin: 32px 0; padding-left: 24px; border-left: 5px solid var(--edge); }
.ask { margin: 30px 0 10px; padding: 25px 30px; border-radius: var(--round); background: var(--wash); }
.ask .ask-q { font-size: 1.3rem; line-height: 1.45; color: var(--blue); margin-bottom: 12px; }
.ask > p:last-child { font-size: 1rem; line-height: 1.65; }
.idx { border-top: 2px solid var(--edge); }
.idx-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) 24px; gap: 16px; padding: 24px 8px; border-bottom: 2px solid var(--edge); border-radius: var(--round); text-decoration: none; color: var(--ink); min-height: 100px; align-items: start; }
.idx-row:hover { background: var(--wash); }
.idx-row strong { display: block; color: var(--blue); font-size: 1.22rem; line-height: 1.35; margin-bottom: 8px; }
.idx-row span > span { display: block; color: var(--muted); font-size: 1rem; line-height: 1.55; max-width: 45ch; }
.idx-key { font-size: 2rem; font-weight: bold; line-height: 1.15; color: var(--blue); }
.arr { color: var(--blue); font-size: 1.4rem; line-height: 1.4; }
.wide { display: grid; grid-template-columns: 1fr 28ch; align-items: end; gap: 32px; padding: 42px 34px; margin: 20px 0 68px; background: var(--blue); border-radius: var(--round); color: #fff; }
.wide .wide-big { font-size: 2.4rem; line-height: 1.15; letter-spacing: -.025em; margin: 0; }
.wide > p:last-child { font-size: 1rem; line-height: 1.5; }
.lst { margin: 24px 0; padding-left: 24px; max-width: 64ch; }
.bill { border-top: 3px solid var(--blue); margin: 30px 0; display: grid; grid-template-columns: 172px 1fr; }
.bill dt { font-weight: bold; padding: 23px 16px 23px 0; border-bottom: 2px solid var(--edge); }
.bill dd { margin: 0; padding: 23px 0 23px 8px; border-bottom: 2px solid var(--edge); }
.en { padding: 30px 0 18px; margin-top: 20px; border-top: 5px solid var(--blue); scroll-margin-top: 28px; }
.en h2 { font-size: 1.3rem; }
.en dl { margin: 0; font-size: 1rem; }
.en dt a { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 0; line-height: 1.45; }
.en dd { margin: 0 0 20px; color: var(--muted); max-width: 60ch; }
.turn { padding: 34px 0 52px; }
.turn p { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.turn a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; font-size: 1.22rem; padding: 12px 18px; background: var(--wash); border-radius: var(--round); text-decoration: none; line-height: 1.4; }
.turn a:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.paths { margin-top: 24px; }
.paths a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; padding: 12px 0; line-height: 1.4; }
.pad { margin: 28px 0; padding: 28px; background: var(--wash); border-radius: var(--round); }
.pad label { display: block; font-size: 1.0556rem; font-weight: bold; margin-bottom: 12px; }
.pad textarea { display: block; resize: vertical; min-height: 210px; width: 100%; border: 2px solid #69758d; background: #fff; color: var(--ink); padding: 16px; border-radius: var(--round); line-height: 1.6; }
.pad textarea::placeholder { color: #687184; opacity: 1; }
.pad > p { margin: 14px 0; font-size: .95rem; color: var(--muted); }
.pad .note-state { min-height: 1.6em; color: var(--ink); }
.pad-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.pad button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 10px 22px; background: var(--blue); border: 2px solid var(--blue); color: #fff; border-radius: var(--round); font-weight: bold; }
.pad button:hover { background: #103694; border-color: #103694; }
.pad button.quiet { background: #fff; color: var(--blue); }
.pad button.quiet:hover { background: #e0eaff; }
.ft { margin: 30px auto 0; padding: 36px 32px 34px; max-width: 1264px; border-top: 2px solid var(--edge); font-size: .95rem; }
.ft > p { max-width: 65ch; }
.ft nav { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 20px; }
.ft a { min-height: 48px; display: inline-flex; align-items: center; padding: 8px 0; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr) 170px; gap: 36px; }
  h1, .home h1 { font-size: 3rem; }
  .type-note { padding: 18px 22px 26px; min-height: 230px; }
  .type-q { font-size: 130px; }
  .body-grid { grid-template-columns: 160px minmax(0, 1fr); gap: 42px; }
  .wide { grid-template-columns: 1fr; gap: 26px; }
  .wide > p:last-child { max-width: 32ch; }
}

@media (max-width: 760px) {
  .hd { padding: 20px 24px; gap: 16px; }
  .top { gap: 14px; }
  .top a { font-size: .95rem; }
  .top a:last-child { padding: 10px 12px; }
  main { padding: 0 24px; }
  .hero { display: block; padding: 42px 0; }
  h1, .home h1 { font-size: 2.75rem; max-width: 20ch; }
  .type-note { display: none; }
  .body-grid { display: block; padding-top: 0; }
  .rail { position: static; display: flex; flex-wrap: wrap; column-gap: 10px; row-gap: 6px; margin: 0 0 40px; padding: 20px 0 24px; border-bottom: 2px solid var(--edge); }
  .rail p { flex-basis: 100%; margin: 0; }
  .rail a { margin: 0; padding: 8px 12px; background: var(--wash); min-height: 46px; }
  .read { max-width: none; }
  h2 { font-size: 1.65rem; }
  .ch { margin-bottom: 50px; }
  .wide { margin-bottom: 50px; }
  .ft { padding: 30px 24px; }
  .ft nav { gap: 4px 24px; }
}

@media (max-width: 460px) {
  :root { font-size: 17px; }
  .hd { align-items: flex-start; padding: 18px 20px; }
  .mark { font-size: 16px; gap: 9px; }
  .mark-g { flex-shrink: 0; width: 40px; height: 44px; }
  .top { align-items: flex-end; flex-direction: column; gap: 4px; }
  .top a { min-height: 44px; padding: 6px; font-size: 16px; }
  .top a:last-child { padding: 6px 12px; }
  main { padding: 0 22px; }
  .hero { padding: 34px 0 36px; }
  h1, .home h1 { font-size: 2.3rem; line-height: 1.17; letter-spacing: -.03em; }
  .ey { font-size: 16px; margin-bottom: 18px; }
  .lede { font-size: 19px; }
  .lede p + p { font-size: 18px; }
  .rail { margin-bottom: 32px; font-size: 16px; }
  .rail a { padding: 8px 10px; }
  .read { font-size: 18px; }
  h2 { font-size: 27px; }
  h3 { font-size: 21px; }
  .ask { padding: 22px; margin: 26px 0 8px; }
  .ask .ask-q { font-size: 22px; }
  .ask > p:last-child { font-size: 18px; }
  .sub { padding-left: 18px; }
  .idx-row { grid-template-columns: 30px minmax(0, 1fr) 18px; gap: 12px; padding: 24px 0; }
  .idx-row strong { font-size: 21px; }
  .idx-row span > span { font-size: 18px; }
  .idx-key { font-size: 30px; }
  .wide { padding: 30px 24px; }
  .wide .wide-big { font-size: 34px; }
  .wide > p:last-child { font-size: 18px; }
  .bill { grid-template-columns: 1fr; }
  .bill dt { padding: 22px 0 0; border: 0; }
  .bill dd { padding: 8px 0 22px; }
  .pad { padding: 20px; }
  .pad > p { font-size: 16px; }
  .en dl { font-size: 17px; }
  .turn p { font-size: 16px; }
  .turn a { font-size: 19px; }
  .ft { font-size: 17px; padding: 28px 22px; }
  .ft nav { display: grid; gap: 6px; }
}

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

@media print {
  :root { font-size: 12pt; }
  .hd, .rail, .type-note, .ft nav, .pad-actions, .turn, .skip { display: none !important; }
  main, .ft { max-width: none; padding: 0; margin: 0; }
  .hero, .body-grid { display: block; padding: 0; border: 0; }
  .hero { margin-bottom: 24pt; }
  .read { max-width: none; font-size: 12pt; }
  h1, .home h1 { font-size: 27pt; max-width: none; }
  h2 { font-size: 19pt; }
  .ch, .wide { margin-bottom: 22pt; }
  .ask, .wide, .pad { background: #fff; color: #000; border: 1pt solid #bbb; padding: 16pt; }
  .wide .wide-big { font-size: 23pt; }
  a { color: #000; }
  .pad textarea { height: 180pt; }
  h2, h3 { break-after: avoid; }
  .ask, .idx-row { break-inside: avoid; }
}
