:root {
  --violet: #663399;
  --violet-dark: #45206f;
  --violet-soft: #f5effa;
  --ink: #1f1f24;
  --muted: #68656f;
  --line: #e7e2ec;
  --white: #ffffff;
  --max: 1180px;
  --shadow: 0 24px 60px rgba(70, 32, 111, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { max-width: 820px; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.brand-logo { width: min(280px, 48vw); height: auto; }
.brand-subtitle { font-size: .82rem; color: var(--muted); }
.main-nav { display: flex; gap: 22px; }
.main-nav a { text-decoration: none; font-weight: 650; font-size: .93rem; }
.main-nav a:hover { color: var(--violet); }
.hero { padding: 84px 0 76px; background: linear-gradient(135deg, #fff 0%, #fff 40%, #f6f0fb 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.eyebrow, .section-kicker {
  text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 800;
  color: var(--violet); margin: 0 0 14px;
}
h1,h2,h3 { line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(2.55rem, 5vw, 5rem); letter-spacing: -.045em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.025em; margin-bottom: 20px; }
h3 { font-size: 1.28rem; }
.lead { font-size: 1.2rem; max-width: 700px; color: var(--muted); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 750; }
.button.primary { background: var(--violet); color: #fff; }
.button.primary:hover { background: var(--violet-dark); }
.button.secondary { border: 1px solid var(--line); background: #fff; }
.button.secondary:hover { border-color: var(--violet); color: var(--violet); }
.hero-portrait { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.hero-portrait img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 18%; }
.section { padding: 84px 0; }
.section-soft { background: #faf8fc; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-text, .section-intro { font-size: 1.12rem; color: var(--muted); }
.section-intro { max-width: 900px; margin-bottom: 34px; }
.section-heading { max-width: 850px; }
.profile-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.profile-note { background: linear-gradient(180deg, #fff 0%, #faf7fd 100%); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 12px 28px rgba(31,31,36,.05); }
.professional-note ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.professional-note li + li { margin-top: 8px; }
.cards { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2,1fr); }
.cards-3 { grid-template-columns: repeat(3,1fr); }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.card p { color: var(--muted); margin-bottom: 0; }
.feature-card { position: relative; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 100%; background: var(--violet); }
.card-label { display: inline-block; margin-bottom: 12px; color: var(--violet); font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 800; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 34px; }
.process-item { border-top: 3px solid var(--violet); padding: 22px 18px 0 0; }
.process-item > strong { font-size: 2rem; color: var(--violet); display: block; margin-bottom: 6px; }
.process-item p { color: var(--muted); margin-bottom: 0; }
.examples-panel { margin-top: 48px; border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: #fff; }
.examples-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px 30px; }
.examples-grid div { display: flex; flex-direction: column; }
.examples-grid span { color: var(--muted); }
.architecture-section { background: var(--violet); color: #fff; }
.architecture-section .section-kicker { color: #d8c4ec; }
.architecture-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.architecture-copy { font-size: 1.1rem; color: rgba(255,255,255,.9); }
.architecture-copy p:first-child { margin-top: 0; }
.contacts-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.contact-tagline { color: var(--muted); }
.contact-card { font-style: normal; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; }
.contact-card > div { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.contact-card > div:last-child { border-bottom: 0; }
.contact-card strong { color: var(--muted); font-size: .86rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-card a { color: var(--violet); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; background: #fcfbfd; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-logo { width: 170px; height: auto; }
.footer-meta { text-align: right; }
.footer-inner p { margin: 0; }
@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-grid,.profile-grid,.architecture-grid,.contacts-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .cards-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 700px) {
  .hero { padding-top: 54px; }
  .cards-2,.cards-3,.examples-grid,.process-grid { grid-template-columns: 1fr; }
  .brand-subtitle { max-width: 300px; }
}
@media (max-width: 520px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 72px; }
  .brand-logo { width: min(230px, 66vw); }
  .brand-subtitle { font-size: .74rem; }
  .section { padding: 64px 0; }
  .contact-card > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
