/* The Gridiculous website: the app's colors and type (src/theme, docs/style-guide.md). */

:root {
  --lagoon: #00b8a4;
  --ink: #004a4e;
  --muted: #567479;
  --white: #ffffff;
  --aqua: #d6faf6;
  --aqua-light: #e9faf9;
  --aqua-line: #cfecea;
  --coral: #ff6058;
  --coral-lip: #de443a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--lagoon);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.55;
}

a {
  color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 16px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* White display letters with an ink outline, like the app's headings. */
.display {
  margin: 0;
  font-family: "Titan One", sans-serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  -webkit-text-stroke: 6px var(--ink);
  paint-order: stroke fill;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding-top: 24px;
}

.hero img {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  border: 3px solid var(--ink);
  box-shadow: 0 4px 8px rgba(0, 74, 78, 0.25);
}

.hero .display {
  font-size: clamp(44px, 12vw, 72px);
}

.tagline {
  margin: 0;
  max-width: 420px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
}

.card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 74, 78, 0.25);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}

.card h3 {
  margin: 20px 0 4px;
  font-size: 18px;
  font-weight: 800;
}

.card p,
.card ul {
  margin: 0 0 12px;
}

.card ul {
  padding-left: 22px;
}

.card li {
  margin-bottom: 6px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.feature {
  background: var(--aqua-light);
  border: 1px solid var(--aqua-line);
  border-radius: 16px;
  padding: 12px 14px;
}

.feature strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.soon {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--coral);
  border: 3px solid var(--ink);
  box-shadow: inset 0 -5px 0 var(--coral-lip), 0 4px 8px rgba(0, 74, 78, 0.25);
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
}

.muted {
  color: var(--muted);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-weight: 800;
}

footer a {
  color: var(--white);
}

.back {
  color: var(--white);
  font-weight: 800;
}

.page-title {
  font-size: clamp(34px, 9vw, 48px);
}
