:root {
  color-scheme: light dark;
  --font-sans:
    "Noto Sans", "Noto Sans Arabic", "Noto Sans Bengali",
    "Noto Sans Devanagari", "Noto Sans Tamil", sans-serif;
}

[data-theme="light"] {
  --bg: #fbfbfa;
  --text: #101214;
  --glow: deeppink;
  --border-color: rgba(0, 0, 0, 0.2);
  --surface: rgba(255, 255, 255, 0.84);
  --muted: rgba(16, 18, 20, 0.72);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1a1c1d;
  --text: #d4d4d4;
  --glow: deepskyblue;
  --border-color: rgba(255, 255, 255, 0.2);
  --surface: rgba(255, 255, 255, 0.05);
  --muted: rgba(255, 255, 255, 0.78);
}

html {
  min-height: 100%;
  min-width: 100%;
  background-color: var(--bg, #fbfbfa);
  font-size: max(10px, 1.75vmin);
}

body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem 4vw 4vw;
  margin: 0 auto;
  max-width: 75rem;
  min-width: 0;
  color: var(--text, #101214);
  font-family: var(--font-sans);
  font-size: 1.4rem;
  line-height: 1.6;
}

.about-section:first-of-type {
  text-align: justify;
}

.about-section:first-of-type h1 {
  margin-top: 0;
}

#logo {
  width: 16em;
  opacity: 0.8;
  align-self: center;
}

[data-theme="light"] #logo {
  filter: invert(1);
}

a {
  color: var(--glow, deepskyblue);
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  margin: 0 0 0.8em;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
}

h2 {
  margin: 2rem 0 0.8rem;
  font-size: 1.5em;
}

h3 {
  border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.2));
  margin-top: 1em;
  padding-top: 1rem;
}

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

ul,
ol {
  padding-inline-start: 1.4em;
}

li + li {
  margin-top: 0.45rem;
}

address {
  font-style: normal;
}

.static-page-content {
  width: 100%;
  min-width: 0;
}

.static-page-content--wide {
  max-width: 56rem;
}

body.static-page--centered {
  min-height: 100vh;
}

.static-page-nav {
  margin: 0.5rem 0 1rem;
  border-inline-start: 1px solid var(--border-color, rgba(0, 0, 0, 0.2));
  padding-inline-start: 1rem;
}

.static-page-nav a {
  display: inline-block;
  margin: 0.2rem 0;
  text-decoration: none;
}

.static-page-nav a:hover,
.static-page-nav a:focus {
  text-decoration: underline;
}

.static-page-section + .static-page-section {
  margin-top: 2.5rem;
}

.static-page-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.2));
  border-radius: 1.25rem;
  background-color: var(--surface, rgba(255, 255, 255, 0.84));
  padding: clamp(1.5rem, 3vw, 3rem);
}

.static-page-note {
  color: var(--muted, rgba(16, 18, 20, 0.72));
  font-style: italic;
}

p:has(> strong:first-child + a:last-child) {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  min-width: 0;
}

p:has(> strong:first-child + a:last-child) > strong:first-child {
  flex: 0 0 auto;
}

p:has(> strong:first-child + a:last-child) > a:last-child {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 700px) {
  body {
    padding-top: 1.5rem;
    font-size: 1.25rem;
  }

  #logo {
    width: min(14rem, 70vw);
  }
}
