/*
Theme Name: Rahmani Languages
Version: 1.0
Text Domain: rahmani-languages
*/
:root{color-scheme:light;--accent:#ae2725;--ink:#222326;--line:#e5e2de;--paper:#f8f7f5}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.75 system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:var(--accent);text-underline-offset:.22em}a:focus-visible{outline:3px solid #184891;outline-offset:4px}
.shell{width:min(1120px,100% - 48px);margin-inline:auto}.top{background:#fff;border-bottom:1px solid var(--line)}
.top .shell,.end .shell{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:76px}
.site-logo{display:block;width:135px;height:auto}.top nav{display:flex;gap:1.15rem;align-items:center;flex-wrap:wrap}.top a{color:var(--ink);text-decoration:none;font-weight:650}.top a[aria-current]{color:var(--accent);text-decoration:underline}
.hero{padding-block:clamp(58px,12vw,130px);color:#fff;background:linear-gradient(118deg,#242527,#303235 65%,#472c2b)}
h1,h2{line-height:1.15;letter-spacing:-.02em}h1{font-size:clamp(2.35rem,6vw,4.5rem);max-width:16ch;margin:0 0 .35em}.hero p{max-width:53ch;margin:0 0 1.7rem;color:#f0ebe7}.shop-link{display:inline-block;padding:.57rem 1.12rem;border-radius:4px;background:#f6e9df;color:#392825;font-weight:750;text-decoration:none}
.body-copy{max-width:770px;margin-block:clamp(36px,7vw,76px);padding:clamp(22px,5vw,42px);background:#fff;border:1px solid var(--line);overflow-wrap:anywhere}.body-copy h2{margin:1.6em 0 .55em;font-size:clamp(1.35rem,3vw,1.9rem)}.body-copy p:first-child{margin-top:0}
.end{border-top:1px solid var(--line);background:#fff}.end .shell{min-height:86px}.end p{margin:.75rem 0}
@media(max-width:540px){.shell{width:calc(100% - 32px)}.site-logo{width:100px}.top nav{gap:.65rem;font-size:.9rem}.hero{padding-block:52px}.end .shell{align-items:flex-start;flex-direction:column;justify-content:center;gap:0}}