:root {
  color-scheme: light dark;
  --page: #f7f8f5; --paper: #fff; --ink: #17231e; --muted: #56625b;
  --line: #dce2da; --accent: #254fd7; --on-accent: #fff; --tint: #ecf0fb;
  --shadow: 0 12px 40px #17231e06;
  font-family: "Avenir Next", Avenir, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px; line-height: 1.65; background: var(--page); color: var(--ink);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root { --page: #101713; --paper: #19231d; --ink: #f2f6f1; --muted: #b5c2b8;
    --line: #344139; --accent: #aac3ff; --on-accent: #0c255c; --tint: #212f47; --shadow: none; }
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
main:focus { outline: none; }
.shell { max-width: 1184px; margin: 0 auto; padding: 0 48px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1875rem; line-height: 1.2; white-space: nowrap; }
.brand img { display: block; border-radius: 12px; outline: 1px solid var(--line); }
.brand-caption { display: block; font-size: .6875rem; line-height: 1.6; font-weight: 500; color: var(--muted); margin-top: 3px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 100px; }
.site-header nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 7px 18px; border-radius: 100px; color: var(--muted); font-size: .8125rem; font-weight: 600; text-decoration: none; }
.site-header nav a[aria-current] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.site-header nav a:hover { background: var(--tint); color: var(--ink); }
.intro { padding: 64px 0 52px; max-width: 850px; animation: arrive .45s ease-out both; }
.eyebrow { display: flex; gap: 9px; align-items: center; font-size: .625rem; line-height: 1.6; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); }
.status-dot { height: 6px; width: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--accent); }
h1 { margin: 16px 0 12px; font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 750; text-wrap: balance; overflow-wrap: anywhere; }
.summary { color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); margin: 0; }
.document-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: 48px; align-items: start; }
.sidebar { min-width: 0; }
.mobile-contents { display: none; }
.contents { padding: 3px 0 25px; }
.contents .eyebrow { margin: 0 0 14px; }
.contents a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: .8125rem; line-height: 1.5; }
.contents a:hover { color: var(--accent); text-decoration: underline; }
.contact-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
.contact-card h2 { margin: 14px 0 8px; font-size: 1.5rem; letter-spacing: -.04em; }
.contact-card p { font-size: .8125rem; color: var(--muted); margin: 0 0 18px; }
.contact-address { font-size: .8125rem; }
.email-button { margin-top: 19px; display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 10px 15px; gap: 15px; border-radius: 12px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-size: .8125rem; font-weight: 650; transition: transform .15s ease, opacity .15s ease; }
.email-button:hover { opacity: .9; }
.email-button:active { transform: scale(.98); }
.document { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 38px 40px 24px; box-shadow: var(--shadow); }
.document section { padding: 28px 0; scroll-margin-top: 28px; }
.document section:first-child { padding-top: 0; }
.document section + section { border-top: 1px solid var(--line); }
.document h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.35; margin: 0 0 15px; text-wrap: balance; overflow-wrap: anywhere; }
.document p { margin: 0 0 16px; color: var(--muted); font-size: .9375rem; line-height: 1.85; overflow-wrap: anywhere; }
.document p:last-child { margin-bottom: 0; }
.document-end { border-top: 1px solid var(--line); padding-top: 24px; display: flex; align-items: center; gap: 12px; }
.document-end p { font-size: .75rem; }
.end-dot { width: 8px; height: 8px; border: 2px solid var(--accent); border-radius: 50%; flex: 0 0 8px; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding: 26px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .6875rem; line-height: 1.8; }
.site-footer p { margin: 0; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .shell { padding: 0 28px; }
  .document-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .contents { padding: 0; }
  .contents a { min-height: 40px; }
  .document { padding: 30px; }
}
@media (max-width: 560px) {
  .shell { padding: 0 20px; }
  .site-header { align-items: stretch; flex-direction: column; gap: 22px; padding: 24px 0; }
  .brand { font-size: 1.1875rem; }
  .site-header nav { align-self: stretch; }
  .site-header nav a { flex: 1 1 auto; padding: 8px 10px; font-size: .75rem; }
  .intro { padding: 36px 0 30px; }
  h1 { font-size: min(2.6rem, 12vw); }
  .summary { max-width: 300px; }
  .sidebar { display: flex; flex-direction: column-reverse; gap: 24px; }
  .desktop-contents { display: none; }
  .mobile-contents { display: block; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .mobile-contents summary { min-height: 48px; padding: 12px 4px; cursor: pointer; font-size: .8125rem; font-weight: 600; }
  .contact-card { padding: 22px; }
  .contact-card h2 { margin-top: 10px; }
  .contact-card p br { display: none; }
  .contact-card p { margin-bottom: 12px; }
  .contact-address { font-size: .875rem; }
  .email-button { margin-top: 16px; min-height: 50px; font-size: .875rem; }
  .contents { padding: 4px; }
  .contents a { min-height: 44px; font-size: .8125rem; }
  .contents .eyebrow { margin-bottom: 6px; }
  .document { padding: 24px 22px; border-radius: 20px; }
  .document section { padding: 24px 0; }
  .document h2 { font-size: 1.18rem; }
  .document p { font-size: .9375rem; line-height: 1.85; }
  .site-footer { flex-direction: column; gap: 12px; margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  :root { --page: white; --paper: white; --ink: black; --muted: #222; --line: #ccc; --accent: black; }
  .shell { max-width: none; padding: 0; } .site-header nav, .sidebar, .skip-link { display: none; }
  .intro { padding: 25px 0; } h1 { font-size: 32px; } .document-layout { display: block; }
  .document { border: 0; padding: 0; box-shadow: none; } .document section { break-inside: avoid; }
}
