:root {
    color-scheme: light;
    --ztpos-bg: #FAF9FB;
    --ztpos-paper: #FFFFFF;
    --ztpos-paper-soft: #F5F3F6;
    --ztpos-ink: #1B1C1E;
    --ztpos-ink-soft: #3D4A42;
    --ztpos-muted: #6D7A72;
    --ztpos-line: #E3E2E5;
    --ztpos-line-strong: #BCCAC0;
    --ztpos-sage: #006948;
    --ztpos-sage-deep: #004D34;
    --ztpos-sage-soft: #F5FFF7;
    --ztpos-mint: #00855D;
    --ztpos-cream: #F5F3F6;
    --ztpos-peach: #6CF8BB;
    --ztpos-amber: #D97706;
    --ztpos-danger: #BA1A1A;
    --ztpos-success: #006948;
    --ztpos-warning: #D97706;
    --radius-card: 28px;
    --radius-soft: 16px;
    --shadow-card: 0 4px 20px -2px rgba(0, 105, 72, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
    --shadow-floating: 0 25px 50px -12px rgba(0, 105, 72, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    font-family:
        'Inter',
        'Noto Sans TC',
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--ztpos-ink);
    background: var(--ztpos-bg);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ztpos-ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(205, 231, 216, .45), transparent 30rem),
        radial-gradient(circle at 88% 4%, rgba(235, 243, 238, .55), transparent 32rem),
        linear-gradient(180deg, #ffffff 0%, var(--ztpos-bg) 42%, #f8f6f0 100%);
    font-feature-settings: "kern" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    line-height: 1.72;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(88, 116, 102, .28);
    outline-offset: 3px;
}

.portal-page {
    min-height: 100vh;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(231, 224, 210, .78);
    background: rgba(251, 250, 246, .88);
    backdrop-filter: blur(18px);
}

.nav-inner,
.page-section,
.portal-footer {
    width: min(1260px, calc(100% - 40px));
    margin: 0 auto;
}

.nav-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ztpos-ink);
    text-decoration: none;
    font-weight: 760;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1.5px solid rgba(16, 185, 129, .25);
    border-radius: 13px;
    background: linear-gradient(135deg, #0f5132 0%, #10b981 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, .25);
    letter-spacing: -.02em;
    font-weight: 800;
}

.brand-name {
    display: grid;
    line-height: 1.16;
    letter-spacing: .03em;
}

.brand-name small {
    color: var(--ztpos-muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--ztpos-ink-soft);
    font-size: 14px;
    font-weight: 650;
}

.nav-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 9px 12px;
    color: var(--ztpos-ink-soft);
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    background: rgba(232, 240, 235, .86);
    color: var(--ztpos-sage-deep);
}

.nav-links a:hover {
    transform: translateY(-1px);
}

.nav-cta {
    border: 1px solid rgba(49, 75, 65, .1);
    background: linear-gradient(180deg, #5f7d6e 0%, #415e52 100%);
    color: #fffef9 !important;
    box-shadow: 0 10px 22px rgba(49, 75, 65, .18);
}

.nav-cta:hover {
    background: linear-gradient(180deg, #668775 0%, #314b41 100%) !important;
    color: #fffef9 !important;
}

.hero {
    padding-top: 56px;
    padding-bottom: 48px;
}

.page-section.hero:has(.product-frame) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(540px, 1.25fr);
    align-items: center;
    gap: 48px;
}

.hero-copy {
    max-width: 640px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--ztpos-sage);
    font-size: 14px;
    font-weight: 760;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, .25);
    border-radius: 999px;
    color: #065f46;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, .08);
}

.hero-cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 28px 0 20px;
}

