:root {
  color-scheme: light dark;
  --ink: #172033;
  --muted: #5e6b82;
  --surface: rgba(255, 255, 255, 0.86);
  --line: rgba(28, 45, 78, 0.12);
  --accent: #1273e6;
  --accent-dark: #0751ac;
  --page-top: #e8f3ff;
  --page-bottom: #f8fafc;
}

* { box-sizing: border-box; }

html { background: var(--page-bottom); }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.58;
  background:
    radial-gradient(circle at 10% 0%, rgba(72, 161, 255, 0.20), transparent 34rem),
    radial-gradient(circle at 95% 15%, rgba(104, 207, 181, 0.16), transparent 27rem),
    linear-gradient(180deg, var(--page-top), var(--page-bottom) 44rem);
}

a { color: var(--accent-dark); }

.shell {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 56px;
}

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

.header-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: white;
  border-radius: 13px;
  background: linear-gradient(145deg, #2388f5, #0d5fc4);
  box-shadow: 0 8px 20px rgba(13, 95, 196, 0.26);
  font-size: 20px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(13, 95, 196, 0.26);
}

.brand-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.small-link {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.small-link:hover, .brand:hover { text-decoration: underline; }

.hero {
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(42, 64, 95, 0.10);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.15; }

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.25rem);
  letter-spacing: -0.045em;
}

.lead {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.26rem);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 12px 17px;
  color: white;
  border-radius: 14px;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(18, 115, 230, 0.26);
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: #0865cd; text-decoration: none; }

.button-icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  font-size: 1.2em;
  line-height: 1;
}

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

.card, .article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(42, 64, 95, 0.07);
}

.card h2, .article h2 { margin: 0 0 10px; font-size: 1.22rem; }
.card p, .article p, .article li { color: var(--muted); }
.card p:last-child, .article p:last-child { margin-bottom: 0; }

.article { margin-top: 18px; padding: clamp(25px, 5vw, 48px); }
.article h1 { font-size: clamp(2.05rem, 5vw, 3.4rem); }
.article h2 { margin: 38px 0 10px; }
.article ul { padding-left: 22px; }
.article li + li { margin-top: 7px; }

.notice {
  margin-top: 18px;
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(230, 242, 255, 0.74);
}

footer {
  padding: 28px 5px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 920px); padding-top: 16px; }
  header { padding-bottom: 22px; }
  .header-links { gap: 11px; }
  .grid { grid-template-columns: 1fr; }
  .hero, .card { border-radius: 22px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef4ff;
    --muted: #b9c4d5;
    --surface: rgba(20, 28, 43, 0.88);
    --line: rgba(255, 255, 255, 0.12);
    --accent: #4a9dff;
    --accent-dark: #93c5fd;
    --page-top: #101a2c;
    --page-bottom: #080d16;
  }
  body {
    background:
      radial-gradient(circle at 10% 0%, rgba(30, 119, 221, 0.25), transparent 34rem),
      radial-gradient(circle at 95% 15%, rgba(33, 150, 119, 0.17), transparent 27rem),
      linear-gradient(180deg, var(--page-top), var(--page-bottom) 44rem);
  }
  .hero, .card, .article { border-color: rgba(255, 255, 255, 0.08); }
  .notice { background: rgba(37, 73, 119, 0.35); }
}
