:root {
  --green-dark: #17833a;
  --green: #27a33b;
  --green-light: #38bf4d;
  --lime: #add22e;
  --ink: #142015;
  --muted: #6c746f;
  --page: #f3f5f1;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(20, 35, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(173, 210, 46, 0.24), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(39, 163, 59, 0.18), transparent 30%),
    linear-gradient(135deg, #f8faf6 0%, #edf1ec 50%, #f7f8f4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 131, 58, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 131, 58, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.page-shell {
  width: min(1280px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 34px 34px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px;
}

.brand,
.help-link {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-logo {
  width: 42px;
  height: 42px;
  display: block;
}

.help-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6f7672;
  font-weight: 800;
}

.help-icon {
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
}

.hero {
  text-align: center;
  padding: 54px 20px 44px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.065em;
}

.lead {
  margin: 18px auto 0;
  width: min(720px, 100%);
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.system-tile {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: var(--white);
  text-decoration: none;
  background-color: #1d2a20;
  background-position: center;
  background-size: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.system-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: inherit;
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
  transition: transform 0.32s ease, filter 0.32s ease;
}

.system-tile-1 {
  background-image: url("system-1-bg.png");
}

.system-tile-2 {
  background-image: url("system-2-bg.png");
}

.tile-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(8, 16, 12, 0.86) 0%, rgba(8, 16, 12, 0.54) 42%, rgba(8, 16, 12, 0.18) 100%),
    linear-gradient(135deg, rgba(23, 131, 58, 0.42), rgba(0, 0, 0, 0.06));
}

.system-tile:hover,
.system-tile:focus-visible {
  transform: translateY(-7px);
  box-shadow: 0 34px 95px rgba(13, 42, 20, 0.28);
  outline: none;
}

.system-tile:hover::before,
.system-tile:focus-visible::before {
  transform: scale(1.055);
  filter: saturate(1.08);
}

.tile-content {
  width: min(520px, 100%);
  position: relative;
  z-index: 1;
}

.system-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #eaffd9;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.system-tile h2 {
  margin: 0 0 12px;
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.32);
}

.system-tile p {
  width: min(460px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.45;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.open-link {
  margin-top: 28px;
  min-width: 170px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  font-weight: 900;
  font-size: 17px;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 36px;
  color: var(--muted);
  font-size: 15px;
}

.footer a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .page-shell {
    padding: 20px 18px 28px;
  }

  .hero {
    padding: 34px 10px 30px;
  }

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

  .system-tile {
    min-height: 360px;
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .topbar {
    min-height: auto;
    align-items: flex-start;
  }

  .brand {
    font-size: 22px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .help-link {
    font-size: 14px;
  }

  .system-tile {
    min-height: 320px;
    border-radius: 24px;
    padding: 24px;
  }

  .system-tile p {
    font-size: 16px;
  }
}
