* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: #fafbff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 2rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-logo {
  height: 40px;
}

.lang-switch {
  display: flex;
  gap: 0.15rem;
  font-size: 0.8rem;
}

.lang {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-faint);
  font-weight: 700;
}

.lang.active {
  background: var(--blue-light);
  color: var(--blue);
}

.page {
  flex: 1;
  width: min(760px, 100% - 2rem);
  margin: 2.5rem auto;
}

.card {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(1, 16, 67, 0.06);
}

h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 1.5rem;
}

.field-group {
  margin-bottom: 2rem;
}

.field-group-title {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.field-group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.field-group-head .field-group-title {
  margin-bottom: 0;
}

.bulk-links a {
  color: var(--blue);
  text-decoration: none;
  font-size: 0.9rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.25rem 0.75rem;
  margin-top: 0.75rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.25rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--blue);
}

.button {
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  cursor: pointer;
}

.button:hover {
  background: #3050e8;
}

.empty-state {
  background: var(--yellow-light);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

code {
  background: var(--grey);
  padding: 0.1em 0.4em;
  border-radius: 6px;
}

.site-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--ink-faint);
  font-size: 0.85rem;
}
