:root {
  --navy: #0b2b55;
  --blue: #174f8a;
  --red: #b8202e;
  --ink: #1f2937;
  --muted: #5f6b7a;
  --line: #d9e0e7;
  --surface: #ffffff;
  --bg: #f5f7fa;
  --success: #1f6f4a;
  --warning-bg: #fff8e6;
  --warning-border: #efd18a;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(11, 43, 85, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

a { color: var(--blue); }

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

.header-inner,
.main-wrap,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 14px;
}

.brand-text strong {
  display: block;
  font-size: 18px;
  line-height: 1.15;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.header-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: #eef4fb;
  border: 1px solid #d6e4f4;
  padding: 7px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.main-wrap { padding: 54px 0 70px; }

.hero {
  background: linear-gradient(135deg, #0b2b55 0%, #174f8a 100%);
  color: #fff;
  border-radius: 20px;
  padding: 52px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .82;
}

.hero h1,
.page-heading h1 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.hero h1 { font-size: clamp(34px, 5vw, 58px); max-width: 800px; }
.hero p { max-width: 760px; margin: 20px 0 0; font-size: 18px; color: rgba(255,255,255,.90); }

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px;
  margin-top: 28px;
}

.action-card,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.action-card { padding: 28px; }
.action-card h2 { margin: 0 0 8px; color: var(--navy); font-size: 23px; }
.action-card p { margin: 0 0 20px; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
}

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #071f3e; }
.btn-secondary { background: #fff; border-color: #bdc8d4; color: var(--navy); }
.btn-secondary:hover { background: #f8fafc; }
.btn-disabled { opacity: .55; cursor: not-allowed; }

.notice {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid var(--warning-border);
  background: var(--warning-bg);
  color: #624b11;
}

.page-heading { margin-bottom: 24px; }
.page-heading h1 { font-size: clamp(30px, 4vw, 44px); color: var(--navy); }
.page-heading p { margin: 10px 0 0; color: var(--muted); max-width: 780px; }

.panel { padding: 28px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { margin-top: 0; color: var(--navy); font-size: 21px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: 14px; color: #324154; }
input, select, textarea {
  width: 100%;
  border: 1px solid #bfc9d4;
  background: #fff;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(23,79,138,.18);
  border-color: var(--blue);
}
textarea { min-height: 110px; resize: vertical; }

.placeholder-box {
  border: 2px dashed #c2ccd6;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: var(--muted);
  background: #fafbfd;
}
.placeholder-box strong { display: block; color: var(--navy); margin-bottom: 6px; }

.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.status-pill {
  border-radius: 999px;
  padding: 7px 10px;
  background: #eef4fb;
  border: 1px solid #d6e4f4;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.back-link { display: inline-block; margin-bottom: 18px; text-decoration: none; font-weight: 700; }

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-inner {
  padding: 24px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .header-inner { min-height: 76px; }
  .brand-mark { width: 44px; height: 44px; font-size: 12px; }
  .brand-text strong { font-size: 16px; }
  .brand-text span { display: none; }
  .hero { padding: 34px 24px; border-radius: 14px; }
  .hero p { font-size: 16px; }
  .action-grid, .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .main-wrap { padding-top: 30px; }
  .panel, .action-card { padding: 22px; }
}
