/* Shared by every page: colours, top menu, buttons and footer. */
:root {
  --navy: #141e3c;
  --navy-2: #1d2a52;
  --orange: #ff8a1f;
  --orange-soft: #ffe3c8;
  --mint: #dff3ea;
  --mint-ink: #1a7a4c;
  --blue-soft: #dfe5fa;
  --lilac-soft: #efe0f3;
  --bg: #f3f4f9;
  --surface: #ffffff;
  --ink: #141e3c;
  --muted: #5b6480;
  --line: #e3e6f0;
  --radius: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Top menu */
.topnav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(243, 244, 249, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topnav .bar {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand-mark { width: 40px; height: 40px; display: block; flex: none; }
.topnav .links { display: flex; gap: 28px; font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; }
.topnav .links a:hover, .topnav .links a[aria-current] { color: var(--ink); }
.topnav .links a[aria-current] { box-shadow: inset 0 -2px 0 var(--orange); }
.nav-cta {
  background: var(--navy); color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 12px; white-space: nowrap;
}

/* Small label that tells people where a tool runs */
.where {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.where.web { background: var(--mint); color: var(--mint-ink); }
.where.app { background: var(--navy); color: #fff; }

/* Footer */
.sitefoot { border-top: 1px solid var(--line); padding: 48px 0 28px; color: var(--muted); font-size: 14.5px; background: var(--surface); }
.sitefoot .cols {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
}
.sitefoot .brand { color: var(--ink); margin-bottom: 10px; }
.sitefoot .about { max-width: 280px; }
.sitefoot h4 { color: var(--ink); font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.sitefoot .col a { display: block; padding: 3px 0; }
.sitefoot a:hover { color: var(--ink); }
.sitefoot .legal { max-width: 1140px; margin: 36px auto 0; padding: 20px 24px 0; border-top: 1px solid var(--line); font-size: 13.5px; }

@media (max-width: 760px) {
  .topnav .bar { padding: 0 16px; }
  .nav-cta { display: none; }
  .topnav .links { gap: 18px; font-size: 14.5px; }
  .sitefoot .cols { grid-template-columns: 1fr 1fr; padding: 0 16px; }
  .sitefoot .cols > :first-child { grid-column: 1 / -1; }
  .sitefoot .legal { padding: 20px 16px 0; }
}
@media (max-width: 420px) {
  .brand-text { display: none; }
  .topnav .bar { gap: 10px; }
  .topnav .links { gap: 10px; font-size: 13.5px; }
}
@media (max-width: 350px) {
  .brand-mark { width: 30px; height: 30px; }
  .topnav .links { gap: 8px; font-size: 12.5px; }
}

/* "Coming soon" message for App Store buttons while the app is in review */
dialog.soon {
  margin: auto; border: 0; border-radius: 24px; padding: 32px 28px 26px; width: min(440px, calc(100% - 32px));
  text-align: center; color: var(--ink); background: var(--surface); box-shadow: 0 30px 80px rgba(20, 30, 60, .3);
}
dialog.soon::backdrop { background: rgba(20, 30, 60, .55); backdrop-filter: blur(3px); }
dialog.soon img { margin: 0 auto 14px; border-radius: 16px; }
.soon-tag {
  display: inline-block; background: var(--orange-soft); color: #9a4a00; font-weight: 700; font-size: 13px;
  padding: 4px 12px; border-radius: 999px;
}
dialog.soon h2 { font-size: 23px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; margin: 12px 0 10px; }
dialog.soon p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
dialog.soon p + p { margin-top: 8px; }
.soon-actions { display: grid; gap: 10px; margin-top: 22px; }
.soon-primary {
  background: var(--orange); color: var(--navy); font-weight: 700; padding: 13px 20px; border-radius: 14px;
  box-shadow: 0 8px 24px rgba(255, 138, 31, .3);
}
.soon-close {
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700;
  padding: 12px 20px; border-radius: 14px; cursor: pointer;
}

/* Trust line under the page heading */
.trust { list-style: none; margin: -12px 0 24px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.trust li { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--mint-ink); }
.trust li::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%231a7a4c'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='white' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.page-head .trust { margin: 22px 0 0; }

/* Trademark sign next to the name */
.tm { font-size: .5em; font-weight: 700; vertical-align: super; margin-left: 1px; line-height: 0; }
