* {
  box-sizing: border-box;
}

:root {
  --bg: #f5f2ea;
  --paper: #fffdf8;
  --ink: #17202a;
  --muted: #67727b;
  --blue: #0f4370;
  --blue-dark: #092d4e;
  --gold: #9b712a;
  --line: #d9d4c9;
  --shadow: 0 24px 70px rgba(18, 32, 43, 0.10);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(15, 67, 112, 0.06), transparent 32%),
    var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.card {
  width: min(100%, 820px);
  padding: 64px 68px 48px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: bold;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
}

h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(36px, 6vw, 58px);
  font-weight: normal;
  letter-spacing: -0.025em;
}

.subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.rule {
  width: 72px;
  height: 3px;
  margin: 34px auto 38px;
  background: var(--gold);
}

.languages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  text-align: left;
}

.languages section + section {
  padding-left: 48px;
  border-left: 1px solid var(--line);
}

h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 24px;
  font-weight: normal;
}

.languages p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.languages em {
  color: var(--ink);
}

footer {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

@media (max-width: 680px) {
  .card {
    padding: 46px 28px 36px;
  }

  .languages {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .languages section + section {
    padding-top: 30px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .subtitle {
    font-size: 18px;
  }
}
