/* Unwrap's website: the app's pine and berry, Avenir Next (on Apple devices; a similar
   sans-serif elsewhere), light and dark. */
:root {
  --pine: #1f9d6b;
  --pine-deep: #178459;
  --berry: #ea3f6e;
  --bg: #ffffff;
  --card: #f2f2f7;
  --text: #111114;
  --muted: #5f6066;
  --line: #e2e2e8;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d10;
    --card: #1c1c21;
    --text: #f2f2f5;
    --muted: #a2a3aa;
    --line: #2c2c33;
    --berry: #ff7093;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", "Avenir", "Nunito Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pine); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }

header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 760px; margin: 0 auto; padding: 20px 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 20px; }
.brand:hover { text-decoration: none; }
.mark { width: 34px; height: 34px; border-radius: 22.5%; flex: none; display: block; }
nav.site { display: flex; gap: 18px; font-size: 15px; flex-wrap: wrap; }
nav.site a { color: var(--muted); font-weight: 600; }
nav.site a[aria-current="page"] { color: var(--text); }

main { max-width: 760px; margin: 0 auto; padding: 8px 16px 64px; }
h1 { font-size: 34px; line-height: 1.15; margin: 16px 0 6px; letter-spacing: -0.01em; }
h2 { font-size: 21px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 22px 0 4px; }
p, li { color: var(--text); }
.lede { color: var(--muted); font-size: 18px; margin-top: 0; }
.updated { color: var(--muted); font-size: 14px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }

.card { background: var(--card); border-radius: 18px; padding: 18px 20px; margin: 16px 0; }
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.summary { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 20px 0; }
.summary .card { margin: 0; }
.summary strong { display: block; margin-bottom: 2px; }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.table-wrap { overflow-x: auto; }

.hero { text-align: center; padding: 40px 0 12px; }
.hero .mark { width: 88px; height: 88px; border-radius: 24px; margin: 0 auto 20px; box-shadow: 0 12px 30px rgba(31, 157, 107, 0.3); }
.hero h1 { font-size: 44px; }
.button {
  display: inline-block; background: var(--pine); color: #fff; padding: 14px 26px;
  border-radius: 999px; font-weight: 700; margin-top: 12px;
}
.button:hover { background: var(--pine-deep); text-decoration: none; }
.features { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 32px; }
.features .card { margin: 0; }
.features h3 { margin-top: 0; }

footer.site {
  max-width: 760px; margin: 0 auto; padding: 24px 16px 40px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between;
}
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  .hero h1 { font-size: 36px; }
}
