:root {
  color-scheme: light;
  --bone: #f6f1e8;
  --ink: #17181c;
  --sand: #d5b08b;
  --ember: #8c4f34;
  --line: rgba(23, 24, 28, 0.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Georgia", "Iowan Old Style", "Times New Roman", serif;
  background:
    radial-gradient(circle at top, rgba(213, 176, 139, 0.28), transparent 42%),
    linear-gradient(180deg, #f6f1e8 0%, #efe5d7 42%, #fbf8f2 100%);
  color: var(--ink);
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.card {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 90px rgba(23, 24, 28, 0.08);
  overflow: hidden;
}

.top {
  padding: 22px 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.brand {
  font-size: 0.86rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.langs a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.72);
}

.langs a.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.content {
  padding: 34px 24px 36px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ember);
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.94;
  max-width: 11ch;
}

.lead {
  margin: 24px 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(23, 24, 28, 0.74);
}

.panel {
  margin-top: 28px;
  border-radius: 24px;
  padding: 20px 22px;
  background: linear-gradient(145deg, rgba(23, 24, 28, 0.98), rgba(140, 79, 52, 0.88));
  color: #fff8f1;
}

.panel p {
  margin: 0;
  line-height: 1.7;
}

.footer {
  padding: 0 24px 26px;
  color: rgba(23, 24, 28, 0.64);
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .top {
    flex-direction: column;
    align-items: flex-start;
  }
}