.hero-cta-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-cta-btns a.primary-action {
    min-height: 52px;
    padding: 13px 26px;
    font-size: 16px;
    font-weight: 750;
    border-radius: 999px;
    background: linear-gradient(180deg, #3d6351 0%, #254034 100%);
    color: #ffffff !important;
    box-shadow: 0 12px 26px rgba(37, 64, 52, .24);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all .18s ease;
}

.hero-cta-btns a.primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(37, 64, 52, .32);
    background: linear-gradient(180deg, #48725e 0%, #1e352b 100%);
}

.hero-cta-btns a.secondary-action {
    min-height: 52px;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 650;
    border-radius: 999px;
    background: #ffffff;
    border: 1.5px solid var(--ztpos-line);
    color: var(--ztpos-ink-soft);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .18s ease;
}

.hero-cta-btns a.secondary-action:hover {
    transform: translateY(-1px);
    border-color: var(--ztpos-sage);
    color: var(--ztpos-sage-deep);
    background: #fdfdfc;
}

.hero-file-hint {
    font-size: 14px;
    color: var(--ztpos-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-file-hint a {
    color: var(--ztpos-sage-deep);
    font-weight: 650;
    text-decoration: underline;
}

.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid rgba(231, 224, 210, .7);
    margin-top: 6px;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 650;
    color: var(--ztpos-ink-soft);
}

.hero-trust-item span.check-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ztpos-sage-soft);
    color: var(--ztpos-sage-deep);
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 800;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.22;
    letter-spacing: -0.02em;
    font-weight: 820;
    text-wrap: balance;
}

.hero-title {
    color: #0f172a;
}

.hero-highlight {
    background: linear-gradient(135deg, #1f4e38 0%, #153827 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.16;
    letter-spacing: -.045em;
    font-weight: 810;
    text-wrap: balance;
}

h3 {
    color: var(--ztpos-ink);
    letter-spacing: -.02em;
}

.summary {
    max-width: 760px;
    color: var(--ztpos-ink-soft);
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.88;
    text-wrap: pretty;
}

.fineprint,
.muted {
    color: var(--ztpos-muted);
    font-size: 14px;
    line-height: 1.75;
}

.warning-note {
    max-width: 820px;
    margin: 18px 0 0;
    border: 1px solid rgba(187, 122, 50, .28);
    border-radius: var(--radius-soft);
    background: rgba(246, 234, 209, .68);
    color: #6c4a20;
    padding: 15px 17px;
    font-size: 15px;
    line-height: 1.75;
}

.warning-note strong {
    display: block;
    color: #7a4f1b;
    font-size: 16px;
    font-weight: 720;
}

.release-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.release-meta-grid div {
    min-width: 0;
    border: 1px solid rgba(187, 122, 50, .18);
    border-radius: 10px;
    background: rgba(255, 255, 255, .62);
    padding: 10px 12px;
}

.release-meta-grid span {
    display: block;
    color: var(--ztpos-muted);
    font-size: 14px;
    font-weight: 800;
}

.release-meta-grid strong {
    margin-top: 4px;
    color: var(--ztpos-ink);
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 16px;
}

.button,
.actions a,
.panel-form button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--ztpos-line);
    border-radius: 999px;
    background: rgba(255, 254, 251, .78);
    color: var(--ztpos-sage-deep);
    padding: 11px 18px;
    text-decoration: none;
    font-weight: 650;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border .18s ease;
}

.button:hover,
.actions a:hover,
.panel-form button:hover {
    transform: translateY(-1px);
    background: #fffefb;
    border-color: var(--ztpos-line-strong);
}

.actions a.primary-action,
.primary-action,
.button.primary,
.panel-form button {
    border-color: rgba(49, 75, 65, .12);
    background: linear-gradient(180deg, #5f7d6e 0%, #415e52 100%);
    color: #fffef9 !important;
    box-shadow: 0 10px 22px rgba(49, 75, 65, .18);
}

.button.secondary,
.actions a:not(.primary-action) {
    background: rgba(255, 254, 251, .78);
}

.primary-action:hover,
.primary-action:focus-visible,
.button.primary:hover,
.button.primary:focus-visible,
.panel-form button:hover,
.panel-form button:focus-visible {
    background: linear-gradient(180deg, #668775 0%, #314b41 100%);
    color: #fffef9 !important;
}

.product-frame {
    position: relative;
    margin-top: 0;
    border: 1px solid rgba(200, 195, 185, .9);
    border-radius: var(--radius-card);
    background: #ffffff;
    box-shadow: 0 20px 48px -12px rgba(49, 75, 65, .16), 0 2px 6px rgba(0, 0, 0, .04);
    overflow: hidden;
}

.product-titlebar {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--ztpos-line);
    background: #f8fafc;
    padding: 0 16px;
    color: var(--ztpos-muted);
    font-size: 14px;
    font-weight: 650;
}

.window-controls {
    display: flex;
    gap: 7px;
}

.window-controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ded6c7;
}

