:root {
  --ds-surface: #f7f5f5;
  --ds-surface-card: #ffffff;
  --ds-border: #cbd6da;
  --ds-text: #202020;
  --ds-muted: #4a4a4a;
  --ds-primary: #005275;
  --ds-primary-hover: #003045;
  --ds-accent: #ebf4fa;
  --ds-accent-strong: #89bad6;
  --ds-header-bg: #ebf4fa;
  --ds-divider: #cbd6da;
  --ds-focus: #003045;
  --ds-radius-sm: 2px;
  --ds-radius-md: 4px;
  --ds-radius-lg: 8px;
  --ds-radius-xl: 12px;
  --ds-radius: var(--ds-radius-lg);
  --ds-shadow: 0 18px 36px -28px rgba(0, 0, 0, 0.2);
  --ds-space-1: 4px;
  --ds-space-2: 8px;
  --ds-space-3: 12px;
  --ds-space-4: 16px;
  --ds-space-5: 24px;
  --ds-space-6: 32px;
  --ds-space-7: 40px;
  --ds-space-8: 56px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ds-text);
  background: var(--ds-surface);
  min-height: 100vh;
}

.site-header {
  background: var(--ds-header-bg);
  border-bottom: 1px solid var(--ds-divider);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ds-space-4) 0;
}

.site-header__logo img {
  height: 42px;
  width: auto;
  display: block;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--ds-space-4);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-header__link {
  color: var(--ds-primary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--ds-radius-md);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header__link:hover {
  background: #ffffff;
  border-color: var(--ds-accent-strong);
}

h1,
h2,
h3 {
  margin: 0 0 var(--ds-space-3);
  font-weight: 700;
}

p {
  margin: 0 0 var(--ds-space-3);
  line-height: 1.5;
}

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

.hero {
  padding: var(--ds-space-6) 0 var(--ds-space-6);
  background: #ffffff;
  border-bottom: 1px solid var(--ds-divider);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--ds-space-3);
  margin-bottom: var(--ds-space-4);
}

.brand__logo {
  height: 40px;
  width: auto;
}

.brand__divider {
  width: 1px;
  height: 28px;
  background: #d9dadb;
}

.brand__title {
  font-size: 0.95rem;
  color: var(--ds-muted);
  font-weight: 600;
}

.hero .tag {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--ds-primary);
  margin-bottom: var(--ds-space-2);
}


.hero .lede {
  font-size: 1.1rem;
  max-width: 620px;
  color: var(--ds-muted);
}

.notice {
  background: var(--ds-surface-card);
  border-radius: var(--ds-radius-md);
  padding: var(--ds-space-5);
  border: 1px solid var(--ds-border);
  margin-bottom: var(--ds-space-5);
}

.notice--warning {
  background: #fef3c7;
  border-color: #f59e0b;
  border-left: 4px solid #f59e0b;
}

.notice__title {
  font-size: 1.1rem;
  margin-bottom: var(--ds-space-3);
  color: #92400e;
}

.notice p {
  color: #78350f;
  margin-bottom: var(--ds-space-2);
}

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

.notice a {
  color: #92400e;
  font-weight: 600;
}

.notice a:hover {
  color: #78350f;
}

.card {
  margin-top: 0;
  background: var(--ds-surface-card);
  border-radius: var(--ds-radius-md);
  padding: var(--ds-space-6);
  box-shadow: none;
  border: 1px solid var(--ds-border);
  position: relative;
}

.card__header {
  margin-bottom: var(--ds-space-5);
}

.card__hint {
  margin-top: var(--ds-space-5);
  padding-top: var(--ds-space-4);
  border-top: 1px solid var(--ds-border);
  font-size: 0.9rem;
  color: var(--ds-muted);
}

.card__hint a {
  color: var(--ds-primary);
  font-weight: 600;
}

.card__hint a:hover {
  color: var(--ds-primary-hover);
}

.muted {
  color: var(--ds-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--ds-space-5);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-2);
}

.label {
  font-weight: 600;
}

.input {
  padding: 12px 14px;
  border-radius: var(--ds-radius-md);
  border: 1px solid var(--ds-border);
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
  outline: 3px solid var(--ds-focus);
  outline-offset: 1px;
  border-color: var(--ds-primary);
}

.hint {
  font-size: 0.85rem;
  color: var(--ds-muted);
  margin: 0;
}

.actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--ds-space-4);
}

.button {
  background: var(--ds-primary);
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: var(--ds-radius-xl);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--ds-primary-hover);
  transform: translateY(-1px);
}

.button:disabled {
  background: #9bb9d3;
  cursor: not-allowed;
  transform: none;
}

.status {
  font-size: 0.95rem;
  color: var(--ds-muted);
}

.status--error {
  color: #b42318;
}

.status--success {
  color: #067647;
}

.info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--ds-space-6);
  padding: var(--ds-space-7) 0 var(--ds-space-8);
}

.info-link {
  padding: var(--ds-space-6) 0 0;
}

.info__card {
  background: #ffffff;
  border-radius: var(--ds-radius-md);
  padding: var(--ds-space-5);
  border: 1px solid var(--ds-border);
  box-shadow: none;
}

.info__card h3 {
  color: var(--ds-primary);
}

.info-link__button {
  display: inline-block;
  margin-top: var(--ds-space-3);
  padding: 10px 18px;
  border-radius: var(--ds-radius-md);
  background: var(--ds-primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.info-link__button:hover {
  background: var(--ds-primary-hover);
}

ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ds-muted);
}

li {
  margin-bottom: 8px;
}

.site-footer {
  border-top: 1px solid var(--ds-border);
  background: #ffffff;
  padding: var(--ds-space-7) 0 var(--ds-space-8);
}

.site-footer__simple {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  color: var(--ds-muted);
  font-size: 0.95rem;
}

.site-footer__simple a {
  color: var(--ds-primary);
  text-decoration: none;
  font-weight: 600;
}

.site-footer__simple a:hover {
  color: var(--ds-primary-hover);
}

.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  color: var(--ds-muted);
  font-size: 0.95rem;
  margin-top: var(--ds-space-4);
}

.site-footer__contact a {
  color: var(--ds-primary);
  text-decoration: none;
  font-weight: 600;
}

.site-footer__contact a:hover {
  color: var(--ds-primary-hover);
}

code {
  background: #eef4fa;
  padding: 2px 6px;
  border-radius: var(--ds-radius-md);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .hero {
    padding-top: var(--ds-space-6);
  }

  .card {
    padding: var(--ds-space-5);
  }

  .actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ds-space-3);
  }
}
