/* digital pocket — mini site */

@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/rajdhani-v17-latin/rajdhani-v17-latin-300.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: "Rajdhani";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/rajdhani-v17-latin/rajdhani-v17-latin-regular.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: "Rajdhani";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/rajdhani-v17-latin/rajdhani-v17-latin-500.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: "Rajdhani";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/rajdhani-v17-latin/rajdhani-v17-latin-600.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: "Rajdhani";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/rajdhani-v17-latin/rajdhani-v17-latin-700.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;
}

:root {
  --ink: #1d1d1b;
  --muted: #5c5c58;
  --bg: #fafaf9;
  --link: #0b5c8c;
  --link-hover: #084a72;
  --page-pad: 1.25rem;
  --content-max: 34rem;
}

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

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

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

  .skip-link {
    transition: none;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Rajdhani", system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 0.6rem 1rem;
  margin: var(--page-pad);
  background: var(--ink);
  color: var(--bg);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: underline;
  border-radius: 2px;
  transform: translateY(-140%);
  transition: transform 0.14s ease, background 0.14s ease;
}

.skip-link:hover {
  color: var(--bg);
}

.skip-link:focus {
  outline: none;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--link);
  outline-offset: 2px;
}

.page {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(3.25rem, 13vh, 6.75rem) var(--page-pad) 3rem;
}

.site-header {
  margin: 0;
}

.site-main {
  display: block;
}

.brand {
  text-align: left;
  margin-bottom: calc(4.5rem * 2 / 3);
}

.brand__logo {
  display: block;
  width: min(calc(38rem * 2 / 3), 100%);
  height: auto;
  margin: 0;
}

h1.visually-hidden,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

h2.section-title {
  margin: 2.25rem 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h2.section-title:first-of-type {
  margin-top: 0;
}

h3.section-title {
  margin: 2.25rem 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page main > section:first-of-type > h3.section-title:first-of-type {
  margin-top: 0;
}

.page main > section:last-of-type > h3.section-title:first-of-type {
  margin-top: 1.75rem;
}

p {
  margin: 0 0 1rem;
}

p.intro-muted {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

p.muted-note {
  margin: 0 0 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
}

p.footer-copy {
  margin: 0 0 0.85rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(29, 29, 27, 0.12);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
}

p.footer-trademark {
  margin: 0 0 0.65rem;
  max-width: none;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
  text-align: left;
}

p.footer-trademark:last-child {
  margin-bottom: 0;
}

p.footer-trademark sup {
  font-size: 0.65em;
  vertical-align: super;
}

p.footer-trademark a:hover {
  text-decoration: underline;
}

.page-nav {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.page-nav__current {
  color: var(--ink);
  font-weight: 600;
}

.doc-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.doc-list li {
  margin-bottom: 0.25rem;
}

.doc-separator {
  border: 0;
  border-top: 1px solid rgba(29, 29, 27, 0.12);
  margin: 2.5rem 0 2.25rem;
}

strong {
  font-weight: 700;
}
