@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #13294b;
  --blue: #1f5fae;
  --ink: #1c2633;
  --muted: #5d6b7c;
  --line: #e4e8ee;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px 32px;
}

.logo { margin: 0; font-size: 0; }

.logo img {
  display: block;
  width: min(480px, 86vw);
  height: auto;
}

.meta {
  margin: 8px 0 28px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.meta span { margin: 0 0.5em; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--blue); }

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

button.btn { border: 0; cursor: pointer; font-family: inherit; }

.contact { width: min(420px, 100%); }

.contact summary { list-style: none; }
.contact summary::-webkit-details-marker { display: none; }
.contact[open] summary { background: var(--blue); }

.form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 4px;
}

.form label { font-size: 13px; font-weight: 600; color: var(--navy); margin-top: 10px; }

.form input,
.form textarea {
  font: inherit;
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  width: 100%;
}

.form textarea { resize: vertical; min-height: 110px; }

.form input:focus,
.form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }

.form .btn { margin-top: 18px; align-self: center; }

.status { margin: 12px 0 0; min-height: 1.5em; text-align: center; font-size: 14px; color: var(--muted); }
.status[data-state="ok"] { color: #1e7e34; }
.status[data-state="error"] { color: #b02a37; }
button.btn:disabled { opacity: 0.6; cursor: default; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

footer {
  padding: 20px 16px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.nf h1 { font-size: 22px; font-weight: 600; color: var(--navy); margin: 24px 0 8px; }
.nf p { margin: 0 0 24px; color: var(--muted); }
.nf .logo img { width: min(260px, 60vw); }