.window-controls span:nth-child(2) {
    background: var(--ztpos-mint);
}

.window-controls span:nth-child(3) {
    background: var(--ztpos-peach);
}

.pos-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #065f46;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, .2);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, .3);
}

.product-workspace {
    display: grid;
    grid-template-columns: 56px minmax(280px, 1.15fr) minmax(230px, 1fr);
    min-height: 440px;
    background: #fafaf9;
}

.mock-sidebar {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 8px;
    border-right: 1px solid var(--ztpos-line);
    background: #ffffff;
    padding: 16px 4px;
}

.mock-sidebar div {
    width: 44px;
    min-height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--ztpos-muted);
    font-size: 16px;
    font-weight: 650;
    cursor: default;
    transition: all .15s ease;
}

.mock-sidebar .active {
    background: var(--ztpos-sage-deep);
    color: #fffef9;
    box-shadow: 0 4px 10px rgba(49, 75, 65, .25);
}

.mock-panel {
    padding: 18px;
}

.mock-card,
.stat-card,
.feature-card,
.release-card,
.step-card {
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .82);
    box-shadow: var(--shadow-card);
}

.mock-card {
    padding: 18px;
}

.mock-card header,
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.mock-card h3,
.feature-card h3,
.release-card h3,
.step-card h3 {
    margin: 0 0 9px;
    font-size: 20px;
    line-height: 1.32;
    font-weight: 720;
}

.mock-list {
    display: grid;
    gap: 10px;
}

.mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(231, 224, 210, .9);
    border-radius: var(--radius-soft);
    background: #fffefb;
    padding: 11px 12px;
    color: var(--ztpos-ink-soft);
    font-size: 14px;
    font-weight: 650;
}

.mock-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-tile {
    min-height: 96px;
    border: 1.5px solid var(--ztpos-line);
    border-radius: 16px;
    background: #ffffff;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--ztpos-ink);
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    transition: all .18s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    user-select: none;
}

.product-tile:hover {
    transform: translateY(-2px);
    border-color: var(--ztpos-sage);
    box-shadow: 0 8px 18px -4px rgba(88, 116, 102, .2);
    background: #fbfdfc;
}

.product-tile:active {
    transform: scale(0.97);
}

