:root {
  color-scheme: light;
  --ink: #073f37;
  --muted: #667d78;
  --green: #008f80;
  --green-dark: #006a5e;
  --paper: #f7f8f5;
  --surface: rgba(255, 255, 255, 0.92);
  --line: rgba(7, 63, 55, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 6% 100%, rgba(0, 168, 173, 0.13), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(237, 91, 36, 0.055), transparent 31%),
    var(--paper);
}

body::before {
  position: fixed;
  z-index: -1;
  top: 16%;
  left: -18vw;
  width: 60vw;
  height: 28vw;
  border: 1px solid rgba(7, 63, 55, 0.055);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: rotate(-7deg);
}

a {
  color: inherit;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  grid-template-rows: auto 1fr auto;
  width: min(1060px, calc(100% - 56px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-bens {
  width: 74px;
  height: 30px;
  object-fit: contain;
  object-position: left center;
}

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

.brand-hotel {
  width: 76px;
  height: 42px;
  object-fit: contain;
}

.session-chip {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
}

.session-dot {
  width: 9px;
  height: 9px;
  border: 2px solid white;
  border-radius: 50%;
  background: #1e9b68;
  box-shadow: 0 0 0 2px rgba(30, 155, 104, 0.16);
}

main {
  align-self: center;
  width: 100%;
  padding: clamp(32px, 7vh, 70px) 0;
}

.workspace-head {
  max-width: 750px;
  margin-bottom: clamp(26px, 4.5vh, 42px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.048em;
}

.intro-copy {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.45vw, 1.08rem);
  line-height: 1.65;
}

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

.app-card {
  display: flex;
  min-height: 228px;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(10, 70, 61, 0.07);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.app-card--primary {
  border-color: rgba(0, 143, 128, 0.26);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 252, 249, 0.94)),
    var(--surface);
}

.app-card:hover,
.app-card:focus-visible {
  border-color: rgba(0, 122, 106, 0.54);
  box-shadow: 0 22px 52px rgba(6, 69, 59, 0.13);
  outline: none;
  transform: translateY(-3px);
}

.app-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 122, 106, 0.15), 0 22px 52px rgba(6, 69, 59, 0.13);
}

.app-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.app-brand-icon,
.app-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.app-brand-icon {
  display: block;
  object-fit: contain;
}

.app-brand {
  display: block;
  width: auto;
  max-width: 132px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.app-brand--cloudbeds {
  width: 132px;
}

.app-icon {
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--green-dark));
}

.app-icon--orange {
  background: linear-gradient(145deg, #ff7a2a, #ed5b24);
}

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

.app-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(7, 63, 55, 0.055);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.app-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.app-card:hover .app-arrow,
.app-card:focus-visible .app-arrow {
  color: #fff;
  background: var(--green);
  transform: translate(2px, -2px);
}

.app-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.app-kind {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.app-name {
  margin-top: 6px;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.app-description {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.app-action {
  align-self: flex-start;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

footer {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 28px, 560px);
  }

  .topbar {
    min-height: 74px;
  }

  .brand {
    gap: 10px;
  }

  .brand-bens {
    width: 62px;
  }

  .brand-divider {
    height: 28px;
  }

  .brand-hotel {
    width: 64px;
  }

  .session-chip {
    min-width: 40px;
    justify-content: center;
    padding: 8px;
  }

  .session-chip span:last-child {
    display: none;
  }

  main {
    align-self: start;
    padding: 34px 0;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.15rem);
  }

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

  .app-card {
    min-height: 214px;
    padding: 22px;
  }

  footer {
    min-height: 76px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
  }
}

@media (min-width: 681px) and (max-width: 940px) {
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
