:root {
  --bg: #f7f4ff;
  --surface: #ffffff;
  --text: #241b3a;
  --muted: #6e6880;
  --brand: #6d3bd4;
  --brand-dark: #4d259f;
  --border: #e6def7;
  --shadow: 0 18px 50px rgba(70, 38, 140, 0.10);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, #e9dcff 0%, transparent 60%),
    linear-gradient(180deg, #fbf9ff 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

a { color: var(--brand-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }

.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #5b21b6);
  box-shadow: 0 8px 20px rgba(109, 59, 212, 0.28);
}

nav { display: flex; gap: 22px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--brand-dark); }

.hero { padding: 84px 0 52px; max-width: 880px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; }
h3 { margin: 0 0 8px; font-size: 19px; }

.lead {
  margin: 22px 0 0;
  max-width: 760px;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 22px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(109, 59, 212, 0.28); }
.button.primary:hover { background: var(--brand-dark); color: #fff; }
.button.secondary { background: #fff; color: var(--brand-dark); border: 1px solid var(--border); }
.button.secondary:hover { box-shadow: var(--shadow); }

.badges { display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 24px 0 0; list-style: none; }
.badges li {
  padding: 7px 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.section { padding: 40px 0; }
.section > h2 { margin-bottom: 22px; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 30px rgba(70, 38, 140, 0.055);
}
.card p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 28px; align-items: start; }
.split p { color: var(--muted); margin-top: 0; }

.note {
  background: linear-gradient(160deg, #fff, #f1e9ff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.note p { margin: 8px 0 0; color: var(--muted); }

.contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  margin: 26px auto 60px;
  box-shadow: var(--shadow);
}
.contact p { margin: 8px 0; color: var(--muted); }
.email { font-weight: 750; word-break: break-word; }

.site-footer { border-top: 1px solid var(--border); background: rgba(255,255,255,0.55); padding: 26px 0; }
.footer-inner { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer-inner p { margin: 0; }

.legal { max-width: 880px; padding: 64px 0 72px; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); }
.legal h2 { margin-top: 42px; font-size: 25px; }
.legal h3 { margin-top: 24px; font-size: 18px; }
.legal p, .legal li { color: #3b3350; }
.legal ul { padding-left: 22px; }
.legal li { margin: 7px 0; }
.legal code {
  background: #efe8ff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 2px 7px;
  font-size: 0.92em;
}
.muted { color: var(--muted); }
.legal .email { display: inline-block; margin: 6px 0 10px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner { min-height: 64px; }
  nav { gap: 14px; }
  .hero { padding-top: 58px; }
  .cards, .split { grid-template-columns: 1fr; }
  .contact { padding: 24px; }
  .footer-inner { display: block; }
  .footer-inner p + p { margin-top: 10px; }
}
