:root {
  color-scheme: light;
  --page: #fff8fc;
  --surface: rgba(255, 255, 255, 0.86);
  --text: #24152f;
  --muted: #75677d;
  --line: #eaddea;
  --violet: #7c3aed;
  --pink: #e83e8c;
  --orange: #f59e42;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 2%, rgba(232, 62, 140, 0.13), transparent 30rem),
    radial-gradient(circle at 93% 10%, rgba(124, 58, 237, 0.14), transparent 31rem),
    radial-gradient(circle at 50% 100%, rgba(245, 158, 66, 0.1), transparent 28rem),
    var(--page);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--violet); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 760;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #fff0fa);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
}

.mark svg { width: 27px; height: 27px; }

nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
nav a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
nav a[aria-current="page"], nav a:hover { color: var(--violet); }

main {
  margin-top: 12px;
  padding: clamp(28px, 6vw, 54px) clamp(22px, 6vw, 56px) 60px;
  border: 1px solid rgba(234, 221, 234, 0.92);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 24px 76px rgba(74, 31, 92, 0.11);
  backdrop-filter: blur(16px);
}

h1, h2, h3 { letter-spacing: -0.028em; }
h1 { margin: 0 0 6px; font-size: clamp(32px, 6vw, 46px); line-height: 1.12; }
h2 { margin: 36px 0 10px; font-size: 21px; line-height: 1.3; }
h3 { margin: 24px 0 8px; font-size: 17px; line-height: 1.35; }
p { margin: 0 0 15px; }
ul { margin: 8px 0 18px; padding-left: 23px; }
li + li { margin-top: 7px; }

.meta { margin-bottom: 28px; color: var(--muted); font-size: 14px; }
.lede { font-size: 18px; line-height: 1.65; }

.notice {
  margin: 24px 0;
  padding: 17px 18px;
  border-left: 4px solid var(--pink);
  border-radius: 4px 14px 14px 4px;
  background: #fff1f8;
}
.notice strong { display: block; margin-bottom: 3px; }

.contact-card {
  margin: 24px 0 4px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 249, 253, 0.9);
}
.contact-card p:last-child { margin-bottom: 0; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 2px 42px;
  color: var(--muted);
  font-size: 13px;
}
footer div:last-child { text-align: right; }
footer a { margin-left: 14px; color: var(--muted); }

@media (max-width: 680px) {
  header { align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
  main { border-radius: 22px; }
  footer { flex-direction: column; }
  footer div:last-child { text-align: left; }
  footer a { margin: 0 14px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

