:root {
  color-scheme: light;
  --ink: #071a40;
  --ink-soft: #304466;
  --muted: #687b9a;
  --line: #dbe5f4;
  --blue: #2457ff;
  --blue-deep: #173cc8;
  --cyan: #0bbdc5;
  --violet: #7256f6;
  --paper: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 8%, rgba(25, 190, 211, .11), transparent 25rem),
    radial-gradient(circle at 92% 22%, rgba(99, 78, 246, .10), transparent 28rem),
    linear-gradient(145deg, #f9fcff 0%, #f2f7ff 52%, #f9f7ff 100%);
  color: var(--ink);
  font: 16px/1.72 Inter, "Segoe UI", Arial, sans-serif;
  overflow-wrap: anywhere;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .48;
  background-image:
    linear-gradient(rgba(54, 91, 162, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 91, 162, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

a { color: #174fff; text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(207, 220, 240, .9);
  background: rgba(255, 255, 255, .91);
  box-shadow: 0 8px 32px rgba(19, 48, 101, .055);
  backdrop-filter: blur(18px);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--ink);
}

.brand:hover { text-decoration: none; }
.brand-mark { width: 46px; height: 46px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 17px; letter-spacing: .045em; }
.brand-copy small { margin-top: 6px; color: #8694ae; font-size: 8px; font-weight: 800; letter-spacing: .32em; }

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.home-link:hover { border-color: #b8c9e7; text-decoration: none; }
.home-link span { color: var(--blue); font-size: 18px; }

.legal-nav { border-top: 1px solid rgba(219, 229, 244, .75); }

.legal-nav-inner {
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.legal-nav-inner::-webkit-scrollbar { display: none; }

.legal-nav a {
  position: relative;
  flex: 0 0 auto;
  padding: 13px 15px 14px;
  color: #536783;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.legal-nav a::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: -1px;
  left: 13px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
}

.legal-nav a:hover { color: var(--blue); text-decoration: none; }
.legal-nav a[aria-current="page"] { color: var(--blue); }
.legal-nav a[aria-current="page"]::after { background: linear-gradient(90deg, var(--cyan), var(--blue)); }

main {
  width: min(1040px, calc(100% - 32px));
  margin: 38px auto 0;
  padding-bottom: 54px;
}

.page-intro { margin: 0 0 20px 8px; }
.page-intro span { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.page-intro p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.document {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 5.5vw, 66px);
  border: 1px solid rgba(203, 217, 238, .95);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(36, 87, 255, .035), transparent 18%) 0 0 / 100% 100%,
    rgba(255, 255, 255, .975);
  box-shadow: 0 28px 80px rgba(21, 53, 110, .11), 0 3px 12px rgba(21, 53, 110, .04);
}

.document::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -240px;
  right: -230px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(36, 87, 255, .07);
  border-radius: 50%;
  box-shadow: inset 0 0 0 38px rgba(11, 189, 197, .018), inset 0 0 0 92px rgba(114, 86, 246, .018);
}

.document::after {
  content: "NEIRONKI PRO";
  position: absolute;
  z-index: -1;
  right: -9px;
  bottom: 13%;
  color: rgba(34, 75, 158, .024);
  font-size: clamp(56px, 11vw, 118px);
  font-weight: 900;
  letter-spacing: -.055em;
  white-space: nowrap;
  transform: rotate(-90deg) translateX(48%);
  transform-origin: right bottom;
}

.document-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  margin: -8px 0 28px;
  padding-right: 158px;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.document-status { display: inline-flex; align-items: center; gap: 7px; }
.document-status i { width: 8px; height: 8px; border-radius: 50%; background: #27c894; box-shadow: 0 0 0 5px rgba(39, 200, 148, .12); }

.document-emblem {
  position: absolute;
  top: 31px;
  right: clamp(28px, 5.5vw, 66px);
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(36, 87, 255, .13);
  border-radius: 50%;
  color: var(--blue-deep);
  text-align: center;
  transform: rotate(7deg);
}

.document-emblem::before,
.document-emblem::after,
.emblem-orbit {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.document-emblem::before { inset: 7px; border: 1px dashed rgba(11, 189, 197, .32); }
.document-emblem::after { inset: 19px; border: 1px solid rgba(36, 87, 255, .10); }
.emblem-orbit { inset: 32px; background: radial-gradient(circle at 34% 28%, #4adbd9, #2457ff 62%, #623cec); opacity: .09; }
.document-emblem strong { position: relative; z-index: 1; margin-top: -20px; font-size: 25px; letter-spacing: -.04em; }
.document-emblem small { position: absolute; z-index: 1; bottom: 23px; font-size: 7px; font-weight: 850; line-height: 1.35; letter-spacing: .16em; }

.notice {
  display: flex;
  align-items: flex-start;
  margin: 0 158px 34px 0;
  padding: 13px 15px;
  border: 1px solid #d8e5fb;
  border-radius: 15px;
  background: linear-gradient(135deg, #f5f9ff, #f7f8ff);
  color: #4b5f7e;
  font-size: 13px;
}

.notice > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
}

.notice p { margin: 0; }
.document-body { position: relative; z-index: 1; }
.document-body > :first-child { max-width: 760px; margin-top: 0; padding-right: 118px; }

h1 {
  margin: 0 0 28px;
  color: #071a40;
  font-size: clamp(31px, 5vw, 50px);
  font-weight: 820;
  line-height: 1.12;
  letter-spacing: -.042em;
}

h2 {
  position: relative;
  margin: 42px 0 16px;
  padding: 13px 18px 13px 21px;
  border: 1px solid #e1e9f6;
  border-radius: 15px;
  background: linear-gradient(90deg, rgba(236, 244, 255, .88), rgba(248, 250, 255, .62));
  color: #0a214d;
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.25;
  letter-spacing: -.02em;
}

h2::before {
  content: "";
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(var(--cyan), var(--blue));
}

h3 { margin: 30px 0 11px; color: #112954; font-size: 20px; line-height: 1.35; }
p { margin: 0 0 15px; }
ul, ol { margin: 10px 0 22px; padding-left: 25px; }
li { margin: 8px 0; padding-left: 3px; }
li::marker { color: var(--blue); font-weight: 750; }
strong { font-weight: 760; }
hr { height: 1px; margin: 34px 0; border: 0; background: linear-gradient(90deg, transparent, var(--line) 10%, var(--line) 90%, transparent); }

code {
  padding: 2px 7px;
  border-radius: 7px;
  background: #eef4ff;
  color: #183f91;
  font: inherit;
  overflow-wrap: anywhere;
}

blockquote {
  margin: 22px 0;
  padding: 17px 19px;
  border: 1px solid #dbe6f8;
  border-left: 4px solid var(--blue);
  border-radius: 4px 15px 15px 4px;
  background: #f6f9ff;
  color: #354867;
}

table {
  width: 100%;
  margin: 20px 0 30px;
  border: 1px solid var(--line);
  border-spacing: 0;
  border-radius: 15px;
  background: rgba(255, 255, 255, .8);
  font-size: 14px;
  overflow: hidden;
}

th, td { padding: 13px 15px; border-bottom: 1px solid #e5ecf7; text-align: left; vertical-align: top; }
th { background: linear-gradient(180deg, #eef5ff, #f5f8ff); color: #233b65; font-size: 12px; letter-spacing: .055em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(245, 249, 255, .65); }

.document-signoff {
  display: flex;
  align-items: center;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.signoff-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: 11px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 68%, var(--violet));
  box-shadow: 0 8px 22px rgba(36, 87, 255, .18);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.document-signoff div { display: grid; line-height: 1.25; }
.document-signoff strong { font-size: 13px; }
.document-signoff small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.signoff-code { margin-left: auto; color: #8493ab; font: 700 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .07em; }

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1040px;
  margin: 0 auto 34px;
  padding: 0 22px;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 760px) {
  body { font-size: 15px; line-height: 1.67; }
  .top-inner { width: calc(100% - 28px); min-height: 68px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 15px; }
  .home-link { padding: 9px 11px; font-size: 0; }
  .home-link span { font-size: 20px; }
  .legal-nav-inner { width: 100%; padding: 0 7px; }
  .legal-nav a { padding: 12px 11px 13px; font-size: 12px; }
  main { width: calc(100% - 18px); margin-top: 22px; padding-bottom: 38px; }
  .page-intro { margin: 0 9px 15px; }
  .page-intro p { font-size: 13px; }
  .document { padding: 24px 18px 28px; border-radius: 20px; }
  .document::after { display: none; }
  .document-topline { align-items: flex-start; flex-direction: column; min-height: 72px; margin-bottom: 20px; padding-right: 92px; gap: 7px; font-size: 10px; }
  .document-emblem { top: 23px; right: 18px; width: 78px; height: 78px; }
  .document-emblem::before { inset: 5px; }
  .document-emblem::after { inset: 12px; }
  .emblem-orbit { inset: 20px; }
  .document-emblem strong { margin-top: -15px; font-size: 17px; }
  .document-emblem small { bottom: 13px; font-size: 5px; }
  .notice { margin: 0 0 25px; padding: 12px; font-size: 12px; }
  .document-body > :first-child { padding-right: 0; }
  h1 { margin-bottom: 22px; font-size: clamp(27px, 8vw, 34px); }
  h2 { margin-top: 34px; padding: 12px 13px 12px 17px; font-size: 21px; }
  h3 { font-size: 18px; }
  table { display: block; max-width: 100%; overflow-x: auto; white-space: normal; }
  th, td { min-width: 150px; padding: 11px 12px; }
  .document-signoff { margin-top: 38px; }
}

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  body::before, .top, .page-intro, .footer, .document::before, .document::after { display: none !important; }
  main { width: 100%; margin: 0; padding: 0; }
  .document { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .document-emblem { opacity: .55; }
  h2 { break-after: avoid; }
  p, li, table { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
