:root {
    color-scheme: light;
    --ink: #201327;
    --muted: #71647a;
    --subtle: #9a8fa3;
    --paper: #fff8fd;
    --panel: rgba(255, 255, 255, 0.86);
    --panel-strong: #ffffff;
    --line: rgba(43, 22, 58, 0.12);
    --pink: #ff4fb8;
    --rose: #ff7a90;
    --purple: #8b5cf6;
    --violet: #5b4bff;
    --blue: #27c6ff;
    --mint: #4df2bd;
    --yellow: #ffe66d;
    --green: #12a879;
    --danger: #d92d68;
    --shadow: 0 24px 80px rgba(89, 42, 120, 0.18);
    --shadow-soft: 0 18px 48px rgba(72, 39, 95, 0.10);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --ease: 180ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 6%, rgba(255, 79, 184, 0.26), transparent 30rem),
        radial-gradient(circle at 84% 12%, rgba(39, 198, 255, 0.22), transparent 30rem),
        radial-gradient(circle at 52% 34%, rgba(77, 242, 189, 0.16), transparent 28rem),
        linear-gradient(180deg, #fff8fd 0%, #f8f8ff 46%, #ffffff 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(32, 19, 39, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 19, 39, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
}

.wrap {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.site-shell {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.site-header {
    position: relative;
    padding-bottom: clamp(36px, 8vw, 80px);
}

.nav,
.admin-header-inner,
.footer-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    padding-block: 10px;
}

.nav::before,
.admin-header::before {
    content: "";
    position: absolute;
    inset: 10px max(16px, calc((100vw - 1180px) / 2)) auto;
    height: 62px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 50px rgba(74, 38, 99, 0.08);
    z-index: -1;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    font-weight: 950;
    letter-spacing: -0.04em;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.22), transparent 35%),
        conic-gradient(from 160deg, var(--pink), var(--yellow), var(--mint), var(--blue), var(--purple), var(--pink));
    box-shadow: 0 14px 34px rgba(139, 92, 246, 0.32);
}

.brand-text,
.brand-text strong,
.brand-text small {
    display: block;
}

.brand-text strong {
    font-size: 1.03rem;
    letter-spacing: -0.03em;
}

.brand-text small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.brand.compact .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 15px;
}

.nav-actions,
.admin-actions,
.hero-actions,
.order-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-actions a:not(.button),
.footer a:not(.brand) {
    color: var(--muted);
    font-weight: 850;
    text-decoration: none;
    transition: color var(--ease);
}

.nav-actions a:not(.button):hover,
.footer a:not(.brand):hover {
    color: var(--purple);
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    color: var(--ink);
    background: #ffffff;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px var(--line);
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(41, 21, 58, 0.14), inset 0 0 0 1px rgba(139, 92, 246, 0.28);
}

.button.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple) 54%, var(--blue));
    box-shadow: 0 18px 38px rgba(139, 92, 246, 0.28);
}

.button.soft {
    color: var(--violet);
    background: rgba(139, 92, 246, 0.10);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.68);
}

.button.small {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 0.92rem;
}

.button.full {
    width: 100%;
}

.hero {
    min-height: clamp(620px, 72vh, 820px);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: center;
    gap: clamp(26px, 6vw, 72px);
    padding-top: clamp(30px, 5vw, 74px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--pink);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero h1 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 7.2vw, 6.7rem);
    line-height: 0.88;
    letter-spacing: -0.085em;
}

.hero-text {
    max-width: 670px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.24rem);
    line-height: 1.72;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.trust-row span,
.pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 850;
    backdrop-filter: blur(12px);
}

.hero-showcase {
    position: relative;
    min-height: 560px;
    border: 1px solid rgba(255,255,255,0.52);
    border-radius: 44px;
    padding: clamp(22px, 4vw, 34px);
    background:
        linear-gradient(145deg, rgba(37, 19, 56, 0.86), rgba(89, 53, 172, 0.74)),
        radial-gradient(circle at 18% 18%, rgba(255, 79, 184, 0.84), transparent 16rem),
        radial-gradient(circle at 92% 12%, rgba(39, 198, 255, 0.74), transparent 16rem);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    align-content: end;
}

.hero-showcase::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    top: -70px;
    right: -80px;
    background: conic-gradient(var(--pink), var(--yellow), var(--mint), var(--blue), var(--purple), var(--pink));
    opacity: 0.90;
    filter: blur(0.3px);
}

