:root {
  --green: #11b14b;
  --green-dark: #087431;
  --green-soft: #e9faef;
  --dark: #393b43;
  --text: #161616;
  --muted: #5f6368;
  --white: #ffffff;
  --border: rgba(17, 177, 75, 0.14);
  --shadow: 0 14px 45px rgba(57, 59, 67, 0.12);
  --shadow-soft: 0 10px 28px rgba(57, 59, 67, 0.10);
  --radius-xl: 38px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 20%, rgba(17, 177, 75, 0.14) 0 12%, transparent 13%),
    radial-gradient(circle at 86% 6%, rgba(17, 177, 75, 0.16) 0 20%, transparent 21%),
    radial-gradient(circle at 94% 75%, rgba(17, 177, 75, 0.13) 0 12%, transparent 13%),
    linear-gradient(135deg, #f7faf7 0%, #eef7f0 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  padding: 32px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  position: relative;
  width: min(100%, 520px);
  padding: 34px 20px 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 50% 0%, rgba(17, 177, 75, 0.10), transparent 38%);
  z-index: 0;
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

.lang-switch {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 2;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.lang-switch .active {
  color: var(--green-dark);
}

.hero {
  text-align: center;
  padding: 24px 8px 10px;
}

.logo {
  display: block;
  width: 168px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 18px;
}

h1 {
  margin: 0;
  font-size: clamp(25px, 6.6vw, 36px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.tagline {
  max-width: 390px;
  margin: 16px auto 0;
  font-size: clamp(16px, 4.2vw, 19px);
  line-height: 1.36;
  color: var(--dark);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 26px;
}

.social-link {
  width: 58px;
  min-height: 70px;
  display: grid;
  grid-template-rows: 46px auto;
  gap: 7px;
  place-items: center;
  color: var(--dark);
}

.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--white);
  box-shadow: 0 7px 18px rgba(57, 59, 67, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

.social-label {
  font-size: 11px;
  line-height: 1.1;
  color: var(--dark);
  text-align: center;
}

.social-link:hover .social-icon,
.social-link:focus-visible .social-icon {
  transform: translateY(-2px);
  background: var(--green-soft);
  box-shadow: 0 10px 26px rgba(17, 177, 75, 0.18);
}

.links {
  display: grid;
  gap: 12px;
}

.link-card {
  display: grid;
  grid-template-columns: 68px 1fr 24px;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 12px 16px 12px 12px;
  background: var(--white);
  border: 1px solid rgba(57, 59, 67, 0.05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.link-card.highlight {
  background: linear-gradient(90deg, var(--green-soft), #ffffff);
  border-color: var(--border);
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(57, 59, 67, 0.14);
  border-color: rgba(17, 177, 75, 0.22);
}

.link-thumb {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: #f1f4f2;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font-size: 32px;
}

.link-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-content {
  min-width: 0;
}

.link-title {
  margin: 0;
  font-size: clamp(17px, 4.6vw, 21px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.link-description {
  margin: 6px 0 0;
  font-size: clamp(14px, 3.7vw, 16px);
  line-height: 1.25;
  color: var(--muted);
}

.link-arrow {
  color: var(--green-dark);
  display: grid;
  place-items: center;
}

.link-arrow svg {
  width: 22px;
  height: 22px;
}

.footer {
  margin-top: 30px;
  text-align: center;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 59, 67, 0.18), transparent);
  position: relative;
}

.footer-line::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: var(--green-dark);
  left: 50%;
  top: -1px;
  transform: translateX(-50%);
}

.footer p {
  margin: 22px auto 0;
  max-width: 260px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--dark);
  letter-spacing: 0.34em;
}

@media (max-width: 390px) {
  .page-shell {
    padding: 14px 8px;
  }

  .card {
    padding: 26px 14px 24px;
    border-radius: 28px;
  }

  .lang-switch {
    top: 20px;
    right: 22px;
  }

  .logo {
    width: 138px;
  }

  .socials {
    gap: 7px;
  }

  .social-link {
    width: 50px;
  }

  .social-icon {
    width: 42px;
    height: 42px;
  }

  .social-label {
    font-size: 10px;
  }

  .link-card {
    grid-template-columns: 58px 1fr 20px;
    min-height: 78px;
    gap: 11px;
  }

  .link-thumb {
    width: 54px;
    height: 54px;
  }
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.lang-switch button.active {
  color: var(--green-dark);
}

.social-link.disabled,
.link-card.disabled {
  cursor: default;
}

.social-link.disabled {
  opacity: 0.45;
}

.link-card.disabled {
  opacity: 0.82;
}

.link-card.disabled .link-arrow {
  opacity: 0.25;
}

.social-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.link-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.link-title {
  display: block;
  width: 100%;
}

.link-description {
  display: block;
  width: 100%;
  margin-top: 6px;
}
