:root {
  --blue: #0c4f86;
  --blue-dark: #08385f;
  --blue-deep: #06304f;
  --blue-pale: #eef5fa;
  --ink: #1f2933;
  --muted: #5f6b76;
  --rule: #d7e1e8;
  --soft: #f7f9fb;
  --max: 1120px;
  --reading: 860px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.62;
}
a { color: var(--blue); text-underline-offset: 2px; }
a:hover, a:focus { color: var(--blue-dark); }
img { max-width: 100%; }
.skip-link { position:absolute; left:-9999px; top:auto; }
.skip-link:focus { left:1rem; top:1rem; z-index:100; background:#fff; padding:.7rem 1rem; border:2px solid var(--blue); }

.site-header { background: var(--blue); color: #fff; position: relative; z-index: 20; }
.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display:flex;
  gap:1.5rem;
  justify-content:space-between;
  align-items:center;
}
.site-title { color:#fff; text-decoration:none; font-weight:700; line-height:1.2; max-width:710px; }
.header-links, .header-actions { display:flex; gap:.75rem; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
.header-links a, .header-pdf, .header-site { color:#fff; font-size:.95rem; }
.header-pdf, .header-site { white-space: nowrap; }

.header-language {
  color:#fff;
  font-size:.9rem;
  font-weight:700;
  line-height:1.2;
  text-decoration:none;
  white-space:nowrap;
  border:1px solid rgba(255,255,255,.7);
  border-radius:4px;
  padding:.42rem .68rem;
}
.header-language:hover, .header-language:focus { color:#fff; background:rgba(255,255,255,.12); }

.contents-menu { position:relative; }
.contents-menu summary {
  list-style:none;
  cursor:pointer;
  color:#fff;
  font-weight:700;
  font-size:.95rem;
  border:1px solid rgba(255,255,255,.55);
  border-radius:4px;
  padding:.45rem .75rem;
  line-height:1.2;
}
.contents-menu summary::-webkit-details-marker { display:none; }
.contents-menu summary::after { content:" +"; font-weight:400; }
.contents-menu[open] summary::after { content:" −"; }
.contents-menu nav {
  position:absolute;
  top:calc(100% + .55rem);
  right:0;
  width:min(430px, calc(100vw - 2rem));
  max-height:min(72vh, 680px);
  overflow:auto;
  background:#fff;
  color:var(--ink);
  border:1px solid var(--rule);
  border-radius:6px;
  box-shadow:0 12px 34px rgba(0,0,0,.18);
}
.contents-menu ol { margin:0; padding:.5rem; list-style:none; }
.contents-menu li { margin:0; }
.contents-menu li + li { border-top:1px solid #edf1f4; }
.contents-menu nav a {
  display:grid;
  grid-template-columns:2.1rem minmax(0,1fr);
  gap:.55rem;
  padding:.62rem .7rem;
  color:var(--ink);
  text-decoration:none;
  font-size:.9rem;
  line-height:1.28;
}
.contents-menu nav a span { color:var(--blue); font-weight:700; }
.contents-menu nav a:hover, .contents-menu nav a:focus { background:var(--blue-pale); color:var(--blue-dark); }
.contents-menu nav a[aria-current="page"] { background:var(--blue-pale); color:var(--blue-dark); font-weight:700; }

.layout { max-width: var(--reading); margin: 0 auto; padding: 3rem 1.25rem 4rem; }
main { min-width:0; }
.section-kicker { color:var(--blue); font-weight:700; letter-spacing:.07em; text-transform:uppercase; font-size:.82rem; }
h1 { color:var(--blue-dark); font-size:clamp(2rem, 5vw, 3.25rem); line-height:1.08; margin:.25rem 0 1.35rem; }
h2 { color:var(--blue-dark); line-height:1.2; margin-top:2.2rem; }
h3 { color:var(--blue); line-height:1.25; margin-top:1.8rem; }
p { margin:.8rem 0; }
ul, ol { padding-left:1.4rem; }
li { margin:.42rem 0; }
.lead { font-size:1.13rem; }
.callout, blockquote {
  margin:1.6rem 0;
  padding:1.15rem 1.25rem;
  border-left:6px solid var(--blue);
  background:var(--blue-pale);
}
blockquote { font-size:1.08rem; font-weight:600; }
.callout strong { color:var(--blue-dark); }
.steps { counter-reset:step; list-style:none; padding:0; }
.steps > li { counter-increment:step; margin:1.6rem 0; padding:1rem 1rem 1rem 4.2rem; position:relative; border-top:1px solid var(--rule); }
.steps > li::before { content:counter(step); position:absolute; left:.5rem; top:.75rem; width:2.6rem; height:2.6rem; border-radius:50%; background:var(--blue); color:#fff; display:grid; place-items:center; font-weight:700; }
.phrase-list h3 { margin-bottom:.35rem; }
.phrase { margin:.45rem 0; padding:.65rem .9rem; background:var(--soft); border-left:3px solid var(--rule); }
.resources { padding-left:1.2rem; }
.case-study { border-top:1px solid var(--rule); padding-top:1.25rem; margin-top:2rem; }
.question { font-weight:700; color:var(--blue-dark); }
.page-nav { display:flex; justify-content:space-between; gap:1rem; border-top:1px solid var(--rule); margin-top:3rem; padding-top:1.5rem; }
.page-nav a { display:inline-block; max-width:48%; }
.meta { color:var(--muted); }

/* Landing page */
.home-main { max-width:var(--max); margin:0 auto; padding:2rem 1.25rem 4.5rem; }
.hero {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);
  min-height:540px;
  background:var(--blue-dark);
  overflow:hidden;
}
.hero-copy { padding:clamp(2rem, 5vw, 4.5rem); align-self:center; color:#fff; }
.hero-kicker { font-size:.82rem; text-transform:uppercase; letter-spacing:.08em; font-weight:700; opacity:.84; }
.hero h1 { color:#fff; margin:.5rem 0 .55rem; font-size:clamp(2.7rem, 5.5vw, 4.8rem); max-width:720px; }
.hero-subtitle { font-size:clamp(1.25rem,2.5vw,1.8rem); margin:0 0 1.35rem; font-weight:700; }
.hero-lead { font-size:1.15rem; max-width:610px; color:#eef6fb; }
.hero-actions { display:flex; gap:.8rem; flex-wrap:wrap; margin-top:1.8rem; }
.button { display:inline-block; padding:.8rem 1.05rem; border-radius:4px; text-decoration:none; font-weight:700; line-height:1.2; }
.button-primary { background:#fff; color:var(--blue-dark); }
.button-primary:hover, .button-primary:focus { color:var(--blue-deep); background:#f4f8fb; }
.button-secondary { border:1px solid rgba(255,255,255,.7); color:#fff; }
.button-secondary:hover, .button-secondary:focus { color:#fff; background:rgba(255,255,255,.1); }
.hero-media { min-height:540px; }
.hero-media img { width:100%; height:100%; display:block; object-fit:cover; object-position:center 38%; }

.welcome-strip { margin:0; padding:2rem clamp(1.5rem,4vw,3rem); background:var(--blue-pale); border-bottom:1px solid #dfeaf2; }
.welcome-strip p { max-width:920px; margin:0 auto; font-size:1.14rem; color:var(--blue-deep); text-align:center; }
.contents-section { padding:4.25rem 0 2rem; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:2rem; margin-bottom:1.7rem; }
.section-heading h2 { margin:.2rem 0 0; font-size:clamp(2rem,4vw,3rem); }
.section-heading > p { max-width:360px; color:var(--muted); margin:0 0 .25rem; }
.contents-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.8rem; padding:0; margin:0; list-style:none; }
.contents-cards li { margin:0; }
.contents-cards a {
  height:100%;
  display:grid;
  grid-template-columns:2.5rem minmax(0,1fr);
  gap:.75rem;
  align-items:start;
  padding:1rem 1rem 1.05rem;
  background:var(--soft);
  border:1px solid #e2e8ed;
  border-top:4px solid var(--blue);
  color:var(--ink);
  text-decoration:none;
  line-height:1.3;
  font-weight:700;
}
.contents-cards a:hover, .contents-cards a:focus { background:var(--blue-pale); border-color:#c9dce9; color:var(--blue-dark); }
.card-number { color:var(--blue); font-size:.86rem; letter-spacing:.04em; padding-top:.08rem; }

.feature { margin-top:4rem; display:grid; grid-template-columns:1.08fr .92fr; background:var(--blue-dark); color:#fff; overflow:hidden; }
.feature-reverse { grid-template-columns:.92fr 1.08fr; }
.feature-reverse .feature-media { order:2; }
.feature-reverse .feature-copy { order:1; }
.feature-media img { width:100%; height:100%; min-height:380px; display:block; object-fit:cover; }
.feature-media.image-only img { object-position:center; }
.feature-copy { padding:clamp(2rem,4vw,3.5rem); align-self:center; }
.feature-copy .section-kicker { color:#bcd8eb; }
.feature-copy h2 { color:#fff; margin:.35rem 0 1rem; font-size:clamp(1.8rem,3vw,2.6rem); }
.feature-copy p { color:#eef6fb; }
.text-link { color:#fff; font-weight:700; }
.text-link:hover, .text-link:focus { color:#fff; }

.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:3.5rem; padding:4.5rem 0 0; }
.about-grid h2 { margin:.3rem 0 1rem; }

.site-footer { border-top:1px solid var(--rule); color:var(--muted); }
.site-footer .inner { max-width:var(--max); margin:0 auto; padding:1.25rem; font-size:.9rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns:1fr 42%; min-height:480px; }
  .hero-media { min-height:480px; }
  .contents-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .feature, .feature-reverse { grid-template-columns:1fr 1fr; }
}
@media (max-width: 720px) {
  .site-header .inner { align-items:flex-start; flex-direction:column; }
  .header-links, .header-actions { width:100%; justify-content:flex-start; }
  .contents-menu nav { left:0; right:auto; }
  .layout { padding-top:2.25rem; }
  .home-main { padding-top:0; }
  .hero { grid-template-columns:1fr; }
  .hero-copy { order:2; }
  .hero-media { order:1; min-height:360px; height:58vw; max-height:520px; }
  .section-heading { align-items:start; flex-direction:column; gap:.5rem; }
  .contents-cards { grid-template-columns:1fr; }
  .feature, .feature-reverse { grid-template-columns:1fr; }
  .feature-reverse .feature-media, .feature-reverse .feature-copy { order:initial; }
  .feature-media img { min-height:0; }
  .about-grid { grid-template-columns:1fr; gap:1.5rem; }
}
@media (max-width: 520px) {
  .page-nav { flex-direction:column; }
  .page-nav a { max-width:100%; }
  .hero h1 { font-size:2.55rem; }
  .hero-copy { padding:2rem 1.35rem 2.4rem; }
  .welcome-strip { padding:1.5rem 1.2rem; }
}
@media print {
  .header-links, .header-actions, .header-language, .page-nav, .skip-link { display:none !important; }
  .layout { display:block; max-width:none; padding:0; }
  .site-header { background:none; color:#000; border-bottom:1px solid #aaa; }
  .site-title { color:#000; }
  .home-main { max-width:none; padding:0; }
  .hero { display:block; min-height:0; background:none; color:#000; }
  .hero-copy { color:#000; padding:1rem 0; }
  .hero h1, .hero-subtitle, .hero-lead { color:#000; }
  .hero-media, .hero-actions { display:none; }
}