.hero-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.24) 1px, transparent 1.5px);
    background-size: 22px 22px;
    mask-image: linear-gradient(140deg, transparent 0%, black 22%, transparent 78%);
}

.floating-badge {
    position: absolute;
    z-index: 2;
    top: 24px;
    left: 24px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.24);
    backdrop-filter: blur(14px);
    font-weight: 950;
}

.mock-product {
    position: relative;
    z-index: 1;
    width: min(360px, 84%);
    aspect-ratio: 0.88;
    margin: 46px auto 30px;
    background: linear-gradient(145deg, #ffffff, #f4efff);
    border-radius: 42px 42px 34px 34px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.mock-shirt::before,
.mock-shirt::after {
    content: "";
    position: absolute;
    top: 74px;
    width: 86px;
    height: 126px;
    background: #fff;
}

.mock-shirt::before {
    left: -52px;
    transform: rotate(19deg);
    border-radius: 30px 12px 36px 26px;
}

.mock-shirt::after {
    right: -52px;
    transform: rotate(-19deg);
    border-radius: 12px 30px 26px 36px;
}

.shirt-neck {
    position: absolute;
    top: 0;
    left: 50%;
    width: 116px;
    height: 66px;
    transform: translateX(-50%);
    background: #372345;
    border-radius: 0 0 60px 60px;
}

.print-window {
    position: absolute;
    inset: 33% 21% 28%;
    display: grid;
    place-items: center;
    border-radius: 28px;
    text-align: center;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1.05;
    font-weight: 950;
    background:
        linear-gradient(135deg, rgba(255, 79, 184, 0.86), rgba(139, 92, 246, 0.86), rgba(39, 198, 255, 0.86));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}

.mock-summary {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #fff;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(18px);
}

.mock-summary p {
    margin: 4px 0 0;
    color: rgba(255,255,255,0.76);
}

.status-dot {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 8px;
    background: var(--mint);
    box-shadow: 0 0 0 8px rgba(77, 242, 189, 0.14);
}

.quick-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.quick-cards article,
.form-card,
.live-panel-inner,
.login-card,
.message-card,
.order-card,
.empty-state,
.stats-grid article {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.quick-cards article {
    padding: 26px;
    border-radius: var(--radius-lg);
}

.step-number {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 16px;
    color: #fff;
    font-weight: 950;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.quick-cards h2 {
    margin-bottom: 10px;
    letter-spacing: -0.04em;
}

.quick-cards p,
.section-heading p,
.login-card p,
.message-card p,
.order-details p,
.help-text,
.secure-note,
.file-meta {
    color: var(--muted);
    line-height: 1.65;
}

.order-section {
    padding: clamp(70px, 10vw, 120px) 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading.centered {
    text-align: center;
    margin-inline: auto;
}

.section-heading h2,
.admin-dashboard-head h1,
.login-card h1,
.message-card h1 {
    margin-bottom: 14px;
    font-size: clamp(2.2rem, 5.6vw, 4.6rem);
    line-height: 0.94;
    letter-spacing: -0.065em;
}

.order-form {
    position: relative;
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
    align-items: start;
    gap: 20px;
}

.form-main {
    display: grid;
    gap: 20px;
}

.form-card,
.live-panel-inner,
.login-card,
.message-card,
.empty-state {
    border-radius: var(--radius-xl);
    padding: clamp(22px, 4vw, 34px);
}

fieldset {
    margin: 0;
    min-width: 0;
}

legend {
    padding: 0 0 8px;
    font-size: 1.22rem;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.grid {
    display: grid;
    gap: 16px;
}

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

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

label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--ink);
    font-weight: 900;
}

label span em {
    color: var(--pink);
    font-style: normal;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 16px;
    color: var(--ink);
    background: rgba(255,255,255,0.88);
    outline: none;
    transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(139, 92, 246, 0.72);
    box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.14);
    background: #fff;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.choice-card {
    position: relative;
    min-height: 182px;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255,255,255,0.64);
    cursor: pointer;
    overflow: hidden;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.choice-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-card:has(input:checked) {
    border-color: rgba(139, 92, 246, 0.62);
    background: linear-gradient(135deg, rgba(255,79,184,0.10), rgba(139,92,246,0.10), rgba(39,198,255,0.10));
    box-shadow: 0 18px 46px rgba(139, 92, 246, 0.14);
}

.choice-card strong,
.choice-card small {
    position: relative;
    z-index: 1;
    display: block;
}

.choice-card strong {
    margin-top: auto;
    font-size: 1.08rem;
}

.choice-card small {
    color: var(--muted);
    line-height: 1.45;
    font-weight: 750;
}

.choice-art {
    width: 76px;
    height: 76px;
    margin-bottom: 18px;
    display: block;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
    box-shadow: 0 16px 36px rgba(139, 92, 246, 0.22);
}

.shirt-icon {
    clip-path: polygon(20% 18%, 36% 8%, 64% 8%, 80% 18%, 100% 36%, 84% 56%, 76% 47%, 76% 100%, 24% 100%, 24% 47%, 16% 56%, 0 36%);
}

.cap-icon {
    border-radius: 62% 62% 28% 28%;
    clip-path: polygon(10% 60%, 18% 36%, 36% 20%, 62% 20%, 82% 36%, 90% 60%, 100% 70%, 68% 76%, 12% 76%, 0 70%);
}

.upload-zone {
    position: relative;
    min-height: 190px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 24px;
    border: 2px dashed rgba(139, 92, 246, 0.34);
    border-radius: 28px;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255,79,184,0.10), transparent 16rem),
        rgba(255,255,255,0.58);
    cursor: pointer;
    transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: rgba(255, 79, 184, 0.76);
    background:
        radial-gradient(circle at top left, rgba(255,79,184,0.16), transparent 16rem),
        rgba(255,255,255,0.84);
    transform: translateY(-1px);
}

.upload-zone input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 950;
    background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
}

