:root {
  --brand-teal: #115f5b;
  --brand-blue: #0f5f8f;
  --text: #233031;
  --muted: #526466;
  --border: #d8e2e3;
  --surface: #ffffff;
  --surface-soft: #f6f9f9;
  --shadow: 0 18px 50px rgba(20, 45, 50, 0.09);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fff;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, #f8fbfb 100%);
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-shell {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 28px;
}

.hero {
  text-align: center;
}

.alignity-logo {
  width: min(640px, 92vw);
  margin: 0 auto 28px;
}

.intro {
  max-width: 900px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin: 48px 0 36px;
}

.link-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.logo-link {
  display: flex;
  width: 100%;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.logo-link img {
  width: min(330px, 85%);
  max-height: 220px;
  object-fit: contain;
}

.link-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  min-height: 46px;
  padding: 12px 24px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-blue));
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:focus,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17, 95, 91, 0.22);
}

.about {
  max-width: 1038px;
  margin: 0 auto;
  padding: 30px clamp(22px, 4vw, 42px);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #055448;
  color: #fff;
}

.about p {
  margin: 0;
}

.about p + p {
  margin-top: 18px;
}

.site-footer {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 38px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 28px, 1040px);
    padding-top: 28px;
  }

  .link-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
  }

  .link-card {
    padding: 24px 18px;
  }

  .logo-link {
    min-height: 150px;
  }

  .site-footer {
    width: min(100% - 28px, 1040px);
  }
}
