:root {
  --navy: #08235c;
  --blue: #2448c7;
  --muted: #52617a;
  --line: rgba(8, 35, 92, 0.14);
  --card: rgba(255, 255, 255, 0.82);
  --orange: #f47b20;
  --shadow: 0 18px 45px rgba(8, 35, 92, 0.10);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", Arial, sans-serif;
  color: var(--navy);
  background:
    radial-gradient(circle at 86% 4%, rgba(244, 123, 32, 0.10), transparent 24%),
    radial-gradient(circle at 14% 0%, rgba(36, 72, 199, 0.16), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.9), transparent 36%),
    linear-gradient(90deg, rgba(255,255,255,0.88), rgba(255,255,255,0.58), rgba(255,255,255,0.82));
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1500px, calc(100% - 72px));
  margin: 0 auto;
  min-height: 100vh;
  padding: 42px 0 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.brand-strip {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: block;
  object-fit: contain;
}

.logo-cityrama {
  width: 178px;
}

.logo-grayline {
  width: 232px;
}

.divider {
  width: 1px;
  height: 46px;
  background: var(--line);
}

.page-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(8, 35, 92, 0.06);
  font-weight: 600;
}

.page-pill {
  padding: 11px 18px;
  margin-top: 4px;
}

.eyebrow {
  padding: 9px 15px;
  margin-bottom: 22px;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 999px;
}

.hero {
  max-width: 700px;
  margin-top: 110px;
  margin-bottom: 58px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 5.2vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #061946;
}

.hero h1 span {
  color: var(--blue);
}

.hero p {
  margin: 28px 0 0;
  max-width: 670px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.55;
}

.app-section {
  margin-top: 34px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.34em;
}

.section-heading span {
  color: var(--muted);
  font-size: 15px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.app-card {
  position: relative;
  overflow: hidden;
  min-height: 182px;
  padding: 30px 30px 26px;
  text-decoration: none;
  color: var(--navy);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 72, 199, 0.32);
  box-shadow: 0 24px 60px rgba(8, 35, 92, 0.15);
}

.corner {
  position: absolute;
  top: -66px;
  right: -60px;
  width: 166px;
  height: 166px;
  border-radius: 50%;
  background: rgba(8, 35, 92, 0.055);
}

.open-arrow {
  position: absolute;
  right: 30px;
  top: 30px;
  font-size: 24px;
  color: #263958;
}

.icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  border-radius: 18px;
  background: #102b80;
  color: #fff;
  box-shadow: 0 10px 22px rgba(16, 43, 128, 0.22);
}

.icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-card strong {
  position: relative;
  display: block;
  margin-bottom: 10px;
  color: #061946;
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.app-card small {
  position: relative;
  display: block;
  max-width: 95%;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.45;
}

.partner-logo {
  position: relative;
  display: block;
  width: 154px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 24px;
  mix-blend-mode: multiply;
}

.factorial-logo {
  width: 172px;
}

.zendesk-wordmark {
  position: relative;
  display: block;
  height: 58px;
  margin-bottom: 24px;
  color: #033d3d;
  font-size: 30px;
  line-height: 58px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.zendesk-wordmark::before {
  content: "◆";
  display: inline-block;
  transform: rotate(45deg);
  font-size: 23px;
  margin-right: 10px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 86px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.app-card-soon {
  opacity: 0.62;
  cursor: default;
  pointer-events: none;
}

.soon-badge {
  position: absolute;
  right: 22px;
  top: 24px;
  background: rgba(8, 35, 92, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

@media (max-width: 1150px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    margin-top: 82px;
  }
}

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

  .topbar,
  .brand-strip,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .divider {
    display: none;
  }

  .logo-cityrama {
    width: 154px;
  }

  .logo-grayline {
    width: 205px;
  }

  .hero {
    margin-top: 64px;
    margin-bottom: 44px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 18px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }

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

  .app-card {
    min-height: 170px;
  }
}
