:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #eef4ff;
  --text: #162033;
  --muted: #5d6b82;
  --border: #d8e0ec;
  --brand: #1d5fd1;
  --brand-dark: #153f8f;
  --accent: #13966b;
  --shadow: 0 18px 45px rgba(22, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--brand-dark);
  text-decoration: underline;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  min-width: 0;
}

.brand:hover,
.brand:focus-visible {
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-weight: 650;
}

nav a[aria-current="page"] {
  color: var(--brand-dark);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  padding: 56px 0 36px;
}

.hero-copy,
.summary-panel,
.content-grid article,
.notice,
.page section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(28px, 5vw, 52px);
}

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

h1,
h2 {
  line-height: 1.15;
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin: 14px 0 0;
}

.lead,
.hero-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.secondary {
  background: var(--surface-strong);
  color: var(--brand-dark);
}

.button:hover,
.button:focus-visible {
  text-decoration: none;
}

.summary-panel {
  padding: 28px;
}

dl,
dd {
  margin: 0;
}

dl {
  display: grid;
  gap: 20px;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

dd {
  margin-top: 4px;
  font-weight: 750;
  word-break: break-word;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0;
}

.content-grid article,
.notice,
.page section {
  padding: 24px;
}

.content-grid p,
.notice p,
.page p,
li {
  color: var(--muted);
}

.notice {
  margin: 18px 0 48px;
  background: var(--surface-strong);
}

.link-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.page {
  max-width: 880px;
  padding: 42px 0 56px;
}

.page h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.page section {
  margin-top: 18px;
}

.page ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.support-email {
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  font-weight: 850;
  word-break: break-word;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 24px, 1120px);
  }

  nav {
    gap: 10px 14px;
  }

  .hero-copy,
  .summary-panel,
  .content-grid article,
  .notice,
  .page section {
    padding: 20px;
  }

  .button {
    width: 100%;
  }
}
