@font-face {
  font-family: "Iceberg Satoshi";
  src: url("assets/fonts/satoshi-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Iceberg Chivo";
  src: url("assets/fonts/chivo-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Iceberg Chivo Mono";
  src: url("assets/fonts/chivo-mono-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

html:has(.iceberg-site) { scrollbar-gutter: stable; }
.iceberg-site { margin: 0; }

.iceberg-page {
  --iceberg-blue: #174aa5;
  --iceberg-blue-dark: #113c88;
  --iceberg-white: #f9f8f7;
  --iceberg-backdrop-blue: #26499f;
  --iceberg-backdrop-image: url("assets/iceberg-background.avif");
  --iceberg-surface: #f7f9fd;
  --iceberg-muted: #5a6c89;
  --iceberg-glass: #f5f5f57a;
  --iceberg-panel-width: 40rem;
  color: var(--iceberg-blue);
  font-family: "Iceberg Satoshi", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.iceberg-page *, .iceberg-page *::before, .iceberg-page *::after { box-sizing: border-box; }
.iceberg-page [hidden] { display: none !important; }
.iceberg-page h1, .iceberg-page h2, .iceberg-page p { margin: 0; }
.iceberg-page img { display: block; max-width: 100%; }
.iceberg-page a { color: inherit; text-underline-offset: 3px; }
.iceberg-page button, .iceberg-page input { font: inherit; }
.iceberg-page button { cursor: pointer; }
.iceberg-page button:disabled { cursor: wait; opacity: .65; }
.iceberg-form-error { grid-column: 1 / -1; color: #a22222; font-size: 14px; line-height: 1.5; }
.iceberg-page :focus-visible { outline: 3px solid #5e83ed; outline-offset: 4px; }

.iceberg-page h1 {
  font-family: "Iceberg Chivo", sans-serif;
  font-weight: 300;
  font-size: 3rem;
  line-height: 1.2;
  letter-spacing: -.06em;
}

.iceberg-topbar { position: absolute; inset: 0 0 auto; padding: 1.5rem 2.5rem 0; }
.iceberg-topbar-inner { display: flex; align-items: center; justify-content: space-between; max-width: 85rem; margin: auto; }
.iceberg-brand { display: inline-flex; align-items: center; }
.iceberg-header { width: 100%; color: var(--iceberg-white); border-bottom: 1px solid #ffffff26; background: #26499f66; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font: 400 13px/1.5 "Iceberg Chivo Mono", monospace; letter-spacing: -.02em; }
.iceberg-header-inner { display: flex; align-items: center; gap: 48px; min-height: 92px; width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.iceberg-header-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.iceberg-header-logo img { width: 108px; height: auto; }
.iceberg-header-navigation { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.iceberg-header-navigation a { padding: 12px 0; text-decoration: none; }
.iceberg-header-navigation a:hover { text-decoration: underline; text-underline-offset: 5px; }
.iceberg-header-navigation a[aria-current] { color: white; box-shadow: 0 1px #ffffffb3; }
.iceberg-header :focus-visible { outline-color: #c8daff; }
.iceberg-page .iceberg-header-contact { flex-shrink: 0; font-size: 13px; line-height: 1.5; white-space: nowrap; color: var(--iceberg-blue); background: var(--iceberg-white); }
.iceberg-page .iceberg-header-contact:hover { background: #e3ecff; }
.iceberg-header-contact .iceberg-button-icon { background: #e3ebfb; }
.journal-byline { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.5; }
.journal-byline > div { min-width: 0; }
.journal-avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.journal-avatar-initials { display: grid; place-items: center; background: #eaf0fc; color: var(--iceberg-blue); font: 14px/1 "Iceberg Chivo Mono", monospace; }
.journal-author { display: block; color: var(--iceberg-blue); }
.journal-author-title { display: block; font-size: 12px; line-height: 1.4; color: var(--iceberg-muted); }
.journal-date { display: flex; gap: 7px; font-size: 12px; color: var(--iceberg-muted); margin-top: 3px; white-space: nowrap; }

.iceberg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.375rem;
  padding: .375rem .5rem .375rem .75rem;
  border: 0;
  border-radius: .25rem;
  background: var(--iceberg-blue);
  color: var(--iceberg-white);
  font-family: "Iceberg Chivo Mono", monospace !important;
  font-size: 1rem;
  line-height: 1.16;
  letter-spacing: -.02em;
  text-decoration: none;
  transition: background-color .2s ease;
}

.iceberg-button:hover { background: var(--iceberg-blue-dark); }
.iceberg-button-icon { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; background: #f5f5f5; border-radius: .125rem; }

.iceberg-legal-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 2rem; }
.iceberg-legal-links a { font-size: .875rem; text-decoration: none; transition: opacity .2s ease; }
.iceberg-legal-links a:hover { opacity: .65; }

.iceberg-contact {
  width: calc(100% - 2.5rem);
  max-width: var(--iceberg-panel-width);
  max-height: calc(100dvh - 2.5rem);
  padding: 0;
  border: 0;
  border-radius: .5rem;
  color: var(--iceberg-blue);
  background: #f5f5f5de;
  overflow: auto;
}

.iceberg-contact::backdrop { background: #113c881a; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.iceberg-site:has(.iceberg-contact[open]) { overflow: hidden; }
.iceberg-contact-inner { position: relative; display: flex; flex-direction: column; gap: 2rem; padding: 4rem 2.5rem 2.5rem; }
.iceberg-contact h2 { text-align: center; font-family: "Iceberg Chivo", sans-serif; font-size: 2.5rem; font-weight: 300; line-height: 1.1; }
.iceberg-page .iceberg-close { position: absolute; top: .75rem; right: .75rem; display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--iceberg-blue); border-radius: .5rem; color: inherit; background: transparent; font-size: 1.75rem; line-height: 1; }
.iceberg-form { display: grid; gap: 1rem; }
.iceberg-field input { width: 100%; min-height: 3rem; padding: .5rem 1rem; border: 1px solid #174aa533; border-radius: .5rem; color: #333; background: #fff; font-size: .875rem; line-height: 1.43; }
.iceberg-field input::placeholder { color: #767676; opacity: 1; }
.iceberg-field input:focus { border-color: var(--iceberg-blue); }
.iceberg-fine-print { font-size: .875rem; line-height: 1.35; }
.iceberg-submit { justify-self: center; align-self: center; padding: .75rem 1.5rem; }
.iceberg-preview-note { font-size: .75rem; line-height: 1.4; text-align: center; }
.iceberg-form-result { display: flex; flex-direction: column; gap: 1rem; text-align: center; line-height: 1.4; }
.iceberg-form-result > p:first-child { font-family: "Iceberg Chivo", sans-serif; font-size: 2rem; font-weight: 300; }

.iceberg-legal-page { min-height: 100vh; background: #fff; }
.iceberg-legal-page .iceberg-topbar { position: static; }
.iceberg-legal-content { max-width: 57rem; padding: 5rem 2.5rem; margin: auto; }
.iceberg-legal-heading { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 6rem; }
.iceberg-legal-copy { overflow-wrap: anywhere; }
.iceberg-legal-copy p { margin-bottom: 1.5rem; line-height: 1.4; }
.iceberg-legal-copy li { margin-bottom: .5rem; line-height: 1.4; }
.iceberg-legal-copy h2 { margin: 2rem 0 1.5rem; font-size: 1.25rem; font-weight: 400; line-height: 1.3; }
.iceberg-legal-copy h2:first-child { margin-top: 0; }
.iceberg-legal-copy ol, .iceberg-legal-copy ul { margin: 0 0 .75rem; padding-left: 2rem; }
.iceberg-legal-footer { padding: 0 1.25rem 2rem; }

.iceberg-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.iceberg-skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 2; padding: 1rem; background: white; }
.iceberg-skip-link:focus { top: 1rem; }

@media (max-width: 1050px) {
  .iceberg-header-inner { width: calc(100% - 48px); }
}

@media (max-width: 991px), (max-height: 850px) {
  .iceberg-topbar { position: static; width: 100%; }
}

@media (max-width: 767px) {
  .iceberg-topbar { padding-right: 0; padding-left: 0; }
  .iceberg-legal-page .iceberg-topbar { padding-right: 1.25rem; padding-left: 1.25rem; }
  .iceberg-legal-content { padding-right: 1.25rem; padding-left: 1.25rem; }
}

@media (max-width: 760px) {
  .iceberg-header-inner { min-height: 78px; gap: 24px; }
  .iceberg-header-logo img { width: 88px; }
  .iceberg-header-navigation { gap: 20px; }
  .iceberg-header-contact { gap: 10px; }
}

@media (max-width: 480px) {
  .iceberg-header { font-size: 12px; }
  .iceberg-header-inner { width: calc(100% - 36px); gap: 16px; min-height: 72px; }
  .iceberg-header-logo img { width: 80px; }
  .iceberg-header-navigation { gap: 12px; }
  .iceberg-page .iceberg-header-contact { min-height: 36px; padding: 9px 11px; font-size: 11px; }
  .iceberg-header-contact .iceberg-button-icon { display: none; }
}

@media (max-width: 479px) {
  .iceberg-page h1 { font-size: 2.25rem; }
  .iceberg-legal-links a { font-size: 1rem; }
  .iceberg-contact-inner { padding: 2.5rem 1.5rem; gap: 1.5rem; }
  .iceberg-contact h2 { font-size: 2rem; }
  .iceberg-submit { justify-self: stretch; }
  .iceberg-legal-heading { margin-bottom: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .iceberg-page *, .iceberg-page *::before, .iceberg-page *::after { transition: none !important; }
}
