/* Camipack site — Verde design language, shared across pages. */
:root {
  --green: #1a6b47;
  --green-soft: rgba(26, 107, 71, 0.10);
  --amber: #b97f16;
  --amber-soft: rgba(224, 166, 58, 0.14);
  --sky: #3772be;
  --page: #f4f7f5;
  --card: #ffffff;
  --ink: #1c241f;
  --ink-2: #5b6660;
  --line: #e2e8e4;
  --shadow: 0 2px 10px rgba(20, 40, 30, 0.07);
}
@media (prefers-color-scheme: dark) {
  :root {
    --green: #7fb591;
    --green-soft: rgba(127, 181, 145, 0.14);
    --amber: #e0a63a;
    --amber-soft: rgba(224, 166, 58, 0.14);
    --sky: #7aa9e4;
    --page: #101512;
    --card: #1a201c;
    --ink: #e8ede9;
    --ink-2: #96a29b;
    --line: #2a332d;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 24px 20px 64px; }
.narrow { max-width: 680px; }

header.site {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0 24px;
}
header.site > a {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}
header.site img { width: 44px; height: 44px; border-radius: 10px; }
header.site .name { font-weight: 850; font-size: 19px; letter-spacing: -0.01em; }
header.site nav { margin-left: auto; display: flex; gap: 18px; }
header.site nav a {
  color: var(--ink-2); text-decoration: none;
  font-size: 14px; font-weight: 700;
}
header.site nav a:hover { color: var(--green); }

.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green); margin: 0 0 8px;
}
h1 {
  font-size: clamp(30px, 6vw, 44px); font-weight: 850;
  letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px;
  text-wrap: balance;
}
h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; margin: 40px 0 12px; }
h3 { font-size: 17px; font-weight: 800; margin: 24px 0 6px; }
p { margin: 0 0 14px; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 560px; }
a { color: var(--sky); }

.badges { display: flex; gap: 12px; align-items: center; margin: 22px 0 8px; flex-wrap: wrap; }
.store-badge {
  display: inline-block; background: var(--ink); color: var(--page);
  border-radius: 10px; padding: 10px 18px; text-decoration: none;
  font-weight: 700; font-size: 15px;
}
.pill {
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--green); background: var(--green-soft);
  border-radius: 999px; padding: 5px 12px;
}

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; padding: 24px 0; }
.hero .phone { justify-self: center; }
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; } }

.phone {
  border-radius: 36px; padding: 10px; background: #111;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  max-width: 290px;
}
.phone img { display: block; width: 100%; border-radius: 28px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin: 18px 0; }
.card {
  background: var(--card); border-radius: 16px;
  box-shadow: var(--shadow); padding: 18px;
}
.card .icon { font-size: 22px; margin-bottom: 8px; }
.card h3 { margin: 0 0 4px; font-size: 16px; }
.card p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.privacy-strip {
  background: var(--green-soft); border-radius: 16px;
  padding: 22px; margin: 36px 0; text-align: center;
}
.privacy-strip strong { color: var(--green); }

.shots { display: flex; gap: 18px; overflow-x: auto; padding: 8px 0 16px; }
.shots .phone { flex: none; max-width: 230px; }

footer.site {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2);
  display: flex; gap: 18px; flex-wrap: wrap;
}
footer.site a { color: var(--ink-2); }

/* Updates page */
.release { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; margin-bottom: 14px; }
.release .ver { display: flex; align-items: baseline; gap: 10px; }
.release .ver h3 { margin: 0; font-size: 18px; }
.release .ver time { font-size: 13px; color: var(--ink-2); }
.release ul { margin: 10px 0 0; padding-left: 20px; }
.release li { margin-bottom: 5px; font-size: 15px; }
.tag-feat { color: var(--green); font-weight: 800; }
.tag-fix { color: var(--amber); font-weight: 800; }

/* The App Store's own "What's New", above the per-commit changelog. */
.release .summary { margin: 0 0 1.1rem; }
.release .summary h4 {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2);
  margin: 1.1rem 0 .35rem;
}
.release .summary h4:first-child { margin-top: 0; }
.release .summary p { margin: 0 0 .6rem; }
.release .summary ul.plain { margin: 0 0 .6rem; padding-left: 1.1rem; list-style: disc; }
.release .summary ul.plain li { margin: .15rem 0; }

/* A diagram inside a feature's prose — the app's own drawing, not a screenshot. */
.shot-inline { margin: 1.1rem 0 0; }
.shot-inline img {
  max-width: 100%; width: 340px; height: auto; display: block;
  border-radius: 12px; border: 1px solid var(--rule, #DDE5DF);
}

/* Language switcher in the site header. The current language is marked, not
   linked — a link to the page you are already on is a dead end. */
.langs { margin-left: auto; padding-left: 14px; display: inline-flex; gap: 8px; align-items: center; }
.langs a, .langs .lang-on { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.langs .lang-on { color: var(--green); }
.langs a { color: var(--ink-2); text-decoration: none; }
.langs a:hover { color: var(--ink); }
