:root {
  color-scheme: light;
  --background: #fff;
  --surface: #faf4f5;
  --on-accent: #fff;
  --text: #333;
  --muted: #666;
  --accent: #862633;
  --accent-soft: #f4e7e9;
  --border: #dcc8cc;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 850px;
  margin: 40px auto 0;
  padding: 0 20px 100px;
  font: 18px Roboto, Arial, sans-serif;
  line-height: 1.55;
  color: var(--text);
  background: var(--background);
}

a,
a:visited,
a:hover,
a:active {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

header {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-name {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}

.brand-icon {
  width: 1.35em;
  height: 1.35em;
  object-fit: contain;
  flex: none;
}

.language-switcher {
  display: flex;
  gap: 0.4rem;
}

.language-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.4rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.language-link:hover {
  text-decoration: none;
  background: var(--accent-soft);
}

.language-link[aria-current="page"] {
  color: var(--on-accent);
  background: var(--accent);
}

.flag {
  display: block;
  width: 1.5rem;
  height: 1rem;
  object-fit: cover;
  border-radius: 2px;
}

main {
  padding: 1.4rem 0 0.75rem;
}

h2 {
  margin: 2rem 0 0.55rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

p {
  margin: 0.75rem 0;
}

ul {
  padding-left: 1.4rem;
}

li + li {
  margin-top: 0.45rem;
}

.lead {
  max-width: 740px;
  font-size: 1.08rem;
}

.meeting {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  margin: 1.5rem 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  overflow: hidden;
}

.meeting-term {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: var(--on-accent);
  background: var(--accent);
  text-align: center;
}

.meeting-term span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.meeting-term strong {
  margin-top: 0.15rem;
  font-size: 1.75rem;
  line-height: 1.1;
}

.meeting-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
}

.meeting-details strong {
  color: var(--text);
  font-size: 1.05rem;
}

.meeting-details span {
  margin-top: 0.1rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
}

.meeting-details small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.call-to-action {
  margin-top: 1.75rem;
  font-weight: 700;
}

footer {
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.footer-content p {
  margin: 0;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.social-links a {
  display: inline-flex;
  padding: 0.1rem;
  font-size: 1.15rem;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

@media (max-width: 520px) {
  body {
    margin: 24px auto 0;
    padding: 0 16px 100px;
  }

  .header-top {
    align-items: center;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .language-code {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .language-link {
    min-width: 2.6rem;
    justify-content: center;
    padding: 0.35rem;
  }

  .meeting {
    grid-template-columns: 1fr;
  }

  .meeting-term {
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem;
  }

  .meeting-term strong {
    margin-top: 0;
    font-size: 1.1rem;
  }

  .meeting-details {
    padding: 0.85rem;
  }
}
