:root {
    color-scheme: dark;
    --ink: #f7f3ea;
    --muted: #a9aaa7;
    --surface: #171b1e;
    --surface-2: #1e2327;
    --line: rgba(255, 255, 255, .12);
    --orange: #ff6b35;
    --orange-soft: #ff9a76;
    --mint: #a8e6cf;
    --mint-dark: #193c32;
    --focus: #fff1a8;
    --radius: 22px;
    --shadow: 0 24px 70px rgba(0, 0, 0, .32);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: #0e1113;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 107, 53, .12), transparent 26rem),
        radial-gradient(circle at 88% 30%, rgba(168, 230, 207, .08), transparent 28rem),
        #0e1113;
}

button,
input,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

button,
label,
input[type="file"] {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.dropzone:focus-within {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 100;
    transform: translateY(-180%);
    padding: .7rem 1rem;
    border-radius: 8px;
    color: #111;
    background: var(--focus);
}

.skip-link:focus {
    transform: none;
}

.site-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--ink);
    font-size: 1.02rem;
    letter-spacing: -.02em;
    text-decoration: none;
}

.brand strong {
    color: var(--orange-soft);
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: var(--orange);
    box-shadow: 0 9px 24px rgba(255, 107, 53, .24);
}

.brand-mark svg {
    width: 24px;
    fill: none;
    stroke: #17100d;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.privacy-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #c4c8c4;
    font-size: .78rem;
}

.privacy-chip span {
    color: var(--mint);
    font-size: .7rem;
    filter: drop-shadow(0 0 6px rgba(168, 230, 207, .5));
}

