/* The inner pages in the look of the quiet home (look E, r52): Fraunces headings, wide room, red hand-drawn marks and
   Caveat notes in the margin. The owner, 13.11: «у нас же классный такой шрифт на главной спейсинг разреженный; нужно же эту
   стилистику ко всем страницам применить; на каждую страницу добавить немного деталей капельку живости scribble от руки». */
:root{--bg:#fbf7ef;--fg:#111;--mute:#5f5a52;--line:#e4dccd;--ink:#df494e;--cta:#f6e4d9}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#161625;--fg:#ece8e0;--mute:#a19c93;--line:#2f2f45;--ink:#ff6b6f;--cta:#2a2238;color-scheme:dark}}
:root[data-theme=dark]{--bg:#161625;--fg:#ece8e0;--mute:#a19c93;--line:#2f2f45;--ink:#ff6b6f;--cta:#2a2238;color-scheme:dark}

.serif,.page-h1,.page h2{font-family:Fraunces,Georgia,serif}
.page-h1{font-weight:560;font-variation-settings:"opsz" 144,"SOFT" 50;letter-spacing:-.015em;line-height:1.04;font-size:clamp(40px,6.2vw,60px);margin:64px 0 14px}
.page h2{font-weight:600;font-variation-settings:"opsz" 72,"SOFT" 30;font-size:27px;letter-spacing:-.01em;line-height:1.2}
.page .lead{color:var(--mute);font-size:19px;line-height:1.5;margin:0 0 8px}
.page section{padding-top:72px}

/* margin notes: Caveat in red, a little tilted, with an arrow drawn by hand */
.hand{display:inline-block;font:600 23px/1 Caveat,"Bradley Hand",cursive;color:var(--ink);transform:rotate(-3deg);margin-left:12px;white-space:nowrap}
.hand svg{width:34px;height:18px;vertical-align:-2px;margin-right:4px;stroke:var(--ink);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hand.below{display:block;margin:6px 0 0 1.4em;transform:rotate(-2deg)}

/* a word circled or underlined by hand */
.circ,.uline{position:relative;white-space:nowrap;display:inline-block}
.circ>svg,.uline>svg{position:absolute;pointer-events:none;overflow:visible;stroke:var(--ink);fill:none;stroke-width:2;stroke-linecap:round}
.circ>svg{left:-13%;top:-42%;width:126%;height:185%}
.uline>svg{left:-2%;bottom:-.38em;width:104%;height:.6em}

/* big link rows (Connect, Made by me) */
.rows{list-style:none;margin:40px 0 0;padding:0}
.rows>li{padding:22px 0;border-top:1px solid var(--line)}
.rows>li:last-child{border-bottom:1px solid var(--line)}
.rows .big{font-family:Fraunces,Georgia,serif;font-weight:600;font-variation-settings:"opsz" 72,"SOFT" 30;font-size:32px;letter-spacing:-.01em;line-height:1.15;text-decoration:none}
.rows .big:hover{text-decoration:underline;text-decoration-color:var(--ink);text-decoration-thickness:2px;text-underline-offset:5px}
.rows .big .ar{color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:400;font-size:.8em;margin-left:6px}
.rows p{margin:6px 0 0;color:var(--mute)}
.share{margin:72px 0 0;font-size:21px;line-height:1.5}
@media(max-width:600px){.page-h1{margin-top:40px}.rows .big{font-size:27px}.hand{font-size:21px}.page section{padding-top:56px}}
.share .hand.below{margin-left:12.5em;transform:rotate(-3deg)}
@media(max-width:600px){.share .hand.below{margin-left:4em}}
.hand svg{display:inline-block}
.hand.for{white-space:normal;line-height:1.15;max-width:34em}
@media(max-width:600px){.circ>svg{left:-5%;top:-22%;width:110%;height:145%}}
/* wider column (the owner, 13.11: «Давай сделаем границы чуть пошире ато все таки прям слишком узко у нас даже теги не влезают») */
.wrap{max-width:780px}
/* Notes on a phone: no arrow, on a line of their own under what they mark, on every page (the owner, 13.11: «все должно быть
   унифицировано тогда просто без стрелок и на отдельной строке», about the phone; «на компе же влезает если справа отображать»:
   on a computer the notes stay beside their line, with arrows) */
@media(max-width:600px){
  .hand>svg{display:none!important}
  .hand:not(.for){display:block!important;width:max-content;max-width:100%;white-space:normal!important;margin:4px 0 8px!important;transform:rotate(-2deg)!important;position:static!important}
  .share .hand.below{margin-left:0!important}
}
