:root {
  color-scheme: light;
  --bg: #f5f7f4;
  --ink: #18221e;
  --muted: #65716d;
  --line: #d8e0dc;
  --panel: #ffffff;
  --green: #1f6f53;
  --teal: #0f766e;
  --gold: #c78422;
  --shadow: 0 22px 70px rgba(24, 34, 30, 0.11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(31, 111, 83, 0.13), transparent 36%),
    linear-gradient(310deg, rgba(199, 132, 34, 0.16), transparent 34%),
    var(--bg);
}

.shell {
  width: min(1080px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(28px, 7vw, 72px) 0;
}

.header {
  max-width: 720px;
  margin-bottom: clamp(28px, 6vw, 56px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.intro {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.55;
}

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

.app-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(216, 224, 220, 0.92);
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.app-card:hover,
.app-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(31, 111, 83, 0.45);
  box-shadow: 0 26px 80px rgba(24, 34, 30, 0.16);
  outline: none;
}

.app-kicker {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.app-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
}

.app-description {
  max-width: 32rem;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.app-action {
  width: fit-content;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--green);
  font-weight: 850;
}

.clock .app-action {
  background: var(--teal);
}

.tonic {
  border-top: 5px solid var(--green);
}

.clock {
  border-top: 5px solid var(--gold);
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 24px, 1080px);
  }

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

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