:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --ink: #161713;
  --muted: #6c6d66;
  --soft: #e7e2d8;
  --accent: #2f8f46;
  --tooltip: #20211d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 94px;
}

.brand,
.email-link,
.site-footer a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 720;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(22, 23, 19, 0.16);
  border-radius: 7px 14px 7px 14px;
  background: var(--accent);
  transform: rotate(-8deg);
}

.email-link,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.email-link:hover,
.site-footer a:hover {
  color: var(--ink);
}

.intro {
  max-width: 740px;
  padding-bottom: 74px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 5.9rem);
  font-weight: 760;
  line-height: 0.96;
  letter-spacing: 0;
}

.intro-copy {
  max-width: 635px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
  padding-bottom: 96px;
}

.app-tile {
  min-width: 0;
}

.app-link {
  position: relative;
  display: block;
  width: min(100%, 224px);
  margin-bottom: 24px;
  border-radius: 27%;
  outline-offset: 10px;
}

.app-link::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 2;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--tooltip);
  color: #ffffff;
  content: attr(data-tooltip);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.app-link:hover::after,
.app-link:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.app-icon {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 27%;
  box-shadow: 0 18px 44px rgba(22, 23, 19, 0.14);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.app-link:hover .app-icon,
.app-link:focus-visible .app-icon {
  box-shadow: 0 22px 54px rgba(22, 23, 19, 0.2);
  transform: translateY(-3px);
}

.app-copy {
  max-width: 360px;
}

.app-meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 3vw, 2.08rem);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
}

.app-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--soft);
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 32px, 980px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0 64px;
  }

  .intro {
    padding-bottom: 56px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.35rem);
  }

  .apps {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-bottom: 70px;
  }

  .app-link {
    width: min(58vw, 190px);
    margin-bottom: 20px;
  }

  .app-copy {
    max-width: 440px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
