:root {
  color-scheme: light;
  --bg-top: #eff7ff;
  --bg-bottom: #dbeafe;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #163049;
  --muted: #4e6478;
  --line: rgba(22, 48, 73, 0.08);
  --accent: #1474ef;
  --accent-dark: #0f5fcc;
  --shadow: 0 18px 50px rgba(20, 116, 239, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.85), transparent 34%),
    linear-gradient(160deg, var(--bg-top), var(--bg-bottom));
}

a {
  color: var(--accent-dark);
}

.shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.language-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
}

.language-bar label {
  font-size: 0.95rem;
  font-weight: 700;
}

.language-select {
  min-width: 140px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero,
.page-header,
.content {
  padding: 32px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
  max-width: 12ch;
}

h2 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.lead,
p {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 58ch;
  font-size: 1.05rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.submit-button {
  border: 0;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.button.secondary,
.back-link {
  color: var(--text);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

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

.grid .card {
  min-height: 280px;
  padding: 28px;
}

.grid .card h2 {
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.1;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

.grid .card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.page-header {
  margin-bottom: 18px;
}

.content {
  background: var(--surface-strong);
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.hidden-field {
  display: none;
}

.contact-form label {
  font-weight: 700;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(20, 116, 239, 0.22);
  border-color: rgba(20, 116, 239, 0.34);
}

.form-success {
  margin: 0 0 28px;
  padding: 14px 16px;
  border-radius: 18px;
  font-weight: 700;
  color: #0f5132;
  background: rgba(25, 135, 84, 0.14);
  border: 1px solid rgba(25, 135, 84, 0.18);
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 20px, 960px);
    padding: 20px 0 32px;
  }

  .language-bar {
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .language-select {
    min-width: 128px;
  }

  .hero,
  .page-header,
  .content {
    padding: 24px;
  }

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

  .grid .card {
    min-height: auto;
    padding: 24px;
  }
}