.tile-title {
    font-size: 14px;
    font-weight: 750;
    color: var(--ztpos-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tile-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.tile-bottom small {
    color: var(--ztpos-sage-deep);
    font-size: 14px;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, monospace;
}

.tile-add {
    font-size: 14px;
    font-weight: 600;
    color: var(--ztpos-sage);
    background: var(--ztpos-sage-soft);
    padding: 2px 6px;
    border-radius: 6px;
}

.section-band {
    padding: 74px 0;
}

.section-band.surface {
    background: rgba(255, 254, 251, .58);
    border-top: 1px solid rgba(231, 224, 210, .84);
    border-bottom: 1px solid rgba(231, 224, 210, .84);
}

.grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.route-card,
.fit-guide,
.checklist-panel {
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .86);
    box-shadow: var(--shadow-card);
}

.route-card {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 24px;
}

.route-card.recommended {
    border-color: rgba(79, 141, 104, .34);
    background: linear-gradient(180deg, rgba(255, 254, 251, .96), rgba(232, 240, 235, .84));
}

.route-card.caution {
    border-color: rgba(187, 122, 50, .32);
    background: linear-gradient(180deg, rgba(255, 254, 251, .96), rgba(246, 234, 209, .68));
}

.route-card-head {
    display: grid;
    gap: 9px;
}

.route-card h3,
.fit-guide h4,
.checklist-panel h4 {
    margin: 0;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 760;
}

.route-card p,
.fit-guide p,
.checklist-panel p {
    margin: 0;
    color: var(--ztpos-muted);
    line-height: 1.75;
}

.route-status {
    width: fit-content;
    border: 1px solid rgba(88, 116, 102, .22);
    border-radius: 999px;
    background: rgba(232, 240, 235, .9);
    color: var(--ztpos-sage-deep);
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 780;
}

.route-list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 20px;
    color: var(--ztpos-ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

.route-card .button {
    align-self: end;
    width: fit-content;
}

.fit-guide,
.checklist-panel {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    padding: 18px;
}

.checklist-list {
    display: grid;
    gap: 10px;
}

.checklist-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border: 1px solid var(--ztpos-line);
    border-radius: 16px;
    background: rgba(255, 254, 251, .76);
    padding: 11px 12px;
    color: var(--ztpos-ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

.checklist-item input {
    width: 18px;
    height: 18px;
    margin: 4px 0 0;
    accent-color: var(--ztpos-sage-deep);
}

.checklist-status {
    min-height: 28px;
    margin: 0;
    color: var(--ztpos-sage-deep) !important;
    font-size: 14px;
    font-weight: 760;
}

.primary-action:disabled,
button.primary-action:disabled {
    cursor: not-allowed;
    border-color: var(--ztpos-line);
    background: #d8d2c7;
    color: #746f66 !important;
    box-shadow: none;
    transform: none;
}

.member-entry-grid {
    margin-bottom: 16px;
}

.nav-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ztpos-line);
    border-radius: 999px;
    background: rgba(255, 254, 251, .78);
    color: var(--ztpos-sage-deep);
    padding: 9px 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

.member-hero {
    padding-bottom: 36px;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    padding-bottom: 32px;
}

.member-grid + .member-grid {
    padding-top: 0;
}

.member-page .panel {
    grid-column: span 12;
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .86);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.member-page .panel > header {
    border-bottom: 1px solid var(--ztpos-line);
    background: rgba(245, 241, 232, .82);
    padding: 16px 18px;
}

.member-page .panel > header h2 {
    margin: 0;
    color: var(--ztpos-ink);
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.member-page .panel-body {
    padding: 18px;
}

.member-page .span-4 {
    grid-column: span 4;
}

.member-page .span-6 {
    grid-column: span 6;
}

.member-page .span-8 {
    grid-column: span 8;
}

.member-page .span-12 {
    grid-column: span 12;
}

.member-page label {
    display: grid;
    gap: 7px;
    margin: 12px 0 0;
    color: var(--ztpos-ink-soft);
    font-size: 14px;
    font-weight: 650;
}

.member-page input,
.member-page select,
.member-page textarea {
    width: 100%;
    border: 1px solid var(--ztpos-line-strong);
    border-radius: 16px;
    background: #fffefb;
    color: var(--ztpos-ink);
    font: inherit;
    padding: 11px 13px;
}

.member-page input[type="checkbox"] {
    width: auto;
    min-height: 0;
    margin-right: 8px;
}

.member-page textarea {
    min-height: 110px;
    resize: vertical;
}

.member-page .actions {
    margin: 16px 0 0;
}

.member-page button:not(.nav-button),
.member-page .button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(49, 75, 65, .12);
    border-radius: 999px;
    background: linear-gradient(180deg, #5f7d6e 0%, #415e52 100%);
    color: #fffef9;
    padding: 11px 18px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(49, 75, 65, .14);
}

.member-page button.secondary {
    border-color: var(--ztpos-line);
    background: rgba(255, 254, 251, .78);
    color: var(--ztpos-sage-deep);
    box-shadow: none;
}

.member-page button:not(.nav-button):hover,
.member-page button:not(.nav-button):focus-visible,
.member-page .button:hover,
.member-page .button:focus-visible {
    background: linear-gradient(180deg, #668775 0%, #314b41 100%);
    color: #fffef9;
    border-color: rgba(49, 75, 65, .16);
}

.member-page button.secondary:hover,
.member-page button.secondary:focus-visible,
.member-page .button.secondary:hover,
.member-page .button.secondary:focus-visible {
    background: #fffefb;
    color: var(--ztpos-sage-deep);
    border-color: var(--ztpos-line-strong);
}

.member-page .status-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.member-page .status {
    border: 1px solid var(--ztpos-line);
    border-radius: var(--radius-soft);
    background: #fffefb;
    padding: 14px;
}

.member-page .status strong {
    display: block;
    color: var(--ztpos-ink);
    font-size: 15px;
    margin-bottom: 3px;
}

.member-page .status span,
.member-page .message,
.member-page .row {
    font-size: 14px;
}

.member-page .status span,
.member-page .row span {
    color: var(--ztpos-muted);
}

.member-page .rows {
    display: grid;
    gap: 8px;
}

.member-page .row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(231, 224, 210, .7);
    padding: 9px 0;
}

.member-page .row:last-child {
    border-bottom: 0;
}

.member-page .feedback-card {
    display: grid;
    gap: 10px;
    border-bottom: 1px solid rgba(231, 224, 210, .7);
    padding: 12px 0;
}

.member-page .feedback-card:last-child {
    border-bottom: 0;
}

.member-page .feedback-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.member-page .feedback-card-header strong {
    color: var(--ztpos-ink);
    overflow-wrap: anywhere;
}

.member-page .feedback-message {
    margin: 0;
    border: 1px solid var(--ztpos-line);
    border-radius: 14px;
    background: rgba(245, 241, 232, .54);
    color: var(--ztpos-ink-soft);
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.member-page .feedback-supplement-form {
    display: grid;
    gap: 8px;
}

.member-page .feedback-supplement-form textarea {
    min-height: 82px;
}

.member-page .feedback-supplement-form output {
    align-self: center;
    color: var(--ztpos-muted);
    font-size: 14px;
    font-weight: 700;
}

.member-page .badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    background: var(--ztpos-sage-soft);
    color: var(--ztpos-sage-deep);
    padding: 2px 9px;
    font-size: 14px;
    font-weight: 720;
    white-space: nowrap;
}

.member-page .message {
    min-height: 24px;
    margin-top: 10px;
    color: var(--ztpos-sage-deep);
    font-weight: 720;
}

.member-page .error {
    color: var(--ztpos-danger);
}

.hidden {
    display: none !important;
}

.feature-card,
.release-card,
.step-card {
    padding: 24px;
}

.feature-card p,
.release-card p,
.step-card p,
.portal-footer p {
    margin: 0;
    color: var(--ztpos-muted);
    line-height: 1.72;
}

.feature-card a,
.release-card a,
.step-card a,
.portal-footer a {
    color: var(--ztpos-sage-deep);
    font-weight: 720;
    text-decoration-color: rgba(88, 116, 102, .3);
    text-underline-offset: 3px;
}

.feedback-forum-list {
    display: grid;
    gap: 14px;
}

.feedback-forum-item,
.feedback-forum-empty {
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .9);
    box-shadow: var(--shadow-card);
}

.feedback-forum-empty {
    padding: 22px;
    color: var(--ztpos-muted);
    line-height: 1.72;
}

.feedback-forum-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(112px, 148px);
    gap: 18px;
    align-items: center;
    padding: 18px;
}

.feedback-forum-item h3 {
    margin: 8px 0 0;
    font-size: 19px;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.feedback-forum-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.feedback-forum-meta span {
    border: 1px solid rgba(73, 107, 91, .2);
    border-radius: 999px;
    background: rgba(232, 245, 238, .78);
    color: var(--ztpos-sage-deep);
    padding: 4px 9px;
    font-size: 14px;
    font-weight: 720;
}

.feedback-vote-box {
    display: grid;
    justify-items: center;
    gap: 5px;
    border-left: 1px solid rgba(231, 224, 210, .96);
    padding-left: 18px;
    min-width: 0;
}

.feedback-vote-box strong {
    font-size: 28px;
    line-height: 1;
}

.feedback-vote-box span {
    color: var(--ztpos-muted);
    font-size: 14px;
}

.feedback-vote-box button {
    width: 100%;
    border: 1px solid rgba(73, 107, 91, .24);
    border-radius: 999px;
    background: var(--ztpos-sage-deep);
    color: #fffef9;
    padding: 9px 10px;
    font-weight: 760;
}

.feedback-vote-box button:disabled {
    cursor: default;
    opacity: .68;
}

.docs-search-panel {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.docs-search-panel label {
    color: var(--ztpos-ink);
    font-weight: 760;
}

.docs-search-panel input {
    width: 100%;
    border: 1px solid rgba(73, 107, 91, .24);
    border-radius: 999px;
    background: #fffefb;
    color: var(--ztpos-ink);
    padding: 13px 16px;
    font-size: 16px;
}

.docs-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.docs-search-card {
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .88);
    box-shadow: var(--shadow-card);
    padding: 20px;
    min-width: 0;
}

.docs-search-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.35;
}

.docs-search-card p {
    margin: 0 0 12px;
    color: var(--ztpos-muted);
    line-height: 1.72;
}

.docs-search-card a {
    color: var(--ztpos-sage-deep);
    font-weight: 760;
    text-underline-offset: 3px;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.stat-card {
    padding: 18px;
}

.stat-card strong {
    display: block;
    color: var(--ztpos-sage-deep);
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    border: 1px solid rgba(231, 224, 210, .95);
    border-radius: 999px;
    background: rgba(255, 254, 251, .68);
    color: var(--ztpos-muted);
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 650;
}

.status-ok {
    color: var(--ztpos-success);
}

.status-warn {
    color: var(--ztpos-warning);
}

.panel-form {
    max-width: 760px;
    display: grid;
    gap: 14px;
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .86);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.panel-form label {
    display: grid;
    gap: 7px;
    color: var(--ztpos-ink-soft);
    font-size: 14px;
    font-weight: 650;
}

.panel-form input,
.panel-form select,
.panel-form textarea {
    width: 100%;
    border: 1px solid var(--ztpos-line-strong);
    border-radius: 16px;
    background: #fffefb;
    color: var(--ztpos-ink);
    font: inherit;
    padding: 11px 13px;
}

.download-result {
    min-height: 42px;
    display: flex;
    align-items: center;
    color: var(--ztpos-muted);
    font-size: 14px;
    font-weight: 650;
}

.deploy-panel {
    border-top: 1px solid var(--ztpos-line);
    padding-top: 24px;
}

.deploy-panel dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 0;
}

.deploy-panel div {
    border: 1px solid var(--ztpos-line);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .82);
    padding: 18px;
}

