/* Shared styles for TechEin's own app pages: /apps/<app>/ (app page, terms, privacy).
   Plain, fast, readable. No frameworks. Bump ?v= in the pages when this changes. */
:root { --ink:#16182b; --muted:#555b70; --line:#e4e6ef; --soft:#f6f7fb; --brand:#3f5bd8; --brand-dark:#2c43b0; }
* { box-sizing:border-box; }
body { margin:0; font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color:var(--ink); background:#fff; line-height:1.65; }
a { color:var(--brand); }
a:hover { color:var(--brand-dark); }
.top { border-bottom:1px solid var(--line); }
.top-in { max-width:880px; margin:0 auto; padding:16px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.top img { height:30px; width:auto; display:block; }
.top nav a { font-size:15px; margin-left:20px; text-decoration:none; color:var(--muted); }
.top nav a:first-child { margin-left:0; }
.top nav a:hover, .top nav a[aria-current="page"] { color:var(--ink); }
main { max-width:880px; margin:0 auto; padding:48px 24px 72px; }
.doc { max-width:760px; }
.eyebrow { display:block; font-size:14px; font-weight:500; color:var(--brand); margin-bottom:10px; }
h1 { font-size:34px; line-height:1.2; margin:0 0 12px; }
h2 { font-size:21px; line-height:1.3; margin:40px 0 10px; }
h3 { font-size:17px; margin:24px 0 6px; }
p, li { font-size:16px; color:#3d3f4d; }
.lead { font-size:19px; color:var(--muted); max-width:680px; }
.meta { color:var(--muted); font-size:14px; margin:0 0 32px; }
ul.plain { padding-left:20px; }
ul.plain li { margin-bottom:6px; }
table { width:100%; border-collapse:collapse; margin:16px 0; font-size:15px; }
th, td { border:1px solid var(--line); padding:10px 12px; text-align:left; vertical-align:top; }
th { background:var(--soft); font-weight:600; }
.btns { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0 8px; }
.btn { display:inline-block; padding:12px 22px; border-radius:6px; font-size:16px; font-weight:500; text-decoration:none; border:1px solid var(--brand); }
.btn.primary { background:var(--brand); color:#fff; }
.btn.primary:hover { background:var(--brand-dark); color:#fff; }
.btn.ghost { color:var(--brand); background:#fff; }
.btn.soon { background:var(--soft); color:var(--muted); border-color:var(--line); cursor:default; }
.facts { display:grid; grid-template-columns:repeat(3, 1fr); gap:0; border:1px solid var(--line); border-radius:8px; margin:32px 0; }
.facts div { padding:18px 20px; border-left:1px solid var(--line); }
.facts div:first-child { border-left:0; }
.facts strong { display:block; font-size:17px; }
.facts span { font-size:14px; color:var(--muted); }
.cards { display:grid; grid-template-columns:repeat(2, 1fr); gap:20px; margin-top:24px; }
.card { border:1px solid var(--line); border-radius:8px; padding:22px; }
.card h2, .card h3 { margin-top:0; }
.links { list-style:none; padding:0; margin:12px 0 0; }
.links li { display:inline; margin-right:18px; font-size:15px; }
.note { border-left:3px solid var(--brand); background:var(--soft); padding:14px 18px; border-radius:4px; margin:24px 0; }
.note p { margin:0; }
footer { border-top:1px solid var(--line); }
.foot-in { max-width:880px; margin:0 auto; padding:24px; color:var(--muted); font-size:14px; }
.foot-in p { font-size:14px; color:var(--muted); margin:4px 0; }
@media (max-width: 640px) {
  h1 { font-size:28px; }
  .facts, .cards { grid-template-columns:1fr; }
  .facts div { border-left:0; border-top:1px solid var(--line); }
  .facts div:first-child { border-top:0; }
  .top nav a { margin-left:14px; }
}
