:root {
  --brand: #4a6785;
  --brand-deep: #38506b;
  --ink: #26303b;
  --ink-soft: #5c6b7a;
  --bg: #f7f9fb;
  --card: #ffffff;
  --line: #e3e9ef;
  --tint: #edf2f7;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 2.5rem 1.5rem 3rem; }

/* Header + nav */
.top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-bottom: 3rem;
}
.mark { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.mark .dot {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.15rem;
}
.mark .name { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; color: var(--brand-deep); }
nav.main { display: flex; gap: 1.25rem; font-size: 0.95rem; }
nav.main a { color: var(--ink-soft); text-decoration: none; font-weight: 600; padding-bottom: 2px; border-bottom: 2px solid transparent; }
nav.main a:hover { color: var(--brand); }
nav.main a[aria-current="page"] { color: var(--brand-deep); border-bottom-color: var(--brand); }

/* Type */
h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1rem; }
h2 { font-size: 1.25rem; color: var(--brand-deep); margin: 2.25rem 0 0.6rem; letter-spacing: -0.01em; }
h3 { font-size: 1.02rem; color: var(--brand-deep); margin: 1.25rem 0 0.3rem; }
p { margin: 0.5rem 0; }
p.lede { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 2rem; }
.meta { color: var(--ink-soft); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; margin-bottom: 1.25rem; }
a { color: var(--brand); }
ul { padding-left: 1.25rem; margin: 0.5rem 0; }
li { margin: 0.3rem 0; }

/* Cards */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.5rem 1.75rem; margin: 1.25rem 0;
}
.card .app-name { font-size: 1.15rem; font-weight: 700; color: var(--brand-deep); margin-bottom: 0.35rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.pill {
  display: inline-block; margin-top: 0.9rem; font-size: 0.82rem; font-weight: 600;
  color: var(--brand); background: var(--tint); border-radius: 999px; padding: 0.25rem 0.8rem;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin: 1rem 0 0.5rem; }
.grid .card { margin: 0; padding: 1.2rem 1.3rem; }
.grid .card h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.grid .card p { font-size: 0.92rem; }
.callout {
  border-left: 4px solid var(--brand); background: var(--tint);
  border-radius: 0 10px 10px 0; padding: 0.9rem 1.2rem; margin: 1.25rem 0; font-size: 0.95rem;
}
.callout p { margin: 0.25rem 0; }
.btn {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 600; padding: 0.6rem 1.2rem; border-radius: 999px; font-size: 0.95rem;
}
.btn:hover { background: var(--brand-deep); }
.btn.ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.btn + .btn { margin-left: 0.6rem; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 0.85rem 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--brand-deep); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--brand); font-weight: 700; flex-shrink: 0; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); font-size: 0.96rem; }

/* Definition list (company facts) */
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.25rem; margin: 0.75rem 0; font-size: 0.96rem; }
dl.facts dt { color: var(--ink-soft); font-weight: 600; }
dl.facts dd { margin: 0; }

/* Footer */
footer { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.5rem; font-size: 0.85rem; color: var(--ink-soft); }
footer .links { margin-bottom: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
footer .links a { color: var(--ink-soft); text-decoration: underline; }
footer .disclaimer { font-size: 0.8rem; margin-top: 0.75rem; }

@media (max-width: 480px) {
  .wrap { padding-top: 1.75rem; }
  .top { margin-bottom: 2rem; }
  nav.main { gap: 0.9rem; font-size: 0.9rem; }
  dl.facts { grid-template-columns: 1fr; gap: 0.1rem; }
  dl.facts dt { margin-top: 0.5rem; }
}
