
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
figure, blockquote { margin-inline: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, iframe { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: var(--lh-head); letter-spacing: var(--ls-head); font-weight: 700; }
:where(p, li, dd, td, th) { overflow-wrap: anywhere; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: calc(var(--wrap-narrow) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nb { display: inline-block; }


.paper {
  background-color: var(--color-bg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: var(--btn-h); padding: 0 var(--btn-px);
  border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: var(--btn-fs); font-weight: var(--btn-fw); letter-spacing: .06em;
  background: var(--color-main); color: var(--color-surface);
  border: 2px solid var(--color-main);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  text-align: center; line-height: 1.4;
}
.btn::after { content: ""; width: .5em; height: .5em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .35s var(--ease); }
.btn:hover { background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn:hover::after { transform: translateX(4px) rotate(45deg); }
.btn--ghost { background: transparent; color: var(--color-main); }
.btn--ghost:hover { color: var(--color-surface); }
@media (max-width: 768px) { .btn { white-space: normal; } }


.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }


details.qa { border-bottom: 1px solid color-mix(in srgb, var(--color-text) 18%, transparent); }
details.qa summary { list-style: none; cursor: pointer; display: flex; gap: 1em; align-items: center; justify-content: space-between; padding: 1.4em 0; font-family: var(--font-heading); font-weight: 700; font-size: 20px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--color-main); border-bottom: 2px solid var(--color-main); transform: rotate(45deg); transition: transform .5s var(--ease); }
details.qa.is-open summary::after { transform: rotate(225deg); }
details.qa .a { padding: 0 0 1.6em; }


.map-box { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #d9d9d9; color: #666; font-size: 20px; letter-spacing: .2em; border-radius: var(--r-m); }


.drawer { position: fixed; inset: 0; z-index: 90; overflow: hidden; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility 0s .4s; }
.drawer.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease), visibility 0s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
