.app-page {
  --app-accent: #1769ff;
  --app-soft: #eaf4ff;
  --app-cta: #102449;
  background: #fffcf7;
}

.app-page .site-header { position: relative; left: auto; margin-inline: auto; transform: none; border-bottom: 1px solid var(--line); }
.app-page .header-cta { background: var(--app-cta); box-shadow: none; }
.app-detail { width: var(--page); margin-inline: auto; padding: 22px 0 120px; }
.app-breadcrumbs { margin: 0; color: var(--muted); font-size: .73rem; font-weight: 700; }
.app-breadcrumbs a { text-underline-offset: 3px; }

.app-detail-hero { min-height: 650px; display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(16px,3vw,48px); align-items: center; }
.app-hero-copy { position: relative; z-index: 1; padding: 42px 0 48px; }
.app-nameplate { display: flex; align-items: center; gap: 18px; }
.app-nameplate img { width: 68px; height: 68px; object-fit: cover; border-radius: 18px; box-shadow: 0 7px 22px rgba(7,24,58,.1); }
.app-detail h1 { margin: 0; font-size: clamp(1.6rem,2.5vw,2.35rem); line-height: 1.2; letter-spacing: -.05em; }
.app-detail-kicker { margin: 7px 0 0; color: var(--app-accent); font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.app-headline { max-width: 690px; margin: 38px 0 0; font-size: clamp(3.2rem,5.4vw,6.35rem); line-height: 1.12; font-weight: 900; letter-spacing: -.075em; text-wrap: balance; }
.app-detail-lead { max-width: 570px; margin: 26px 0 0; color: #263651; font-size: clamp(.98rem,1.25vw,1.12rem); font-weight: 600; line-height: 1.85; }
.app-platforms { margin-top: 23px; display: flex; flex-wrap: wrap; gap: 8px; }
.app-platforms span, .app-platforms a { padding: 6px 11px; color: #354764; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .71rem; font-weight: 800; text-decoration: none; }
.app-platforms a:hover { color: var(--app-accent); border-color: var(--app-accent); }
.app-detail-actions { margin-top: 27px; display: flex; flex-wrap: wrap; gap: 11px; }
.app-action { min-height: 56px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border-radius: 999px; font-size: .82rem; font-weight: 800; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.app-action:hover { transform: translateY(-3px); }
.app-action-primary { color: white; background: var(--app-cta); box-shadow: 0 11px 26px rgba(7,24,58,.12); }
.app-action-secondary { color: var(--ink); background: white; border: 1px solid var(--line); }

.app-hero-art { position: relative; min-width: 0; margin: 0; align-self: center; }
.app-hero-art img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.app-waraigym-art-text span { position: absolute; color: var(--ink); font-weight: 900; line-height: 1.28; text-align: center; letter-spacing: -.045em; }
.app-waraigym-prompt { top: 47%; left: 37%; transform: translate(-50%,-50%) rotate(-8deg); font-size: clamp(1rem,2.25vw,2rem); }
.app-waraigym-reaction { top: 25%; left: 74%; transform: translate(-50%,-50%) rotate(-3deg); font-size: clamp(.72rem,1.45vw,1.35rem); }
.app-process { padding: 28px 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.app-process-step { min-width: 0; display: flex; align-items: center; gap: 17px; padding: 0 28px; font-size: clamp(.9rem,1.25vw,1.1rem); font-weight: 800; letter-spacing: -.03em; }
.app-process-step:first-child { padding-left: 0; }
.app-process-step:not(:last-child) { border-right: 1px solid var(--line); }
.app-process-step span { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: var(--ink); background: var(--app-soft); border-radius: 50%; font-size: .9rem; font-weight: 800; }

.app-section { padding: 100px 0; border-bottom: 1px solid var(--line); }
.app-section-heading { max-width: 800px; }
.app-section-label { margin: 0 0 18px; color: var(--app-accent); font-size: .73rem; font-weight: 800; letter-spacing: .16em; }
.app-section h2 { margin: 0; font-size: clamp(2.5rem,4.8vw,5rem); line-height: 1.13; letter-spacing: -.065em; }
.app-section-intro { max-width: 760px; margin: 25px 0 0; color: var(--muted); font-size: 1rem; line-height: 2; }
.app-feature-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.app-feature { min-height: 235px; padding: 24px 28px 12px; border-left: 1px solid var(--line); }
.app-feature:first-child { padding-left: 0; border-left: 0; }
.app-feature span { display: block; margin-bottom: 46px; color: var(--app-accent); font-size: .8rem; font-weight: 800; }
.app-feature h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.035em; }
.app-feature p { margin: 13px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.85; }

.app-fit { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.app-fit-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.app-fit-list li { padding: 24px 0; display: grid; grid-template-columns: 44px 1fr; gap: 12px; border-bottom: 1px solid var(--line); color: #2e405e; line-height: 1.7; }
.app-fit-list b { color: var(--app-accent); }

.app-final-cta { margin-top: 96px; padding: clamp(42px,7vw,76px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; color: white; background: var(--app-cta); border-radius: 32px; }
.app-final-cta h2 { margin: 0; font-size: clamp(2rem,4vw,4rem); line-height: 1.14; letter-spacing: -.06em; }
.app-final-cta p { max-width: 630px; margin: 18px 0 0; color: rgba(255,255,255,.75); line-height: 1.8; }
.app-final-cta .app-action-primary { color: var(--app-cta); background: white; box-shadow: none; }

.app-waraigym { --app-accent: #ea6457; --app-soft: #e3f3c6; }
.app-gainxp { --app-accent: #1769ff; --app-soft: #e5edff; }
.app-lessons { --app-accent: #cf6885; --app-soft: #fbe4e7; }
.app-ideaman { --app-accent: #e7784f; --app-soft: #fff0bc; }
.app-petlog { --app-accent: #df7282; --app-soft: #e8f3de; }
.app-roambond { --app-accent: #387cb0; --app-soft: #e3f2fa; }

@media (min-width: 901px) {
  .app-hero-copy { animation: app-copy-in .7s both; }
  .app-hero-art { animation: app-art-in .85s .1s both; }
}
@keyframes app-copy-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes app-art-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 900px) {
  .app-detail { padding-top: 24px; }
  .app-detail-hero { min-height: 0; grid-template-columns: 1fr; gap: 0; }
  .app-hero-copy { padding: 48px 0 12px; }
  .app-hero-art { width: min(100%,750px); justify-self: center; }
  .app-feature { min-height: 0; }
  .app-fit { grid-template-columns: 1fr; gap: 34px; }
  .app-final-cta { grid-template-columns: 1fr; }
  .app-final-cta .app-action { justify-self: start; }
}

@media (max-width: 700px) {
  .app-page .site-header { width: min(100% - 36px,560px); }
  .app-detail { width: min(100% - 36px,560px); padding: 18px 0 78px; }
  .app-breadcrumbs { font-size: .68rem; }
  .app-hero-copy { padding: 46px 0 6px; }
  .app-nameplate { gap: 12px; }
  .app-nameplate img { width: 50px; height: 50px; border-radius: 13px; }
  .app-detail h1 { font-size: clamp(1.45rem,6vw,1.8rem); overflow-wrap: anywhere; }
  .app-detail-kicker { font-size: .57rem; }
  .app-headline { margin-top: 30px; font-size: clamp(2.7rem,10vw,4rem); line-height: 1.15; }
  .app-lessons .app-headline { font-size: clamp(2.15rem,8.8vw,3.4rem); }
  .app-ideaman .app-headline { font-size: clamp(2.05rem,8.4vw,3.4rem); }
  .app-detail-lead { margin-top: 21px; }
  .app-detail-lead, .app-section-intro { font-size: .94rem; }
  .app-detail-actions { display: grid; }
  .app-action { width: 100%; }
  .app-hero-art { width: calc(100% + 36px); margin: 12px -18px 0; }
  .app-process { padding: 8px 0; grid-template-columns: 1fr; }
  .app-process-step { min-height: 64px; padding: 0; gap: 15px; }
  .app-process-step:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
  .app-process-step span { width: 36px; height: 36px; flex-basis: 36px; }
  .app-section { padding: 78px 0; }
  .app-section h2 { font-size: clamp(2.2rem,9vw,3.4rem); }
  .app-feature-grid { margin-top: 34px; grid-template-columns: 1fr; }
  .app-feature { padding: 26px 0; border-left: 0; border-top: 1px solid var(--line); }
  .app-feature:first-child { border-top: 0; }
  .app-feature span { margin-bottom: 18px; }
  .app-final-cta { margin-top: 74px; padding: 34px 25px; border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .app-action { transition: none; }
  .app-hero-copy, .app-hero-art { animation: none; }
}
