/* App pages extend the existing Tazuneya palette and typography. */
.apps-main { padding:72px 0 96px; background:var(--cream); }
.app-heading { margin-bottom:40px; }
.app-heading h1 { color:var(--navy); font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:clamp(2rem,4.5vw,3.6rem); line-height:1.5; margin:0; text-wrap:balance; }
.app-lead { max-width:48em; color:var(--muted); font-size:1.08rem; margin:24px 0; }
.app-stack { display:grid; gap:28px; }
.app-card,.app-document { padding:clamp(24px,4vw,40px); background:var(--white); border:1px solid var(--line); border-radius:var(--radius); min-width:0; }
.app-card h2 { color:var(--navy); margin:0 0 16px; font-size:1.25rem; }
.app-card p:last-child { margin-bottom:0; }
.app-list-card { display:flex; align-items:center; gap:32px; }
.app-icon { flex:none; width:144px; border-radius:28px; }
.app-status { font-size:.85rem; color:var(--green); font-weight:700; }
.app-caption { font-size:.85rem; color:var(--muted); }
.app-hero { display:grid; grid-template-columns:1.2fr .8fr; gap:48px; align-items:center; }
.app-hero-icon { width:100%; max-width:360px; justify-self:center; border-radius:26%; }
.app-feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.app-subnav { display:flex; flex-wrap:wrap; gap:8px 24px; padding:16px 0; border-block:1px solid var(--line); }
.app-subnav a { display:inline-flex; align-items:center; min-height:44px; font-size:.92rem; }
.app-faq { padding:20px 0; border-top:1px solid var(--line); }
.app-faq summary { min-height:44px; cursor:pointer; font-weight:700; color:var(--navy); }
.app-faq p { color:var(--muted); margin:12px 0 0; }
.app-document { max-width:850px; width:100%; justify-self:center; overflow-wrap:anywhere; }
.app-document section+section { margin-top:36px; padding-top:28px; border-top:1px solid var(--line); }
.app-document h2 { font-size:1.2rem; line-height:1.7; color:var(--navy); margin:0 0 16px; }
.app-document p { margin:12px 0; }
.app-review-note { padding:16px 20px; border-left:3px solid var(--vermilion); background:var(--paper); margin:0; }
@media(max-width:840px) { .app-feature-grid { grid-template-columns:1fr; } .app-hero { gap:24px; } }
@media(max-width:540px) { .apps-main { padding:40px 0 64px; } .app-hero { grid-template-columns:1fr; } .app-hero-icon { width:176px; grid-row:1; justify-self:start; } .app-list-card { align-items:flex-start; flex-direction:column; gap:12px; } .app-icon { width:96px; border-radius:20px; } }

.app-document-toc { padding:20px; background:var(--cream); border-radius:12px; margin-bottom:32px; }
.app-document-toc ol { margin:12px 0 0; padding-left:1.5em; }
.app-document-toc a { display:inline-block; padding:5px 0; }
.app-document section { scroll-margin-top:110px; }
