:root {
  --ink: #102a32;
  --muted: #4d6670;
  --paper: #f3f7f8;
  --brand: #0f4c5c;
  --brand-deep: #083641;
  --accent: #c36f09;
  --line: rgba(15, 76, 92, 0.14);
  --shadow: 0 18px 50px rgba(8, 40, 50, 0.12);
  --radius: 18px;
  --display: "Fraunces", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 8% -5%, rgba(15, 76, 92, 0.18), transparent 60%),
    radial-gradient(700px 420px at 100% 0%, rgba(195, 111, 9, 0.16), transparent 55%),
    linear-gradient(165deg, #e8f1f3 0%, #f5f3ee 48%, #eef4f6 100%);
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(15, 76, 92, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 76, 92, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 12vh, 120px) 0 56px;
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero { margin-bottom: 36px; }
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  flex-wrap: nowrap;
}
.brand-logo {
  display: block;
  width: clamp(72px, 14vw, 96px);
  height: auto;
  flex-shrink: 0;
}
.brand-name {
  margin: 0;
  min-width: 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
  line-height: 1.2;
}
.hero h1 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  color: var(--ink);
}
.lede {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.apps {
  display: grid;
  gap: 14px;
}

.app-tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.app-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 76, 92, 0.35);
  box-shadow: 0 22px 56px rgba(8, 40, 50, 0.16);
  text-decoration: none;
}
a.app-tile:hover .app-go {
  background: var(--brand);
  color: #fff;
}
.app-tile.is-soon {
  opacity: 0.72;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.45);
}

.app-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-deep) 100%);
}
.app-mark.muted {
  background: #9aadb4;
  color: #fff;
}

.app-body { min-width: 0; display: grid; gap: 4px; }
.app-name {
  font-size: 1.15rem;
  font-weight: 700;
}
.app-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.app-go {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(15, 76, 92, 0.1);
  color: var(--brand-deep);
  transition: background 0.2s ease, color 0.2s ease;
}
.app-go.muted {
  background: rgba(0, 0, 0, 0.06);
  color: var(--muted);
}

.foot {
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .app-tile {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "mark body"
      "go go";
  }
  .app-mark { grid-area: mark; }
  .app-body { grid-area: body; }
  .app-go { grid-area: go; justify-self: start; }
}
