/* ТА-ТУН — общие стили */
:root {
  --ink: #17202a; --mut: #5b6b7c; --acc: #1f6f8b; --acc2: #154f63;
  --bg: #f7f9fa; --card: #ffffff; --line: #e4e9ee; --soft: #eef4f6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
header.site { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { font-weight: 800; font-size: 21px; letter-spacing: .5px; color: var(--acc); text-decoration: none; }
.logo span { color: var(--ink); font-weight: 400; }
nav .links a { color: var(--mut); text-decoration: none; margin-left: 24px; font-size: 15px; }
nav .links a:hover, nav .links a.active { color: var(--acc); }
.hero { padding: 76px 0 52px; }
.hero .tag { display: inline-block; background: var(--soft); color: var(--acc2); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 20px; margin-bottom: 18px; }
.hero h1 { font-size: 36px; line-height: 1.25; margin-bottom: 18px; max-width: 720px; }
.hero p { font-size: 17px; color: var(--mut); max-width: 640px; }
.btn { display: inline-block; margin-top: 26px; background: var(--acc); color: #fff; text-decoration: none; padding: 12px 26px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.btn:hover { background: var(--acc2); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; padding: 10px 0 54px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 26px; transition: box-shadow .15s; }
.card:hover { box-shadow: 0 4px 18px rgba(23,32,42,.06); }
.card .ic { width: 42px; height: 42px; border-radius: 9px; background: var(--soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--mut); }
section.block { padding: 14px 0 50px; }
section.block h2 { font-size: 23px; margin-bottom: 14px; }
section.block p, section.block li { color: var(--mut); font-size: 15.5px; margin-bottom: 10px; }
ul.dash { padding-left: 4px; list-style: none; }
ul.dash li { padding-left: 20px; position: relative; margin-bottom: 10px; }
ul.dash li::before { content: "—"; position: absolute; left: 0; color: var(--acc); }
table.price { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 8px 0 20px; }
table.price th, table.price td { padding: 13px 16px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
table.price th { background: var(--soft); color: var(--acc2); font-weight: 600; }
table.price tr:last-child td { border-bottom: none; }
table.price td:first-child { color: var(--ink); }
.note { background: var(--soft); border-left: 3px solid var(--acc); padding: 14px 18px; border-radius: 0 8px 8px 0; color: var(--acc2); font-size: 14.5px; margin: 16px 0; }
article.post { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px 26px; margin-bottom: 16px; }
article.post h3 { font-size: 18px; margin-bottom: 6px; }
article.post h3 a { color: var(--ink); text-decoration: none; }
article.post h3 a:hover { color: var(--acc); }
.meta { font-size: 13px; color: var(--mut); margin-bottom: 10px; }
.postbody h2 { font-size: 26px; margin: 6px 0 14px; }
.postbody h3 { font-size: 18px; margin: 24px 0 10px; color: var(--acc2); }
.postbody p, .postbody li { color: #33414f; font-size: 15.5px; margin-bottom: 12px; }
.postbody ul { padding-left: 22px; }
code { background: var(--soft); padding: 2px 7px; border-radius: 5px; font-size: 13.5px; color: var(--acc2); }
pre { background: #17202a; color: #d7e3ea; padding: 16px 18px; border-radius: 8px; overflow-x: auto; font-size: 13.5px; margin: 14px 0; }
pre code { background: none; color: inherit; padding: 0; }
footer.site { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--mut); font-size: 13.5px; background: var(--card); }
footer.site .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
footer.site a { color: var(--mut); text-decoration: none; }
footer.site a:hover { color: var(--acc); }
.crumb { font-size: 13.5px; color: var(--mut); padding: 18px 0 0; }
.crumb a { color: var(--acc); text-decoration: none; }
@media (max-width: 640px) { .hero h1 { font-size: 27px; } nav .links a { margin-left: 14px; font-size: 14px; } }
