@charset "UTF-8";
/* Mindigest website. Same visual language as beaver.mindigest.com and the Creem storefront
   banner: paper, ink, a yellow brush underline and a mustard spark. The CSP allows only this
   file: no inline styles, no style attributes, no external fonts. */
:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --card: #fbfaf7;
  --ink: #292a27;
  --muted: #787972;
  --soft: #6c6f66;
  --yellow: #f4c552;
  --spark: #d4a73b;
  --dot: #d0a235;
  --line: #deded5;
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a:focus-visible {
  outline: 3px solid #b68b22;
  outline-offset: 5px;
}
::selection {
  background: #f6d981;
  color: #242723;
}
.wrap {
  width: min(1120px, calc(100% - 72px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--ink);
  color: #fff;
  padding: 12px;
  z-index: 20;
}
.skip-link:focus {
  top: 12px;
}

/* Header ------------------------------------------------------------------ */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 104px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 27px;
  font-weight: 780;
  letter-spacing: -1.2px;
}
.brand img {
  border-radius: 9px;
}
.brand-dot {
  color: var(--dot);
}
.header nav {
  display: flex;
  gap: 34px;
  color: #686a63;
  font-size: 13px;
}
.header nav a:hover {
  color: #9b7014;
}
.header nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.lang-link {
  font-size: 12px;
  font-weight: 600;
  color: #5d6058;
  border: 1px solid #d6d6cd;
  border-radius: 999px;
  padding: 7px 12px;
  white-space: nowrap;
}
.lang-link:hover {
  background: #efeee8;
  color: var(--ink);
}

/* Home hero --------------------------------------------------------------- */
.hero {
  text-align: center;
  padding-top: 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: #7d8075;
}
.hero h1 {
  position: relative;
  width: fit-content;
  margin: 25px auto 27px;
  font-size: clamp(52px, 6.7vw, 84px);
  line-height: 1.2;
  letter-spacing: -4px;
  font-weight: 750;
}
.underline {
  position: relative;
  z-index: 0;
}
.underline::after {
  content: "";
  position: absolute;
  left: 0.01em;
  right: 0.04em;
  bottom: 0.04em;
  height: 0.26em;
  background: var(--yellow);
  border-radius: 40% 25% 30% 20%;
  transform: rotate(-4deg);
  z-index: -1;
}
.spark {
  position: absolute;
  right: -0.9em;
  top: 0.14em;
  font-size: 0.78em;
  line-height: 1;
  color: var(--spark);
  transform: rotate(15deg);
  font-weight: 400;
}
.hero-description {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: #71736c;
  letter-spacing: 0.4px;
}

/* Buttons ----------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: 7px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transition:
    transform 0.18s,
    background 0.18s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--ink);
  color: #fff;
}
.primary:hover {
  background: #42463c;
}
.secondary {
  box-shadow: inset 0 0 0 1px #cecec6;
  color: var(--ink);
}
.secondary:hover {
  background: #efeee8;
}
/* a download that is not published yet: looks like a button, does nothing */
.button.is-disabled {
  box-shadow: inset 0 0 0 1px #dcdcd3;
  color: #8c8e85;
  cursor: default;
}
.button.is-disabled:hover {
  transform: none;
}

/* Apps -------------------------------------------------------------------- */
.apps {
  padding-block: 104px 40px;
}
.section-head {
  text-align: center;
  margin-bottom: 44px;
}
.section-head h2,
.about h2 {
  font-size: 40px;
  line-height: 1.35;
  letter-spacing: -1.6px;
  font-weight: 650;
  margin: 14px 0 0;
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.app-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px;
  background: var(--card);
  border: 1px solid #e3e1d6;
  border-radius: 18px;
  box-shadow: 0 18px 40px -30px #3c3a2a66;
}
.app-head {
  display: flex;
  align-items: center;
  gap: 18px;
}
.app-icon {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}
.app-head h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  font-weight: 700;
}
.app-tagline {
  margin: 5px 0 0;
  font-size: 14px;
  color: var(--soft);
}
.app-card > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #55574f;
}
.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.app-meta li {
  font-size: 12px;
  color: #5f604f;
  background: #f3efdf;
  border: 1px solid #e6dcb8;
  border-radius: 999px;
  padding: 5px 11px;
}
.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}