.upload-zone small {
    color: var(--muted);
    font-weight: 750;
}

.file-meta {
    margin: 0 0 18px;
    font-size: 0.94rem;
}

.live-panel {
    position: sticky;
    top: 100px;
}

.live-panel-inner {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.76)),
        radial-gradient(circle at 20% 0%, rgba(255,79,184,0.18), transparent 15rem);
}

.live-panel h3 {
    margin-bottom: 18px;
    font-size: 1.45rem;
    letter-spacing: -0.04em;
}

.preview-stage {
    min-height: 280px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.6), rgba(248,242,255,0.88)),
        radial-gradient(circle at 50% 42%, rgba(139,92,246,0.18), transparent 10rem);
}

.preview-empty {
    padding: 24px;
    text-align: center;
    color: var(--muted);
    font-weight: 850;
}

.preview-empty span {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 22px;
    color: #fff;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.preview-empty p {
    margin-bottom: 0;
}

.preview-stage img {
    width: 100%;
    height: 100%;
    max-height: 340px;
    object-fit: contain;
    padding: 16px;
}

.preview-list {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.preview-list div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.preview-list span {
    color: var(--muted);
    font-weight: 850;
}

.preview-list strong {
    text-align: right;
}

.secure-note {
    margin: 14px 0 0;
    font-size: 0.92rem;
    text-align: center;
}

.footer {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(16px);
}

.footer-inner p {
    margin: 8px 0 0;
    color: var(--muted);
}

.message-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding-block: 34px;
}

.message-card {
    max-width: 720px;
    text-align: center;
}

.message-card.elevated,
.login-card.elevated {
    box-shadow: var(--shadow);
}

.message-icon,
.success-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    color: white;
    background: linear-gradient(135deg, var(--mint), var(--blue), var(--purple));
    font-size: 2rem;
    font-weight: 950;
}

.message-card.error .message-icon {
    background: linear-gradient(135deg, var(--danger), var(--pink));
}

.order-number {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(139, 92, 246, 0.10);
}

.hero-actions.center {
    justify-content: center;
}

.admin-body {
    background:
        radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.18), transparent 30rem),
        radial-gradient(circle at 100% 0%, rgba(39, 198, 255, 0.16), transparent 26rem),
        #faf8ff;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-header::before {
    top: 10px;
}

.admin-main {
    padding: 48px 0 80px;
}

.login-card {
    max-width: 540px;
    margin: 0 auto;
}

.stack-form {
    margin-top: 22px;
}

.alert {
    padding: 12px 14px;
    border-radius: 16px;
    color: #86143a !important;
    background: #ffe6ef;
    font-weight: 900;
}

.help-text {
    margin-bottom: 0;
    font-size: 0.92rem;
}

.admin-dashboard-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 24px;
    margin-bottom: 24px;
}

.admin-dashboard-head p {
    color: var(--muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 120px);
    gap: 12px;
}

