:root {
  color-scheme: light dark;
  --background: #f5fafc;
  --surface: rgba(255, 255, 255, 0.82);
  --text: #10202a;
  --muted: #5f7079;
  --line: rgba(16, 32, 42, 0.11);
  --accent: #087fc4;
  --accent-strong: #05669e;
  --warning: #fff8df;
  --shadow: 0 24px 60px rgba(27, 78, 102, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 2%, rgba(81, 189, 235, 0.22), transparent 34rem),
    radial-gradient(circle at 92% 0%, rgba(255, 220, 77, 0.25), transparent 32rem),
    var(--background);
}

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

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

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

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 119, 184, 0.2);
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 8px 22px rgba(25, 66, 87, 0.08);
}

main {
  padding: 68px 0 96px;
}

.hero {
  max-width: 760px;
  margin-bottom: 64px;
}

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

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.65;
}

.intro {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(25, 66, 87, 0.14);
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: white;
}

.button.secondary {
  background: var(--surface);
  color: var(--text);
}

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

.card,
.contact-card,
.policy section {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.card {
  min-height: 190px;
  padding: 28px;
  border-radius: 24px;
}

.card p,
.contact-card p,
.policy section p {
  margin: 0;
  color: var(--muted);
}

.warning-card {
  background: var(--warning);
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 56px;
  padding: 34px;
  border-radius: 28px;
}

.contact-card > div {
  max-width: 680px;
}

.policy {
  max-width: 860px;
}

.policy > .intro {
  margin-bottom: 46px;
}

.policy section {
  margin-top: 16px;
  padding: 28px;
  border-radius: 22px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #07151d;
    --surface: rgba(15, 35, 46, 0.82);
    --text: #edf8fc;
    --muted: #a8bec8;
    --line: rgba(218, 241, 250, 0.13);
    --accent: #35aee9;
    --accent-strong: #77cdf4;
    --warning: rgba(108, 79, 5, 0.3);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  }
}

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

  .site-header {
    align-items: flex-start;
  }

  .brand span {
    display: none;
  }

  main {
    padding-top: 44px;
  }

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

  .card {
    min-height: 0;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
