:root {
  color-scheme: light;
  --paper: #f7f6fc;
  --white: #fff;
  --ink: #211d3a;
  --purple: #5547d9;
  --muted: #716d87;
  --line: #e5e2f0;
  --lavender: #ebe8ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 system-ui, -apple-system, "Segoe UI", sans-serif;
}

.wrap { width: min(920px, calc(100% - 32px)); margin: 48px auto 64px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px clamp(24px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff 15%, #f0edff 100%);
  box-shadow: 0 18px 50px rgba(45, 35, 105, .07);
}

.hero::after {
  position: absolute;
  top: -65px;
  right: -40px;
  width: 190px;
  height: 190px;
  border: 26px solid rgba(85, 71, 217, .08);
  border-radius: 50%;
  content: "";
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--purple);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--purple);
  box-shadow: 0 6px 16px #5547d933;
  color: #fff;
  font-size: .95rem;
  letter-spacing: 0;
}

h1 {
  margin: 28px 0 12px;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.intro { max-width: 620px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.tag { border-radius: 999px; background: var(--lavender); color: #4538ba; padding: 6px 12px; font-size: .78rem; font-weight: 750; }

main {
  margin-top: 24px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 10px 35px rgba(45, 35, 105, .04);
}

.notice {
  margin-bottom: 30px;
  padding: 15px 18px;
  border-left: 4px solid var(--purple);
  border-radius: 0 14px 14px 0;
  background: #f5f3ff;
  color: #4a4565;
}

section { padding: 24px 0; border-top: 1px solid var(--line); }
section:first-of-type { padding-top: 0; border-top: 0; }
h2 { margin: 0 0 10px; font-size: 1.22rem; line-height: 1.3; letter-spacing: -.015em; }
p { margin: 8px 0; color: #514d64; }
strong { color: var(--ink); }

a {
  color: var(--purple);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

a:hover { color: #382bb2; }

.contact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfaff;
}

.contact-icon {
  display: grid;
  flex: 0 0 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: var(--lavender);
  color: var(--purple);
  font-size: 1.2rem;
}

footer { padding: 22px 8px; color: var(--muted); font-size: .85rem; text-align: center; }

@media (max-width: 560px) {
  .wrap { margin: 18px auto 32px; }
  .hero { padding-top: 30px; padding-bottom: 30px; border-radius: 22px; }
  main { border-radius: 20px; }
  .contact { padding: 14px; }
}

@media (prefers-reduced-motion: no-preference) {
  a { transition: color .15s ease; }
}
