/* Shared site basics for every page: header, credit, call to action, footer.
   Page-specific styles go in the page's own CSS. Taken from the tozaotbhirot page. */
:root {
  --ink: #121d2b;
  --muted: #637083;
  --paper: #f5f2eb;
  --surface: #fffdf8;
  --line: #d8d7d1;
  --blue: #1769e0;
  --blue-soft: #dceaff;
  --violet: #7555c7;
  --violet-soft: #ece6fb;
  --green: #1b8a68;
  --green-soft: #dff3ea;
  --orange: #e76f3f;
  --orange-soft: #fff0e8;
}

.topbar, footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: 8px;
  inset-inline-start: -300px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 9px 14px;
}
.skip:focus {
  inset-inline-start: 8px;
}
.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #bfc2c2;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand-mark {
  width: 27px;
  height: 27px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  transform: rotate(-2deg);
}
.brand-mark i {
  display: block;
  width: 7px;
  background: var(--ink);
  border-radius: 1px 1px 0 0;
}
.brand-mark i:nth-child(1) {
  height: 10px;
}
.brand-mark i:nth-child(2) {
  height: 19px;
}
.brand-mark i:nth-child(3) {
  height: 27px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.share-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.si {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: none;
  border: 0;
  border-radius: 50%;
  padding: 0;
  color: white;
  cursor: pointer;
  transition: transform .2s ease;
}
.si:hover {
  transform: translateY(-1px);
}
.si svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.si-link { background: #3a3a3a; }
.si-link svg { transform: rotate(-45deg); }
.si-mail, .si-x { background: #000; }
.si-x svg { width: 14px; height: 14px; }
.si-fb { background: #3b5998; }
.si-wa { background: #25d366; }
.si-wa svg { width: 18px; height: 18px; }
.si.done::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 6px;
  color: white;
  background: var(--ink);
  font-size: 12px;
  white-space: nowrap;
  z-index: 5;
}
.eyebrow {
  display: block;
  margin-bottom: 15px;
  color: #8bb9ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.credit {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.credit a, footer a {
  color: var(--blue);
  font-weight: 600;
  text-underline-offset: 3px;
}
.cta {
  margin: 100px 0 10px;
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  color: white;
  background: var(--blue);
  box-shadow: 16px 16px 0 #cbdcf4;
}
.cta > div {
  max-width: 750px;
}
.cta .eyebrow {
  color: #c6dcff;
}
.cta h2 {
  margin: 0 0 10px;
  max-width: 700px;
  font-size: clamp(28px, 4vw, 47px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.cta p {
  margin: 0;
  color: #d9e7ff;
}
.cta > a {
  flex: none;
  min-width: 145px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 14px 18px;
  color: var(--ink);
  background: white;
  text-decoration: none;
  font-weight: 700;
  transition: .2s ease;
}
.cta > a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 #0d4caa;
}
.cta .arrow { font-size: 18px; }
footer {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 55px;
  padding: 55px 0 70px;
  border-top: 2px solid var(--ink);
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.footer-brand b {
  font-family: 'DM Sans';
  font-size: 11px;
  line-height: 1.05;
}
.footer-copy {
  color: var(--muted);
  font-size: 12px;
}
.footer-copy p {
  margin: 0 0 10px;
}
.footer-copy details {
  margin: 16px 0;
}
.footer-copy summary {
  width: fit-content;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
  font-weight: 700;
}
.footer-copy details p {
  margin-top: 12px;
}
.disclaimer {
  color: var(--ink);
  font-weight: 700;
}
a.li-icon { display: inline-flex; vertical-align: -3px; margin-inline-start: 4px; color: #0a66c2; }
a.li-icon svg { width: 16px; height: 16px; fill: currentColor; }
a.li-icon:hover { color: #004182; }

/* How to read this page: same structure on every page. */
.section-heading {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}
.section-heading > span {
  font-family: 'DM Sans';
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -.025em;
}
.section-heading i {
  height: 1px;
  background: #bfc3c4;
}
.reading {
  padding-bottom: 100px;
}
.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.reading-grid article {
  min-height: 190px;
  padding: 25px;
  background: var(--surface);
}
.reading-grid span {
  color: var(--blue);
  font-family: 'DM Sans';
  font-size: 12px;
  font-weight: 700;
}
.reading-grid p {
  margin: 35px 0 0;
  color: #4c5868;
  font-size: 14px;
}
.section-heading:not(:has(> span)) { grid-template-columns: auto 1fr; }
.reading { margin-top: 56px; padding-bottom: 56px; }
@media (max-width: 900px) {
  .reading-grid { grid-template-columns: 1fr; }
  .reading-grid article { min-height: 0; }
  .reading-grid p { margin-top: 14px; }
}

.cta-wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.cta-wrap .cta { margin: 40px 0; }

@media (max-width: 640px) {
  .topbar, footer, .cta-wrap { width: min(100% - 28px, 1180px); }
  .topbar { flex-wrap: wrap; align-items: flex-start; row-gap: 10px; padding: 13px 0; }
  .actions { width: 100%; justify-content: space-between; }
  .share-icons { gap: 6px; }
  .si { width: 28px; height: 28px; }
  .cta { flex-direction: column; align-items: stretch; box-shadow: 8px 8px 0 #cbdcf4; }
  .cta > a { width: 100%; }
  footer { grid-template-columns: 1fr; gap: 30px; }
}