main {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.view {
    animation: view-in .32s ease-out;
}

@keyframes view-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

.hero {
    min-height: calc(100vh - 88px);
    padding: clamp(4rem, 9vw, 7rem) 0 3rem;
}

.hero-copy {
    max-width: 860px;
    margin: 0 auto clamp(2.5rem, 5vw, 4.2rem);
    text-align: center;
}

.eyebrow {
    margin: 0 0 .8rem;
    color: var(--orange-soft);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1,
h2,
p {
    text-wrap: balance;
}

h1,
h2 {
    letter-spacing: -.04em;
}

.hero h1 {
    max-width: 820px;
    margin: 0 auto;
    font-size: clamp(2.65rem, 7vw, 6rem);
    font-weight: 750;
    line-height: .98;
}

.hero-lead {
    max-width: 630px;
    margin: 1.5rem auto 0;
    color: #c5c4bf;
    font-size: clamp(1.02rem, 2vw, 1.25rem);
    line-height: 1.55;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
}

.role-card {
    position: relative;
    display: flex;
    min-height: 325px;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.45rem, 4vw, 2.25rem);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: left;
    box-shadow: var(--shadow);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.role-card::after {
    position: absolute;
    right: -3rem;
    bottom: -5rem;
    width: 15rem;
    height: 15rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "";
    opacity: .11;
}

.role-card:hover {
    transform: translateY(-6px);
}

.role-card--photographer {
    color: #17100d;
    border-color: rgba(255, 154, 118, .5);
    background: linear-gradient(145deg, #ff8153, #f45d28);
}

.role-card--photographer:hover {
    box-shadow: 0 26px 75px rgba(255, 107, 53, .22);
}

.role-card--customer {
    color: #0d241d;
    border-color: rgba(168, 230, 207, .5);
    background: linear-gradient(145deg, #c7f3e3, #8bd9bd);
}

.role-card--customer:hover {
    box-shadow: 0 26px 75px rgba(168, 230, 207, .17);
}

.role-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
    opacity: .55;
}

.role-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: auto;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 18px;
    background: rgba(255, 255, 255, .16);
}

.role-icon svg {
    width: 31px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.role-label {
    margin-top: 2.2rem;
    font-size: clamp(1.65rem, 4vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.role-description {
    max-width: 21rem;
    margin-top: .5rem;
    font-size: .98rem;
    line-height: 1.45;
    opacity: .78;
}

.role-action {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.1rem;
    border-top: 1px solid currentColor;
    font-size: .83rem;
    font-weight: 800;
    opacity: .82;
    text-transform: uppercase;
}

.role-action span {
    font-size: 1.3rem;
    transition: transform .2s ease;
}

.role-card:hover .role-action span {
    transform: translateX(5px);
}

.how-it-works {
    display: flex;
    max-width: 900px;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 2.3rem auto 0;
    color: var(--muted);
    font-size: .82rem;
}

.how-it-works > p {
    font-weight: 700;
    text-transform: uppercase;
}

.how-it-works ol {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.how-it-works li {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.how-it-works li span {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    font-size: .68rem;
}

.ad-slot {
    display: grid;
    grid-template-columns: auto 1fr auto;
    min-height: 118px;
    width: 100%;
    max-width: 970px;
    align-items: center;
    gap: 1rem;
    margin: 2.3rem auto 0;
    padding: 1.1rem 1.25rem;
    border: 1px dashed rgba(168, 230, 207, .55);
    border-radius: 16px;
    color: var(--muted);
    background:
        linear-gradient(135deg, rgba(168, 230, 207, .08), transparent 55%),
        rgba(255, 255, 255, .025);
}

.ad-slot__badge {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(168, 230, 207, .4);
    border-radius: 12px;
    color: var(--mint);
    background: rgba(168, 230, 207, .08);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.ad-slot__copy {
    display: grid;
    gap: .2rem;
    text-align: left;
}

.ad-slot__copy span {
    color: var(--mint);
    font-size: .58rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ad-slot__copy strong {
    color: var(--ink);
    font-size: .92rem;
}

.ad-slot__copy small {
    font-size: .72rem;
}

.ad-slot em {
    padding: .38rem .55rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: .58rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ad-slot--inside {
    min-height: 104px;
    margin-top: 1.5rem;
}

.ad-slot--completion {
    min-height: 104px;
    margin-top: 1.2rem;
}

.home-section {
    max-width: 1000px;
    margin: clamp(5rem, 10vw, 8rem) auto 0;
}

.home-section > h2,
.home-section > div > h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.04;
}

.platform-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 7vw, 6rem);
    align-items: start;
    padding-top: clamp(3rem, 7vw, 5rem);
    border-top: 1px solid var(--line);
}

.platform-copy {
    color: #c5c7c3;
    font-size: 1.03rem;
    line-height: 1.7;
}

.platform-copy p {
    margin: 0;
}

.platform-copy p + p {
    margin-top: 1.2rem;
}

.explain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.explain-grid article {
    min-height: 220px;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(23, 27, 30, .7);
}

.explain-grid article > span {
    color: var(--orange-soft);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.explain-grid h3 {
    margin: 2.8rem 0 .6rem;
    font-size: 1.45rem;
}

.explain-grid p,
.privacy-explainer p,
.section-lead {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.usecase-grid article {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(23, 27, 30, .7);
}

.usecase-grid h3 {
    margin: 0 0 .6rem;
    font-size: 1.15rem;
}

.usecase-grid p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.6;
}

.feature-section {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(2rem, 7vw, 6rem);
    align-items: start;
}

.section-lead {
    margin-top: 1rem;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    display: flex;
    min-height: 96px;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(23, 27, 30, .62);
}

.feature-list li > span {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 50%;
    color: #10241d;
    background: var(--mint);
    font-size: .72rem;
    font-weight: 900;
}

.feature-list strong,
.feature-list small {
    display: block;
}

.feature-list strong {
    margin-bottom: .25rem;
    font-size: .88rem;
}

.feature-list small {
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.4;
}

.privacy-explainer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    padding: clamp(1.5rem, 5vw, 2.8rem);
    border: 1px solid rgba(168, 230, 207, .25);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(25, 60, 50, .55), rgba(23, 27, 30, .75));
}

.privacy-symbol {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 16px;
    color: var(--mint);
    background: rgba(168, 230, 207, .1);
}

.privacy-explainer h2 {
    margin-bottom: 1rem !important;
}

.faq-section {
    padding-bottom: clamp(2rem, 8vw, 6rem);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-top: 2rem;
}

.faq-grid details {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(23, 27, 30, .72);
}

.faq-grid summary {
    padding: 1rem 1.1rem;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 750;
}

.faq-grid details p {
    margin: 0;
    padding: 0 1.1rem 1rem;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.5;
}

.workspace {
    min-height: calc(100vh - 88px);
    padding: clamp(2.2rem, 6vw, 5rem) 0;
}

.workspace-header {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: start;
    margin-bottom: 2.3rem;
}

.workspace-header > div {
    max-width: 760px;
}

.workspace-header h1 {
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    line-height: 1;
}

.workspace-header p:last-child {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.back-button,
.text-button {
    width: fit-content;
    padding: .45rem 0;
    border: 0;
    color: #c2c3c0;
    background: transparent;
    cursor: pointer;
}

.back-button:hover,
.text-button:hover {
    color: var(--ink);
}

.mode-tabs {
    display: flex;
    max-width: 760px;
    gap: .35rem;
    margin: 0 0 1rem 140px;
    padding: .35rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(23, 27, 30, .8);
}

.mode-tab {
    flex: 1;
    padding: .8rem 1rem;
    border: 0;
    border-radius: 10px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: .86rem;
    font-weight: 700;
}

.mode-tab.is-active {
    color: #18120f;
    background: var(--orange-soft);
}

.tool-panel {
    max-width: 760px;
    margin-left: 140px;
    padding: clamp(1.2rem, 4vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(23, 27, 30, .85);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.form-grid--details {
    align-items: start;
    margin-top: 1rem;
}

.field {
    display: grid;
    gap: .5rem;
}

.field > span {
    color: #d3d2cd;
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .02em;
}

.field small {
    color: var(--muted);
    font-weight: 500;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: #101416;
}

.field input {
    min-height: 49px;
    padding: 0 .9rem;
}

.field select {
    width: 100%;
    min-height: 49px;
    padding: 0 .9rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: #101416;
}

.field textarea {
    padding: .85rem;
    line-height: 1.5;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #707470;
}

.check-field {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin: 1rem 0 1.2rem;
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}

.check-field input {
    width: 18px;
    height: 18px;
    margin: .1rem 0 0;
    accent-color: var(--orange);
}

.check-field span {
    display: grid;
    gap: .18rem;
}

.check-field strong {
    font-size: .86rem;
}

.check-field small {
    color: var(--muted);
    line-height: 1.35;
}

.watermark-settings {
    margin-bottom: 1.2rem;
    padding: .2rem 1rem 1rem;
    border: 1px solid rgba(255, 154, 118, .25);
    border-radius: 14px;
    background: rgba(255, 107, 53, .035);
}

.watermark-settings > .check-field {
    margin-right: -1rem;
    margin-left: -1rem;
    border: 0;
    border-bottom: 1px solid rgba(255, 154, 118, .18);
    border-radius: 0;
}

.file-field input[type="file"] {
    padding: .7rem;
    color: var(--muted);
    font-size: .72rem;
}

.file-field input[type="file"]::file-selector-button {
    margin-right: .7rem;
    padding: .45rem .65rem;
    border: 0;
    border-radius: 7px;
    color: #17100d;
    background: var(--orange-soft);
    cursor: pointer;
    font-weight: 750;
}

.watermark-saved {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: .9rem;
    padding: .75rem;
    border: 1px solid rgba(168, 230, 207, .22);
    border-radius: 10px;
    background: rgba(168, 230, 207, .05);
}

.watermark-saved img {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 8px;
    object-fit: contain;
    background:
        linear-gradient(45deg, #303639 25%, transparent 25%) 0 0 / 12px 12px,
        linear-gradient(45deg, transparent 75%, #303639 75%) 0 0 / 12px 12px,
        linear-gradient(45deg, transparent 75%, #303639 75%) 6px -6px / 12px 12px,
        linear-gradient(45deg, #303639 25%, #222729 25%) 6px 6px / 12px 12px;
}

.watermark-saved > div {
    display: grid;
    flex: 1;
    gap: .15rem;
}

.watermark-saved strong {
    font-size: .78rem;
}

.watermark-saved small {
    color: var(--muted);
    font-size: .69rem;
    line-height: 1.35;
}

.dropzone {
    position: relative;
    display: grid;
    min-height: 210px;
    place-items: center;
    align-content: center;
    gap: .55rem;
    padding: 1.5rem;
    border: 1.5px dashed rgba(255, 154, 118, .55);
    border-radius: 18px;
    background: rgba(255, 107, 53, .055);
    text-align: center;
    transition: border-color .2s ease, background-color .2s ease;
}

.dropzone.is-dragging {
    border-color: var(--orange);
    background: rgba(255, 107, 53, .12);
}

.dropzone input {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    inset: 0;
    cursor: pointer;
    opacity: 0;
}

.dropzone-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(255, 154, 118, .45);
    border-radius: 50%;
    color: var(--orange-soft);
    background: rgba(255, 107, 53, .1);
    font-size: 1.5rem;
}

.dropzone strong {
    font-size: 1.05rem;
}

.dropzone > span:last-child {
    color: var(--muted);
    font-size: .8rem;
}

.dropzone--customer {
    border-color: rgba(168, 230, 207, .55);
    background: rgba(168, 230, 207, .05);
}

.dropzone--customer .dropzone-icon {
    border-color: rgba(168, 230, 207, .45);
    color: var(--mint);
    background: rgba(168, 230, 207, .08);
}

.file-summary-actions {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.file-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding: .8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.file-summary > div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.file-summary span {
    color: var(--muted);
    font-size: .75rem;
}

.text-button {
    color: var(--orange-soft);
    font-size: .8rem;
}

.mini-preview {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: .35rem;
    margin-top: 1rem;
}

.mini-preview img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 7px;
    object-fit: cover;
}

.processing-progress {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(168, 230, 207, .25);
    border-radius: 12px;
    background: rgba(168, 230, 207, .05);
}

.processing-progress > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .65rem;
    font-size: .78rem;
}

.processing-progress span {
    color: var(--muted);
}

.processing-progress progress {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    accent-color: var(--mint);
}

.empty-gallery-message {
    grid-column: 1 / -1;
    margin: 2rem 0;
    color: var(--muted);
    text-align: center;
}

.action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.4rem;
}

.primary-button,
.secondary-button {
    min-height: 48px;
    padding: .75rem 1.15rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 800;
    transition: filter .2s ease, transform .2s ease;
}

.primary-button {
    border: 1px solid var(--orange);
    color: #17100d;
    background: var(--orange);
}

.primary-button:hover:not(:disabled),
.secondary-button:hover:not(:disabled) {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.primary-button:disabled {
    border-color: #353a3c;
    color: #727574;
    background: #262b2e;
    cursor: not-allowed;
}

.secondary-button {
    border: 1px solid var(--line);
    color: var(--ink);
    background: #202528;
}

.local-note {
    margin: 0;
    color: var(--muted);
    font-size: .72rem;
}

.local-note span {
    color: var(--mint);
}

.success-panel {
    display: flex;
    gap: 1rem;
    max-width: 760px;
    margin: 1.5rem 0 0 140px;
    padding: 1.35rem;
    border: 1px solid rgba(168, 230, 207, .35);
    border-radius: 18px;
    background: rgba(25, 60, 50, .45);
}

.tool-panel .success-panel {
    margin-left: 0;
}

.success-panel h2 {
    margin: 0 0 .4rem;
}

.success-panel p {
    margin: 0;
    color: #c4cbc7;
}

.success-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    color: #10241d;
    background: var(--mint);
    font-weight: 900;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1rem;
}

.customer-help,
.share-help {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.5;
    text-align: center;
}

.tool-hint {
    margin: .5rem 0 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.5;
}

.watermark-live {
    display: grid;
    gap: .5rem;
    margin-top: 1rem;
}

.watermark-live > span {
    color: #d3d2cd;
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .02em;
}

.watermark-live canvas {
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.dropzone-alt {
    margin: .6rem 0 0;
    color: var(--muted);
    font-size: .8rem;
    text-align: center;
}

.dropzone-alt .text-button {
    padding: 0;
    color: var(--orange-soft);
    text-decoration: underline;
}

#photo-dropzone[hidden] + .dropzone-alt {
    display: none;
}

#customer-gallery {
    margin-left: 140px;
}

.gallery-toolbar {
    position: sticky;
    z-index: 5;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem 0;
    background: rgba(14, 17, 19, .94);
    backdrop-filter: blur(12px);
}

.gallery-toolbar h2 {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2.4rem);
}

.selection-counter {
    display: grid;
    min-width: 92px;
    place-items: center;
    padding: .6rem 1rem;
    border: 1px solid rgba(168, 230, 207, .3);
    border-radius: 14px;
    background: rgba(168, 230, 207, .08);
}

.selection-counter strong {
    color: var(--mint);
    font-size: 1.4rem;
}

.selection-counter span {
    color: var(--muted);
    font-size: .65rem;
}

.inline-notice {
    margin-bottom: 1rem;
    padding: .8rem 1rem;
    border: 1px solid rgba(255, 154, 118, .35);
    border-radius: 12px;
    color: #ffd4c5;
    background: rgba(255, 107, 53, .08);
    font-size: .82rem;
}

.gallery-information {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid rgba(168, 230, 207, .24);
    border-radius: 12px;
    background: rgba(168, 230, 207, .055);
}

.gallery-information p {
    margin: 0;
    color: #d7ddd9;
    font-size: .87rem;
    line-height: 1.55;
    white-space: pre-line;
}

.gallery-information span {
    display: block;
    margin-top: .65rem;
    color: var(--mint);
    font-size: .74rem;
    font-weight: 700;
}

.gallery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1rem;
}

.compact-button {
    min-height: 38px;
    padding: .5rem .75rem;
    font-size: .74rem;
}

.compact-button[aria-pressed="true"] {
    border-color: var(--mint);
    color: #10241d;
    background: var(--mint);
}

.folder-filter {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: .55rem;
    margin-left: auto;
    padding: 0 .7rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--muted);
    background: #202528;
    font-size: .72rem;
}

.folder-filter select {
    max-width: 190px;
    border: 0;
    color: var(--ink);
    background: transparent;
}

.photo-card[hidden] {
    display: none;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
}

.photo-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
    transition: border-color .18s ease, transform .18s ease;
}

.photo-card.is-selected {
    border-color: var(--mint);
    box-shadow: 0 0 0 2px rgba(168, 230, 207, .16);
    transform: translateY(-2px);
}

.photo-select {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #252a2d;
    cursor: pointer;
}

.photo-select img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.photo-check {
    position: absolute;
    top: .45rem;
    right: .45rem;
    z-index: 2;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    color: transparent;
    background: rgba(10, 12, 13, .6);
    backdrop-filter: blur(5px);
    font-size: 1rem;
    cursor: pointer;
}

body.no-scroll {
    overflow: hidden;
}

.photo-card.is-selected .photo-check {
    border-color: var(--mint);
    color: #10241d;
    background: var(--mint);
}

.photo-meta {
    padding: .65rem .7rem .75rem;
}

.photo-name {
    display: block;
    overflow: hidden;
    font-size: .72rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.photo-comment {
    width: 100%;
    min-height: 35px;
    margin-top: .55rem;
    padding: .45rem .55rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #101416;
    font-size: .7rem;
}

.lightbox {
    position: fixed;
    z-index: 60;
    inset: 0;
    display: grid;
    height: 100vh;
    height: 100dvh;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    gap: .4rem;
    padding: .8rem;
    background: rgba(8, 10, 11, .97);
}

.lightbox-figure {
    display: grid;
    min-width: 0;
    min-height: 0;
    height: 100%;
    margin: 0;
    align-content: center;
    justify-items: center;
    gap: .6rem;
}

.lightbox-figure img {
    max-width: 100%;
    max-height: calc(100vh - 170px);
    border-radius: 10px;
    object-fit: contain;
}

.lightbox-figure figcaption {
    display: flex;
    max-width: 100%;
    gap: .8rem;
    color: var(--muted);
    font-size: .76rem;
}

.lightbox-figure figcaption span:first-child {
    overflow: hidden;
    font-weight: 700;
    color: var(--ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lightbox-close {
    position: absolute;
    top: .7rem;
    right: .7rem;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(23, 27, 30, .85);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-nav {
    display: grid;
    width: 44px;
    height: 64px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(23, 27, 30, .85);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-nav:disabled {
    opacity: .3;
    cursor: default;
}

.lightbox-actions {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    flex-wrap: wrap;
}

.lightbox-actions input {
    width: min(340px, 100%);
    min-height: 46px;
    padding: 0 .8rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: #101416;
}

.lightbox-select.is-selected,
#lightbox-select[aria-pressed="true"] {
    background: var(--mint);
    color: #10241d;
}

.general-comment {
    max-width: 760px;
    margin-top: 1.5rem;
}

.finish-bar {
    display: flex;
    max-width: 760px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
}

.finish-bar > div {
    display: grid;
    gap: .2rem;
}

.finish-bar span {
    color: var(--muted);
    font-size: .72rem;
}

.selection-success {
    margin-left: 140px;
}

.response-results {
    margin-top: 1.5rem;
}

.result-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.result-heading h2 {
    margin: 0;
}

.count-badge {
    padding: .55rem .8rem;
    border-radius: 10px;
    color: #10241d;
    background: var(--mint);
    font-size: .8rem;
}

.comments-list {
    display: grid;
    gap: .65rem;
    margin-top: 1.2rem;
}

.comment-item {
    padding: .85rem 1rem;
    border-left: 3px solid var(--orange);
    border-radius: 0 10px 10px 0;
    background: #111517;
}

.comment-item strong,
.comment-item span {
    display: block;
}

.comment-item strong {
    margin-bottom: .25rem;
    font-size: .78rem;
}

.comment-item span {
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;
}

.cookie-notice {
    position: fixed;
    z-index: 90;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    max-width: min(430px, calc(100% - 2rem));
    align-items: center;
    gap: .9rem;
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
    box-shadow: var(--shadow);
}

.cookie-notice p {
    margin: 0;
    color: #c5c4bf;
    font-size: .78rem;
    line-height: 1.5;
}

.cookie-notice a {
    color: var(--orange-soft);
}

.cookie-notice .primary-button {
    width: auto;
    min-height: 40px;
    padding: 0 1rem;
    white-space: nowrap;
}

.toast {
    position: fixed;
    z-index: 100;
    right: 1rem;
    bottom: 1rem;
    max-width: min(360px, calc(100% - 2rem));
    padding: .85rem 1rem;
    border: 1px solid rgba(168, 230, 207, .3);
    border-radius: 12px;
    color: var(--ink);
    background: #193c32;
    box-shadow: var(--shadow);
    font-size: .82rem;
}

footer {
    display: flex;
    width: min(1180px, calc(100% - 2rem));
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto;
    padding: 1.5rem 0 2rem;
    border-top: 1px solid var(--line);
    color: #787c79;
    font-size: .72rem;
}

footer p {
    margin: 0;
}

footer a {
    color: inherit;
    text-decoration: underline;
}

footer a:hover {
    color: var(--orange-soft);
}

.legal-page {
    max-width: 720px;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem;
}

.legal-page h1 {
    margin: 0 0 .4rem;
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
}

.legal-updated {
    margin: 0 0 2rem;
    color: var(--muted);
    font-size: .8rem;
}

.legal-page h2 {
    margin: 2rem 0 .6rem;
    font-size: 1.15rem;
}

.legal-page p {
    color: #c5c4bf;
    line-height: 1.65;
}

.legal-page a {
    color: var(--orange-soft);
}

.legal-page .back-button {
    display: inline-block;
    margin-top: 1.5rem;
    text-decoration: none;
}

@media (max-width: 800px) {
    .privacy-chip {
        display: none;
    }

    .hero {
        padding-top: 3.5rem;
    }

    .how-it-works {
        display: block;
    }

    .how-it-works > p {
        margin-bottom: .8rem;
    }

    .how-it-works ol {
        display: grid;
        gap: .65rem;
    }

    .platform-intro,
    .feature-section {
        grid-template-columns: 1fr;
    }

    .explain-grid {
        grid-template-columns: 1fr;
    }

    .usecase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .explain-grid article {
        min-height: 175px;
    }

    .explain-grid h3 {
        margin-top: 1.8rem;
    }

    .workspace-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mode-tabs,
    .tool-panel,
    #customer-gallery,
    .success-panel,
    .selection-success {
        margin-left: 0;
    }

    .photo-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 801px) and (max-height: 760px) {
    .site-header {
        padding: .75rem 0;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .brand-mark svg {
        width: 20px;
    }

    .hero {
        min-height: auto;
        padding: clamp(.65rem, 2vh, 1rem) 0 2rem;
    }

    .hero-copy {
        margin-bottom: clamp(.7rem, 2vh, 1rem);
    }

    .hero-copy .eyebrow {
        margin-bottom: .45rem;
        font-size: .63rem;
    }

    .hero h1 {
        max-width: 780px;
        font-size: clamp(2rem, 6.5vh, 3rem);
        line-height: .96;
    }

    .hero-lead {
        max-width: 680px;
        margin-top: .5rem;
        font-size: .8rem;
        line-height: 1.35;
    }

    .role-grid {
        max-width: 900px;
        gap: 1rem;
    }

    .role-card {
        min-height: clamp(175px, 29vh, 215px);
        padding: .85rem 1rem;
        border-radius: 18px;
    }

    .role-number {
        top: 1.1rem;
        right: 1.2rem;
        font-size: .67rem;
    }

    .role-icon {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .role-icon svg {
        width: 20px;
    }

    .role-label {
        margin-top: .55rem;
        font-size: 1.35rem;
    }

    .role-description {
        margin-top: .15rem;
        font-size: .74rem;
    }

    .role-action {
        margin-top: .45rem;
        padding-top: .45rem;
        font-size: .65rem;
    }

    .how-it-works {
        margin-top: .9rem;
        font-size: .72rem;
    }
}

@media (min-width: 801px) and (max-height: 500px) {
    .hero {
        padding-top: .75rem;
    }

    .hero-copy {
        margin-bottom: .75rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-lead {
        margin-top: .5rem;
        font-size: .78rem;
    }

    .role-card {
        min-height: 170px;
        padding: .8rem 1rem;
    }

    .role-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .role-icon svg {
        width: 19px;
    }

    .role-label {
        margin-top: .5rem;
        font-size: 1.3rem;
    }

    .role-description {
        margin-top: .15rem;
        font-size: .72rem;
    }

    .role-action {
        margin-top: .4rem;
        padding-top: .4rem;
        font-size: .63rem;
    }
}

@media (max-width: 680px) {
    .role-grid {
        grid-template-columns: 1fr;
    }

    .role-card {
        min-height: 260px;
    }
}

@media (max-width: 560px) {
    .site-header,
    main,
    footer {
        width: min(100% - 1.25rem, 1180px);
    }

    .site-header {
        padding: 1rem 0;
    }

    .hero {
        min-height: auto;
        padding: 2.8rem 0;
    }

    .hero-copy {
        margin-bottom: 2rem;
    }

    .role-card {
        min-height: 245px;
        padding: 1.35rem;
    }

    .role-icon {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .home-section {
        margin-top: 4.5rem;
    }

    .feature-list,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .privacy-explainer {
        grid-template-columns: 1fr;
    }

    .gallery-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .folder-filter {
        grid-column: 1 / -1;
        margin-left: 0;
    }

    .mode-tabs {
        overflow-x: auto;
    }

    .mode-tab {
        min-width: 150px;
    }

    .tool-panel {
        padding: 1rem;
        border-radius: 17px;
    }

    .dropzone {
        min-height: 190px;
    }

    .mini-preview {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .action-row,
    .finish-bar,
    footer {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .local-note {
        text-align: center;
    }

    .ad-slot {
        grid-template-columns: auto 1fr;
        padding: .9rem;
    }

    .ad-slot em {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .photo-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem;
    }

    .usecase-grid {
        grid-template-columns: 1fr;
    }

    .photo-meta {
        padding: .55rem;
    }

    .lightbox {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        padding: .6rem;
    }

    .lightbox-nav {
        width: 38px;
        height: 56px;
    }

    .lightbox-figure img {
        max-height: calc(100vh - 260px);
        max-height: calc(100dvh - 260px);
    }

    .lightbox-actions {
        gap: .5rem;
    }

    .lightbox-actions input {
        width: 100%;
    }

    .success-panel {
        align-items: flex-start;
        padding: 1rem;
    }

    .success-actions {
        display: grid;
    }

    footer {
        text-align: center;
    }
}

@media (max-width: 560px) and (max-height: 750px) {
    .hero {
        padding-top: 1.75rem;
    }

    .hero-copy {
        margin-bottom: 1.4rem;
    }

    .hero-copy .eyebrow {
        margin-bottom: .55rem;
        font-size: .64rem;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .hero-lead {
        margin-top: .85rem;
        font-size: .92rem;
        line-height: 1.42;
    }

    .role-card {
        min-height: 220px;
    }

    .role-label {
        margin-top: 1.15rem;
    }

    .role-action {
        margin-top: .85rem;
        padding-top: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
