:root{--bg:#f9fafb;--text:#1c2024;--muted:#5c6268;--line:#e6e8eb;--accent:#0068d6}
*{box-sizing:border-box;margin:0}
body{background:var(--bg);color:var(--text);font:500 14px/22px system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
ul{list-style:none;padding:0}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.top{position:relative;z-index:2;height:72px;padding:0 max(16px,50% - 344px);display:flex;justify-content:space-between;align-items:center;background:var(--bg)}
.mark,.mark img{display:block}
.contact{position:relative}
.btn{display:flex;align-items:center;gap:8px;height:40px;padding:0 12px;border:0;border-radius:12px;background:var(--accent);color:#fff;font:inherit;font-weight:600;cursor:pointer;box-shadow:0 1px 2px #0003}
.btn:hover,.btn[aria-expanded=true]{background:#0059b8}
.menu{position:absolute;right:0;top:48px;min-width:248px;padding:4px;background:#fff;border-radius:12px;box-shadow:0 0 0 1px var(--line),0 8px 24px #1c20241f}
.menu a{display:flex;white-space:nowrap;align-items:center;justify-content:space-between;gap:24px;min-height:44px;padding:0 12px;border-radius:8px}
.menu a:hover{background:#f0f1f3}
.menu b,.list b{font-weight:600}
.menu span,.list span{color:var(--muted);font-weight:400}
main{width:min(688px,100% - 32px);margin:16px auto 80px}
.photo{display:block;width:100%;height:auto;aspect-ratio:688/361;object-fit:cover;border-radius:8px;box-shadow:0 0 0 1px #1c20240f}
.about{margin:24px 4px 32px;font-size:16px;line-height:25px;text-wrap:pretty}
.about p{margin-top:12px}
.about h1{letter-spacing:-.01em;font-size:18px;line-height:28px;font-weight:600}
.about a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.about a:hover{text-decoration-thickness:2px}
h2{margin:0 4px 8px;font-size:14px;line-height:20px;font-weight:600}
.list{background:#fff;border-radius:8px;box-shadow:0 0 0 1px var(--line),0 1px 2px #1c20240d;overflow:hidden}
.list li+li{border-top:1px solid var(--line)}
.list a{display:grid;grid-template-columns:32px auto 1fr;gap:0 12px;align-items:center;min-height:60px;padding:10px 16px}
.list a:hover{background:#f6f7f8}
.list a:focus-visible{outline-offset:-2px}
.list img{border-radius:8px}
.list span{text-align:right}
@media(max-width:640px){
  .btn{height:44px}
  .list a{grid-template-columns:32px 1fr}
  .list img{grid-row:1/3}
  .list span{text-align:left;font-size:13px;line-height:18px}
}
