:root {
  color-scheme: light dark;
  --page: #eef6fc;
  --surface: #ffffff;
  --surface-alt: #e8f3fb;
  --text: #0d2342;
  --muted: #59708e;
  --border: #9bc9eb;
  --navy: #071f4a;
  --blue: #0675ef;
  --cyan: #19c7ff;
  --success: #08713b;
  --danger: #a12b2b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 4%, rgb(25 199 255 / 18%), transparent 28rem),
    var(--page);
  font-size: 16px;
  line-height: 1.62;
}

a { color: var(--blue); }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgb(25 199 255 / 55%);
  outline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid rgb(25 199 255 / 35%);
  color: white;
  background: linear-gradient(120deg, #06172f, var(--navy) 50%, #0a4f99);
}

.brand {
  display: flex;
  max-width: 980px;
  min-height: 118px;
  margin: auto;
  padding: 22px 28px;
  align-items: center;
  gap: 18px;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand-name {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 750;
  letter-spacing: .02em;
}

.brand-subtitle { margin: 3px 0 0; color: #b9d5ec; }

main {
  width: min(920px, calc(100% - 32px));
  margin: 34px auto 44px;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgb(6 41 77 / 12%);
}

h1 { margin: 0 0 8px; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.13; }
h2 { margin: 1.65em 0 .45em; color: #095da8; font-size: 1.35rem; }
p { margin: .7em 0; }
code { padding: .12em .36em; border-radius: 5px; background: var(--surface-alt); }

.lead { max-width: 64ch; color: var(--muted); font-size: 1.08rem; }
.effective { color: var(--muted); }

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.link-card {
  display: block;
  min-height: 126px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  background: var(--surface-alt);
  text-decoration: none;
}

.link-card strong { display: block; color: var(--blue); font-size: 1.15rem; }
.link-card span { display: block; margin-top: 5px; color: var(--muted); }
.link-card:hover { border-color: var(--cyan); box-shadow: 0 0 0 3px rgb(25 199 255 / 16%); }

.contact-reveal {
  margin: 20px 0 30px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-alt);
}

.contact-reveal > p:first-child { margin-top: 0; }
.contact-form { margin-top: 16px; }
.turnstile-box { max-width: 420px; min-height: 70px; }
.contact-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }

button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--cyan);
  border-radius: 11px;
  color: white;
  background: linear-gradient(100deg, var(--blue), #19afe9);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover:not(:disabled) { filter: brightness(1.07); }
button:disabled { cursor: not-allowed; filter: grayscale(.55); opacity: .58; }
.contact-result { min-height: 1.6em; margin: 0; font-weight: 650; }
.contact-result[data-state="error"] { color: var(--danger); }
.contact-result[data-state="success"] { color: var(--success); }

.trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

footer { width: min(920px, calc(100% - 32px)); margin: -20px auto 40px; color: var(--muted); font-size: .9rem; }

@media (max-width: 620px) {
  .brand { padding: 18px 20px; }
  .brand img { width: 60px; height: 60px; }
  main { width: calc(100% - 22px); margin-top: 18px; border-radius: 17px; }
  .contact-reveal { padding: 16px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #061525;
    --surface: #0b2037;
    --surface-alt: #102d4b;
    --text: #e7f3ff;
    --muted: #acc2d9;
    --border: #245a83;
    --success: #7be6aa;
    --danger: #ff9b9b;
  }
  h2 { color: #69d5ff; }
  a { color: #40b8ff; }
  main { box-shadow: 0 20px 58px rgb(0 0 0 / 30%); }
}
