@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi/Satoshi-VariableItalic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #334155;
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

h5, h6 {
  font-size: 1.0625rem;
}

p,
ul,
ol,
blockquote,
figure {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.25em;
}

a {
  color: #0369a1;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color 0.15s ease;
}
a:hover {
  color: #075985;
}

strong,
b {
  font-weight: 700;
}

small {
  font-size: 0.875rem;
}

code,
kbd,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid #e2e8f0;
}

:focus-visible {
  outline: 2px solid #0369a1;
  outline-offset: 2px;
}

::selection {
  background: #EFF9FF;
  color: #0f172a;
}

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

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: #0f172a;
  color: #ffffff;
  border-radius: 6px;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
  color: #ffffff;
}

.container {
  width: 100%;
  max-width: calc(760px + 2 * clamp(1rem, 4vw, 2rem));
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.container--wide {
  max-width: calc(1200px + 2 * clamp(1rem, 4vw, 2rem));
}

.site-main {
  flex: 1 0 auto;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}

.entry__title {
  margin-bottom: 1.5rem;
}
.entry__content > :where(*) {
  max-width: min(760px, 100% - 2 * clamp(1rem, 4vw, 2rem));
  margin-inline: auto;
}
.entry__content > :where(.alignwide) {
  max-width: min(1200px, 100% - 2 * clamp(1rem, 4vw, 2rem));
}
.entry__content > :where(.alignfull) {
  max-width: none;
}
.entry__content > :where(:last-child) {
  margin-bottom: 0;
}
.container > .entry + .entry {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e2e8f0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #e2e8f0;
}
.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height, 0px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}
.site-header__title {
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.site-header__title:hover {
  color: #0f172a;
}
.site-header .custom-logo-link {
  display: block;
}
.site-header .custom-logo {
  display: block;
  max-height: 40px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: #334155;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover {
  color: #0f172a;
}
.site-nav .current-menu-item > a {
  color: #0f172a;
  box-shadow: inset 0 -2px 0 #5AC4FC;
}
.site-nav--footer a {
  color: #64748b;
  font-weight: 400;
}

.site-footer {
  flex-shrink: 0;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.875rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.5rem;
}
.site-footer__credit {
  margin: 0;
}
.site-footer__credit a {
  color: inherit;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid #5AC4FC;
  border-radius: 8px;
  background: #5AC4FC;
  color: #0f172a;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.button:hover, .button:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
  background: #8DD6FD;
  border-color: #8DD6FD;
  color: #0f172a;
}

.button--outline,
.is-style-outline .wp-block-button__link {
  background: transparent;
  border-color: #cbd5e1;
  color: #334155;
}
.button--outline:hover, .button--outline:focus-visible,
.is-style-outline .wp-block-button__link:hover,
.is-style-outline .wp-block-button__link:focus-visible {
  background: #f8fafc;
  border-color: #64748b;
  color: #0f172a;
}
