/* MarblJar's website: Candy Ink, like the app (src/design). */
@font-face {
  font-family: 'Outfit';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Outfit_400Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Outfit_600SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/Outfit_800ExtraBold.ttf') format('truetype');
}

:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --text: #141414;
  --muted: #5e5a52;
  --line: #141414;
  --rule: #e4ded1;
  --pink: #f9cde3;
  --pink-deep: #f29cc6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161513;
    --surface: #22201d;
    --text: #f4f0e8;
    --muted: #c9c4ba;
    --line: #f4f0e8;
    --rule: #3a3631;
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration-color: var(--pink-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: currentColor;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: -0.3px;
}
.brand img {
  width: 32px;
  height: auto;
}
.nav-links {
  display: flex;
  gap: 20px;
  font-weight: 600;
  font-size: 15px;
}
.nav-links a {
  text-decoration: none;
}
.nav-links a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--pink-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

h1 {
  font-weight: 800;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 8px;
}
h2 {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.4px;
  margin: 44px 0 10px;
}
h3 {
  font-weight: 600;
  font-size: 18px;
  margin: 28px 0 4px;
}
p,
ul {
  margin: 0 0 14px;
}
ul {
  padding-left: 22px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}
.updated {
  color: var(--muted);
  margin-bottom: 28px;
}

/* A Candy Ink card: ink outline and a hard pink shadow. */
.card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 20px;
  box-shadow: 4px 4px 0 var(--pink-deep);
  padding: 18px 20px;
  margin: 0 0 20px;
}
.card ul {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 18px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
}
th {
  font-weight: 600;
  background: var(--pink);
  color: #141414;
}
tr:last-child td {
  border-bottom: none;
}

.hero {
  text-align: center;
  padding: 40px 0 24px;
}
.hero img {
  width: 160px;
  height: auto;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 48px;
}
.tagline {
  font-size: 22px;
  color: var(--muted);
  margin-bottom: 28px;
}
.pill {
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
}

.footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .nav-links {
    gap: 14px;
  }
}
