@font-face { font-family: Ghars; src: url('/assets/thmanyahseriftext-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Ghars; src: url('/assets/thmanyahseriftext-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
:root { color-scheme: light; --green: #3a7c4a; --ink: #2c342c; --muted: #545d53; --sand: #f6efe6; --line: #dedfd5; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fdfcf8; color: var(--ink); font-family: Ghars, 'Geeza Pro', serif; font-size: 19px; line-height: 1.9; }
a { color: var(--green); text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; border-radius: 3px; }
.skip { position: fixed; inset-block-start: 8px; inset-inline-start: 16px; transform: translateY(-200%); background: white; padding: 8px 16px; z-index: 4; }
.skip:focus { transform: none; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 32px; font-weight: 700; color: var(--green); text-decoration: none; }
.brand img { width: 46px; height: 46px; }
nav { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; font-size: 17px; }
nav a { text-decoration: none; padding-block: 8px; min-height: 44px; display: inline-flex; align-items: center; }
nav a[aria-current='page'] { text-decoration: underline; font-weight: 700; }
main { min-height: 58vh; }
.hero { padding-block: 82px 72px; max-width: 760px; }
.hero h1 { margin: 0 0 20px; font-size: clamp(38px, 5vw, 60px); line-height: 1.4; font-weight: 700; }
.hero p { max-width: 670px; color: var(--muted); font-size: 22px; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; margin-block-start: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 26px; border-radius: 12px; background: var(--green); color: white; text-decoration: none; min-height: 48px; }
.button.secondary { background: var(--sand); color: var(--ink); }
.intro { border-top: 1px solid var(--line); padding-block: 44px 62px; max-width: 760px; }
h2 { font-size: 28px; line-height: 1.6; margin-block: 0 16px; }
p { margin-block: 0 20px; }
.page-title { padding-block: 48px 28px; }
.page-title h1 { font-size: clamp(36px, 4vw, 48px); line-height: 1.4; margin-block: 0 16px; }
.page-title p, .updated { color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 215px minmax(0, 720px); gap: 60px; align-items: start; padding-block-end: 70px; }
.contents { position: sticky; top: 28px; border-inline-start: 2px solid var(--line); padding-inline-start: 18px; }
.contents a { display: block; font-size: 16px; padding-block: 6px; text-decoration: none; }
.contents h2 { font-size: 18px; }
article section { margin-block-end: 38px; scroll-margin-block-start: 24px; }
article p { font-size: 18px; }
.support { max-width: 760px; padding-block-end: 70px; }
details { border-block-start: 1px solid var(--line); padding-block: 20px; }
details:last-of-type { border-block-end: 1px solid var(--line); }
summary { cursor: pointer; font-size: 21px; font-weight: 700; padding-block: 2px; min-height: 44px; }
details p { margin-block: 18px 0; color: var(--muted); }
.contact { margin-block-start: 36px; }
.site-foot { background: var(--sand); border-top: 1px solid var(--line); padding-block: 28px; font-size: 16px; color: var(--muted); }
.site-foot .wrap { display: flex; justify-content: space-between; align-items: start; gap: 24px; flex-wrap: wrap; }
.site-foot p { margin: 0; }
.site-foot nav { font-size: 15px; gap: 20px; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .site-head .wrap { gap: 14px; min-height: 88px; }
  .brand { font-size: 27px; gap: 5px; }
  .brand img { width: 38px; height: 38px; }
  nav { gap: 15px; font-size: 15px; }
  .hero { padding-block: 50px 44px; }
  .hero p { font-size: 20px; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .contents { position: static; }
  .page-title { padding-block-start: 36px; }
  h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