.stats-grid article {
    padding: 18px;
    border-radius: 24px;
    text-align: center;
}

.stats-grid span,
.detail-grid strong,
.notes-box strong {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 950;
}

.stats-grid strong {
    display: block;
    margin-top: 6px;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.05em;
}

.orders-list.modern {
    display: grid;
    gap: 18px;
}

.order-card {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    border-radius: var(--radius-xl);
}

.order-image {
    min-height: 250px;
    border-radius: 26px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(255,79,184,0.10), rgba(139,92,246,0.12)),
        #fff;
}

.order-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.order-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.order-topline h2 {
    margin: 0 0 4px;
    font-size: clamp(1.25rem, 2.3vw, 1.7rem);
    letter-spacing: -0.04em;
}

.order-topline p {
    margin: 0;
}

.order-topline span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eafff7;
    color: #087653;
    font-weight: 950;
    white-space: nowrap;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.detail-grid p {
    margin: 0;
    min-width: 0;
    padding: 13px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.62);
    overflow-wrap: anywhere;
}

.detail-grid a {
    color: var(--violet);
    font-weight: 850;
}

.notes-box {
    padding: 14px;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.08);
    margin-bottom: 16px;
}

.notes-box p {
    margin: 7px 0 0;
}

.empty-state {
    color: var(--muted);
    font-weight: 900;
}

@supports not selector(:has(*)) {
    .choice-card input:checked + .choice-art {
        outline: 4px solid rgba(139, 92, 246, 0.22);
    }
}

@media (max-width: 980px) {
    .hero,
    .form-layout,
    .admin-dashboard-head {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-showcase {
        min-height: 500px;
    }

    .quick-cards {
        margin-top: 0;
    }

    .live-panel {
        position: static;
    }

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

@media (max-width: 760px) {
    .wrap {
        width: min(100% - 24px, 1180px);
    }

    .nav,
    .admin-header-inner,
    .footer-inner,
    .order-topline {
        align-items: flex-start;
    }

    .nav,
    .admin-header-inner,
    .footer-inner {
        flex-direction: column;
        justify-content: center;
        min-height: auto;
        padding: 14px 0;
    }

    .nav::before,
    .admin-header::before {
        inset: 6px 8px auto;
        height: calc(100% - 12px);
        border-radius: 28px;
    }

    .nav-actions,
    .admin-actions {
        width: 100%;
    }

    .nav-actions a:not(.button) {
        display: none;
    }

    .nav-actions .button,
    .admin-actions .button {
        flex: 1;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 14vw, 4.2rem);
    }

    .hero-showcase {
        min-height: 420px;
        border-radius: 34px;
    }

    .mock-product {
        width: 70%;
    }

    .quick-cards,
    .grid.two,
    .grid.three,
    .choice-grid,
    .order-card,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .choice-card {
        min-height: 150px;
    }

    .form-card,
    .live-panel-inner,
    .login-card,
    .message-card,
    .empty-state {
        border-radius: 26px;
    }

    .preview-stage {
        min-height: 230px;
    }

    .order-image {
        min-height: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Staff account setup and management */
.staff-pill {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--violet);
    background: rgba(139, 92, 246, 0.10);
    font-size: 0.88rem;
    font-weight: 950;
    white-space: nowrap;
}

.setup-card .button.full {
    margin-top: 18px;
}

.success-alert {
    color: #087653 !important;
    background: #eafff7;
}

.stats-grid.three {
    grid-template-columns: repeat(3, 120px);
}

.account-main {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(280px, 1fr);
    align-items: start;
    gap: 24px;
}

.account-main .login-card {
    margin: 0;
    max-width: none;
}

.staff-list {
    padding: 28px;
    border-radius: var(--radius-xl);
}

.staff-list h2 {
    margin: 0 0 16px;
    letter-spacing: -0.04em;
}

.staff-user-list {
    display: grid;
    gap: 12px;
}

.staff-user-list article {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.64);
}

.staff-user-list strong,
.staff-user-list span {
    display: block;
}

.staff-user-list strong {
    margin-bottom: 4px;
    font-size: 1rem;
}

.staff-user-list span {
    color: var(--muted);
    font-weight: 800;
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    .account-main {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .staff-pill {
        width: 100%;
        justify-content: center;
    }

    .stats-grid.three {
        grid-template-columns: 1fr;
    }

    .staff-list {
        border-radius: 26px;
    }
}
