:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5c6875;
  --paper: #fffdf8;
  --line: #d9d4c9;
  --accent: #8f1d21;
  --accent-dark: #651316;
  --soft: #f3eee4;
  --error: #9c1c1c;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(143, 29, 33, 0.08), transparent 33rem),
    #f5f1e8;
}

.institution-header {
  background: white;
  border-bottom: 1px solid var(--line);
}

.logos {
  width: min(960px, calc(100% - 2rem));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logos img {
  width: auto;
  max-width: 150px;
  max-height: 44px;
  object-fit: contain;
}

.shell {
  width: min(760px, calc(100% - 2rem));
  margin: 3rem auto;
}

.card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(24, 26, 28, 0.09);
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.08;
}

p { line-height: 1.65; }

form { margin-top: 1.75rem; }

label, legend {
  font-weight: 700;
}

input[type='url'],
input[type='text'],
input:not([type]) {
  display: block;
  width: 100%;
  margin: 0.55rem 0 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid #a9a59d;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(143, 29, 33, 0.18);
}

fieldset {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.9rem 0;
  font-weight: 400;
  line-height: 1.45;
}

.check input { margin-top: 0.18rem; }

button {
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

button:hover { background: var(--accent-dark); }
button:disabled { cursor: wait; opacity: 0.65; }

.offer-box, .notice {
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  background: var(--soft);
}

.error {
  color: var(--error);
  font-weight: 700;
}

footer {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto 3rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 560px) {
  .logos { gap: 1rem; }
  .logos img { max-width: 95px; max-height: 34px; }
  .shell { margin-top: 1.5rem; }
}

