:root {
    color-scheme: light;
    --ink: #162c25;
    --muted: #506358;
    --pine: #13593e;
    --line: #d5dfd6;
    --paper: #f5f7f1;
    font: 16px/1.55 "Inter", "Segoe UI", system-ui, Tahoma, sans-serif;
    background: var(--paper);
    color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--pine); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
.bar { background: #fff; border-bottom: 1px solid var(--line); }
.barinner, main { max-width: 72rem; margin: auto; padding-inline: clamp(1.15rem, 5vw, 4rem); }
.barinner { display: flex; align-items: center; justify-content: space-between; min-height: 4.6rem; gap: 1rem; }
.brand { display: inline-flex; direction: ltr; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-size: 1.55rem; font-weight: 680; letter-spacing: -.06em; }
.mark { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: .7rem .22rem; color: #e3f5d1; background: var(--pine); font: italic bold 1.7rem/1 Georgia, serif; }
.bar nav, .jump, .telegram { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem; }
.bar nav a, .jump a { font-size: .94rem; font-weight: 550; }
main { padding-block: clamp(2.3rem, 6vw, 5rem) 5rem; }
.hero { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(2.3rem, 6vw, 5.5rem); align-items: center; min-height: 46vh; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 1rem; }
h1 { font: 500 clamp(2.7rem, 5.5vw, 5.25rem)/1.06 "Instrument Serif", Georgia, serif; letter-spacing: -.055em; text-wrap: balance; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.035em; }
h3 { font-size: 1.18rem; }
html[lang=fa] { font-family: Tahoma, "Segoe UI", sans-serif; line-height: 1.85; }
html[lang=fa] h1, html[lang=fa] h2, html[lang=fa] h3 { font-family: inherit; line-height: 1.45; letter-spacing: 0; }
html[lang=fa] h1 { font-size: clamp(2rem, 4.7vw, 4rem); }
.lead { margin: 1.1rem 0 1.8rem; font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 40em; color: var(--muted); }
.eyebrow { color: var(--pine); font-size: .9rem; font-weight: 650; margin: 0 0 .6rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 2.75rem; border: 1px solid var(--pine); border-radius: .55rem; padding: .62rem 1.18rem; background: var(--pine); color: white; font: inherit; font-weight: 620; text-decoration: none; cursor: pointer; }
.btn:hover { background: #104630; }
.secondary { display: inline-block; margin: .65rem .85rem; }
.card { padding: clamp(1.15rem, 3vw, 2rem); min-width: 0; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 1rem; background: white; box-shadow: 0 .2rem 1.1rem #183e2406; }
.invite { background: #e3eedf; border-color: #cfddca; }
.invite a { font-weight: 600; }
.card p, small, .small { color: var(--muted); }
.jump { margin-top: 1.5rem; gap: .5rem 1.5rem; padding-block: .75rem; border-block: 1px solid var(--line); }
.jump a { text-decoration: none; padding-block: .3rem; }
.jump span { border-radius: 1rem; padding: .12rem .45rem; background: #ddebdc; }
.columns { display: grid; grid-template-columns: 1.14fr 1fr; align-items: start; gap: 1.2rem; margin: 1.5rem 0 2.5rem; }
.task { margin: 1rem 0; }
.task .state { display: inline-block; border-radius: 10rem; padding: .19rem .75rem; background: #e6f1e4; color: #22513c; font-size: .88rem; font-weight: 650; margin: 0 0 .8rem; }
.lines { white-space: pre-line; }
label { display: block; margin: 1rem 0 .32rem; font-weight: 590; }
input, textarea, select { font: inherit; color: var(--ink); max-width: 100%; }
textarea, select, input[type=text], input[type=file] { display: block; width: 100%; padding: .55rem .75rem; margin-top: .28rem; border: 1px solid #9eafa3; border-radius: .47rem; background: #fcfdfa; }
input[type=file] { min-height: 3rem; padding: .47rem; border-style: dashed; }
input[type=file]::file-selector-button { cursor: pointer; border: 0; border-radius: .3rem; background: #e8efe8; color: var(--pine); padding: .38rem .7rem; margin-inline-end: .7rem; font: inherit; font-weight: 600; }
textarea { resize: vertical; }
small, .small { display: block; font-size: .88rem; }
form .btn { margin-top: 1rem; }
.telegram { justify-content: space-between; margin-top: 1.5rem; }
.telegram p, .telegram h2, .telegram .btn { margin: 0; }
.telegram h2 { margin-bottom: .35rem; }
.files { padding-inline-start: 1.25rem; }
.files li { padding: .3rem 0; }
.check { display: flex; align-items: baseline; gap: .5rem; font-weight: 450; }
input[type=checkbox] { accent-color: var(--pine); }
.notice { border-inline-start: 3px solid var(--pine); padding: .6rem .95rem; background: #e3eee0; }
.skip { position: absolute; top: -100px; background: white; padding: .5rem; }
.skip:focus { top: .25rem; }
:focus-visible { outline: 3px solid #a15916; outline-offset: 3px; }
[id] { scroll-margin-top: 1rem; }
@media (max-width: 44rem) {
    .hero, .columns { grid-template-columns: 1fr; }
    .barinner { min-height: 3.8rem; }
    .lead { font-size: 1.05rem; }
    .secondary { display: block; margin: .85rem 0 0; }
}