/* About ------------------------------------------------------------------- */
.about {
  padding-block: 64px 104px;
}
.about-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.about p {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--soft);
}
.about a,
.prose a,
.page-lede a {
  color: #7a5a12;
  text-decoration: underline;
  text-decoration-color: #d8bf72;
  text-underline-offset: 3px;
}
.about a:hover,
.prose a:hover,
.page-lede a:hover {
  color: #9b7014;
}

/* Footer ------------------------------------------------------------------ */
.footer {
  display: grid;
  gap: 22px;
  padding-block: 42px;
  color: var(--soft);
  font-size: 11px;
  border-top: 1px solid var(--line);
}
.footer .brand {
  font-size: 22px;
  color: #494e40;
  gap: 7px;
}
.footer .brand img {
  border-radius: 7px;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 12px;
  color: var(--soft);
}
.footer-links a:hover {
  color: #9b7014;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  line-height: 1.7;
}
.footer-legal p {
  margin: 0;
}

/* Inner pages (Beaver Compare, privacy, license) -------------------------- */
.page {
  padding-block: 72px 104px;
}
.page-hero {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.15;
  letter-spacing: -1.8px;
  font-weight: 720;
  margin: 18px 0;
}
.page-lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--soft);
}
.page-meta {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--soft);
}
.page-body {
  max-width: 720px;
  margin-inline: auto;
}
.page-section {
  padding-block: 44px;
  border-top: 1px solid var(--line);
}
.page-section:first-child {
  border-top: 0;
  padding-top: 0;
}
.page-section h2 {
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.8px;
  font-weight: 650;
  margin: 0 0 18px;
}
.page-section h3 {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  font-weight: 650;
  margin: 26px 0 10px;
}
.prose :where(p, li) {
  font-size: 15px;
  line-height: 1.8;
  color: #4d4f48;
}
.prose p {
  margin: 0 0 14px;
}
.prose ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.prose li + li {
  margin-top: 8px;
}
.prose code {
  font-size: 0.9em;
  background: #efede4;
  border-radius: 5px;
  padding: 1px 5px;
}

/* Beaver Compare page ------------------------------------------------------ */
.product-hero {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.product-icon {
  width: 128px;
  height: 128px;
  margin: 0 auto 6px;
}
.product-hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  font-weight: 720;
  margin: 14px 0 16px;
}
.download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.download-note {
  margin: 0;
  font-size: 12px;
  color: var(--soft);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  max-width: 1040px;
  margin: 0 auto 24px;
}
.feature-grid article {
  padding-block: 26px;
  border-top: 1px solid var(--line);
}
.feature-grid h2 {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  font-weight: 650;
  margin: 0 0 10px;
}
.feature-grid p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: #5f615a;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
}
@media (max-width: 860px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header {
    height: 80px;
  }
  .brand {
    font-size: 23px;
  }
  .header nav {
    gap: 18px;
    font-size: 12px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero h1 {
    font-size: 58px;
    letter-spacing: -2.5px;
  }
  .apps {
    padding-top: 72px;
  }
  .section-head h2,
  .about h2 {
    font-size: 32px;
  }
  .app-card {
    padding: 26px;
  }
  .page {
    padding-block: 52px 80px;
  }
}
@media (max-width: 560px) {
  .header nav {
    display: none;
  }
  .hero h1 {
    font-size: 44px;
    letter-spacing: -1.5px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .app-actions .button {
    flex: 1 1 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}

/* Simplified Chinese pages (/zh/): PingFang SC first on the Mac, common CJK fallbacks
   elsewhere; CJK headings get less negative tracking and body text a little more leading. */
html:lang(zh-Hans) {
  --font:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Segoe UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC",
    sans-serif;
}
html:lang(zh-Hans) .hero h1 {
  letter-spacing: -1px;
}
html:lang(zh-Hans) .page-hero h1,
html:lang(zh-Hans) .product-hero h1 {
  letter-spacing: -0.5px;
}
html:lang(zh-Hans) .prose :where(p, li),
html:lang(zh-Hans) .about p {
  line-height: 1.9;
}
