/* Dekat Studios site: Dock's own palette and type, light and dark. */
:root {
  --bg: #d9d3d3;
  --card: #cfc9c9;
  --text: #2c2c2a;
  /* Darker than the app's #898585 so body copy stays readable (4.5:1). */
  --muted: #5c5858;
  --line: rgba(44, 44, 42, 0.12);
  --button-bg: #2c2c2a;
  --button-text: #e8e4df;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #2f2f2f;
    --card: #3a3a3a;
    --text: #e8e4df;
    --muted: #b3b0ac;
    --line: rgba(232, 228, 223, 0.14);
    --button-bg: #e8e4df;
    --button-text: #2c2c2a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

header.site {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.site a { color: var(--text); text-decoration: none; font-weight: 700; }
header.site nav a { color: var(--muted); font-weight: 500; margin-left: 20px; }
header.site nav a:hover { color: var(--text); }

h1 { font-size: clamp(34px, 7vw, 52px); line-height: 1.1; margin: 0 0 16px; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 22px; margin: 40px 0 10px; font-weight: 700; }
h3 { font-size: 18px; margin: 0 0 4px; font-weight: 700; }
p { margin: 0 0 14px; }
.lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
a { color: var(--text); text-underline-offset: 3px; }

.card {
  background: var(--card);
  border-radius: 24px;
  padding: 22px;
}

.app-card {
  display: flex;
  gap: 18px;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  margin-top: 28px;
  transition: transform 0.15s ease;
}
.app-card:hover { transform: translateY(-2px); }
.app-card img { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.app-card p { margin: 0; color: var(--muted); }

.button {
  display: inline-block;
  background: var(--button-bg);
  color: var(--button-text);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  margin-top: 8px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.features .card p { margin: 0; color: var(--muted); font-size: 15px; }

.hero-icon { width: 96px; height: 96px; border-radius: 24px; margin-bottom: 24px; }

/* Privacy policy and other long reading pages. */
.doc h2 { border-top: 1px solid var(--line); padding-top: 28px; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: 8px; }
.updated { color: var(--muted); margin-bottom: 28px; }

footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 40px;
  color: var(--muted);
  font-size: 14px;
}
footer a { color: var(--muted); }

/* Phones: one feature card per row. */
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  main { padding-top: 36px; }
}
