:root {
  --bg: #faf7f1;
  --surface: #fffdf9;
  --ink: #211e1a;
  --ink-soft: #4d473e;
  --muted: #766e60;
  --line: #e8e1d5;
  --accent: #1d6f5f;
  --accent-strong: #155446;
  --accent-faint: #c2dacf;
  --shadow: 0 1px 2px rgba(33, 30, 26, 0.04), 0 18px 40px -28px rgba(33, 30, 26, 0.28);

  --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent);
  color: #fff;
}

a {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--accent);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.header-link {
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.header-link:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding-top: clamp(48px, 10vw, 100px);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 3.85rem);
  line-height: 1.03;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.tagline {
  margin: 20px 0 0;
  font-size: clamp(1.2rem, 3.4vw, 1.6rem);
  line-height: 1.35;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 22ch;
}

/* Intro */
.intro {
  padding-top: clamp(36px, 6vw, 52px);
}

.intro p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.intro em {
  font-style: italic;
  color: var(--ink);
}

/* Section labels */
.eyebrow {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

/* What we're building */
.building {
  padding-top: clamp(56px, 9vw, 80px);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 5vw, 38px);
  box-shadow: var(--shadow);
}

.card__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.05rem);
  letter-spacing: -0.015em;
  color: var(--ink);
}

.card__desc {
  margin: 14px 0 26px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Google Play badge */
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  background: #0f1115;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.play-badge:hover {
  background: #1c2128;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.55);
}

.play-badge__icon {
  display: block;
  flex: none;
}

.play-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.play-badge__small {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.play-badge__big {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Contact */
.contact {
  padding-top: clamp(56px, 9vw, 80px);
}

.contact h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 1.95rem);
  letter-spacing: -0.015em;
  color: var(--ink);
}

.contact p {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.email {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-faint);
  padding-bottom: 1px;
}

.email:hover {
  color: var(--accent-strong);
  border-bottom-color: var(--accent);
}

/* Footer */
.site-footer {
  margin-top: clamp(64px, 12vw, 112px);
  padding-top: 28px;
  padding-bottom: 56px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0 0 8px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 460px) {
  .header-link {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .play-badge {
    transition: none;
  }
  .play-badge:hover {
    transform: none;
  }
}
