html.sodatte-document, .sodatte-document body { min-width: 0; }
#main.sodatte-page > .sodatte-case { padding-bottom: 4rem; }
.sodatte-page p { line-height: 1.9; }
.sodatte-hero { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 3rem; align-items: start; padding: 0 0 3rem; }
.sodatte-page .sodatte-eyebrow { color: #9bf1ff; font-size: .82rem; font-weight: 700; letter-spacing: .12em; margin: 0 0 1rem; }
.sodatte-hero h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.5; margin: 0 0 1.25rem; }
.sodatte-page .sodatte-lead { font-size: 1.15rem; font-weight: 700; }
.sodatte-page figure { margin: 0; min-width: 0; }
.sodatte-hero-screen img { display: block; width: 100%; height: auto; border-radius: 16px; }
.sodatte-hero-screen figcaption { font-size: .75rem; text-align: center; padding-top: .8rem; }
.sodatte-page figure a { display: block; border: 0; border-radius: 12px; }
.sodatte-page figure a:hover { box-shadow: 0 0 0 3px #9bf1ff; }
.sodatte-page a:focus-visible, .sodatte-page summary:focus-visible { outline: 3px solid #9bf1ff; outline-offset: 5px; }
/* Decorative device frame keeps the original screen unobscured. */
.sodatte-hero-screen { position: relative; isolation: isolate; }
.sodatte-hero-screen::before { content: ""; position: absolute; inset: -24px -28px 12px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at center, rgba(141,211,158,.25) 0%, rgba(141,211,158,.09) 45%, transparent 72%); }
.sodatte-page .sodatte-hero-screen > a { border-radius: 20px; background: #141d2b; box-shadow: 0 0 0 5px #141d2b, 0 0 0 6px #778b89, 0 18px 30px rgba(9,15,27,.3); transition: box-shadow .2s ease; }
.sodatte-page .sodatte-hero-screen > a:hover, .sodatte-page .sodatte-hero-screen > a:focus-visible { box-shadow: 0 0 0 5px #141d2b, 0 0 0 7px #b6e8c1, 0 18px 30px rgba(9,15,27,.3); }
.sodatte-hero-screen figcaption { padding-top: 1.2rem; }
@media (prefers-reduced-motion: reduce) { .sodatte-page .sodatte-hero-screen > a { transition: none; } }
.sodatte-section { padding: 3rem 0; border-top: 1px solid rgba(212,212,255,.2); }
.sodatte-section h2 { font-size: 1.55rem; line-height: 1.6; margin-bottom: 1.25rem; }
.sodatte-section h3 { font-size: 1.05rem; line-height: 1.65; }
.sodatte-background p:last-child { margin-bottom: 0; }
.sodatte-improvements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.sodatte-improvements section { padding: 1.4rem; background: rgba(212,212,255,.05); border-radius: 10px; }
.sodatte-number { display: block; color: #9bf1ff; font-size: 1.8rem; font-weight: 700; margin-bottom: .75rem; }
.sodatte-improvements p { font-size: .95rem; margin: 0; }
.sodatte-page .sodatte-maintenance { font-size: .9rem; margin: 1.5rem 0 0; }
.sodatte-screen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2rem; }
.sodatte-screen-grid figure > a { max-width: 230px; margin: 0 auto; }
.sodatte-screen-grid img { display: block; width: 100%; height: auto; border-radius: 12px; }
.sodatte-screen-grid figcaption { padding-top: 1.2rem; }
.sodatte-screen-grid h3 { margin: 0 0 .5rem; }
.sodatte-screen-grid p { font-size: .9rem; margin: 0; }
.sodatte-more { margin-top: 2rem; border: 1px solid rgba(212,212,255,.25); padding: 1.25rem; border-radius: 10px; }
.sodatte-more summary { cursor: pointer; font-weight: 700; }
.sodatte-more summary:hover { color: #9bf1ff; }
.sodatte-page blockquote { font-style: normal; border-left: 3px solid #9bf1ff; background: rgba(212,212,255,.05); padding: 1.5rem 1.75rem; }
.sodatte-page blockquote p:last-child { margin-bottom: 0; }
.sodatte-voice h2 { display: flex; align-items: flex-start; gap: .75rem; }
.sodatte-voice h2 span { min-width: 0; }
.sodatte-voice-icon { flex: 0 0 auto; color: #9bf1ff; width: 1.25em; height: 1.25em; margin-top: .15em; }
.sodatte-voice-card { padding: clamp(1.1rem, 3vw, 2rem); background: rgba(212,212,255,.05); color: inherit; border-left: 4px solid #79c8da; border-radius: 12px; }
.sodatte-page .sodatte-voice-card blockquote { margin: 0 0 1.25rem; padding: 0; border: 0; background: transparent; color: inherit; }
.sodatte-voice-card strong { color: inherit; font-weight: 700; }
.sodatte-voice-summary { font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; }
.sodatte-voice-note { font-size: .9rem; }
.sodatte-attribution { text-align: right; font-size: .9rem; margin-bottom: 0; }
.sodatte-voice-link { margin: 1rem 0 0; text-align: left; }
.sodatte-consultation { text-align: center; padding-bottom: 0; }
.sodatte-service-note { font-size: .85rem; }
.sodatte-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.75rem; }
.sodatte-actions .button { border-radius: 999px; background: rgba(255,255,255,.9); color: #24304f !important; box-shadow: inset 0 0 0 1px rgba(41,65,112,.18); padding: 0 1.5rem; height: auto; min-height: 3.5rem; line-height: 1.7; display: flex; align-items: center; justify-content: center; white-space: normal; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.sodatte-actions .button.primary { background: #fff3c4; box-shadow: inset 0 0 0 1px #ce9700; }
.sodatte-actions .button:hover, .sodatte-actions .button:focus-visible { background: #394970; color: white !important; box-shadow: inset 0 0 0 1px #9bf1ff; }
.sodatte-actions .button.primary:hover, .sodatte-actions .button.primary:focus-visible { background: #9a6100; color: white !important; box-shadow: inset 0 0 0 1px #ce9700; }
@media screen and (max-width: 736px) {
    .sodatte-hero { grid-template-columns: 1fr; gap: 1.75rem; padding-top: 0; padding-bottom: 2rem; }
    .sodatte-hero-screen { width: 190px; justify-self: center; }
    .sodatte-section { padding: 2rem 0; }
    .sodatte-section h2 { font-size: 1.3rem; }
    .sodatte-improvements, .sodatte-screen-grid { grid-template-columns: 1fr; }
    .sodatte-screen-grid { gap: 2.5rem; }
    .sodatte-improvements section { padding: 1.1rem; }
    .sodatte-page blockquote { padding: 1rem; }
    .sodatte-actions { flex-direction: column; align-items: stretch; }
    .sodatte-actions .button { width: 100%; padding: .8rem 1rem; letter-spacing: .05em; }
}

/* Native modal keeps keyboard focus within the enlarged image view. */
html.sodatte-preview-open { overflow: hidden; }
.sodatte-lightbox { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; margin: 0; overflow: hidden; box-sizing: border-box; }
.sodatte-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.sodatte-lightbox::backdrop { background: rgba(10, 16, 30, .92); }
.sodatte-lightbox-image { display: block; width: auto; height: auto; max-width: calc(100vw - 32px); max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); min-width: 0; min-height: 0; flex: 0 1 auto; object-fit: contain; }
.sodatte-lightbox-close { position: absolute; top: 12px; right: 16px; height: 44px; line-height: 44px; padding: 0 20px; border-radius: 999px; background: #fff; color: #24304f; box-shadow: none; letter-spacing: .05em; }
.sodatte-lightbox-close:hover, .sodatte-lightbox-close:focus-visible { background: #9bf1ff; color: #24304f !important; outline: 2px solid #fff; outline-offset: 3px; }

/* Development journey and improvement icons share the page accent. */
.sodatte-feature-icon { display: block; width: 2rem; height: 2rem; flex: 0 0 auto; color: #9bf1ff; }
.sodatte-journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 2rem 0; }
.sodatte-journey > li { position: relative; min-width: 0; padding: 1rem; border: 1px solid rgba(155,241,255,.2); border-radius: 10px; background: rgba(212,212,255,.05); }
.sodatte-journey > li:not(:last-child)::after { content: ""; position: absolute; width: .45rem; height: .45rem; border-top: 2px solid #9bf1ff; border-right: 2px solid #9bf1ff; right: -.85rem; top: 2.1rem; transform: rotate(45deg); }
.sodatte-step-mark { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
.sodatte-step-number { color: #9bf1ff; font-size: 1.6rem; line-height: 1.2; font-weight: 700; letter-spacing: .02em; }
.sodatte-journey h3 { font-size: .95rem; margin: 0 0 .6rem; }
.sodatte-journey p { font-size: .88rem; margin: 0; }
.sodatte-improvement-mark { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.sodatte-improvement-mark .sodatte-number { font-size: 1.6rem; line-height: 1.2; margin: 0; }
@media screen and (max-width: 980px) {
    .sodatte-journey { grid-template-columns: 1fr; }
    .sodatte-journey > li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: 1rem; }
    .sodatte-step-mark { grid-row: span 2; flex-direction: column; justify-content: flex-start; margin: 0; }
    .sodatte-journey > li:not(:last-child)::after { top: auto; bottom: -.85rem; left: 1.75rem; right: auto; transform: rotate(135deg); }
}
