:root {
  --bg-1: #eaf5ff;
  --bg-2: #dcecff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #f8fcff;
  --text: #1e2d3c;
  --muted: #5f7288;
  --line: rgba(141, 180, 214, 0.32);
  --line-strong: rgba(111, 164, 208, 0.52);
  --blue-1: #9dd0f8;
  --blue-2: #7fb9ec;
  --blue-3: #68a7e2;
  --shadow: 0 18px 46px rgba(90, 126, 164, 0.14);
  --shadow-soft: 0 10px 24px rgba(90, 126, 164, 0.10);
  --radius: 28px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(157, 208, 248, 0.22), transparent 34%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82px;
  background: rgba(236, 245, 254, 0.74);
  border-bottom: 1px solid rgba(141, 180, 214, 0.22);
  backdrop-filter: blur(12px);
}

.site-brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  color: #264055;
}

.page-shell {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  padding: 36px 20px 52px;
}

.landing-card {
  width: min(560px, 100%);
  padding: 40px 30px 34px;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid rgba(141, 180, 214, 0.28);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.landing-copy {
  text-align: center;
  margin-bottom: 28px;
}

.landing-copy h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.landing-copy p {
  margin: 14px auto 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.button-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.action-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  box-shadow: var(--shadow-soft);
}

.action-button:hover {
  transform: translateY(-2px);
}

.action-button.primary {
  background: linear-gradient(180deg, var(--blue-1) 0%, var(--blue-2) 52%, var(--blue-3) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.action-button.primary:hover {
  box-shadow: 0 14px 30px rgba(96, 149, 196, 0.24);
}

.action-button.secondary {
  background: linear-gradient(180deg, #f7fbff 0%, #edf6fd 100%);
  color: #234055;
  border-color: var(--line);
}

.action-button.secondary:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e8f3fb 100%);
  border-color: var(--line-strong);
  box-shadow: 0 14px 30px rgba(96, 149, 196, 0.12);
}

.content-wrap {
  width: min(980px, calc(100% - 32px));
  margin: 36px auto 56px;
}

.document-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(141, 180, 214, 0.24);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 32px clamp(18px, 3vw, 34px);
  backdrop-filter: blur(12px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #4f7faa;
  font-weight: 600;
  transition: transform 180ms ease, opacity 180ms ease;
}

.back-link:hover {
  transform: translateX(-2px);
  opacity: 0.88;
}

.document-head {
  padding: 4px 0 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(141, 180, 214, 0.18);
}

.document-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  text-align: center;
}

.document-author {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.document-body {
  font-size: 15px;
  line-height: 1.85;
  color: #233445;
}

.document-body h1,
.document-body h2,
.document-body h3,
.document-body strong {
  color: #172533;
}

.document-body h1 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.18;
  text-align: center;
}

.document-body h3 {
  margin: 26px 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

.document-body p {
  margin: 0 0 12px;
}

.document-body ul,
.document-body ol {
  margin: 0 0 14px 22px;
  padding: 0;
}

.document-body li {
  margin: 6px 0;
}

.document-body hr {
  border: none;
  border-top: 1px solid rgba(141, 180, 214, 0.2);
  margin: 22px 0;
}

.document-body address {
  font-style: normal;
  color: var(--muted);
  text-align: center;
  margin-bottom: 18px;
}

.reveal {
  animation: reveal 420ms ease both;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .site-header {
    height: 72px;
  }

  .page-shell {
    min-height: calc(100vh - 72px);
    padding: 22px 14px 40px;
  }

  .landing-card {
    padding: 30px 18px 22px;
    border-radius: 24px;
  }

  .document-card {
    padding: 24px 16px;
    border-radius: 24px;
  }

  .action-button {
    width: 100%;
  }

  .document-body {
    font-size: 14px;
    line-height: 1.8;
  }
}
