 

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;

   
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: var(--lh-heading);
  font-weight: var(--fw-semibold);
  text-wrap: balance;

   
  overflow-wrap: anywhere;
}

 
p, li, dd, dt, blockquote, figcaption, td, th, span {
  overflow-wrap: break-word;
}

 
summary,
.link-arrow {
  overflow-wrap: anywhere;
  min-width: 0;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-feature); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-card); }

p {
  margin: 0 0 var(--sp-s);
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.2em;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--c-accent);
}

 
:focus-visible {
  outline: 2px solid var(--c-text);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--c-focus-halo);
  border-radius: 3px;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

 
img[width][height] {
  height: auto;
}

ul, ol {
  margin: 0 0 var(--sp-s);
  padding-left: 1.25rem;
}

figure {
  margin: 0;
}

 
blockquote {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

hr {
  border: 0;
  border-top: var(--linea) solid var(--c-border);
  margin: var(--sp-xl) 0;
}

::selection {
  background: color-mix(in srgb, var(--c-primary) 45%, transparent);
}

 
[id] {
  scroll-margin-top: calc(var(--header-h) + var(--sp-s));
}

 

 
.u-visually-hidden,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.u-skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-s);
  z-index: var(--z-overlay);
  padding: var(--sp-2xs) var(--sp-s);
  background: var(--c-primary);
  color: var(--c-on-primary);
  border-radius: var(--radius-s);
}

.u-skip-link:focus {
  top: var(--sp-s);
}
