:root {
  color-scheme: light;
  font: 100%/1.6 "Nunito", ui-rounded, system-ui, sans-serif;
  color: #28233b;
  background: #fdfcff;
  --violet: #5532a7;
  --line: #dedbe6;
}
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 58rem; padding-inline: clamp(1rem, 5vw, 3.5rem); }
.bar, .brand, nav { display: flex; align-items: center; }
.bar { justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding-block: 1.35rem; }
.brand { gap: .8rem; font-weight: 750; line-height: 1.25; font-size: 1.125rem; }
.brand img { border-radius: 24%; width: 3.4rem; height: 3.4rem; }
.brand bdi { max-width: 13em; }
nav { border-bottom: 1px solid var(--line); gap: 1.75rem; }
a { color: var(--violet); text-underline-offset: .2em; }
nav a { padding-block: .75rem; text-decoration: none; color: #514b60; border-bottom: 3px solid transparent; }
nav a[aria-current] { border-color: var(--violet); color: var(--violet); font-weight: 750; }
nav a:hover, summary:hover { color: var(--violet); }
:focus-visible { outline: 3px solid #1954af; outline-offset: 3px; }
main { max-width: 45rem; margin-inline: auto; margin-block: clamp(2rem,6vw,4rem); overflow-wrap: anywhere; }
h1, h2 { line-height: 1.2; margin: 0; }
h1 { font-size: clamp(2.25rem,6vw,3.75rem); letter-spacing: -.035em; }
h2 { font-size: 1.35rem; }
:lang(ar), :lang(hi) { letter-spacing: normal; }
.intro { font-size: 1.18rem; color: #50495f; margin: .8rem 0 2rem; }
section { padding-block: 1.45rem; border-block-start: 1px solid var(--line); }
section p { margin: .55rem 0 0; }
.contact { border: 1px solid #ded2f7; border-radius: 1.15rem; padding: clamp(1.1rem,4vw,1.8rem); background: #f4effc; }
.contact + section { margin-top: .65rem; border: 0; }
.email { display: inline-block; font-weight: 700; max-width: 100%; margin-top: .8rem; padding-block: .35rem; }
footer { border-top: 1px solid var(--line); padding-block: 1.2rem 2rem; font-size: .9rem; color: #554f62; }
details { position: relative; margin-inline-start: auto; }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .75rem; border: 1px solid var(--line); padding: .45rem .8rem; border-radius: .75rem; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-block-end: .2rem; }
details ul { position: absolute; z-index: 2; inset-inline-end: 0; margin: .4rem 0 0; padding: .35rem; list-style: none; border-radius: .75rem; background: white; border: 1px solid var(--line); min-width: 9rem; box-shadow: 0 6px 24px #23143319; }
details a { display: block; padding: .45rem .65rem; text-decoration: none; border-radius: .4rem; }
details a:hover, details a[aria-current] { background: #f1eafb; }
.reader, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: absolute; z-index: 3; padding: .5rem; background: white; }
@media (max-width: 36rem) {
  .brand { font-size: 1rem; }
  .brand bdi { max-width: 10em; }
  .brand img { width: 2.8rem; height: 2.8rem; }
}
