@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600;700&family=Outfit:wght@600;700;800&display=swap');

:root {
  --color-bg: #fff;
  --color-bg-alt: #f4f9ff;
  --color-surface: #f6f5e4;
  --color-text: #000;
  --color-text-muted: #5d5d5d;
  --color-heading: #21446d;
  --color-accent: #3866bf;
  --color-accent-dark: #1a4a96;
  --color-accent-text: #fff;
  --color-secondary: #7d9fe0;
  --color-border: #d1d1d1;
  --gradient-hero: linear-gradient(180deg, #f4f9ff 0%, #fff 100%);
  --gradient-cta: linear-gradient(180deg, #3866bf 0%, #1a4a96 100%);
  --gradient-text: linear-gradient(90deg, #21446d 0%, #3866bf 100%);
  --font-heading: "Outfit", sans-serif;
  --font-body: "Noto Sans", sans-serif;
  --radius: 14px;
  --radius-btn: 11px;
  --shadow-card: 0 0 10px #b4c0dd;
  --shadow-btn: 0 0 10px #b4c0dd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; display: block; border-radius: var(--radius); }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(880px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--color-border);
}

.topbar {
  padding: 14px 0;
  color: var(--color-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar a { color: var(--color-heading); }
.topbar a:hover { text-decoration: none; }

.topbar-logo {
  height: 40px;
  width: auto;
  border-radius: 0;
  box-shadow: none;
}

.topbar-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
}

/* Main content */
main { flex: 1 0 auto; }

.page {
  padding: 48px 0 64px;
}

.page-header {
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-block;
  background: var(--color-surface);
  color: var(--color-heading);
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-top: 32px; }
h3 { font-size: 1.1rem; margin-bottom: 8px; }

p, li { margin: 0 0 14px; color: var(--color-text); }
ul { padding-left: 1.25rem; margin: 0 0 16px; }
li { margin-bottom: 8px; }

.lead { font-size: 1.08rem; color: var(--color-text-muted); }
.muted { color: var(--color-text-muted); }
.updated { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 8px; }

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 26px;
}

.notice {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 0 0 24px;
}

.notice p:last-child { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gradient-cta);
  color: var(--color-accent-text);
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  transition: transform 0.2s ease, opacity 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-body);
}

.btn:hover { transform: translateY(-2px); opacity: 0.96; text-decoration: none; }

/* Contact form */
.form-grid { display: grid; gap: 16px; max-width: 560px; }

.field { display: grid; gap: 6px; }

.field label {
  font-weight: 600;
  color: var(--color-heading);
  font-size: 0.95rem;
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  background: var(--color-bg);
  color: var(--color-text);
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.field textarea { resize: vertical; min-height: 130px; }

.form-status {
  margin-top: 4px;
  font-weight: 600;
  display: none;
}

.form-status.show { display: block; }
.form-status.success { color: var(--color-accent-dark); }
.form-status.error { color: #b00020; }

.hidden-field { display: none; }

/* Footer */
.site-footer {
  flex-shrink: 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
  margin-top: 48px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-nav a { color: var(--color-heading); font-weight: 600; font-size: 0.95rem; }

.footer-meta { color: var(--color-text-muted); font-size: 0.88rem; }
.footer-meta a { color: var(--color-text-muted); }
