:root {
    --nd-ink: #07132d;
    --nd-muted: #5d687a;
    --nd-paper: #f7f7f5;
    --nd-surface: #ffffff;
    --nd-line: #dce1e8;
    --nd-accent: #ff5a00;
    --nd-accent-dark: #d94700;
    --nd-radius: 18px;
    --nd-shadow: 0 22px 70px rgba(22, 35, 29, .10);
    color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.nd-page { margin: 0; background: var(--nd-paper); color: var(--nd-ink); font-family: "Segoe UI Variable", "Aptos", system-ui, sans-serif; text-rendering: optimizeLegibility; }
body.nd-page a { color: inherit; }
body.nd-page img { display: block; max-width: 100%; }
.nd-skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--nd-ink); color: white !important; border-radius: 8px; }
.nd-skip:focus { top: 12px; }
.nd-nav { min-height: 72px; max-width: 1440px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--nd-line); }
.nd-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: -.04em; }
.nd-brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--nd-accent); color: white; font-weight: 900; }
.nd-brand-logo { display: block; width: clamp(156px, 14vw, 210px); height: auto; }
.nd-brand-icon { display: block; width: 42px; height: 42px; border-radius: 13px; }
.nd-brand-tenant span { max-width: min(44vw, 360px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-nav nav { display: flex; align-items: center; gap: 28px; }
.nd-nav nav a { text-decoration: none; font-weight: 650; font-size: 14px; }
.nd-nav-login { padding: 10px 18px; border: 1px solid var(--nd-ink); border-radius: 999px; }
.nd-hero { min-height: calc(100dvh - 72px); max-width: 1440px; margin: 0 auto; padding: 56px 40px 64px; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.nd-hero-copy { max-width: 620px; }
.nd-eyebrow { margin: 0 0 20px; color: var(--nd-accent-dark); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 850; }
.nd-hero h1 { margin: 0; max-width: 12ch; font-size: clamp(50px, 5.2vw, 82px); line-height: .98; letter-spacing: -.065em; }
.nd-hero-copy > p:not(.nd-eyebrow) { max-width: 54ch; margin: 28px 0 0; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; color: var(--nd-muted); }
.nd-actions { display: flex; gap: 14px; align-items: center; margin-top: 34px; }
.nd-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 0; border-radius: 999px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .22s ease, background-color .22s ease, color .22s ease; }
.nd-button:active { transform: scale(.98); }
.nd-button-primary { background: var(--nd-accent); color: white !important; box-shadow: 0 12px 28px rgba(232, 76, 44, .23); }
.nd-button-primary:hover { background: var(--nd-accent-dark); }
.nd-button-text { padding-inline: 10px; text-decoration: underline; text-underline-offset: 6px; }
.nd-button-wide { width: 100%; }
.nd-hero-visual { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--nd-radius); box-shadow: var(--nd-shadow); }
.nd-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.nd-flow { padding: 100px max(40px, calc((100vw - 1360px) / 2)); background: var(--nd-ink); color: #f7faf7; }
.nd-flow-intro { max-width: 720px; }
.nd-flow h2, .nd-feature-stage h2, .nd-final-cta h2 { margin: 0; font-size: clamp(38px, 4vw, 64px); line-height: 1.02; letter-spacing: -.05em; }
.nd-flow-intro p, .nd-feature-main p, .nd-final-cta p { margin: 22px 0 0; max-width: 58ch; color: #bfc8c2; font-size: 18px; line-height: 1.55; }
.nd-flow-steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #526059; }
.nd-flow-steps li { min-height: 210px; padding: 28px 24px 20px 0; border-right: 1px solid #526059; }
.nd-flow-steps li:last-child { border-right: 0; padding-left: 24px; }
.nd-flow-steps li:not(:first-child) { padding-left: 24px; }
.nd-flow-steps strong { display: block; margin-bottom: 14px; font-size: 22px; }
.nd-flow-steps span { color: #bfc8c2; line-height: 1.55; }
.nd-feature-stage { max-width: 1360px; margin: 0 auto; padding: 112px 40px; }
.nd-feature-main { max-width: 780px; }
.nd-feature-main p { color: var(--nd-muted); }
.nd-feature-grid { margin-top: 56px; display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: auto auto auto; gap: 18px; }
.nd-feature { min-height: 190px; padding: 30px; background: var(--nd-surface); border: 1px solid var(--nd-line); border-radius: var(--nd-radius); }
.nd-feature:first-child { grid-row: span 2; min-height: 398px; display: flex; flex-direction: column; justify-content: flex-end; }
.nd-feature-image { grid-column: 2; grid-row: 2 / span 2; padding: 0; overflow: hidden; min-height: 398px; }
.nd-feature-image img { width: 100%; height: 100%; object-fit: cover; }
.nd-feature-accent { background: var(--nd-accent); color: white; border-color: transparent; }
.nd-feature h3 { margin: 0 0 12px; font-size: 25px; letter-spacing: -.03em; }
.nd-feature p { margin: 0; line-height: 1.55; color: var(--nd-muted); }
.nd-feature-accent p { color: #fff2ed; }
.nd-final-cta { max-width: 1360px; margin: 0 auto 40px; padding: 84px clamp(28px, 7vw, 100px); background: #dfe7e0; border-radius: var(--nd-radius); }
.nd-final-cta p { color: var(--nd-muted); }
.nd-final-cta .nd-button { margin-top: 30px; }
.nd-footer { max-width: 1360px; margin: 0 auto; padding: 30px 0 50px; display: flex; justify-content: space-between; color: var(--nd-muted); font-size: 14px; }

.nd-auth-shell { min-height: 100dvh; padding: 34px; display: grid; align-content: center; justify-items: center; gap: 36px; }
.nd-auth-card { width: min(100%, 560px); padding: clamp(28px, 5vw, 52px); background: var(--nd-surface); border: 1px solid var(--nd-line); border-radius: var(--nd-radius); box-shadow: var(--nd-shadow); }
.nd-auth-card h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -.05em; }
.nd-auth-card > p:not(.nd-eyebrow), .nd-field-help { color: var(--nd-muted); line-height: 1.55; }
.nd-form { display: grid; gap: 12px; margin-top: 30px; }
.nd-form label { font-weight: 800; }
.nd-form input, .nd-form textarea, .nd-form select { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #aab7af; border-radius: 10px; background: white; color: var(--nd-ink); font: inherit; }
.nd-form input:focus, .nd-form textarea:focus, .nd-form select:focus { outline: 3px solid rgba(232, 76, 44, .2); border-color: var(--nd-accent-dark); }
.nd-form-status { min-height: 24px; margin: 0; color: var(--nd-accent-dark); }
.nd-notice { padding: 14px 16px; border-left: 4px solid var(--nd-accent); background: #fff4f0; }

.nd-store-header { --store-accent: var(--nd-accent); max-width: 1240px; margin: 0 auto; padding: 52px 30px 34px; display: flex; justify-content: space-between; gap: 28px; align-items: end; border-bottom: 1px solid var(--nd-line); }
.nd-store-label { margin: 0 0 10px; color: var(--store-accent); font-weight: 850; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.nd-store-header h1 { margin: 0; font-size: clamp(38px, 5vw, 68px); letter-spacing: -.055em; line-height: 1; }
.nd-store-header div > p:last-child { max-width: 58ch; margin: 14px 0 0; color: var(--nd-muted); }
.nd-open-state { flex: none; padding: 10px 16px; background: #dff4e7; color: #17633b; border-radius: 999px; font-weight: 800; font-size: 13px; }
.nd-store-layout { max-width: 1240px; margin: 0 auto; padding: 34px 30px 80px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.nd-category-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 14px; scrollbar-width: thin; }
.nd-category-nav a { flex: none; padding: 10px 15px; border: 1px solid var(--nd-line); border-radius: 999px; background: var(--nd-surface); text-decoration: none; font-weight: 750; }
.nd-menu-category { padding-top: 22px; scroll-margin-top: 20px; }
.nd-menu-category h2 { margin: 0 0 18px; font-size: 27px; letter-spacing: -.035em; }
.nd-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nd-product { min-height: 180px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); background: var(--nd-surface); }
.nd-product h3 { margin: 0; font-size: 20px; }
.nd-product p { min-height: 42px; margin: 8px 0 14px; color: var(--nd-muted); line-height: 1.45; }
.nd-product button, .nd-order-card button { align-self: flex-start; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--nd-ink); color: var(--nd-paper); font-weight: 800; cursor: pointer; }
.nd-cart { position: sticky; top: 18px; padding: 26px; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); background: var(--nd-surface); box-shadow: var(--nd-shadow); }
.nd-cart h2 { margin: 0 0 18px; }
.nd-empty { color: var(--nd-muted); }
.nd-cart-row { padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--nd-line); }
.nd-cart-row > div:first-child { display: grid; gap: 4px; }
.nd-cart-row span { color: var(--nd-muted); font-size: 13px; }
.nd-cart-row > div:last-child { display: flex; align-items: center; gap: 8px; }
.nd-cart-row button { width: 30px; height: 30px; border: 1px solid var(--nd-line); border-radius: 50%; background: transparent; color: inherit; font-size: 18px; }
.nd-cart-total { padding: 18px 0; display: flex; justify-content: space-between; font-size: 20px; }

.nd-panel-header { max-width: 1600px; min-height: 72px; margin: 0 auto; padding: 0 32px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--nd-line); }
.nd-panel-header > div { display: flex; gap: 20px; }
.nd-panel { max-width: 1600px; margin: 0 auto; padding: 34px 32px 80px; }
.nd-panel-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.nd-panel-intro h1 { margin: 0; font-size: clamp(40px, 5vw, 68px); letter-spacing: -.055em; }
.nd-panel-intro p:last-child { color: var(--nd-muted); }
.nd-panel-tabs { display: flex; gap: 8px; margin-top: 34px; border-bottom: 1px solid var(--nd-line); }
.nd-panel-tabs button { padding: 14px 18px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--nd-muted); font: inherit; font-weight: 800; }
.nd-panel-tabs button.is-active { color: var(--nd-ink); border-bottom-color: var(--nd-accent); }
.nd-panel-status { padding: 14px 0; color: var(--nd-muted); }
.nd-panel-view { display: none; }
.nd-panel-view.is-active { display: block; }
.nd-order-columns { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 14px; overflow-x: auto; }
.nd-order-columns > section { min-height: 420px; padding: 16px; background: #e9ede9; border-radius: var(--nd-radius); }
.nd-order-columns h2 { margin: 0 0 16px; font-size: 18px; }
.nd-order-list { display: grid; gap: 10px; }
.nd-order-card { padding: 16px; display: grid; gap: 14px; background: var(--nd-surface); border: 1px solid var(--nd-line); border-radius: 12px; }
.nd-order-card > div { display: grid; gap: 5px; }
.nd-order-actions { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.nd-order-actions .nd-reprint { background: transparent; color: var(--nd-ink); border: 1px solid var(--nd-line); }
.nd-order-card span, .nd-order-card small { color: var(--nd-muted); }
.nd-catalog-forms { display: grid; grid-template-columns: .75fr 1.25fr; gap: 18px; margin-bottom: 18px; }
.nd-panel-card { padding: 26px; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); background: var(--nd-surface); }
.nd-panel-card h2 { margin-top: 0; }
.nd-panel-card > p { padding: 10px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--nd-line); }
.nd-store-settings { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.nd-qr-card { text-align: center; }
.nd-qr-card img { width: 100%; height: auto; padding: 12px; background: white; border-radius: 12px; }

.nd-tracking { min-height: 100dvh; padding: 30px 18px 60px; display: grid; justify-items: center; align-content: start; gap: 34px; }
.nd-tracking-card { width: min(100%, 620px); padding: clamp(28px, 6vw, 54px); background: var(--nd-surface); border: 1px solid var(--nd-line); border-radius: var(--nd-radius); box-shadow: var(--nd-shadow); }
.nd-tracking-card h1 { margin: 0; font-size: clamp(36px, 8vw, 54px); letter-spacing: -.05em; }
.nd-timeline { position: relative; list-style: none; margin: 42px 0; padding: 0; display: grid; gap: 34px; }
.nd-timeline::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 50%; width: 2px; background: var(--nd-line); transform: translateX(-50%); }
.nd-timeline li { position: relative; width: 50%; min-height: 54px; display: flex; align-items: center; }
.nd-timeline li:nth-child(odd) { padding-right: 34px; justify-content: flex-end; text-align: right; }
.nd-timeline li:nth-child(even) { margin-left: 50%; padding-left: 34px; }
.nd-timeline li::before { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; border: 3px solid var(--nd-surface); border-radius: 50%; background: var(--nd-line); transform: translateY(-50%); box-shadow: 0 0 0 2px var(--nd-line); }
.nd-timeline li:nth-child(odd)::before { right: -8px; }
.nd-timeline li:nth-child(even)::before { left: -8px; }
.nd-timeline li.is-done::before, .nd-timeline li.is-current::before { background: var(--nd-accent); box-shadow: 0 0 0 2px var(--nd-accent); }
.nd-timeline li.is-current span { font-weight: 900; color: var(--nd-accent-dark); }
.nd-timeline li.is-future { color: #98a39c; }
.nd-pwa-banner { position: fixed; z-index: 80; top: max(12px, env(safe-area-inset-top)); left: 50%; width: min(calc(100% - 24px), 680px); transform: translateX(-50%); padding: 16px; display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; border-radius: 14px; background: #111714; color: #f7faf7; box-shadow: 0 18px 55px rgba(0,0,0,.3); }
.nd-pwa-banner div { display: grid; gap: 3px; }
.nd-pwa-banner span { color: #bfc8c2; font-size: 13px; }
.nd-pwa-banner > button:not(.nd-banner-close) { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--nd-accent); color: white; font-weight: 850; }
.nd-banner-close { width: 36px; height: 36px; border: 0; background: transparent; color: white; font-size: 24px; }

@media (prefers-reduced-motion: no-preference) {
    .nd-hero-copy, .nd-hero-visual { animation: nd-rise .65s cubic-bezier(.16, 1, .3, 1) both; }
    .nd-hero-visual { animation-delay: .1s; }
    @keyframes nd-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 767px) {
    .nd-nav { min-height: 64px; padding: 0 18px; }
    .nd-nav nav a:not(.nd-nav-login) { display: none; }
    .nd-hero { min-height: auto; padding: 48px 18px 64px; grid-template-columns: 1fr; gap: 38px; }
    .nd-hero h1 { max-width: 11ch; font-size: clamp(43px, 13vw, 62px); }
    .nd-actions { align-items: stretch; flex-direction: column; }
    .nd-button { width: 100%; }
    .nd-hero-visual { aspect-ratio: 4 / 3; }
    .nd-flow { padding: 72px 18px; }
    .nd-flow-steps { grid-template-columns: 1fr; }
    .nd-flow-steps li, .nd-flow-steps li:not(:first-child), .nd-flow-steps li:last-child { min-height: auto; padding: 24px 0; border-right: 0; border-bottom: 1px solid #526059; }
    .nd-flow-steps li:last-child { border-bottom: 0; }
    .nd-feature-stage { padding: 72px 18px; }
    .nd-feature-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .nd-feature:first-child, .nd-feature-image { grid-column: auto; grid-row: auto; min-height: 280px; }
    .nd-final-cta { margin: 0 18px 24px; padding: 54px 26px; }
    .nd-footer { padding: 24px 18px 36px; flex-direction: column; gap: 8px; }
    .nd-auth-shell { padding: 22px 16px; }
    .nd-store-header { padding: 36px 18px 26px; display: grid; align-items: start; }
    .nd-store-layout { padding: 22px 18px 120px; grid-template-columns: 1fr; }
    .nd-product-grid { grid-template-columns: 1fr; }
    .nd-cart { position: static; }
    .nd-panel-header { padding: 0 18px; }
    .nd-panel-header > div a:first-child { display: none; }
    .nd-panel { padding: 26px 18px 70px; }
    .nd-panel-intro { display: grid; align-items: start; }
    .nd-panel-tabs { overflow-x: auto; }
    .nd-panel-tabs button { flex: none; }
    .nd-order-columns { grid-template-columns: repeat(4, minmax(82vw, 1fr)); scroll-snap-type: x mandatory; }
    .nd-order-columns > section { scroll-snap-align: start; }
    .nd-catalog-forms { grid-template-columns: 1fr; }
    .nd-store-settings { grid-template-columns: 1fr; }
    .nd-pwa-banner { grid-template-columns: 1fr auto; }
    .nd-pwa-banner > button:not(.nd-banner-close) { grid-column: 1 / -1; grid-row: 2; width: 100%; }
    .nd-banner-close { grid-column: 2; grid-row: 1; }
}

@media (prefers-color-scheme: dark) {
    :root { --nd-ink: #f5f7fb; --nd-muted: #aeb8c9; --nd-paper: #07101f; --nd-surface: #0d182b; --nd-line: #26344b; --nd-accent: #ff6508; --nd-accent-dark: #ff8b47; color-scheme: dark; }
    .nd-nav-login { border-color: #edf2ee; }
    .nd-flow { background: #050c19; }
    .nd-feature-main p, .nd-feature p, .nd-final-cta p { color: var(--nd-muted); }
    .nd-feature-accent p { color: #fff2ed; }
    .nd-final-cta { background: #13213a; }
    .nd-form input, .nd-form textarea, .nd-form select { background: #091426; border-color: #52627c; color: #f5f7fb; }
    .nd-notice { background: #2d1b16; }
    .nd-open-state { background: #183b28; color: #8ee1ad; }
    .nd-order-columns > section { background: #121b16; }
}
