/* apps.css — the two apps side by side, the chooser, All Access. */
.ah { padding: calc(var(--bar-h) + var(--bar-gap) + clamp(40px, 6vw, 90px)) 0 clamp(60px, 8vw, 100px); background: linear-gradient(180deg, #F4F7FF, #fff); }
.ah-head .xh1 { font-size: clamp(2.8rem, 1.4rem + 5.4vw, 6.4rem); }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tw { display: grid; border-radius: 32px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-2); transition: box-shadow .5s var(--ease-out); }
.tw:hover { color: var(--ink); box-shadow: var(--shadow-3); }
.tw-lab { background: var(--lab-soft); } .tw-wb { background: var(--wb-soft); }
.tw-img { display: block; aspect-ratio: 16/9.5; overflow: hidden; }
.tw-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1.2s var(--ease-out); }
.tw:hover .tw-img img { transform: scale(1.04); }
.tw-body { display: grid; gap: 8px; padding: clamp(22px, 3vw, 34px); }
.tw-tag { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.tw-lab .tw-tag, .tw-lab .tw-go { color: var(--lab); } .tw-wb .tw-tag, .tw-wb .tw-go { color: var(--wb); }
.tw b { font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; letter-spacing: -.035em; font-variation-settings: 'opsz' 96, 'wdth' 86, 'wght' 800; }
.tw-p { color: var(--ink-2); font-size: 1.1rem; line-height: 1.45; max-width: 36ch; }
.tw-p strong { color: var(--ink); }
.tw-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.tw-price { font-family: var(--f-display); font-size: 2rem; letter-spacing: -.03em; font-variation-settings: 'opsz' 48, 'wdth' 86, 'wght' 800; }
.tw-go { font-weight: 800; font-size: 1.05rem; }

.chooser { padding: clamp(22px, 3.4vw, 40px); position: relative; overflow: hidden; }
.ch-prog { display: flex; gap: 6px; margin-bottom: 22px; }
.ch-prog i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); transition: background .4s; }
.ch-prog i.done { background: var(--sound); }
.ch-q { display: none; }
.ch-q.is-on { display: grid; gap: 14px; animation: ch-in .5s var(--ease-out); }
@keyframes ch-in { from { opacity: 0; transform: translateX(30px); } }
.ch-n { font-weight: 700; color: var(--ink-3); font-size: .9rem; }
.ch-t { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.1; letter-spacing: -.025em; font-variation-settings: 'opsz' 48, 'wdth' 92, 'wght' 740; }
.ch-opts { display: grid; gap: 10px; }
.ch-opts button { display: flex; align-items: center; gap: 14px; text-align: left; min-height: 66px; padding: 14px 20px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 1.08rem; transition: box-shadow .2s, transform .3s var(--ease-out), background .2s; }
.ch-opts button > span:first-child { font-size: 1.6rem; flex: none; }
.ch-tx { flex: 1; }
.ch-opts button:hover { box-shadow: inset 0 0 0 2px var(--ink); transform: translateX(4px); }
.ch-res { display: grid; gap: 16px; animation: ch-in .6s var(--ease-out); }
.ch-res-top { display: flex; gap: 18px; align-items: center; }
.ch-res-top img { width: 110px; height: 110px; border-radius: 24px; object-fit: cover; object-position: 50% 20%; background: var(--paper-2); }
.ch-res .hand { font-size: 1.6rem; color: var(--sound); }
.ch-res .xh2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.ch-res p.why { color: var(--ink-2); font-size: 1.1rem; }
.ch-again { font-weight: 700; color: var(--ink-3); justify-self: start; min-height: 44px; }

.tbl-wrap { overflow-x: auto; border-radius: 28px; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.tbl th, .tbl td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tbody th { width: 18%; color: var(--ink-3); font-weight: 700; font-size: .95rem; }
.tbl thead th { font-family: var(--f-display); font-size: 1.35rem; font-variation-settings: 'opsz' 32, 'wdth' 92, 'wght' 760; padding-top: 24px; }
.c-lab { color: var(--lab); } .c-wb { color: var(--wb); }
.tbl td i { color: var(--ink); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl-price b { font-family: var(--f-display); font-size: 1.8rem; letter-spacing: -.03em; font-variation-settings: 'opsz' 48, 'wdth' 86, 'wght' 800; }

.aa-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.aa-copy { display: grid; gap: 22px; }
.sum { display: grid; gap: 2px; padding: 22px 24px; border-radius: 22px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-size: 1.05rem; }
.sum p { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; color: #C4C9D4; }
.sum b { color: #fff; font-variant-numeric: tabular-nums; }
.sum-line { border-top: 1px solid rgba(255,255,255,.15); margin-top: 4px; padding-top: 10px !important; }
.sum-plus { color: var(--pen) !important; } .sum-plus b { color: var(--pen); }
.sum-total { border-top: 1px solid rgba(255,255,255,.3); margin-top: 6px; padding-top: 12px !important; font-size: 1.3rem; color: #fff !important; }
.sum-total b { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; letter-spacing: -.03em; font-variation-settings: 'opsz' 48, 'wdth' 86, 'wght' 800; }
.aa-small { color: #8C93A5; font-size: .9rem; }
.aa-stack { position: relative; aspect-ratio: 1; }
.aa-stack img { position: absolute; width: 62%; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transition: transform 1s var(--ease-out); }
.aa-a { left: 0; top: 6%; transform: rotate(-7deg); }
.aa-b { right: 0; top: 24%; transform: rotate(5deg); z-index: 2; object-position: 50% 0; }
.aa-c { left: 14%; bottom: 4%; transform: rotate(-2deg); z-index: 1; }
.aa-stack:hover .aa-a { transform: rotate(-10deg) translate(-10px, -10px); }
.aa-stack:hover .aa-b { transform: rotate(8deg) translate(10px, -6px); }
.aa-key { position: absolute; z-index: 3; left: 50%; top: 50%; translate: -50% -50%; width: 96px; height: 96px; border-radius: 50%; background: var(--pen); display: grid; place-items: center; font-size: 2.6rem; box-shadow: 0 20px 40px rgba(0,0,0,.4); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-8deg); } }

.vq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vq { margin: 0; padding: 26px; border-radius: 24px; background: var(--paper); display: grid; gap: 12px; align-content: space-between; }
.vq-lab { background: var(--lab-soft); }
.vq-stars { color: #F2A900; letter-spacing: .1em; }
.vq blockquote { margin: 0; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.25; letter-spacing: -.015em; font-variation-settings: 'opsz' 32, 'wdth' 94, 'wght' 650; }
.vq figcaption { color: var(--ink-3); font-size: .9rem; }
.vq-note { text-align: center; margin-top: 20px; }
.keyrow-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .twin, .aa-grid { grid-template-columns: 1fr; }
  .vq-grid { grid-template-columns: 1fr 1fr; }
  .aa-stack { max-width: 420px; justify-self: center; width: 100%; }
}
@media (max-width: 560px) { .vq-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .aa-key { animation: none; } }
