
@import url('https://fonts.googleapis.com/css2?family=Afacad:wght@400;500;600;700&display=swap');

:root {
  --navy: #0A1653;
  --navy-2: #15236b;
  --text: #252938;
  --muted: #697184;
  --bg: #f7f8fc;
  --surface: #fff;
  --border: #e4e7ef;
  --shadow: 0 12px 35px rgba(10, 22, 83, .08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Afacad", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--navy);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { width: 142px; height: auto; display: block; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.header-link, .header-button {
  font: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: 9px 16px;
  text-decoration: none;
}

.header-link { color: var(--navy); }
.header-button { color: #fff; background: var(--navy); }

.page-shell {
  width: min(900px, calc(100% - 32px));
  margin: 56px auto 72px;
}

.page-hero { text-align: center; margin-bottom: 34px; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

h1, h2, h3 { color: var(--navy); line-height: 1.2; }
h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -.02em;
}
.last-updated { margin: 12px 0 0; color: var(--muted); font-size: .95rem; }

.document {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 52px);
}

.document > p:first-child { margin-top: 0; }
.document h2 { margin: 42px 0 14px; font-size: 1.55rem; padding-top: 8px; }
.document h3 { margin: 28px 0 8px; font-size: 1.2rem; }
.document ul, .document ol { padding-left: 1.5rem; }
.document li { margin: 7px 0; }
.document strong { font-weight: 700; }

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.86);
  padding: 32px 20px;
}

.footer-inner { width: min(900px, 100%); margin: auto; text-align: center; }
.footer-logo { width: 105px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 10px 0 18px;
}
.footer-links a { color: #fff; text-decoration: none; }
.copyright { margin: 0; font-size: .9rem; opacity: .75; }

/* Support page */
.support-shell { width: min(1040px, calc(100% - 32px)); }
.support-hero { text-align: center; margin-bottom: 30px; }
.support-hero p { max-width: 680px; margin: 14px auto 0; color: var(--muted); }

.downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 36px;
}

.store-button, .login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}

.store-button { color: var(--navy); background: #fff; border: 1px solid var(--border); box-shadow: 0 5px 18px rgba(10,22,83,.06); }
.login-button { color: #fff; background: var(--navy); }

.support-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 14px 0;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(10,22,83,.05);
}

.support-section summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy);
}

.support-section summary::-webkit-details-marker { display: none; }
.support-section summary::after { content: "+"; float: right; font-size: 1.45rem; line-height: 1; }
.support-section[open] summary::after { content: "−"; }

.support-content { padding: 0 24px 28px; }
.step { margin-top: 28px; }
.step:first-child { margin-top: 0; }
.step h3 { margin-bottom: 7px; }

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 220px));
  justify-content: start;
  gap: 12px;
  margin-top: 14px;
}

.screenshot-grid img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f4f5f8;
  box-shadow: 0 5px 16px rgba(10,22,83,.07);
}

.support-note {
  margin-top: 20px;
  padding: 16px 18px;
  background: #f4f6fd;
  border-left: 4px solid var(--navy);
  border-radius: 0 12px 12px 0;
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { width: calc(100% - 28px); min-height: 70px; }
  .logo { width: 118px; }
  .header-link { display: none; }
  .page-shell, .support-shell { width: calc(100% - 22px); margin-top: 34px; margin-bottom: 48px; }
  .document { padding: 23px 20px; border-radius: 15px; }
  .document h2 { margin-top: 34px; font-size: 1.38rem; }
  .support-section summary { padding: 19px 18px; }
  .support-content { padding: 0 18px 23px; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .screenshot-grid img { max-height: 270px; }
}