.deploy-panel dt {
    color: var(--ztpos-muted);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.deploy-panel dd {
    margin: 8px 0 0;
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.55;
}

.portal-footer-wrap {
    border-top: 1px solid rgba(231, 224, 210, .9);
    background: rgba(255, 254, 251, .64);
}

.portal-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 34px 0 46px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-weight: 650;
}

@media (max-width: 980px) {
    .page-section.hero:has(.product-frame) {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

@media (max-width: 860px) {
    .nav-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 2px;
    }

    .nav-links a {
        flex: 1 1 calc(50% - 6px);
        justify-content: center;
        padding: 9px 8px;
        text-align: center;
    }

    .nav-links .nav-cta {
        flex-basis: 100%;
    }

    .nav-links .nav-button {
        flex: 1 1 100%;
        justify-content: center;
    }

    .hero {
        padding-top: 44px;
        padding-bottom: 46px;
    }

    h1 {
        font-size: clamp(38px, 13vw, 58px);
        letter-spacing: -.048em;
    }

    .summary {
        font-size: 17px;
        line-height: 1.82;
    }

    .product-workspace {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .product-titlebar {
        min-height: auto;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .mock-sidebar {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        border-right: 0;
        border-bottom: 1px solid var(--ztpos-line);
        padding: 10px;
    }

    .mock-sidebar div {
        width: auto;
        min-height: 42px;
        font-size: 14px;
    }

    .mock-panel {
        padding: 12px;
    }

    .mock-card header,
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .member-page .span-4,
    .member-page .span-6,
    .member-page .span-8 {
        grid-column: span 12;
    }

    .member-page .status-list {
        grid-template-columns: 1fr;
    }

    .tag {
        white-space: normal;
    }

    .mock-panel.product-area {
        grid-column: auto;
        padding-top: 0;
    }

    .mock-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .mock-grid {
        grid-template-columns: 1fr;
    }

    .section-band {
        padding: 58px 0;
    }

    .feedback-forum-item {
        grid-template-columns: 1fr;
    }

    .feedback-vote-box {
        border-left: 0;
        border-top: 1px solid rgba(231, 224, 210, .96);
        padding: 14px 0 0;
        justify-items: stretch;
    }

    .portal-footer {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .nav-inner,
    .page-section,
    .portal-footer {
        width: min(100% - 28px, 1168px);
    }
}

/* Interactive POS Simulator & Checkout */
.cart-header-count {
    font-size: 14px;
    font-weight: 750;
    color: #065f46;
    background: #d1fae5;
    padding: 2px 8px;
    border-radius: 999px;
}

.demo-cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px dashed var(--ztpos-line);
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 4px;
}

.demo-cart-row .remove-item {
    cursor: pointer;
    color: var(--ztpos-danger);
    background: none;
    border: none;
    font-size: 15px;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background .15s ease;
}

.demo-cart-row .remove-item:hover {
    background: rgba(178, 91, 74, .1);
}

.total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f4f7f5;
    border: 1px solid #d3ded7;
    margin-top: 10px;
}

.total-row span {
    font-size: 14px;
    font-weight: 700;
    color: var(--ztpos-ink-soft);
}

.total-row strong {
    font-size: 20px;
    font-weight: 850;
    color: var(--ztpos-sage-deep);
    font-family: ui-monospace, SFMono-Regular, monospace;
}

.btn-checkout {
    width: 100%;
    min-height: 44px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #3d6351 0%, #254034 100%);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(37, 64, 52, .24);
    transition: all .18s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-checkout:hover:not(:disabled) {
    background: linear-gradient(180deg, #48725e 0%, #1e352b 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 64, 52, .32);
}

.btn-checkout:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-reset {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--ztpos-muted);
    font-size: 14px;
    cursor: pointer;
    margin-top: 6px;
    text-decoration: underline;
    padding: 4px;
}

.demo-receipt-wrap {
    margin-top: 14px;
    padding: 16px;
    background: #fff;
    border: 1px dashed #b0aba1;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 1.6;
    animation: slideDownReceipt 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownReceipt {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dedicated 4 Pillars Features Section & Hero Promise */
.features-bar {
    padding: 36px 0 54px;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stat-card {
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(55, 65, 58, .04);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(55, 65, 58, .09);
    border-color: var(--ztpos-sage);
}

.stat-icon {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 2px;
}

.hw-svg-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: grid;
    place-items: center;
    color: #059669;
    margin-bottom: 8px;
    transition: transform .2s ease;
}

.stat-card:hover .hw-svg-icon {
    transform: scale(1.08);
}

.pos-scanner-bar {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pos-scan-btn {
    border: none;
    border-radius: 8px;
    background: #059669;
    color: #ffffff;
    font-size: 14px;
    font-weight: 750;
    padding: 5px 12px;
    cursor: pointer;
    transition: all .15s ease;
}

.pos-scan-btn:hover {
    background: #10b981;
    transform: translateY(-1px);
}

.pos-scan-btn:active {
    transform: scale(0.96);
}

.stat-card strong {
    font-size: 17px;
    font-weight: 780;
    color: var(--ztpos-ink);
}

.stat-card p.muted {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ztpos-muted);
    margin: 0;
}

.hero-promise-card {
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: 18px;
    background: rgba(255, 254, 251, .85);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-promise-card .fineprint {
    margin: 0;
    max-width: 680px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ztpos-muted);
}

.hero-promise-links {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--ztpos-ink-soft);
    font-weight: 600;
}

.hero-promise-links a {
    color: var(--ztpos-sage-deep);
    text-decoration: underline;
}

.hero-promise-links .sep {
    color: var(--ztpos-line-strong);
}

@media (max-width: 980px) {
    .page-section.hero:has(.product-frame) {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .metric-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-promise-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .metric-row {
        grid-template-columns: 1fr;
    }
    .product-workspace {
        grid-template-columns: 1fr;
    }
    .mock-sidebar {
        grid-template-columns: repeat(5, 1fr);
        border-right: 0;
        border-bottom: 1px solid var(--ztpos-line);
        padding: 8px;
    }
}
