/* Final 2026-10-07 shared site components. Specimen styles are separate. */
.hero-ring { position: absolute; left: 50%; top: 50%; width: var(--ring-size); height: var(--ring-size); margin: calc(var(--ring-size) / -2) 0 0 calc(var(--ring-size) / -2); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; }
.hero-visual-home .hero-ring { top: 58%; }
.hero-ring--240 { --ring-size: 240px; }
.hero-ring--400 { --ring-size: 400px; }
.hero-ring--560 { --ring-size: 560px; }
.hero-ring--720 { --ring-size: 720px; }
.hero-ring--200 { --ring-size: 200px; }
.hero-ring--330 { --ring-size: 330px; }
.hero-ring--460 { --ring-size: 460px; }
.hero-ring--590 { --ring-size: 590px; }
.page-shell { background: var(--surface-soft); color: var(--text-strong); font-family: var(--font-body); font-size: 17px; line-height: 1.65; letter-spacing: -0.015em; word-break: keep-all; overflow-wrap: anywhere; }
.site-header { border-bottom: 1px solid var(--text-strong); }
.header-container { max-width: var(--content-width); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-link { display: inline-flex; align-items: center; min-height: 44px; }
.header-logo { display: block; height: clamp(32px, 3vw, 40px); width: auto; }
.hero { padding: clamp(28px, 5vw, 56px) 0 clamp(80px, 9vw, 112px); }
.container { max-width: var(--content-width); margin: 0 auto; padding: 0 var(--gutter); }
.hero-card { margin: 0 0 16px; display: flex; border: var(--edge); border-radius: var(--radius-hero); background: var(--brand); box-shadow: 16px 16px 0 -1px var(--brand-deep), 16px 16px 0 0 var(--text-strong); overflow: hidden; }
.hero-panel { flex: 1 1 0%; min-width: 0; margin: -1px 0 -1px -1px; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 64px); border: var(--edge); border-radius: var(--radius-hero); background: var(--bg); }
.eyebrow { margin: 0 0 12px; font-size: var(--eyebrow); font-weight: 700; color: var(--brand); }
.display-home { margin: 0 0 18px; font-family: var(--font-display); font-size: var(--display-hero); font-weight: var(--weight-display); line-height: 1.1; letter-spacing: -0.03em; }
.hero-copy { margin: 0; max-width: 30em; font-size: var(--body-lg); color: var(--text); }
.button-store { display: inline-flex; align-items: center; justify-content: center; min-width: 124px; gap: 8px; min-height: 48px; padding: 0 20px 0 16px; border-radius: var(--radius-button); background: var(--text-strong); color: var(--bg); font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', Roboto, Arial, sans-serif; font-size: var(--button); font-weight: 500; letter-spacing: 0; text-decoration: none; }
.hero-visual-home { flex: 0 0 clamp(320px, 34vw, 430px); position: relative; min-height: 424px; overflow: hidden; }
.hero-phone { position: absolute; left: 50%; top: 52px; width: 252px; margin-left: -132px; padding: 8px; border: var(--edge); border-radius: 36px; background: var(--bg); box-shadow: 12px 12px 0 -1px var(--brand-deep), 12px 12px 0 0 var(--text-strong); }
.hero-phone-image { display: block; width: 100%; height: auto; border-radius: 28px; }
.surface-soft { background: var(--surface-soft); }
.section-surface { background: var(--band); border-top: 1px solid var(--text-strong); border-radius: 32px 32px 0 0; }
.section-container { position: relative; max-width: var(--content-width); margin: 0 auto; padding: var(--section-top) var(--gutter) var(--section-bottom); }
.section-label { position: absolute; top: -25px; left: var(--gutter); right: var(--gutter); display: flex; }
.section-bar { display: inline-flex; align-items: center; max-width: 100%; border: var(--edge); border-radius: var(--radius-pill); background: var(--bg); }
.section-name { flex: 0 0 auto; margin: -1px 0 -1px -1px; padding: 10px 22px; border: var(--edge); border-radius: var(--radius-pill); background: var(--brand); color: var(--on-brand); font-family: var(--font-display); font-size: var(--section-name); font-weight: var(--weight-display); line-height: 1.3; }
.section-description { min-width: 0; margin: 0; padding: 0 28px 0 20px; font-size: var(--body); line-height: 1.3; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-large); }
.info-card { min-width: 0; display: flex; flex-direction: column; border: var(--edge); border-radius: var(--radius-card); background: var(--bg); box-sizing: border-box; }
.card-head { position: relative; height: 62px; border-bottom: 1px solid var(--text-strong); border-radius: 23px 23px 0 0; background: var(--brand-soft); }
.card-number { position: absolute; top: 14px; right: 20px; font-family: var(--font-display); font-size: var(--card-number); font-weight: var(--weight-display); letter-spacing: 0.04em; color: var(--text); }
.card-icon { position: absolute; left: 22px; bottom: -32px; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: var(--edge); border-radius: 50%; background: var(--bg); color: var(--brand); }
.card-body { padding: 46px 22px 26px; }
.card-title { margin: 0; font-family: var(--font-display); font-size: var(--headline); font-weight: var(--weight-display); line-height: 1.3; }
.card-description { margin: 4px 0 0; font-size: var(--body); line-height: 1.6; color: var(--text); }
.check-list { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: var(--body); line-height: 1.5; color: var(--text); }
.check-item { display: flex; gap: 8px; align-items: flex-start; }
.check-icon { flex: 0 0 auto; display: flex; margin-top: 2px; color: var(--brand); }
.surface-band { background: var(--band); }
.section-surface--soft { background: var(--surface-soft); }
.stats { margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px var(--space-large); }
.stat { min-width: 0; padding: 2px 0 2px 18px; border-left: 1px solid var(--line-soft); }
.stat-label { font-size: var(--label); line-height: 1.5; color: var(--text); }
.stat-number { margin: 2px 0 0; font-family: var(--font-display); font-size: var(--stat); font-weight: var(--weight-display); line-height: 1.2; color: var(--brand); }
.stat-unit { margin-left: 2px; font-size: var(--button); color: var(--text-strong); }
.album-box { padding: 8px 32px; border: var(--edge); border-radius: var(--radius-card); background: var(--bg); }
.album-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 32px; padding: 20px 0; }
.album-title { flex: 0 0 180px; margin: 0; font-family: var(--font-display); font-size: var(--title); font-weight: var(--weight-display); line-height: 1.4; }
.album-grid { flex: 1 1 360px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 24px; }
.album-name { min-width: 0; font-size: var(--body); line-height: 1.6; color: var(--text); }
.album-row--lined { border-top: 1px solid var(--line); }
.practice-list { margin: 0; padding: 0 0 10px; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-large); }
.practice-step { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.phone-frame { width: 100%; padding: 7px; border: var(--edge); border-radius: var(--radius-hero); background: var(--bg); box-shadow: 8px 8px 0 -1px var(--shadow-mint), 8px 8px 0 0 var(--text-strong); box-sizing: border-box; }
.phone-image { display: block; width: 100%; height: auto; border-radius: 25px; }
.practice-caption { min-width: 0; }
.practice-title { margin: 0; text-align: center; font-family: var(--font-display); font-size: var(--title); font-weight: var(--weight-display); line-height: 1.35; }
.body-copy { margin: 0; font-size: var(--body); line-height: 1.6; color: var(--text); }
.box-icon { flex: 0 0 52px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.box-copy { flex: 1 1 auto; min-width: 0; }
.box-title { display: block; font-family: var(--font-display); font-size: var(--title); font-weight: var(--weight-display); line-height: 1.35; }
.box-description { display: block; margin-top: 2px; font-size: var(--body); color: var(--text); }
.section-surface--white { background: var(--bg); }
.footer-container { max-width: var(--content-width); margin: 0 auto; padding: 40px var(--gutter) 72px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.footer-foundation { grid-column: 1 / 4; min-width: 0; }
.footer-brand { grid-column: 4 / 5; min-width: 0; }
.footer-logo-row { height: 36px; display: flex; align-items: center; }
.min-width-zero { min-width: 0; }
.footer-logo { display: block; height: 34px; width: auto; }
.footer-links { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0 32px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-size: var(--link); font-weight: 400; text-decoration: none; }
.footer-org-logo { display: block; height: 36px; width: auto; margin-left: -6px; }
.footer-channels { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0 32px; }
.channel-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--text); font-size: var(--link); text-decoration: none; }
.flex { display: flex; }
.display-page { margin: 0 0 16px; font-family: var(--font-display); font-size: var(--display-page); font-weight: var(--weight-display); line-height: 1.15; letter-spacing: -0.03em; }
.hero-copy--wide { max-width: 32em; }
.hero-actions { margin-top: 28px; }
.button-primary { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px 0 18px; border-radius: var(--radius-button); border: var(--edge); background: var(--text-strong); color: var(--bg); font-size: var(--link); font-weight: 700; text-decoration: none; box-sizing: border-box; }
.email-note { margin: 14px 0 0; font-size: var(--body); color: var(--text); }
.text-strong { color: var(--text-strong); }
.hero-visual-sub { flex: 0 0 clamp(240px, 26vw, 340px); position: relative; min-height: 320px; overflow: hidden; }
.hero-icon { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; display: flex; align-items: center; justify-content: center; border: var(--edge); border-radius: 50%; background: var(--bg); color: var(--brand); box-shadow: 8px 8px 0 -1px var(--brand-deep), 8px 8px 0 0 var(--text-strong); }
.stack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-large); }
.notice-box { min-width: 0; display: flex; align-items: center; gap: 18px; padding: 24px 26px; border: var(--edge); border-radius: var(--radius-card); background: var(--bg); }
.request-note { margin-top: 24px; padding: 16px 20px; border-radius: var(--radius-notice); background: var(--surface-soft); color: var(--text); }
.request-label { margin: 0 0 8px; font-size: var(--label); font-weight: 700; color: var(--text-strong); }
.check-list--plain { margin: 0; padding: 0; border-top: 0; }
.warning { margin-top: 22px; }
.card-grid--process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-head--flex { height: auto; min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 22px; box-sizing: border-box; }
.card-title--spaced { margin-bottom: 8px; }
.stack-grid--downloads { gap: var(--space-large); }
.platform-title { margin: 0; font-size: var(--headline); font-weight: 700; letter-spacing: -0.02em; }
.version-badge { padding: 4px 12px; border: var(--edge); border-radius: var(--radius-pill); background: var(--bg); color: var(--brand); font-size: var(--label); font-weight: 700; }
.card-body--compact { padding: 22px 22px 26px; }
.button-stack { display: flex; flex-direction: column; gap: 10px; }
.button-secondary { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px 0 22px; border-radius: var(--radius-button); border: var(--edge); background: var(--bg); color: var(--text-strong); font-size: var(--link); font-weight: 700; text-decoration: none; box-sizing: border-box; }
.install-note { margin: 12px 0 0; font-size: var(--label); color: var(--text-muted); }
.hero-action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button-secondary--icon { padding-left: 18px; }
.icon-size-34-34 { width: 34px; height: 34px; }
.icon-size-16-16 { width: 16px; height: 16px; }
.icon-size-26-26 { width: 26px; height: 26px; }
.icon-size-22-22 { width: 22px; height: 22px; }
.icon-size-20-20 { width: 20px; height: 20px; }
.icon-size-52-52 { width: 52px; height: 52px; }
.icon-size-30-30 { width: 30px; height: 30px; }
@media (max-width: 720px) {
.section-description { padding: 0 18px 0 14px; }
.footer-grid { grid-template-columns: minmax(0, 1fr); }
.footer-foundation, .footer-brand { grid-column: auto; }
.footer-brand { margin-top: 20px; padding-top: 32px; border-top: 1px solid var(--line); }
.footer-links, .footer-channels { margin-top: 12px; }
.footer-container { padding-bottom: 56px; }
.footer-channels { justify-content: space-between; gap: 0 8px; }
.footer-channels a { font-size: 15px; gap: 4px; }
.footer-channels svg { width: 18px; height: 18px; }
.footer-links { gap: 0 24px; }
.footer-links a { font-size: 15px; }
.footer-logo-row { height: 32px; }
.footer-org-logo { height: 32px; margin-left: -5px; }
.footer-logo { height: 30px; }
.ui-br { display:none }
.ui-sec { padding-top:84px !important }
.ui-hscroll { display:flex !important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px !important;padding:0 0 10px !important;scrollbar-width:none }
.ui-hscroll::-webkit-scrollbar { display:none }
.ui-hscroll > li { flex:0 0 80%;scroll-snap-align:start;box-sizing:border-box }
.ui-stack { grid-template-columns:minmax(0,1fr) !important;gap:20px !important }
.ui-hb { flex-direction:column !important;box-shadow:8px 8px 0 -1px var(--brand-deep),8px 8px 0 0 var(--text-strong) !important;margin-bottom:8px !important }
.ui-hb-text { margin:-1px -1px 0 -1px !important }
.ui-hb-visual { flex:0 0 auto !important;min-height:300px !important }
.ui-hb-phone { width:200px !important;margin-left:-104px !important;top:36px !important }
.sub-visual { min-height:170px !important }
.sub-icon { width:88px !important;height:88px !important;margin:-44px 0 0 -44px !important }
.sub-icon svg { width:40px;height:40px }
.btn-full-m { width:100%;justify-content:center }
.ui-shots { display:flex !important;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px !important;padding:0 12px 16px 0 !important;scrollbar-width:none }
.ui-shots::-webkit-scrollbar { display:none }
.ui-shot { flex:0 0 76%;scroll-snap-align:center }
.ui-feat { gap:20px !important;padding:0 0 4px !important }
.ui-albumbox { padding:4px 20px !important }
.ui-alb { grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:2px 20px !important }
.ui-store { display:grid !important;grid-template-columns:repeat(auto-fit,minmax(134px,1fr));gap:8px !important }
.ui-shot .phone-frame, .ui-shot .practice-caption { max-width:240px }
.contact-main { padding:24px 22px !important }
.contact-icon { display:none !important }
.contact-email { font-size:20px !important;overflow-wrap:normal !important }
.ui-store > span, .ui-store > a { min-width:0;min-height:48px !important;padding:0 14px 0 12px !important;font-size:15px !important;gap:7px !important }
}
.hv-store { transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease }
.hv-store { cursor:pointer }
.hv-store:hover { transform:translateY(-2px);background-color:#000000 !important }
.hv-link { transition:color .12s ease,border-color .12s ease }
.hv-link:hover { color:var(--brand) !important;border-bottom-color:var(--brand) !important }
.hv-btn { transition:transform .16s ease,background-color .16s ease }
.hv-btn:hover { transform:translateY(-2px) }
.hv-primary:hover { background-color:#000000 !important;border-color:#000000 !important }
.hv-secondary:hover { background-color:var(--surface-soft) !important }
.hv-link:focus-visible, .hv-btn:focus-visible { outline:3px solid var(--brand);outline-offset:3px }
@media (prefers-reduced-motion: reduce) {
.hv-store, .hv-btn { transition:none }
.hv-store:hover, .hv-btn:hover { transform:none }
}
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.btn-full { width: 100%; justify-content: center; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
@media (prefers-reduced-motion: reduce) {
.ui-shots { scroll-behavior: auto; }
}
.contact-wrap { padding: 0 0 8px; }
.contact-card { border: var(--edge); border-radius: var(--radius-card); background: var(--bg); box-shadow: 8px 8px 0 -1px var(--shadow-mint), 8px 8px 0 0 var(--text-strong); }
.contact-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 32px 36px; }
.contact-summary { display: flex; align-items: center; gap: 20px; min-width: 0; }
.contact-icon { flex: 0 0 64px; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border: var(--edge); border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.contact-email { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-strong); overflow-wrap: normal; }
.withdrawal-notice { margin: 28px 0 0; border: var(--edge); border-radius: var(--radius-notice); background: var(--bg); }
.withdrawal-notice-row { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 16px 22px; font-size: var(--body); line-height: 1.6; color: var(--text); }
.withdrawal-notice-icon { flex: 0 0 auto; display: flex; margin-top: 1px; color: var(--brand); }
.withdrawal-notice-copy > span { display: block; }
.withdrawal-notice-warning { border-top: 1px solid var(--line); font-weight: 700; color: var(--text-strong); }
.withdrawal-notice-warning .withdrawal-notice-icon { color: var(--danger); }
@media (max-width: 720px) {
.withdrawal-notice-row { padding: 14px 18px; }
}

@media (max-width: 720px) {
  .ui-hscroll, .ui-shots { cursor: grab; }
  .ui-hscroll.is-dragging, .ui-shots.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    user-select: none;
    -webkit-user-select: none;
  }
  .is-dragging * { user-select: none; -webkit-user-select: none; }
}
