@import url("/signature-wordmark.css");

/* Public type roles and shared motion timing. */
:root {
  --font-signature: Georgia, serif;
  --font-display: Georgia, "Newsreader", serif;
  --font-reading: "Newsreader", Georgia, serif;
  --font-interface: "ABC Arizona Flare", "Newsreader", Georgia, serif;
  --font-impact: var(--font-interface);
  --type-h1: clamp(2.375rem, 5.5vw, 5rem);
  --type-h2: clamp(1.875rem, 3.3vw, 3rem);
  --type-h3: clamp(1.5rem, 2.2vw, 2rem);
  --type-prose: clamp(1.125rem, 1.04rem + .25vw, 1.25rem);
  --type-explanation: 1.125rem;
  --type-interface: 1rem;
  --type-caption: .875rem;
  --armoneey-material-ease: cubic-bezier(.22,.68,.23,1);
  --armoneey-response: 320ms var(--armoneey-material-ease);
  --armoneey-open-ms: 380;
  --armoneey-settle: 400ms var(--armoneey-material-ease);
}

html {
  font-kerning: normal;
  font-optical-sizing: auto;
  font-synthesis: none;
  scrollbar-gutter: stable;
}

/* Newsreader has genuine upright and italic variable faces with optical sizing. */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/img/fonts/newsreader-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/img/fonts/newsreader-normal-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(/img/fonts/newsreader-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(/img/fonts/newsreader-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


body { font-family: var(--font-interface); }
body :is(h1, h2, h3, .op-title-main, .op-title, .iterum-name) {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  text-wrap: pretty;
}
body :is(p, blockquote, .art-body li, .gd-p) { font-family: var(--font-reading); }
body :is(.art-body p, .art-body li, .art-body blockquote, .gd-p, .tx-excerpt, .about-content p) {
  font-family: var(--font-reading) !important;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
}
body :is(.art-body p, .art-body li, .gd-p, .about-content p) {
  font-size: var(--type-prose);
  max-inline-size: 65ch;
}
body :is(p, li, blockquote) :is(em, i) { font-style: italic; }
body :is(p, li, blockquote) :is(strong, b) { font-weight: 600; }
body :is(button, input, select, textarea, .mnp-link, #mainNav .nav-links a, .footer-legal-link) {
  font-family: var(--font-interface) !important;
}
body #mainNav .nav-links a { text-transform: none; letter-spacing: .035em; }
body .mob-nav-panel .mnp-link { text-transform: none; letter-spacing: .02em; }
body #hero #purpose-heading { text-transform: none; letter-spacing: -.01em; line-height: 1.1; }
.legal-reading :is(h1, h2, h3) { letter-spacing: -.01em; }
.legal-reading h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.3; }
.legal-reading .operating-terms h3 { font-size: clamp(1.08rem, 1.8vw, 1.25rem); letter-spacing: 0; }
.legal-reading :is(p, ul, ol) {
  font-family: var(--font-reading);
  font-size: var(--type-prose);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
#tx-hero .hero-title { letter-spacing: .01em; }
@media (max-width: 560px) {
  body #tx-hero h1.hero-title { font-size: clamp(1.5rem, 8vw, 2.75rem); }
}
