:root {
  --brand-a: #1f4a57;
  --brand-b: #2d6b7c;
  --tone-soft: #f3f7f8;
  --tone-paper: #ffffff;
  --line-mute: #ced9dc;
  --accent-pulse: #d98a38;
  --text-strong: #1d2328;
  --text-body: #2e3b40;
  --radius-card: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--tone-soft);
  color: var(--text-body);
  font-family: "Segoe UI", "Open Sans", Arial, sans-serif;
  line-height: 1.62;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  background: #fff;
  border: 1px solid var(--line-mute);
  padding: 8px 10px;
  z-index: 999;
}

header {
  background: var(--tone-paper);
  border-bottom: 1px solid var(--line-mute);
}

.nav-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-name {
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: 0.2px;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

a {
  color: var(--brand-b);
  text-decoration: none;
}

a:hover {
  color: var(--brand-a);
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

section {
  background: var(--tone-paper);
  border: 1px solid var(--line-mute);
  border-radius: var(--radius-card);
  padding: 22px;
  margin: 20px 0;
}

h1,
h2,
h3 {
  color: var(--text-strong);
  margin-top: 0;
  line-height: 1.28;
}

h1,
h2 {
  font-family: "Merriweather", "Georgia", serif;
}

.cta-solid,
.cta-ghost,
button {
  display: inline-block;
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

.cta-solid,
button {
  background: var(--brand-a);
  color: #fff;
  border: 1px solid var(--brand-a);
}

.cta-solid:hover,
button:hover {
  background: #173840;
}

.cta-ghost {
  border: 1px solid var(--brand-a);
  color: var(--brand-a);
  background: transparent;
}

.cta-ghost:hover {
  border-color: var(--accent-pulse);
  color: var(--accent-pulse);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--line-mute);
  border-radius: 10px;
  padding: 14px;
  background: #fff;
}

.qa-item {
  border: 1px solid var(--line-mute);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fff;
}

form {
  display: grid;
  gap: 10px;
}

label {
  display: grid;
  gap: 6px;
}

input,
textarea {
  border: 1px solid #aebec3;
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}

textarea {
  min-height: 130px;
}

*:focus-visible {
  outline: 3px solid #1c6d92;
  outline-offset: 1px;
}

footer {
  border-top: 1px solid var(--line-mute);
  padding-top: 14px;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.cookie-panel {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--line-mute);
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}

.hidden {
  display: none;
}

@media (max-width: 860px) {
  .news-grid,
  .footer-layout {
    grid-template-columns: 1fr;
  }
}
