/* Shared style for the landing page and legal pages. No external fonts, scripts or trackers.
   Palette = app theme (app/src/ui/theme.ts): paper #FBF6EC, indigo #1F3A68, vermilion #B7352A, gold #B98B2E. */
:root { --ink: #2b2620; --soft: #5d554b; --paper: #FBF6EC; --line: #d9cfbd; --accent: #B7352A; --indigo: #1F3A68; --gold: #B98B2E; --card: #fffdf8; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font-family: "BIZ UDPGothic", "BIZ UDGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 20px; line-height: 1.85; }
main { max-width: 40em; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font-size: 1.5em; line-height: 1.4; margin: 0.4em 0 0.8em; }
h2 { font-size: 1.2em; line-height: 1.4; margin: 2em 0 0.6em; padding-bottom: 0.2em; border-bottom: 2px solid var(--line); }
h3 { font-size: 1.05em; margin: 1.4em 0 0.4em; }
p, li { margin: 0.5em 0; }
ul, ol { padding-left: 1.4em; }
a { color: var(--accent); text-underline-offset: 3px; }
.app { color: var(--soft); margin: 0; font-size: 0.95em; }
.note { color: var(--soft); font-size: 0.9em; }
.box { border: 2px solid var(--line); border-radius: 10px; padding: 0.6em 1em; background: #fffdf8; }
table { width: 100%; border-collapse: collapse; margin: 1em 0; }
th, td { text-align: left; vertical-align: top; padding: 0.6em 0.5em; border-bottom: 1px solid var(--line); }
th { width: 36%; font-weight: bold; }
@media (max-width: 560px) { th, td { display: block; width: 100%; } th { border-bottom: none; padding-bottom: 0; } }
nav.links a { display: block; padding: 0.8em 1em; margin: 0.6em 0; border: 2px solid var(--line); border-radius: 10px; background: #fffdf8; text-decoration: none; font-weight: bold; }
footer { margin-top: 3em; color: var(--soft); font-size: 0.9em; }

/* ---- Landing page (index.html, W14) ---- */
.landing h2 { color: var(--indigo); border-bottom-color: var(--gold); }
.hero { text-align: center; padding: 8px 0 8px; }
.hero-logo { width: 200px; height: auto; display: block; margin: 0 auto; }
.hero h1 { font-size: 1.75em; color: var(--indigo); margin: 0.3em 0 0.2em; letter-spacing: 0.04em; }
.catch { font-size: 1.15em; font-weight: bold; color: var(--accent); margin: 0.2em 0 0.8em; line-height: 1.6; }
.lead { text-align: left; }
.nb { display: inline-block; }
.feature { background: var(--card); border: 2px solid var(--line); border-left: 6px solid var(--gold); border-radius: 12px; padding: 0.8em 1em; margin: 1em 0; }
.feature h3 { margin: 0.2em 0 0.4em; font-size: 1.1em; line-height: 1.5; color: var(--indigo); display: flex; gap: 0.5em; align-items: baseline; }
.feature .num { flex: none; min-width: 1.1em; padding: 0 0.1em 0.05em; border-bottom: 3px solid var(--gold); color: var(--indigo); font-size: 1.35em; font-weight: 700; line-height: 1.1; text-align: center; font-variant-numeric: tabular-nums; }
.screens { list-style: none; padding: 0; margin: 1em 0 0; display: grid; grid-template-columns: 1fr; gap: 1.4em; justify-items: center; }
.screens figure { margin: 0; max-width: 300px; }
.screens img { width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 22px; background: var(--card); display: block; }
.screens figcaption { text-align: center; margin-top: 0.5em; font-size: 0.95em; line-height: 1.6; }
@media (min-width: 760px) { .screens { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.badges { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: center; margin: 1em 0; }
.badges a { display: inline-block; line-height: 0; }
.badge-apple { height: 60px; width: auto; }
.badge-google { height: 80px; width: auto; } /* PNG includes Google's required padding; visible badge ≈ App Store badge height */
.tm { font-size: 0.8em; line-height: 1.7; }

/* W16 (D-29): values DevOps fills. Unfilled preview shows a yellow "DevOps" mark; fill.mjs removes the <mark>. */
mark.devops { white-space: nowrap; background: #FFE45C; color: #1B1B1B; padding: 0 0.2em; border-radius: 3px; outline: 2px dashed var(--gold); }
mark.devops::before { content: "DevOps"; display: inline-block; margin-right: 0.3em; padding: 0 0.3em; border-radius: 3px; background: var(--indigo); color: #fff; font-size: 0.65em; font-weight: 700; vertical-align: 0.15em; }
/* Placeholders inside attributes (links) cannot hold <mark>: flag the link itself until filled. */
a[href*="{{"]:not([href^="mailto:"]) { outline: 3px dashed #E0B800; outline-offset: 2px; background: #FFE45C; }
a[href*="{{"]:not([href^="mailto:"])::after { content: "DevOps: URL"; margin-left: 0.3em; padding: 0 0.3em; border-radius: 3px; background: var(--indigo); color: #fff; font-size: 0.65rem; font-weight: 700; }
