.site-header { position: sticky; top: 0; z-index: 3; border-bottom: 1px solid var(--line); background: rgba(245, 246, 241, .96); backdrop-filter: blur(10px); }
.header-inner { min-height: 71px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--teal); color: var(--teal); font: 500 15px "DM Mono", monospace; }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 14px/1.05 "DM Sans", sans-serif; letter-spacing: .08em; }
.brand small { margin-top: 3px; color: var(--muted); font: 500 9px "DM Mono", monospace; letter-spacing: .08em; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.mobile-menu-toggle { display: none; }
.header-actions [hidden] { display: none; }
.back-link { color: var(--teal-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.account-link { color: var(--teal-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.account-link:hover { text-decoration: underline; }
.login-link { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; padding: 7px 11px; border-radius: 3px; color: var(--white); background: var(--teal); font-size: 12px; font-weight: 700; text-decoration: none; }
.login-link:hover { background: var(--teal-dark); }

h1, h2, h3, p { margin-top: 0; }
.primary-button { min-height: 47px; padding: 11px 18px; border: 0; border-radius: 3px; color: var(--white); background: var(--teal); font-size: 14px; font-weight: 700; }
.primary-button:hover { background: var(--teal-dark); transform: translateY(-1px); }
.secondary-button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid #9fb9b8; border-radius: 3px; color: var(--teal-dark); background: transparent; font-size: 14px; font-weight: 700; text-decoration: none; }
.secondary-button:hover { background: #dcebea; }

.catalog-section { padding: 26px 0 82px; }
.catalog-head { display: flex; justify-content: space-between; align-items: start; gap: 28px; margin-bottom: 14px; }.catalog-head > div { max-width: 700px; }
.catalog-head h1 { margin-bottom: 6px; font: 700 clamp(28px, 2.5vw, 38px)/1.16 "DM Sans", "Noto Sans Thai", sans-serif; }.catalog-head > div > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.catalog-aside { display: grid; justify-items: end; }.catalog-principle { position: relative; width: 216px; padding: 13px 15px 12px; border: 1px solid #e2cf77; background: var(--note-yellow); box-shadow: 5px 6px 0 rgba(16, 43, 62, .10); transform: rotate(-1.3deg); }.catalog-principle::before { content: ""; position: absolute; top: -8px; left: calc(50% - 30px); width: 60px; height: 16px; background: var(--tape); transform: rotate(3deg); }.catalog-principle strong { display: block; margin-bottom: 5px; font: 500 9px/1.3 "DM Mono", monospace; letter-spacing: .08em; }.catalog-principle span { color: var(--muted); font-size: 11px; line-height: 1.45; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 13px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.catalog-filter { min-height: 32px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 0; color: var(--teal-dark); background: var(--white); font: 500 10px "DM Mono", monospace; }.catalog-filter:hover { border-color: var(--teal); background: var(--paper); }.catalog-filter[aria-pressed="true"] { border-color: var(--teal); color: var(--white); background: var(--teal); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; padding-top: 6px; }.product-card { position: relative; min-height: 492px; display: flex; flex-direction: column; padding: 28px 24px 24px; border: 1px solid #dfd484; border-radius: 0; background: var(--note-yellow); box-shadow: 8px 9px 0 rgba(16, 43, 62, .10); transform: rotate(-.65deg); transition: transform .18s ease, box-shadow .18s ease; }.product-card::before { content: ""; position: absolute; top: -8px; left: 35%; width: 72px; height: 18px; background: var(--tape); transform: rotate(2deg); }.product-card:nth-child(even) { transform: rotate(.55deg); }.product-card:nth-child(3n) { transform: rotate(-.2deg); }.product-card:hover { box-shadow: 11px 13px 0 rgba(16, 43, 62, .12); transform: translateY(-4px) rotate(.25deg); }.product-card.lifecycle-ready { border-color: #c6ce8a; background: var(--note-yellow); }.product-card.lifecycle-interest { border-color: #e3b6aa; background: var(--note-pink); }.product-card.lifecycle-design { border-color: #accfce; background: var(--note-blue); }.product-card.lifecycle-research { border-color: #b8d6ab; background: var(--note-green); }
.product-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }.product-code { color: var(--teal); font: 500 11px "DM Mono", monospace; letter-spacing: .08em; }.state { white-space: nowrap; padding: 5px 8px; color: #56646f; background: #e9edef; font: 500 10px "DM Mono", monospace; }.lifecycle-ready .state { color: #08645e; background: #dbeeea; }.lifecycle-interest .state { color: #785b0a; background: #f7edd0; }
.product-polaroid { width: min(100%, 188px); margin: 17px auto 2px; padding: 7px 7px 9px; border: 1px solid #d7ddd9; background: var(--white); box-shadow: 4px 5px 0 rgba(16, 43, 62, .10); transform: rotate(1.1deg); }.product-polaroid img { display: block; width: 100%; aspect-ratio: 1.18; object-fit: cover; border: 1px solid #edf0ed; }.product-polaroid figcaption { overflow: hidden; margin-top: 7px; color: var(--teal-dark); font: 500 7px/1.25 "DM Mono", monospace; letter-spacing: .04em; text-align: center; text-overflow: ellipsis; white-space: nowrap; }.product-stack { margin: 13px 0 0; color: var(--teal-dark); font: 500 9px/1.35 "DM Mono", monospace; letter-spacing: .04em; text-align: center; }.product-stack::before { content: "SOURCE CODE / "; color: var(--muted); }.product-card h3 { margin: 12px 0 8px; font: 700 20px/1.22 "DM Sans", "Noto Sans Thai", sans-serif; }.product-intro { min-height: 65px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }.feature-list { margin: 13px 0 17px; padding: 0; list-style: none; }.feature-list li { padding: 6px 0; border-top: 1px solid #e5eceb; color: #365063; font-size: 12px; line-height: 1.45; }.feature-list li::before { content: "•"; display: inline-block; width: 18px; color: var(--teal); font-weight: 700; }
.card-bottom { display: flex; justify-content: space-between; gap: 14px; align-items: end; margin-top: auto; }.fit-note { max-width: 156px; color: var(--muted); font-size: 11px; line-height: 1.5; }.text-action { border: 0; padding: 0; color: var(--teal); background: transparent; font-size: 12px; font-weight: 700; text-align: right; }.text-action:hover { color: var(--teal-dark); text-decoration: underline; }
.catalog-roadmap { display: grid; grid-template-columns: 180px repeat(3, 1fr); gap: 19px; margin-top: 48px; }.roadmap-title, .roadmap-item { position: relative; min-height: 128px; padding: 23px 19px 19px; box-shadow: 7px 8px 0 rgba(16, 43, 62, .10); }.roadmap-title::before, .roadmap-item::before { content: ""; position: absolute; top: -8px; left: 33%; width: 65px; height: 18px; background: var(--tape); transform: rotate(-3deg); }.roadmap-title { display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); background: var(--note-green); transform: rotate(-1.15deg); }.roadmap-title strong { font: 500 11px "DM Mono", monospace; letter-spacing: .09em; }.roadmap-title span { color: #365063; font-size: 12px; line-height: 1.4; }.roadmap-item { background: var(--note-yellow); transform: rotate(.7deg); }.roadmap-item:nth-child(3) { background: var(--note-blue); transform: rotate(-.6deg); }.roadmap-item:nth-child(4) { background: var(--note-pink); transform: rotate(.45deg); }.roadmap-item small { display: block; margin-bottom: 9px; color: var(--teal); font: 500 10px "DM Mono", monospace; letter-spacing: .06em; }.roadmap-item strong { font-size: 14px; }
.site-footer { padding: 25px 0; border-top: 1px solid var(--line); color: var(--muted); font: 11px "DM Mono", monospace; }
.access-dialog { width: min(510px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 0; box-shadow: 12px 15px 0 rgba(0, 0, 0, .18); color: var(--ink); background: var(--note-yellow); transform: rotate(-.55deg); }.access-dialog::backdrop { background: rgba(9, 31, 43, .65); }.access-dialog > section { position: relative; padding: 34px 29px 29px; }.access-dialog > section::before { content: ""; position: absolute; top: -9px; left: calc(50% - 38px); width: 76px; height: 20px; background: var(--tape); pointer-events: none; transform: rotate(2deg); }.dialog-head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 19px; }.dialog-head h2 { margin: 0; font: 700 28px/1.2 "DM Sans", "Noto Sans Thai", sans-serif; }.access-dialog p:not(.eyebrow) { color: #466273; line-height: 1.75; }.dialog-note { margin: 16px 0 0; padding-top: 15px; border-top: 1px dashed #c5b96d; font-size: 12px; }.close-button { position: relative; z-index: 3; width: 35px; height: 35px; border: 1px solid #c9bd69; border-radius: 0; color: var(--ink); background: rgba(255, 255, 255, .65); font-size: 21px; line-height: 1; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 23px; }.dialog-actions .primary-button, .dialog-actions .secondary-button { text-decoration: none; cursor: pointer; }
.access-auth-panel { margin-top: 18px; padding-top: 16px; border-top: 1px dashed #c5b96d; }.access-auth-panel p { margin-bottom: 14px; }
.access-form { display: grid; gap: 10px; margin-top: 17px; }.access-record { display: grid; grid-template-columns: 100px 1fr; gap: 8px 14px; padding: 14px; border: 1px dashed #c9bc69; background: rgba(255, 255, 255, .4); }.access-record span, .access-form label { color: #506a6e; font: 500 10px "DM Mono", monospace; letter-spacing: .05em; }.access-record strong { color: var(--ink); font-size: 13px; }.access-form select, .access-form textarea { width: 100%; box-sizing: border-box; border: 1px solid #b6aa5d; border-radius: 0; padding: 10px 11px; color: var(--ink); background: rgba(255, 255, 255, .76); font: inherit; }.access-form textarea { min-height: 105px; resize: vertical; }.access-form .dialog-actions { margin-top: 5px; }.access-form .primary-button { border-radius: 0; font: 500 11px "DM Mono", monospace; }
.access-auth-panel[hidden], .access-form[hidden] { display: none; }

@media (max-width: 850px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.catalog-roadmap { grid-template-columns: 180px 1fr; }.roadmap-item:last-child { grid-column: 2; } }
@media (hover: hover) and (pointer: fine) { .catalog-principle, .roadmap-title, .roadmap-item { transition: transform .18s ease, box-shadow .18s ease; }.catalog-principle:hover { box-shadow: 8px 10px 0 var(--pinned-shadow); transform: translateY(-2px) rotate(-1.3deg); }.roadmap-title:hover { box-shadow: 9px 11px 0 var(--pinned-shadow); transform: translateY(-2px) rotate(-1.15deg); }.roadmap-item:hover { box-shadow: 9px 11px 0 var(--pinned-shadow); transform: translateY(-2px) rotate(.7deg); }.roadmap-item:nth-child(3):hover { transform: translateY(-2px) rotate(-.6deg); }.roadmap-item:nth-child(4):hover { transform: translateY(-2px) rotate(.45deg); } }
@media (max-width: 680px) { .header-inner { position: relative; min-height: 63px; }.mobile-menu-toggle { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; margin-left: auto; padding: 6px 10px; border: 1px solid #8aa9a5; border-radius: 0; color: var(--teal-dark); background: var(--white); font: 500 11px "DM Mono", monospace; }.header-actions { position: absolute; top: calc(100% - 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 14px 14px; border: 1px solid var(--line); border-top: 0; background: var(--paper); box-shadow: 0 8px 12px rgba(16, 43, 62, .10); }.site-header.mobile-menu-open .header-actions { display: flex; }.back-link, .account-link, .login-link { display: flex; min-height: 42px; align-items: center; padding: 10px 4px; border-bottom: 1px solid #dce5e1; font-size: 13px; }.header-actions a:last-child { border-bottom: 0; }.login-link { justify-content: center; margin-top: 8px; padding: 9px 11px; border: 0; }.catalog-section { padding: 22px 0 57px; }.catalog-head { align-items: flex-start; flex-direction: column; gap: 14px; }.catalog-aside { width: 100%; justify-items: start; }.catalog-principle { width: min(216px, 100%); }.catalog-filters { gap: 5px; padding: 11px 0 15px; }.catalog-filter { min-height: 30px; padding: 5px 8px; font-size: 9px; }.product-grid { grid-template-columns: 1fr; gap: 22px; }.product-card { min-height: 0; }.catalog-roadmap { grid-template-columns: 1fr; gap: 22px; }.roadmap-title, .roadmap-item, .roadmap-item:last-child { min-height: auto; }.roadmap-item:last-child { grid-column: auto; }.access-dialog { transform: none; } }