:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #181818;
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.topbar {
  min-height: 72px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 12px max(5vw, 28px); border-bottom: 1px solid #e9e9ed; background: #fff;
}
.brand { display: flex; align-items: center; }
.brand img { display: block; width: 132px; height: auto; }
.topbar nav { display: flex; align-items: center; gap: 27px; font-size: 13px; font-weight: 600; }
.topbar nav a:hover, .text-link:hover { color: #7267c2; }
.button {
  border: 1px solid #7267c2; border-radius: 5px; background: #7267c2; color: #fff;
  padding: 13px 19px; font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 20px; box-shadow: none;
}
.button:hover { background: #5f54ae; border-color: #5f54ae; }
.button.small { padding: 8px 13px; gap: 8px; }
.button.outline { background: #fff; color: #554aa4; }
.button.ghost { background: transparent; border-color: #aaa6c8; color: #fff; }
.button.ghost:hover { background: #ffffff1b; border-color: #fff; }
.button.muted { background: #f1effb; color: #4e4496; border-color: #e2dff5; }
.button.danger { background: #f9eceb; color: #8e3d35; border-color: #efdad7; }
.hero { padding: 88px max(5vw, 28px) 96px; background: #121212; color: #fff; }
.hero-inner { max-width: 940px; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .17em; color: #7267c2; }
.hero .eyebrow { color: #a99ee9; }
.hero h1 {
  font-size: clamp(39px, 5.1vw, 72px); font-weight: 700; line-height: 1.1;
  letter-spacing: -.045em; margin: 22px 0 23px; max-width: 900px;
}
.hero p { font-size: 18px; line-height: 1.65; color: #d2d2d8; max-width: 680px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero .hero-region {
  margin: 52px 0 0; max-width: 440px; border-left: 2px solid #7267c2;
  padding-left: 16px; font-size: 13px; color: #bfc0c6;
}
.articles { padding: 72px max(5vw, 28px) 85px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 25px; }
.section-head h2, .about h2, .workspace-head h2 {
  font-size: clamp(30px, 3.3vw, 46px); line-height: 1.15; letter-spacing: -.025em; margin: 11px 0 0;
}
.text-link { font-size: 14px; font-weight: 700; color: #5b50a9; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card {
  display: flex; flex-direction: column; min-height: 245px; border: 1px solid #e7e7ec;
  border-radius: 8px; padding: 24px; transition: border-color .15s;
}
.article-card:hover { border-color: #7267c2; }
.article-card span { font-size: 11px; font-weight: 800; letter-spacing: .09em; color: #665bb3; }
.article-card h3 { font-size: 20px; line-height: 1.32; margin: 20px 0 11px; }
.article-card p { color: #62636b; font-size: 14px; line-height: 1.6; margin: auto 0 0; }
.about { background: #f7f7f9; border-block: 1px solid #ededf0; padding: 70px max(5vw, 28px); }
.about p { max-width: 740px; color: #51525b; line-height: 1.75; margin: 20px 0; }
.workspace-section { padding: 75px max(5vw, 28px) 110px; min-height: 450px; }
.workspace-head p { color: #66676f; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card, .panel {
  background: #fff; border: 1px solid #e4e3ed; border-radius: 8px;
  padding: 24px; box-shadow: 0 3px 12px #11111108;
}
.card h3, .panel h3 { margin: 7px 0 10px; font-size: 20px; }
.card p, .panel p { color: #5e5e69; line-height: 1.55; }
.card .meta, .subtle { color: #777782; font-size: 12px; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: #5d53a8; background: #f0eefb; padding: 6px 8px; border-radius: 3px;
}
.status { font-size: 12px; font-weight: 700; color: #5d53a8; }
.panel { margin: 18px 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: #4e4e59; }
.field.full { grid-column: 1/-1; }
input, select, textarea {
  width: 100%; border: 1px solid #cccad9; border-radius: 5px;
  background: #fff; padding: 11px 12px; color: #1b1b22;
}
textarea { min-height: 95px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid #a49ae0; }
.form-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; margin: 25px 0; }
.tab { background: transparent; border: 1px solid #d7d5e4; border-radius: 5px; padding: 9px 13px; color: #514a80; }
.tab.active { background: #7267c2; border-color: #7267c2; color: #fff; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #ecebf0; padding: 14px 0; }
.list-row:first-child { border-top: 0; }
.list-row strong { display: block; }
.list-row small { color: #767680; }
.row-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row-actions select { width: auto; }
.empty { border: 1px dashed #c9c6df; padding: 32px; background: #faf9ff; border-radius: 7px; color: #606071; }
.notice { padding: 12px 16px; margin: 15px 0; border-radius: 5px; background: #f1effb; color: #4f4597; }
.notice.error { background: #faeae7; color: #8b3838; }
.contact-form { max-width: 760px; margin-top: 28px; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
footer {
  border-top: 1px solid #e9e9ed; padding: 26px max(5vw, 28px);
  display: flex; justify-content: space-between; gap: 20px; color: #676771; font-size: 12px;
}
footer div { display: flex; gap: 20px; }
code { word-break: break-all; background: #f0eefb; padding: 5px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid #e6e4ee; margin: 20px 0; }
@media(max-width: 880px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 760px) {
  .topbar { min-height: 64px; }
  .topbar nav { gap: 10px; }
  .topbar nav a { display: none; }
  .hero { padding-top: 65px; padding-bottom: 65px; }
  .hero .hero-region { margin-top: 36px; }
  .article-grid { grid-template-columns: 1fr; }
  .articles, .about, .workspace-section { padding-top: 58px; padding-bottom: 65px; }
  .split { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
