/* Editorial imagery and motion. No JavaScript class is needed to reveal content. */
:root { --soft-green: #edf0e5; --radius-editorial: 22px; }
figure { margin: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px 20px; background: var(--green); color: white; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-content { min-height: 70vh; }
.site-content:focus { outline: none; }
.mobile-menu { display: none; }

/* Header & Brand Identity Layout */
header {
    position: relative;
    padding: clamp(14px, 1.8vw, 20px) max(5vw, 20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 2.5vw, 32px);
    min-height: 80px;
}
header nav.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.6vw, 22px);
    font-size: 13px;
    flex-shrink: 0;
}

/* Brand Identity & Official Logo */
header .brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1;
    margin: 0;
    padding: 2px 0;
}
header .brand picture {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
header .brand-logo {
    height: 58px;
    width: auto;
    max-height: 64px;
    aspect-ratio: 1024 / 341;
    object-fit: contain;
    display: block;
    transition: transform 180ms ease, opacity 180ms ease;
    flex-shrink: 0;
}
header .brand:hover {
    text-decoration: none;
}
header .brand:hover .brand-logo {
    transform: translateY(-1px);
}

/* Desktop Screens (1024px and above) */
@media (min-width: 1024px) {
    header {
        min-height: 92px;
        padding: clamp(14px, 1.6vw, 20px) max(5vw, 24px);
    }
    header .brand-logo {
        height: 68px;
        width: auto;
        max-height: none;
        max-width: none;
        object-fit: contain;
    }
}

/* Tablet Sizing (621px - 900px) */
@media (max-width: 900px) {
    header {
        min-height: 72px;
        padding: 14px max(4vw, 18px);
        gap: 16px;
    }
    header .brand-logo {
        height: 48px;
        max-height: 52px;
    }
}

/* Mobile Sizing (<= 620px) */
@media (max-width: 620px) {
    header {
        min-height: 60px;
        padding: 10px 16px;
        gap: 12px;
    }
    header .brand-logo {
        height: 40px;
        max-height: 44px;
    }
    footer .brand-logo {
        height: 30px;
        max-height: 34px;
    }
}

/* Small Mobile Sizing (<= 360px) */
@media (max-width: 360px) {
    header {
        padding: 8px 12px;
    }
    header .brand-logo {
        height: 36px;
        max-height: 38px;
    }
}

/* Footer & Workspaces Brand Styling */
footer .brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
}
footer .brand-logo {
    height: 36px;
    width: auto;
    max-height: 40px;
    aspect-ratio: 1024 / 341;
    object-fit: contain;
    display: block;
}
.auth-brand {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.auth-logo {
    height: 44px;
    width: auto;
    max-width: 220px;
    aspect-ratio: 1024 / 341;
    object-fit: contain;
    display: block;
}
.workspace-brand {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.workspace-logo {
    height: 36px;
    width: auto;
    max-width: 190px;
    aspect-ratio: 1024 / 341;
    object-fit: contain;
    display: block;
}
.editorial-image { min-width: 0; }
.editorial-image picture { display: block; overflow: hidden; border-radius: var(--radius-editorial); background: var(--soft-green); }
.editorial-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.editorial-image figcaption { color: var(--muted); font-size: 11px; line-height: 1.5; padding: 10px 2px 0; }
.hero { align-items: center; gap: clamp(28px, 5vw, 85px); max-width: 1600px; margin-inline: auto; padding-block: clamp(46px, 6vw, 94px); }
.hero h1 { font-size: clamp(42px, 4.55vw, 72px); }
.hero-copy { min-width: 0; }
.hero-copy > p { font-size: 16px; line-height: 1.8; max-width: 510px; }
.heroart.hero-image { position: relative; background: transparent; padding: 0; transform: none; box-shadow: none; min-width: 0; }
.hero-image .editorial-image picture { border-radius: 30px 30px 90px 30px; box-shadow: 0 25px 50px #173f3515; }
.art-note { position: absolute; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid #d5dfcb; border-radius: 14px; background: var(--paper); box-shadow: 0 10px 30px #173f3510; pointer-events: none; font-size: 11px; line-height: 1.6; }
.art-note b { display: block; font-size: 13px; }
.art-note > span:first-child { color: var(--green); font-size: 30px; line-height: 1; }
.art-note-top { top: -20px; right: 24px; }
.art-note-bottom { bottom: 52px; left: -22px; background: var(--lime); border-color: var(--lime); }
.section { max-width: 1600px; margin-inline: auto; }
.workflow { padding-top: 55px; }
.workflow .sectionheading { align-items: end; margin-bottom: 28px; }
.workflow .sectionheading p { max-width: 340px; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.workflow-card { position: relative; padding: 27px 23px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.workflow-number { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 28px; border-radius: 50%; color: var(--green); background: var(--soft-green); font-size: 12px; font-weight: 700; }
.workflow-card h3 { font-size: 20px; margin-bottom: 12px; }
.workflow-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.workflow-card:hover, .workflow-card:focus-within { border-color: #8da86f; background: #f1f5e9; }
.workflow-card:hover .workflow-number, .workflow-card:focus-within .workflow-number { background: var(--lime); }
.collaboration { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 90px); }
.collaboration-copy { max-width: 470px; }
.collaboration-copy > p { font-size: 16px; color: var(--muted); line-height: 1.8; }
.collaboration h2 { font-size: clamp(32px, 3.2vw, 50px); }
.collaboration h2 em { font-style: normal; color: #66834b; }
.collaboration .editorial-image picture { border-radius: 24px 70px 24px 24px; }
.collaboration-notes { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.collaboration-notes span { border: 1px solid var(--line); border-radius: 30px; padding: 6px 11px; font-size: 11px; }
.productvisual { aspect-ratio: 6 / 5; min-height: 0; }
.productvisual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.productvisual > span:not(.category) { align-self: center; }
.productcard { box-shadow: 0 4px 16px #173f3504; }
.productcard:hover, .productcard:focus-within { border-color: #9aaf89; box-shadow: 0 14px 30px #173f3510; }
.productcard a:hover { text-decoration: none; }
.productbody h3 a:hover { text-decoration: underline; }
.plans .panel { border-radius: 16px; }
.plans .featured-plan { background: #eef3e4; border-color: #8da86f; }
.plans .featured-plan .eyebrow { color: var(--green); }
.auth-art { margin-top: 28px; max-width: 440px; }
.auth-art picture { border-radius: 18px 55px 18px 18px; }
.dashboardbanner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(200px, .85fr); align-items: center; gap: 28px; }
.dashboardbanner .editorial-image picture { border-radius: 14px; }
.dashboardbanner .editorial-image figcaption { color: #d5dfcf; font-size: 10px; }
.dashboardbanner .eyebrow { color: var(--lime); }
.dashboardbanner:has(> span) { display: flex; }
.workspace-guide { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style-position: inside; margin: 22px 0 0; padding: 0; font-size: 11px; color: var(--lime); }
.workspace-guide li::marker { color: var(--lime); font-weight: 700; }
.campaign { scroll-margin-top: 24px; }
.campaign:focus-within, .campaign:target { border-color: #8da86f; }
.detailgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 45px; grid-column: 1 / -1; }
.productdetail > a { grid-column: 1 / -1; }
.productdetail .big { border-radius: 20px; align-self: start; }
.productdetail .big img { border-radius: 20px; }
.productdetail .notice { margin-inline: 0; }
.productdetail h1 { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: no-preference) {
    .hero-copy { animation: hero-arrive 650ms cubic-bezier(.2,.7,.3,1) both; }
    .hero-image { animation: hero-arrive 800ms cubic-bezier(.2,.7,.3,1) both; }
    .art-note { animation: gentle-float 7s ease-in-out infinite; }
    .art-note-bottom { animation-duration: 9s; animation-direction: reverse; }
    .productcard { transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
    .productvisual img { transition: transform 400ms ease; }
    .workflow-card, .workflow-number { transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease; }
    .campaign { transition: border-color 200ms ease; }
    @media (hover: hover) {
        .productcard:hover { transform: translateY(-4px); }
        .productcard:hover .productvisual img { transform: scale(1.025); }
        .workflow-card:hover { transform: translateY(-3px); }
    }
}
@keyframes hero-arrive { from { opacity: .75; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gentle-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (min-width: 1600px) { .hero, .section { padding-inline: 80px; } }
@media (max-width: 1100px) {
    .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero h1 { font-size: clamp(38px, 4.6vw, 51px); }
    .art-note { padding: 10px 12px; }
    .art-note-bottom { left: -10px; bottom: 44px; }
}
@media (max-width: 700px) {
    header .desktop-nav { display: none; }
    .mobile-menu { display: block; border: 0; padding: 0; margin: 0; }
    .mobile-menu summary { margin: 0; border: 1px solid #b9c6bc; border-radius: 8px; padding: 10px 14px; font-size: 12px; }
    .mobile-menu nav { position: absolute; top: calc(100% - 4px); right: 16px; z-index: 10; display: grid; gap: 2px; min-width: 220px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 12px 30px #173f351a; }
    .mobile-menu nav > a, .mobile-menu nav > a:not(.button) { display: block; padding: 10px 12px; font-size: 13px; }
    .mobile-menu nav form { padding: 6px; }
    .hero { grid-template-columns: 1fr; gap: 46px; }
    .hero h1 { font-size: clamp(40px, 9.8vw, 60px); }
    .hero-copy > p { font-size: 15px; }
    .hero-image { max-width: 560px; width: 100%; margin-inline: auto; }
    .art-note-bottom { left: 12px; bottom: 50px; }
    .art-note-top { top: -16px; right: 16px; }
    .hero-image .editorial-image picture { border-radius: 22px 22px 65px 22px; }
    .collaboration { grid-template-columns: 1fr; gap: 28px; }
    .collaboration-copy { max-width: none; }
    .workflow .sectionheading { display: block; }
    .workflow .sectionheading p { max-width: none; }
    .workflow-card { padding: 22px; }
    .workflow-number { margin-bottom: 20px; }
    .auth-art { max-width: 440px; }
    .authpage > aside { display: grid; grid-template-columns: 1fr 150px; gap: 12px; align-items: start; }
    .authpage > aside > :not(.auth-art) { grid-column: 1; }
    .auth-art { grid-column: 2; grid-row: 1 / 5; margin-top: 0; align-self: center; }
    .auth-art figcaption { font-size: 9px; }
    .auth-art picture { border-radius: 14px; }
    .dashboardbanner { grid-template-columns: 1fr; gap: 22px; }
    .dashboardbanner .editorial-image { max-width: 430px; }
    .detailgrid { grid-template-columns: 1fr; gap: 28px; }
    .workspace-guide { gap: 8px 18px; }
}
@media (max-width: 450px) {
    .workflow-grid { grid-template-columns: 1fr; }
    .workflow-card { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; }
    .workflow-number { grid-row: 1 / 3; margin-bottom: 0; }
    .workflow-card h3, .workflow-card p { grid-column: 2; }
    .authpage > aside { display: block; }
    .auth-art { display: none; }
    .art-note { font-size: 9px; gap: 8px; padding: 9px 12px; }
    .art-note b { font-size: 11px; }
    .art-note > span:first-child { font-size: 24px; }
    .art-note-bottom { bottom: 47px; }
    .hero .actions .button { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-copy, .hero-image, .art-note, .productcard, .productvisual img, .workflow-card, .workflow-number, .campaign, [data-reveal] { animation: none !important; transition: none !important; transform: none !important; }
}

/* Seller and creator editorial cards. All actions work without motion or JavaScript. */
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.audience-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: white; }
.audience-card .editorial-image picture { border-radius: 0; }
.audience-card .editorial-image figcaption { padding: 12px 26px 0; }
.audience-body { padding: 28px; }
.audience-body h3 { font-size: clamp(27px, 2.4vw, 36px); letter-spacing: -1px; }
.audience-body > p { color: var(--muted); max-width: 490px; }
.audience-body .eyebrow { margin-bottom: 14px; }
.audience-card-creator { background: var(--green); color: white; border-color: var(--green); }
.audience-card-creator .eyebrow { color: var(--lime); }
.audience-card-creator .editorial-image figcaption, .audience-card-creator .audience-body > p { color: #d5dfcf; }
.audience-card:focus-within { outline: 2px solid #91b65e; outline-offset: 4px; }
.cta-arrow { display: inline-block; margin-left: 5px; }
@media (prefers-reduced-motion: no-preference) {
    .audience-card .editorial-image img { transition: transform 500ms cubic-bezier(.2,.7,.3,1); }
    .cta-arrow { transition: transform 180ms ease; }
    .cta-motion:hover .cta-arrow, .cta-motion:focus-visible .cta-arrow { transform: translate(3px, -3px); }
    .mobile-menu[open] nav { animation: menu-arrive 180ms ease-out; transform-origin: top right; }
    @media (hover: hover) {
        .audience-card:hover .editorial-image img, .audience-card:focus-within .editorial-image img { transform: scale(1.025); }
    }
}
@keyframes menu-arrive { from { opacity: .8; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) {
    .audience-grid { grid-template-columns: 1fr; gap: 24px; }
    .audience-body { padding: 24px; }
    .audience-card .editorial-image figcaption { padding-inline: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .audience-card .editorial-image img, .cta-arrow, .mobile-menu[open] nav { animation: none !important; transition: none !important; transform: none !important; }
}

/* Password Field Enhancement & Eye Toggle */
.password-field-group {
    margin-bottom: 16px;
    width: 100%;
}
.password-field-group label.password-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink);
}
.password-input-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}
.password-input-wrap input.password-input {
    width: 100% !important;
    margin-top: 0 !important;
    padding: 11px 48px 11px 14px !important;
    border: 1px solid #ccd4c9;
    border-radius: 6px;
    background: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ink);
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
    box-sizing: border-box !important;
}
.password-input-wrap input.password-input:focus {
    outline: none;
    border-color: #173f35;
    box-shadow: 0 0 0 3px rgba(23, 63, 53, 0.15);
}
.password-input-wrap input.password-input.input-error {
    border-color: #dc2626;
    background-color: #fffafa;
}
.password-input-wrap input.password-input.input-match {
    border-color: #16a34a;
}
.password-input-wrap button.password-toggle-btn,
.authform .password-input-wrap button.password-toggle-btn,
.auth .password-input-wrap button.password-toggle-btn,
.panel .password-input-wrap button.password-toggle-btn {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 6px !important;
    color: #65736c !important;
    cursor: pointer !important;
    line-height: 1 !important;
    text-align: center !important;
    transition: color 150ms ease, background-color 150ms ease;
    z-index: 5 !important;
    box-shadow: none !important;
}
.password-input-wrap button.password-toggle-btn:hover,
.authform .password-input-wrap button.password-toggle-btn:hover,
.panel .password-input-wrap button.password-toggle-btn:hover {
    color: #173f35 !important;
    background-color: rgba(23, 63, 53, 0.08) !important;
}
.password-input-wrap button.password-toggle-btn:focus-visible,
.authform .password-input-wrap button.password-toggle-btn:focus-visible,
.panel .password-input-wrap button.password-toggle-btn:focus-visible {
    outline: 2px solid #173f35 !important;
    outline-offset: 1px !important;
    color: #173f35 !important;
}

/* Strictly enforce single-icon display: inactive SVG is ALWAYS display: none !important */
.password-toggle-btn svg {
    pointer-events: none !important;
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
}

/* In default hidden password state: eye is block, eye-off is none */
.password-toggle-btn .eye-icon {
    display: block !important;
}
.password-toggle-btn .eye-off-icon {
    display: none !important;
}

/* When password visibility is toggled on (via aria-pressed="true" OR .is-visible class): eye is none, eye-off is block */
.password-toggle-btn[aria-pressed="true"] .eye-icon,
.password-toggle-btn.is-visible .eye-icon {
    display: none !important;
}
.password-toggle-btn[aria-pressed="true"] .eye-off-icon,
.password-toggle-btn.is-visible .eye-off-icon {
    display: block !important;
}

/* Password Strength Meter */
.password-meter-wrap {
    margin-top: 6px;
    width: 100%;
}
.meter-bar-track {
    width: 100%;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}
.meter-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width 220ms ease, background-color 220ms ease;
}
.meter-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    margin-top: 4px;
    color: #65736c;
}
.meter-score {
    font-weight: 600;
}
.meter-hint {
    color: #8a968f;
    font-size: 11px;
}

/* Password Validation Feedback */
.password-feedback {
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
    line-height: 1.4;
    transition: opacity 150ms ease;
}
.password-feedback.error {
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 4px;
}
.password-feedback.success {
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Seller-First Launch & Mobile Refinements */
.pilot-invitation-section {
    padding: 30px max(4vw, 16px);
}
@media (max-width: 768px) {
    .pilot-invitation-section .panel.padded {
        padding: 1.5rem 1rem !important;
    }
    .pilot-invitation-section h2 {
        font-size: 1.6rem !important;
    }
}
.tablewrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 6px;
}
.tablewrap table {
    min-width: 580px;
}
button, .button, input[type="submit"] {
    min-height: 40px;
    touch-action: manipulation;
}
@media (max-width: 640px) {
    .stats {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .stats article {
        padding: 10px !important;
    }
    .stats strong {
        font-size: 20px !important;
    }
    .workspace {
        padding: 16px 8px !important;
    }
}
