/* Self-contained styling for the legacy "moved to myAMDT" pages.
   Brand token (#0B4A82) and the system font stack are lifted from amdt_site so
   the pages stay on-brand with zero font/asset dependencies. */

:root {
  --amdt-blue: #0b4a82;
  --amdt-blue-dark: #093a67;
  --ink: #1f2933;
  --muted: #5b6770;
  --line: #e3e8ee;
  --bg: #f4f6f9;
  --font: "Titillium Web", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji";
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(11, 74, 130, 0.12);
}

.hero {
  background: linear-gradient(135deg, var(--amdt-blue), var(--amdt-blue-dark));
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo { height: 34px; width: auto; display: block; }

.langswitch { display: flex; gap: 4px; }

.langswitch button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.langswitch button:hover { background: rgba(255, 255, 255, 0.15); }

.langswitch button.active {
  background: #fff;
  color: var(--amdt-blue);
  border-color: #fff;
  font-weight: 600;
}

.content { padding: 36px 32px 40px; }

h1 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--amdt-blue);
}

.lead { font-size: 1.1rem; margin: 0 0 14px; }

.content p { margin: 0 0 14px; color: var(--ink); }

.fallback-note {
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--bg);
  border-left: 3px solid var(--amdt-blue);
  padding: 10px 14px;
}

.about {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.about h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--amdt-blue);
}

.about > p { margin: 0 0 16px; color: var(--muted); }

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.features li {
  font-size: 0.95rem;
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
  color: var(--muted);
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--amdt-blue);
}

.features strong { color: var(--ink); font-weight: 600; }

@media (min-width: 540px) {
  .features { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
}

.actions { margin: 24px 0 8px; }

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 28px;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, transform 0.05s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--amdt-blue); color: #fff; }
.btn-primary:hover { background: var(--amdt-blue-dark); }

.signup {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
  color: var(--muted);
}

.signup a { color: var(--amdt-blue); font-weight: 600; }

[hidden] { display: none !important; }

@media (max-width: 480px) {
  .content { padding: 28px 22px 32px; }
  .hero { padding: 22px; }
  .btn { display: block; text-align: center; }
}
