:root {
  --bg: #ffffff;    
  --fg: #0a1f44;    
  --muted: #555555; 
  --accent: #c1121f;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, 
  Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--fg);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 2px solid var(--accent);
  background: #ffffff;
}
header img {
  height: 100px;
}
nav a {
  text-decoration: none;
  color: var(--fg);
  font-weight: bold;
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: 6px 12px;
  transition: background 0.2s ease, color 0.2s ease;
}
nav a:hover {
  background: var(--accent);
  color: #fff;
}
main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 24px;
}
.card {
  width: min(640px, 100%);
  background: #ffffff;
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.card img {
  width: 180px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
}
h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  margin: 10px 0 12px;
  color: var(--fg);
}
p { color: var(--muted); margin: 0 0 22px; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  text-decoration: none;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.cta:hover { background: var(--accent); color: #fff; }
.note { font-size: 12px; color: var(--muted); margin-top: 14px; }
footer { text-align: center; font-size: 12px; color: var(--muted); padding: 12px; border-top: 1px solid #eee; }

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  width: 300px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: var(--accent);
  font-weight: bold;
}
.modal-content h2 {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--fg);
}
.modal-content a {
  display: block;
  margin: 8px 0;
  text-decoration: none;
  color: var(--fg);
  font-weight: bold;
}
.modal-content a:hover {
  text-decoration: underline;
}
