:root {
  --canvas: #f7f6f2;
  --surface: #ffffff;
  --ink: #131313;
  --muted: #6e716f;
  --line: #d9d9d4;
  --brand: #3559e6;
  --brand-deep: #1d2d7b;
  --mint: #74e5c2;
  --danger: #a92727;
  --shadow: 0 22px 65px rgba(20, 20, 18, .08);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.05em; line-height: 1.06; }
h1 { font-size: clamp(2.35rem, 5.2vw, 5.4rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.skip-link { position: fixed; z-index: 99; left: 1rem; top: -5rem; background: var(--ink); color: white; padding: .65rem .9rem; border-radius: .4rem; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 78px; width: min(1280px, calc(100% - 40px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { text-decoration: none; font-weight: 760; letter-spacing: -.07em; font-size: 1.7rem; }
.wordmark span { color: var(--brand); }
.main-nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.main-nav a, .nav-contact, .footer-contact { background: none; border: 0; color: var(--muted); text-decoration: none; padding: .35rem 0; font-weight: 560; }
.main-nav a:hover, .main-nav a[aria-current="page"], .nav-contact:hover, .footer-contact:hover { color: var(--ink); }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-size: .82rem; text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.header-account { display: flex; align-items: center; min-width: 72px; justify-content: flex-end; }
.header-account > a { text-decoration: none; font-weight: 650; }
.account-menu { position: relative; }
.account-menu summary { display: flex; align-items: center; gap: .5rem; list-style: none; cursor: pointer; font-weight: 650; }
.account-menu summary::-webkit-details-marker { display: none; }
.avatar { align-items: center; background: var(--ink); border-radius: 999px; color: #fff; display: inline-flex; height: 32px; justify-content: center; width: 32px; font-size: .82rem; }
.account-popover { position: absolute; top: calc(100% + 12px); right: 0; z-index: 10; width: 162px; padding: .55rem; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 12px; }
.account-popover a, .account-popover button { display: block; width: 100%; padding: .55rem; text-align: left; text-decoration: none; color: var(--ink); border-radius: 7px; }
.account-popover a:hover, .account-popover button:hover { background: #f2f2ee; }
.text-button { border: none; background: none; }
.site-main { min-height: calc(100vh - 141px); width: min(1280px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 88px; }
.site-footer { width: min(1280px, calc(100% - 40px)); border-top: 1px solid var(--line); min-height: 62px; display: flex; margin: 0 auto; justify-content: space-between; align-items: center; color: var(--muted); font-size: .88rem; }
.eyebrow { color: var(--brand-deep); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 750; margin-bottom: .75rem; }
.hero { min-height: 555px; background: var(--ink); color: white; border-radius: 30px; padding: clamp(2rem, 7vw, 6rem); display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 4rem; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.hero::after { background: linear-gradient(125deg, rgba(53,89,230,.35), transparent 55%); content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero-copy, .hero-panel { position: relative; z-index: 1; }
.hero h1 { max-width: 780px; }
.hero-copy > p:not(.eyebrow) { max-width: 630px; color: #c6c7cc; font-size: 1.08rem; }
.hero .eyebrow { color: var(--mint); }
.hero-panel { min-height: 270px; border: 1px solid rgba(255,255,255,.17); background: rgba(255,255,255,.05); border-radius: 21px; padding: 1.8rem; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-panel strong { font-size: 1.6rem; letter-spacing: -.04em; }
.hero-panel p:last-child { color: #c6c7cc; margin: .4rem 0 0; }
.hero-orb { position: absolute; width: 175px; height: 175px; border-radius: 50%; top: -50px; right: -35px; background: linear-gradient(145deg, var(--mint), var(--brand)); filter: blur(1px); opacity: .8; }
.button { border: 1px solid var(--ink); align-items: center; border-radius: 999px; display: inline-flex; gap: .55rem; justify-content: center; min-height: 46px; padding: .65rem 1.15rem; text-decoration: none; font-weight: 700; transition: transform .16s ease, background .16s ease, color .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); border-color: var(--brand); color: white; }
.button-primary:hover { background: var(--brand-deep); }
.button-quiet { background: transparent; color: var(--ink); }
.button-quiet:hover { background: var(--ink); color: white; }
.button-disabled, .button-disabled:hover { background: #e8e9e5; border-color: #d6d7d1; color: #747672; cursor: not-allowed; pointer-events: none; transform: none; }
.hero .button-primary { margin-top: 1rem; background: white; border-color: white; color: var(--ink); }
.products-section { padding-top: 108px; }
.section-heading, .content-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; margin-bottom: 2rem; }
.section-heading h2, .content-heading h1 { margin-bottom: 0; }
.section-heading > p { max-width: 330px; margin-bottom: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; transition: transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image { background: #e9e9e5; display: block; overflow: hidden; }
.product-image img { aspect-ratio: 1.45 / 1; width: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-card-content { padding: 1.35rem; }
.product-card-content h3 a { color: inherit; text-decoration: none; }
.product-card-content > p:not(.eyebrow) { color: var(--muted); min-height: 48px; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.product-card-footer strong { letter-spacing: -.03em; }
.product-card-footer .button { min-height: 38px; padding: .42rem .85rem; font-size: .9rem; }
.product-availability { display: block; color: #126848; font-size: .75rem; font-weight: 700; margin-top: .22rem; }
.product-availability.out_of_stock, .product-availability.unavailable, .product-availability.coming_soon { color: #725100; }
.breadcrumb { display: flex; gap: .65rem; color: var(--muted); font-size: .9rem; margin-bottom: 2.2rem; }
.breadcrumb a { color: var(--ink); }
.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 7vw, 8rem); align-items: center; padding: 2rem 0; }
.product-detail-image { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #ecece8; }
.product-detail-image img { width: 100%; }
.product-detail-copy { max-width: 520px; }
.product-lede { font-size: 1.25rem; color: #424441; }
.product-introduction { margin: 1.15rem 0 1.55rem; }
.product-introduction p { color: #5d5f5c; line-height: 1.66; margin: .7rem 0; }
.product-overview { margin: 1.8rem 0 1.35rem; }
.product-overview h2 { font-size: 1.1rem; margin-bottom: .8rem; }
.product-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.product-highlights article { padding: .95rem; border: 1px solid var(--line); border-radius: .9rem; background: #fbfbf8; }
.product-highlights h3 { margin: 0 0 .4rem; font-size: .94rem; }
.product-highlights p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
@media (max-width: 760px) { .product-highlights { grid-template-columns: 1fr; } }
.price-large { font-size: 1.9rem; font-weight: 780; letter-spacing: -.05em; margin: 2rem 0 .2rem; }
.helper-copy, .field-hint, .muted-copy { color: var(--muted); font-size: .9rem; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.checkout-layout h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.lede { font-size: 1.1rem; color: #4f514e; max-width: 700px; margin-bottom: 2rem; }
.form-stack { display: grid; gap: 1rem; }
.form-stack.compact { max-width: 620px; }
.form-stack label { display: grid; color: #252725; font-size: .9rem; gap: .45rem; font-weight: 650; }
.form-stack input, .form-stack select, .form-stack textarea { border: 1px solid #bcbeb8; color: var(--ink); background: white; border-radius: 9px; min-height: 45px; padding: .62rem .75rem; outline: none; transition: border .15s ease, box-shadow .15s ease; width: 100%; }
.form-stack textarea { resize: vertical; min-height: 120px; }
.form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(53,89,230,.13); }
.form-stack input:disabled { background: #efefeb; color: #767774; }
.form-stack input:invalid:focus { border-color: var(--danger); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.form-divider { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-top: .5rem; }
.form-divider::after { content: ""; background: var(--line); height: 1px; flex: 1; }
.checkbox-label { display: flex !important; flex-direction: row; align-items: center; gap: .55rem !important; font-size: .87rem !important; }
.checkbox-label input { width: 17px; min-height: 17px; }
.optional { color: var(--muted); font-weight: 500; }
.form-feedback { margin: 0; min-height: 1.25rem; color: var(--danger); font-size: .9rem; }
.form-feedback[data-tone="success"] { color: #187c5c; }
.notice { border-radius: 11px; padding: .9rem 1rem; margin: 1.3rem 0; display: grid; gap: .3rem; }
.notice-muted { background: #e8ecff; border-left: 3px solid var(--brand); color: #22306b; }
.order-summary { position: sticky; top: 1.4rem; border: 1px solid var(--line); background: white; border-radius: var(--radius); padding: 1.35rem; }
.summary-product { border-bottom: 1px solid var(--line); padding-bottom: 1rem; display: flex; gap: .8rem; align-items: center; }
.summary-product img { width: 65px; aspect-ratio: 1; border-radius: 9px; }
.summary-product span { display: block; color: var(--muted); font-size: .82rem; margin-top: .2rem; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0 0; }
.order-summary > p:last-child { color: var(--muted); font-size: .86rem; border-top: 1px solid var(--line); margin: 1rem 0 0; padding-top: 1rem; }
.paypal-area { margin-top: 1rem; }
.auth-page { display: grid; grid-template-columns: 1fr 440px; max-width: 1060px; margin: 40px auto; gap: 6rem; align-items: center; min-height: 530px; }
.auth-intro h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.auth-intro p:not(.eyebrow) { color: var(--muted); max-width: 500px; font-size: 1.08rem; }
.auth-card { border: 1px solid var(--line); background: white; border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 12px 40px rgba(17,17,17,.05); }
.inline-link { color: var(--brand-deep); font-size: .9rem; font-weight: 700; text-underline-offset: 3px; width: fit-content; }
.inline-link-row { display: flex; flex-wrap: wrap; gap: .8rem 1.1rem; }
.human-check { border-top: 1px solid var(--line); margin-top: .2rem; padding-top: 1rem; }
.turnstile-slot { min-height: 65px; }
.human-check .field-hint { display: block; margin-top: .35rem; }
.tab-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.tab-button { border: none; background: none; padding: .7rem; color: var(--muted); font-weight: 700; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-button.active { color: var(--ink); border-color: var(--ink); }
.hidden { display: none; }
.account-main { padding-top: 25px; }
.account-layout, .admin-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(2rem, 7vw, 7.5rem); align-items: start; }
.account-sidebar { position: sticky; top: 1rem; }
.account-sidebar h2 { font-size: 1.1rem; letter-spacing: -.035em; overflow-wrap: anywhere; }
.account-sidebar nav { display: grid; margin-top: 1.5rem; }
.account-sidebar nav a { color: var(--muted); text-decoration: none; border-left: 2px solid transparent; padding: .55rem .7rem; margin-left: -.7rem; }
.account-sidebar nav a:hover, .account-sidebar nav a[aria-current="page"] { color: var(--ink); border-left-color: var(--brand); }
.account-content { min-width: 0; }
.content-heading { margin-bottom: 2rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: white; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9rem; min-width: 670px; }
th { background: #f0f0ec; color: #4d504c; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
th, td { padding: .92rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: none; }
td small { color: var(--muted); }
.link-button { padding: 0; color: var(--brand-deep); border: none; background: none; text-decoration: underline; text-underline-offset: 2px; font-weight: 650; }
.link-button.danger { color: var(--danger); }
.status, .small-status { display: inline-flex; width: fit-content; align-items: center; border-radius: 99px; padding: .27rem .55rem; background: #eaebe8; color: #4c504c; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.status-paid, .status-approved, .status-completed, .status-active { color: #126848; background: #dcf7ec; }
.status-rejected { color: #8a1e1e; background: #ffe3e3; }
.status-in-progress, .status-in-review, .status-processing, .status-waiting-for-customer { color: #725100; background: #fff0c8; }
.address-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.address-card, .request-card, .ticket-card { border: 1px solid var(--line); background: white; border-radius: 13px; padding: 1.1rem; }
.address-card h3 { font-size: 1rem; margin: .7rem 0 .3rem; }
.address-card p { font-size: .9rem; color: #50534f; }
.card-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.nested-form { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.nested-form h2 { font-size: 1.5rem; }
.inline-actions { display: flex; gap: .8rem; align-items: center; }
.admin-order-form { display: flex; align-items: center; gap: .45rem; min-width: 185px; }
.admin-order-form select { min-width: 0; flex: 1; border: 1px solid var(--line); border-radius: 7px; background: white; padding: .32rem; font-size: .82rem; }
.shipment-form { align-items: stretch; flex-direction: column; min-width: 235px; }
.shipment-form > select { flex: initial; width: 100%; }
.shipment-editor { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .45rem; }
.shipment-editor summary { color: var(--brand-deep); cursor: pointer; font-size: .82rem; font-weight: 700; }
.shipment-editor label { color: #464944; display: grid; font-size: .76rem; font-weight: 650; gap: .25rem; margin-top: .55rem; }
.shipment-editor input, .shipment-editor textarea, .inventory-table input, .inventory-table select { border: 1px solid var(--line); border-radius: 7px; min-height: 34px; padding: .35rem .45rem; width: 100%; }
.shipment-editor textarea { resize: vertical; }
.inventory-table input, .inventory-table select { min-width: 125px; }
.operations-actions { border-top: 1px solid var(--line); margin-top: 2.75rem; padding-top: 2rem; }
.operations-actions .section-heading { margin-bottom: 1.2rem; }
.operations-actions h2 { font-size: 1.65rem; }
.operations-action-list { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.operations-action-list a { background: #fff; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); display: grid; gap: .22rem; min-height: 145px; padding: 1rem; position: relative; text-decoration: none; transition: border-color .16s ease, transform .16s ease; }
.operations-action-list a:hover { border-color: var(--brand); transform: translateY(-2px); }
.operations-action-list strong { color: var(--brand-deep); font-size: 2rem; letter-spacing: -.06em; line-height: 1; }
.operations-action-list span { font-size: .9rem; font-weight: 760; max-width: 185px; }
.operations-action-list small, .operations-clear > p:not(.eyebrow) { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.operations-action-list b { bottom: .8rem; color: var(--brand); font-size: 1rem; position: absolute; right: .9rem; }
.operations-clear { background: #effaf4; border: 1px solid #d7eee0; border-radius: 13px; padding: 1.15rem; }
.operations-clear h2 { margin: .3rem 0; }
.inventory-summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.inventory-product-list { display: grid; gap: 1rem; margin-top: 1.35rem; }
.inventory-product-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(1rem, 2.5vw, 1.6rem); }
.inventory-product-heading { align-items: center; display: grid; gap: 1rem; grid-template-columns: 76px minmax(0, 1fr) auto; }
.inventory-product-heading img { background: #eef0ec; border-radius: 10px; height: 76px; object-fit: cover; width: 76px; }
.inventory-product-heading h2 { font-size: 1.35rem; margin: .15rem 0; }
.inventory-product-heading p:not(.eyebrow) { color: var(--muted); font-size: .84rem; margin: 0; }
.inventory-health { display: grid; gap: .18rem; grid-template-columns: auto 1fr; min-width: 150px; }
.inventory-health-dot { background: #aeb5b0; border-radius: 50%; grid-row: 1 / span 2; height: 9px; margin-top: .32rem; width: 9px; }
.inventory-health-dot.healthy { background: #1aa66d; box-shadow: 0 0 0 4px rgba(26,166,109,.11); }
.inventory-health-dot.low_stock { background: #d99008; box-shadow: 0 0 0 4px rgba(217,144,8,.12); }
.inventory-health-dot.out_of_stock { background: #c94242; box-shadow: 0 0 0 4px rgba(201,66,66,.11); }
.inventory-health-dot.paused, .inventory-health-dot.draft { background: #848986; }
.inventory-health strong { font-size: .88rem; }
.inventory-health small { color: var(--muted); font-size: .74rem; }
.inventory-editor { border-top: 1px solid var(--line); display: grid; gap: .9rem; margin-top: 1.35rem; padding-top: 1.2rem; }
.inventory-editor-fields { display: grid; gap: .8rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.inventory-editor label { color: #3f433f; display: grid; font-size: .76rem; font-weight: 730; gap: .35rem; }
.inventory-editor input, .inventory-editor select, .inventory-editor textarea { background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font: inherit; min-height: 42px; padding: .5rem .6rem; width: 100%; }
.inventory-editor textarea { min-height: 64px; resize: vertical; }
.inventory-editor-footer { align-items: center; display: flex; gap: 1rem; justify-content: space-between; }
.inventory-editor-footer p { color: var(--muted); font-size: .77rem; margin: 0; }
.inventory-editor-footer .button { min-height: 42px; }
.inventory-readonly { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; margin-top: 1.2rem; padding-top: 1rem; }
.inventory-readonly span { color: var(--muted); font-size: .78rem; }
.inventory-readonly strong { color: var(--ink); margin-left: .2rem; }
.inventory-history { margin-top: 3rem; }
.policy-editor-list { display: grid; gap: 1.3rem; }
.policy-editor-card { background: white; border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 1.5rem; grid-template-columns: minmax(190px, .5fr) minmax(0, 1fr); padding: 1.25rem; }
.policy-editor-card h2 { font-size: 1.4rem; }
.policy-page { max-width: 800px; margin: 2rem auto 5rem; }
.policy-page h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.policy-status { color: var(--muted); font-size: .9rem; }
.policy-copy { background: white; border: 1px solid var(--line); border-radius: 15px; margin-top: 2rem; padding: clamp(1.35rem, 4vw, 2.5rem); }
.policy-copy p { color: #444643; font-size: 1.04rem; }
.policy-copy p:last-child { margin-bottom: 0; }
.policy-help { color: var(--muted); margin-top: 1.2rem; }
.analytics-table { margin-top: 1rem; }
.admin-analytics-preview { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.analytics-heading { align-items: flex-start; }
.analytics-heading h1 { margin-bottom: .4rem; }
.analytics-actions { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; justify-content: flex-end; }
.analytics-range { display: inline-flex; gap: .3rem; padding: .28rem; border: 1px solid var(--line); background: white; border-radius: 999px; }
.analytics-range button { border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: .8rem; font-weight: 700; padding: .44rem .66rem; }
.analytics-range button:hover, .analytics-range button.active { color: white; background: var(--ink); }
.analytics-section { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2rem; }
.analytics-section .section-heading { margin-bottom: 1.3rem; }
.analytics-section .section-heading h2 { font-size: 1.65rem; }
.analytics-section .section-heading > p { max-width: 470px; font-size: .88rem; }
.analytics-sales-grid { grid-template-columns: repeat(5, 1fr); }
.analytics-funnel { display: grid; gap: .75rem; }
.analytics-funnel-row { align-items: center; background: white; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: .6rem 1rem; grid-template-columns: minmax(160px, 1fr) auto; padding: .95rem 1rem; }
.analytics-funnel-row strong { display: block; letter-spacing: -.02em; }
.analytics-funnel-row > div:first-child span, .analytics-funnel-value span { color: var(--muted); display: block; font-size: .78rem; }
.analytics-funnel-value { text-align: right; }
.analytics-progress { background: #ecece7; border-radius: 999px; grid-column: 1 / -1; height: 7px; overflow: hidden; }
.analytics-progress span { background: linear-gradient(90deg, var(--brand), var(--mint)); border-radius: inherit; display: block; height: 100%; transition: width .25s ease; width: 0; }
.analytics-trend { align-items: end; background: white; border: 1px solid var(--line); border-radius: 13px; display: grid; gap: .45rem; grid-template-columns: repeat(auto-fit, minmax(34px, 1fr)); min-height: 220px; overflow-x: auto; padding: 1rem 1rem .75rem; }
.analytics-day { align-items: center; display: grid; gap: .2rem; grid-template-rows: 130px auto auto; min-width: 34px; text-align: center; }
.analytics-day-bar { align-self: end; background: linear-gradient(180deg, var(--brand), var(--brand-deep)); border-radius: 5px 5px 2px 2px; height: 4%; min-height: 4px; }
.analytics-progress span[data-level="10"] { width: 10%; }.analytics-progress span[data-level="20"] { width: 20%; }.analytics-progress span[data-level="30"] { width: 30%; }.analytics-progress span[data-level="40"] { width: 40%; }.analytics-progress span[data-level="50"] { width: 50%; }.analytics-progress span[data-level="60"] { width: 60%; }.analytics-progress span[data-level="70"] { width: 70%; }.analytics-progress span[data-level="80"] { width: 80%; }.analytics-progress span[data-level="90"] { width: 90%; }.analytics-progress span[data-level="100"] { width: 100%; }
.analytics-day-bar[data-level="10"] { height: 10%; }.analytics-day-bar[data-level="20"] { height: 20%; }.analytics-day-bar[data-level="30"] { height: 30%; }.analytics-day-bar[data-level="40"] { height: 40%; }.analytics-day-bar[data-level="50"] { height: 50%; }.analytics-day-bar[data-level="60"] { height: 60%; }.analytics-day-bar[data-level="70"] { height: 70%; }.analytics-day-bar[data-level="80"] { height: 80%; }.analytics-day-bar[data-level="90"] { height: 90%; }.analytics-day-bar[data-level="100"] { height: 100%; }
.analytics-day span { color: var(--muted); font-size: .67rem; white-space: nowrap; }
.analytics-day strong { font-size: .72rem; }
.table-empty { color: var(--muted); padding: 1.5rem; text-align: center; }
.request-list, .ticket-list, .admin-service-list { display: grid; gap: 1rem; }
.request-card { display: grid; grid-template-columns: 1fr auto; gap: .8rem 1rem; }
.request-card > p { grid-column: 1 / -1; margin: 0; }
.request-card span:not(.status) { display: block; color: var(--muted); font-size: .85rem; }
.admin-note { color: #445249; background: #eff7f2; padding: .6rem; border-radius: 7px; }
.ticket-title { display: flex; gap: 1rem; justify-content: space-between; align-items: start; }
.ticket-title h3 { margin-bottom: .2rem; }
.ticket-title p { color: var(--muted); font-size: .86rem; }
.message-thread { display: grid; gap: .7rem; margin: 1rem 0; }
.message { border-radius: 10px; background: #f0f0ed; padding: .7rem .8rem; max-width: 85%; }
.message.admin { background: #e5eaff; margin-left: auto; }
.message span { display: block; font-weight: 750; font-size: .73rem; color: var(--brand-deep); text-transform: uppercase; letter-spacing: .05em; }
.message p { margin: .2rem 0 0; font-size: .9rem; white-space: pre-wrap; }
.inline-message { display: flex; gap: .7rem; }
.inline-message input { min-width: 0; flex: 1; }
.inline-message .button { min-height: 42px; }
.empty-state, .restricted { border: 1px solid var(--line); background: white; border-radius: var(--radius); padding: clamp(2rem, 5vw, 4rem); text-align: center; max-width: 720px; margin: 6rem auto; }
.empty-state h2, .restricted h1 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.empty-state p, .restricted p { color: var(--muted); max-width: 480px; margin: 0 auto 1.5rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.metric-grid article { border: 1px solid var(--line); background: white; border-radius: 13px; padding: 1.1rem; }
.metric-grid span, .metric-grid small { display: block; color: var(--muted); font-size: .84rem; }
.metric-grid strong { display: block; font-size: 1.8rem; letter-spacing: -.06em; margin: .45rem 0; overflow-wrap: anywhere; }
.subsection-title { margin: 3rem 0 1.2rem; font-size: 1.6rem; }
.admin-service-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr); gap: 2rem; border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; background: white; }
.admin-service-card h3 { margin-bottom: .45rem; }
.compact-thread { max-height: 250px; overflow: auto; padding-right: .25rem; }
.modal-backdrop { position: fixed; z-index: 30; inset: 0; padding: 1.25rem; display: flex; background: rgba(10,10,10,.48); align-items: center; justify-content: center; }
.contact-modal { position: relative; background: white; max-width: 510px; width: 100%; border-radius: 17px; padding: 2.1rem; box-shadow: 0 20px 90px rgba(0,0,0,.3); }
.contact-modal h2 { font-size: 2rem; }
.contact-modal a { color: var(--brand-deep); font-weight: 700; }
.modal-close { position: absolute; right: 1rem; top: .7rem; border: none; background: none; color: var(--muted); font-size: 2rem; line-height: 1; }
.toast-region { position: fixed; z-index: 60; right: 1rem; bottom: 1rem; display: grid; gap: .6rem; width: min(370px, calc(100% - 2rem)); }
.toast { border-radius: 11px; background: var(--ink); color: white; padding: .85rem 1rem; box-shadow: var(--shadow); font-size: .9rem; }
.toast.error { background: #8d2727; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; min-height: auto; }
  .hero-panel { min-height: 190px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; grid-row: 1; }
  .auth-page { gap: 3rem; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .analytics-sales-grid { grid-template-columns: repeat(2, 1fr); }
  .account-layout, .admin-layout { gap: 3rem; }
}
@media (max-width: 720px) {
  .site-header, .site-main, .site-footer { width: min(100% - 28px, 1280px); }
  .site-header { min-height: 66px; }
  .main-nav { gap: .85rem; }
  .desktop-only { display: none; }
  .hero { border-radius: 20px; padding: 2rem 1.35rem; }
  .hero h1 { font-size: 2.7rem; }
  .products-section { padding-top: 64px; }
  .section-heading, .content-heading { align-items: start; flex-direction: column; gap: .8rem; }
  .product-grid, .address-list { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
  .field-grid, .field-grid.three { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; margin: 10px auto 30px; gap: 2rem; min-height: 0; }
  .auth-intro h1 { font-size: 2.8rem; }
  .account-layout, .admin-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .account-sidebar { position: static; overflow: hidden; }
  .account-sidebar nav { display: flex; gap: .7rem; overflow-x: auto; margin: .5rem -14px 0; padding: .5rem 14px; }
  .account-sidebar nav a { margin: 0; padding: .4rem .15rem; white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; }
  .account-sidebar nav a[aria-current="page"] { border-left: none; border-bottom-color: var(--brand); }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .analytics-sales-grid { grid-template-columns: 1fr 1fr; }
  .analytics-heading { flex-direction: column; }
  .analytics-actions { justify-content: flex-start; }
  .admin-service-card { grid-template-columns: 1fr; gap: 1rem; }
  .policy-editor-card { grid-template-columns: 1fr; }
  .request-card { grid-template-columns: 1fr; }
  .request-card > p { grid-column: auto; }
  .ticket-title { display: block; }
  .ticket-title .status { margin-top: .5rem; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .35rem; padding: 1rem 0; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 400px) {
  .main-nav { display: none; }
  .metric-grid { grid-template-columns: 1fr; }
  .analytics-sales-grid { grid-template-columns: 1fr; }
  .inline-message { display: grid; grid-template-columns: 1fr; }
}

/* Single-product storefront */
.site-header { min-height: 84px; position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--canvas) 92%, transparent); border-bottom: 1px solid rgba(19, 19, 19, .08); backdrop-filter: blur(18px); }
.wordmark { align-items: center; display: inline-flex; gap: .43rem; font-size: .86rem; font-weight: 820; letter-spacing: .12em; }
.wordmark-mark { align-items: center; background: var(--ink); border-radius: 50%; color: white; display: inline-flex; font-family: Georgia, serif; font-size: .68rem; font-weight: 500; height: 24px; justify-content: center; letter-spacing: 0; width: 24px; }
.wordmark small, .footer-wordmark small { color: var(--brand); font-size: .63em; letter-spacing: .06em; vertical-align: top; }
.main-nav { gap: 1.35rem; }
.main-nav a, .nav-contact, .footer-contact { color: #686b68; font-size: .78rem; font-weight: 720; letter-spacing: .02em; }
.main-nav a:hover, .main-nav a[aria-current="page"], .nav-contact:hover, .footer-contact:hover { color: var(--ink); }
.header-account > a { align-items: center; border: 1px solid var(--ink); border-radius: 999px; display: inline-flex; font-size: .78rem; min-height: 35px; padding: .3rem .72rem; }
.site-footer { border-color: rgba(19, 19, 19, .12); min-height: 94px; }
.site-footer > div { align-items: center; display: flex; gap: .8rem; }
.site-footer > div > span { color: var(--muted); font-size: .75rem; }
.footer-wordmark { color: var(--ink); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-decoration: none; }

.site-main.product-site { padding: 0 0 7rem; width: min(1380px, calc(100% - 48px)); }
.product-site h1 em { color: #b9ffcf; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 500; letter-spacing: -.075em; }
.mono-kicker { color: #5071dd; font-size: .69rem; font-weight: 800; letter-spacing: .17em; margin-bottom: 1.1rem; text-transform: uppercase; }
.mono-kicker span { color: currentColor; padding: 0 .18rem; }
.mono-hero { background: #0b0d10; border-radius: 30px; color: #f8f8f4; display: grid; gap: 2rem; grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr); margin-top: 1.6rem; min-height: min(720px, calc(100vh - 125px)); overflow: hidden; position: relative; }
.mono-hero::before { background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 48px 48px; content: ""; inset: 0; mask-image: linear-gradient(90deg, black, transparent 64%); opacity: .34; pointer-events: none; position: absolute; }
.mono-hero-copy { align-self: center; max-width: 600px; padding: clamp(2.4rem, 6vw, 6.6rem) 0 clamp(2.4rem, 6vw, 5rem) clamp(2rem, 7vw, 8rem); position: relative; z-index: 1; }
.mono-hero .mono-kicker { color: #b9ffcf; }
.mono-hero h1 { font-size: clamp(3.75rem, 7.1vw, 7.4rem); line-height: .91; margin: 0; }
.mono-summary { color: #afb5b5; font-size: 1.06rem; line-height: 1.6; margin: 2rem 0 0; max-width: 455px; }
.mono-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2.15rem; }
.mono-hero .button-primary, .button-light { background: #b9ffcf; border-color: #b9ffcf; color: #0b0d10; }
.mono-hero .button-primary:hover, .button-light:hover { background: white; border-color: white; color: #0b0d10; }
.text-link { color: #f2f3ef; font-size: .9rem; font-weight: 700; text-underline-offset: 4px; }
.mono-spec-row { border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; gap: .85rem 1.2rem; margin-top: 4.7rem; padding-top: 1.1rem; }
.mono-spec-row span { color: #8f9898; font-size: .62rem; font-weight: 760; letter-spacing: .1em; }
.mono-hero-stage { align-self: stretch; background: #111419; isolation: isolate; min-height: 530px; overflow: hidden; position: relative; }
.mono-hero-stage::after { background: linear-gradient(180deg, rgba(5,8,12,.1), rgba(2,4,5,.5)); content: ""; inset: 0; pointer-events: none; position: absolute; z-index: 2; }
.stage-atmosphere { filter: contrast(1.12) saturate(.86); height: 100%; inset: 0; object-fit: cover; opacity: .9; position: absolute; width: 100%; z-index: 0; }
.stage-sheet { background: #f8f6f0; box-shadow: 0 45px 80px rgba(0,0,0,.58), 0 0 0 1px rgba(255,255,255,.18); height: min(74%, 500px); left: 51%; overflow: hidden; position: absolute; top: 53%; transform: translate(-50%, -50%) rotate(7deg); width: min(74%, 500px); z-index: 3; }
.stage-sheet::before { background: linear-gradient(135deg, rgba(20,27,38,.07), transparent 42%); content: ""; inset: 0; pointer-events: none; position: absolute; z-index: 1; }
.stage-sheet .stage-product { display: block; height: 100%; object-fit: cover; position: relative; width: 100%; }
.stage-index { color: rgba(255,255,255,.34); font-size: clamp(7rem, 17vw, 16rem); font-weight: 800; letter-spacing: -.12em; line-height: 1; position: absolute; right: 4.5%; top: 3.5%; z-index: 1; }
.stage-label { bottom: 7%; color: white; font-size: .7rem; font-weight: 800; left: 8%; letter-spacing: .15em; line-height: 1.45; position: absolute; z-index: 4; }
.stage-marker { color: rgba(255,255,255,.74); font-size: .57rem; font-weight: 800; letter-spacing: .16em; line-height: 1.55; position: absolute; right: 8%; text-align: right; top: 11%; z-index: 4; }
.stage-orbit { border: 1px solid rgba(185,255,207,.42); border-radius: 50%; position: absolute; z-index: 0; }
.orbit-one { height: 78%; right: -21%; top: 8%; width: 78%; }
.orbit-two { height: 38%; right: 36%; top: 27%; width: 38%; }
.mono-intro { align-items: end; display: grid; gap: 3rem; grid-template-columns: minmax(0, .93fr) minmax(300px, .67fr); margin: 0 auto; max-width: 1130px; padding: clamp(6rem, 13vw, 11.5rem) 0; }
.mono-intro h2 { font-size: clamp(2.8rem, 5vw, 5.35rem); margin: 0; }
.mono-intro > p { color: #545856; font-size: 1.1rem; line-height: 1.7; margin: 0 0 .35rem; max-width: 430px; }
.mono-showcase { align-items: center; display: grid; gap: clamp(2.5rem, 7vw, 8rem); grid-template-columns: minmax(0, 1.03fr) minmax(300px, .72fr); margin: 0 auto; max-width: 1230px; }
.mono-image-frame { aspect-ratio: 1 / 1; background: #111419; border-radius: 18px; overflow: hidden; position: relative; }
.mono-image-frame::before { background: radial-gradient(circle, transparent 34%, rgba(15,19,22,.17) 34.4%, transparent 34.8%), linear-gradient(45deg, transparent 49.5%, rgba(15,19,22,.1) 50%, transparent 50.5%); content: ""; inset: 0; position: absolute; }
.mono-image-frame > span { color: rgba(255,255,255,.72); font-size: .67rem; font-weight: 800; left: 1.6rem; letter-spacing: .16em; position: absolute; top: 1.45rem; z-index: 3; }
.showcase-product-sheet { background: #f8f6f0; box-shadow: 0 26px 65px rgba(0,0,0,.48); left: 51%; position: absolute; top: 53%; transform: translate(-50%, -50%) rotate(-6deg); width: 72%; z-index: 1; }
.showcase-product-sheet img { display: block; width: 100%; }
.mono-feature-list h2 { font-size: clamp(2.25rem, 3.9vw, 4rem); margin-bottom: 2.1rem; }
.mono-feature-grid { display: grid; }
.mono-feature-grid article { border-top: 1px solid var(--line); display: grid; gap: .75rem; grid-template-columns: 34px 1fr; padding: 1.1rem 0; }
.mono-feature-grid article:last-child { border-bottom: 1px solid var(--line); }
.mono-feature-grid article > span, .product-highlights article > span { color: #5071dd; font-size: .7rem; font-weight: 800; letter-spacing: .09em; }
.mono-feature-grid h3 { font-size: 1.03rem; grid-column: 2; margin: 0; }
.mono-feature-grid p { color: var(--muted); font-size: .88rem; grid-column: 2; line-height: 1.55; margin: -.35rem 0 0; }
.mono-purchase { align-items: end; background: #2954db; border-radius: 28px; color: white; display: grid; gap: 2rem; grid-template-columns: 1fr 325px; margin-top: clamp(6rem, 13vw, 12rem); padding: clamp(2rem, 6vw, 5.3rem); }
.mono-purchase .mono-kicker { color: #b9ffcf; }
.mono-purchase h2 { font-size: clamp(2.5rem, 4.8vw, 5rem); margin-bottom: 1.3rem; }
.mono-purchase > div > p:last-child { color: rgba(255,255,255,.76); font-size: 1rem; margin-bottom: 0; max-width: 510px; }
.mono-purchase-card { background: #f6f7f3; border-radius: 18px; color: #111317; display: flex; flex-direction: column; padding: 1.45rem; }
.mono-purchase-card strong { font-size: 2.6rem; letter-spacing: -.07em; margin-top: 2.3rem; }
.mono-purchase-card small { color: #656865; font-size: .73rem; margin: .3rem 0 1.6rem; }
.mono-purchase-card .button { margin-top: auto; width: 100%; }
.mono-status { font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.mono-status.in_stock { color: #14724d; }
.mono-status.out_of_stock, .mono-status.coming_soon, .mono-status.unavailable { color: #8a5e08; }
.mono-closing { padding: clamp(6rem, 13vw, 12rem) 0 clamp(3rem, 7vw, 6rem); text-align: center; }
.mono-closing p { color: #5071dd; font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
.mono-closing h2 { font-size: clamp(3rem, 6.5vw, 6.5rem); margin: 1rem 0 0; }

.product-page-hero { align-items: center; background: #0b0d10; border-radius: 28px; color: #f8f8f4; display: grid; gap: 2rem; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); margin-top: 1.6rem; min-height: 610px; overflow: hidden; }
.product-page-copy { padding: clamp(2.3rem, 6vw, 5.8rem); }
.product-page-copy .mono-kicker { color: #b9ffcf; }
.product-page-copy h1 { font-size: clamp(3.45rem, 6.5vw, 6.6rem); line-height: .93; margin-bottom: 1.7rem; }
.product-page-copy .product-lede { color: #c6cccb; font-size: 1.1rem; line-height: 1.65; max-width: 470px; }
.product-buy-row { align-items: center; display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 2.5rem; }
.product-buy-row > div { display: grid; }
.product-buy-row strong { font-size: 1.7rem; letter-spacing: -.055em; }
.product-buy-row span { color: #b9ffcf; font-size: .73rem; font-weight: 700; margin-top: .2rem; }
.product-buy-row .button { background: #b9ffcf; border-color: #b9ffcf; color: #0b0d10; }
.product-page-image { align-self: stretch; background: #111419; isolation: isolate; min-height: 430px; overflow: hidden; position: relative; }
.product-page-image::before { border: 1px solid rgba(185,255,207,.35); border-radius: 50%; content: ""; height: 85%; position: absolute; right: -20%; top: 10%; width: 85%; }
.product-page-image > span { color: rgba(255,255,255,.72); font-size: .7rem; font-weight: 800; left: 2rem; letter-spacing: .15em; position: absolute; top: 1.8rem; z-index: 4; }
.product-page-image .stage-atmosphere { opacity: .78; }
.product-page-image .stage-sheet { height: min(76%, 500px); top: 57%; width: min(76%, 500px); z-index: 3; }
.product-page-marker { bottom: 1.9rem; color: rgba(255,255,255,.7); font-size: .57rem; font-style: normal; font-weight: 800; letter-spacing: .16em; line-height: 1.55; position: absolute; right: 2rem; text-align: right; z-index: 4; }
.product-story { align-items: start; display: grid; gap: clamp(2.5rem, 9vw, 10rem); grid-template-columns: minmax(250px, .74fr) minmax(330px, .75fr); margin: 0 auto; max-width: 1090px; padding: clamp(6rem, 13vw, 11.5rem) 0; }
.product-story h2 { font-size: clamp(2.45rem, 4.6vw, 4.75rem); margin: 0; }
.product-introduction { margin: 0; }
.product-introduction p { color: #555955; font-size: 1.03rem; line-height: 1.72; margin: 0 0 1.25rem; }
.product-site .product-overview { margin: 0 auto; max-width: 1230px; padding-bottom: clamp(5.5rem, 10vw, 10rem); }
.product-site .product-overview h2 { font-size: clamp(2.35rem, 4.2vw, 4.5rem); margin-bottom: 2.35rem; }
.product-site .product-highlights { gap: 1px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.product-site .product-highlights article { background: #e9e9e3; border: 0; border-radius: 0; min-height: 230px; padding: 1.35rem; }
.product-site .product-highlights h3 { font-size: 1rem; margin: 3.6rem 0 .55rem; }
.product-site .product-highlights p { color: #5a5d59; font-size: .85rem; }
.product-detail-cta { align-items: end; background: #111419; border-radius: 26px; color: white; display: flex; gap: 3rem; justify-content: space-between; margin: 0 auto; max-width: 1230px; padding: clamp(2rem, 5vw, 4.7rem); }
.product-detail-cta .mono-kicker { color: #b9ffcf; }
.product-detail-cta h2 { font-size: clamp(2.35rem, 4.5vw, 4.8rem); margin: 0; }
.product-detail-cta > div:last-child { max-width: 320px; }
.product-detail-cta .helper-copy { color: #b7bdbb; line-height: 1.6; margin-bottom: 1.25rem; }
.product-detail-cta .button { background: #b9ffcf; border-color: #b9ffcf; color: #0b0d10; }

@media (max-width: 980px) {
  .mono-hero, .product-page-hero { grid-template-columns: 1fr; }
  .mono-hero-copy { max-width: 650px; padding-bottom: 2.5rem; }
  .mono-hero-stage { min-height: 550px; }
  .mono-hero-stage .stage-sheet { height: min(76%, 510px); width: min(70%, 510px); }
  .mono-intro, .mono-showcase, .product-story { grid-template-columns: 1fr; }
  .mono-intro { padding-bottom: 6rem; }
  .mono-intro > p { max-width: 560px; }
  .mono-showcase { max-width: 760px; }
  .mono-purchase { grid-template-columns: 1fr; }
  .mono-purchase-card { max-width: 410px; }
  .product-site .product-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-detail-cta { align-items: start; flex-direction: column; }
}
@media (max-width: 720px) {
  .site-header { min-height: 70px; width: min(100% - 28px, 1380px); }
  .main-nav { display: none; }
  .site-main.product-site { width: min(100% - 28px, 1380px); }
  .site-footer { min-height: auto; padding: 1.5rem 0; width: min(100% - 28px, 1380px); }
  .site-footer, .site-footer > div { align-items: flex-start; flex-direction: column; }
  .mono-hero, .product-page-hero { border-radius: 20px; margin-top: .8rem; }
  .mono-hero-copy { padding: 2rem 1.5rem 2.4rem; }
  .mono-hero h1, .product-page-copy h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .mono-summary { font-size: .98rem; }
  .mono-spec-row { margin-top: 3rem; }
  .mono-hero-stage { min-height: 380px; }
  .mono-hero-stage .stage-sheet { height: 78%; width: min(77%, 410px); }
  .stage-index { font-size: 9rem; }
  .mono-intro { gap: 1.4rem; padding: 5.5rem 0; }
  .mono-intro h2 { font-size: 3rem; }
  .mono-intro > p { font-size: 1rem; }
  .mono-image-frame { margin: 0 -14px; }
  .mono-feature-list { padding-top: 1rem; }
  .mono-purchase { border-radius: 18px; margin-top: 6rem; padding: 1.55rem; }
  .mono-purchase-card { max-width: none; }
  .mono-closing { padding-bottom: 3rem; }
  .product-page-copy { padding: 2rem 1.5rem; }
  .product-page-image { min-height: 360px; }
  .product-page-image .stage-sheet { height: 78%; width: min(78%, 410px); }
  .product-story { gap: 1.7rem; padding: 5.5rem 0; }
  .product-site .product-highlights { grid-template-columns: 1fr; }
  .product-site .product-highlights article { min-height: 0; padding: 1.2rem; }
  .product-site .product-highlights h3 { margin-top: 1.8rem; }
  .product-detail-cta { border-radius: 18px; padding: 1.6rem; }
}

/* Unified account, support and guide experience */
.auth-page { background: #0b0e13; border-radius: 30px; color: #f6f6f2; display: grid; gap: clamp(2rem, 6vw, 7rem); grid-template-columns: minmax(0, 1fr) minmax(390px, .72fr); isolation: isolate; margin: 1.6rem 0 0; min-height: min(700px, calc(100vh - 175px)); overflow: hidden; padding: clamp(2rem, 6.8vw, 7rem); position: relative; }
.auth-page::before { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 46px 46px; content: ""; inset: 0; mask-image: linear-gradient(90deg, black, transparent 70%); opacity: .48; pointer-events: none; position: absolute; }
.auth-page::after { background: url('/assets/mig-hero-atmosphere.png') center / cover no-repeat; content: ""; filter: saturate(.75) contrast(1.08); inset: 0 43% 0 0; mix-blend-mode: screen; opacity: .34; pointer-events: none; position: absolute; }
.auth-intro { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; max-width: 620px; padding: clamp(.5rem, 3vw, 2.6rem) 0; position: relative; z-index: 1; }
.auth-intro .eyebrow { color: #b9ffcf; }
.auth-intro h1 { font-size: clamp(3.5rem, 6vw, 6.7rem); letter-spacing: -.085em; line-height: .9; margin-bottom: 1.8rem; }
.auth-intro p:not(.eyebrow) { color: #b9c0be; font-size: 1.08rem; line-height: 1.65; max-width: 480px; }
.auth-signals { border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; margin-top: 3rem; padding-top: 1rem; }
.auth-signals span { color: rgba(255,255,255,.64); font-size: .6rem; font-weight: 800; letter-spacing: .12em; }
.auth-card { align-self: center; background: rgba(250,249,244,.98); border: 1px solid rgba(255,255,255,.45); border-radius: 20px; box-shadow: 0 35px 100px rgba(0,0,0,.34); color: #151719; max-width: 470px; padding: 1.2rem 1.3rem 1.35rem; position: relative; width: 100%; z-index: 2; }
.auth-card::before { background: linear-gradient(90deg, #3559e6, #b9ffcf); content: ""; height: 3px; left: 1.3rem; position: absolute; right: 1.3rem; top: 0; }
.auth-card-meta { color: #717775; display: flex; font-size: .61rem; font-weight: 800; justify-content: space-between; letter-spacing: .14em; padding: .5rem .05rem 1.1rem; }
.auth-card .tab-row { border-color: #d7d8d1; margin-bottom: 1.45rem; }
.auth-card .tab-button { color: #767a77; font-size: .96rem; padding: .8rem .5rem; }
.auth-card .tab-button.active { border-color: #101215; color: #101215; }
.auth-card .form-stack { gap: 1.05rem; }
.auth-card .form-stack label, .security-panel .form-stack label { color: #1e2121; font-size: .79rem; font-weight: 780; letter-spacing: .015em; }
.auth-card .form-stack input, .security-panel .form-stack input { background: #fff; border-color: #cdd0c8; border-radius: 10px; min-height: 49px; }
.auth-card .form-stack input:focus, .security-panel .form-stack input:focus { border-color: #3559e6; box-shadow: 0 0 0 4px rgba(53,89,230,.12); }
.password-field { display: block; position: relative; }
.password-field input { padding-right: 4.4rem !important; }
.password-toggle { align-items: center; background: transparent; border: 0; color: #3559e6; display: inline-flex; font-size: .7rem; font-weight: 800; justify-content: center; letter-spacing: .04em; min-height: 40px; min-width: 44px; padding: .35rem; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); }
.password-toggle:hover { color: #111419; }
.password-match { color: #7b3b14; font-size: .78rem; font-weight: 700; margin: -.25rem 0 0; min-height: 1.15rem; }
.password-match[data-state="valid"] { color: #15714e; }
.auth-card .button-primary, .security-panel .button-primary { background: #2349e9; border-color: #2349e9; min-height: 50px; width: 100%; }
.auth-card .button-primary:hover, .security-panel .button-primary:hover { background: #101d73; }
.auth-card .inline-link { color: #223cad; }
.auth-card-footer { border-top: 1px solid #dddeda; color: #737773; font-size: .72rem; line-height: 1.55; margin: 1.4rem 0 0; padding-top: 1rem; }
.auth-card-footer a { color: #263fb3; font-weight: 700; }

.account-layout { background: #101419; border-radius: 28px; gap: clamp(1.5rem, 4vw, 4.5rem); grid-template-columns: minmax(205px, .34fr) minmax(0, 1fr); min-height: 660px; padding: clamp(1.2rem, 3vw, 2.4rem); }
.account-layout .account-sidebar { background: linear-gradient(160deg, #1a222d, #101419); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; color: #f8f8f4; padding: 1.35rem; top: 1rem; }
.account-layout .account-sidebar .eyebrow { color: #b9ffcf; }
.account-layout .account-sidebar h2 { font-size: 1.2rem; line-height: 1.18; }
.account-layout .account-sidebar nav { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.3rem; padding-top: .65rem; }
.account-layout .account-sidebar nav a { color: #aeb7b4; border-left: 0; border-radius: 8px; margin: 0; padding: .58rem .65rem; }
.account-layout .account-sidebar nav a:hover, .account-layout .account-sidebar nav a[aria-current="page"] { background: rgba(185,255,207,.1); border-left: 0; color: #fff; }
.account-layout .account-content { background: #f8f7f2; border-radius: 18px; min-height: 590px; padding: clamp(1.5rem, 4vw, 3.5rem); }
.account-layout .content-heading { border-bottom: 1px solid #deded7; padding-bottom: 1.5rem; }
.account-layout .content-heading .eyebrow { color: #3559e6; }
.security-panel { align-items: stretch; background: #12181e; border-radius: 16px; color: #fff; display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(190px, .7fr) minmax(0, 1fr); margin-top: 2rem; overflow: hidden; padding: clamp(1.3rem, 3.5vw, 2.7rem); position: relative; }
.security-panel::after { background: radial-gradient(circle, rgba(185,255,207,.25), transparent 65%); content: ""; height: 360px; pointer-events: none; position: absolute; right: -150px; top: -190px; width: 360px; }
.security-panel-copy { position: relative; z-index: 1; }
.security-panel-copy > span { color: #b9ffcf; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.security-panel-copy h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); margin-top: 3.6rem; }
.security-panel-copy p { color: #b7c0bc; font-size: .88rem; max-width: 250px; }
.security-panel .form-stack { background: #f7f6f1; border-radius: 13px; padding: 1.25rem; position: relative; z-index: 1; }
.security-panel .field-hint { color: #696e6a; }
.security-panel .password-match { margin-top: -.35rem; }

.guide-page { margin-top: 1.6rem; }
.guide-hero { background: #11161d; border-radius: 28px; color: #fff; min-height: 390px; overflow: hidden; padding: clamp(2rem, 6vw, 5.5rem); position: relative; }
.guide-hero::after { background: url('/assets/mig-hero-atmosphere.png') center / cover no-repeat; content: ""; filter: saturate(.75); inset: 0 0 0 43%; opacity: .72; position: absolute; }
.guide-hero > * { position: relative; z-index: 1; }
.guide-hero .mono-kicker { color: #b9ffcf; }
.guide-hero h1 { font-size: clamp(3.25rem, 6.1vw, 6.6rem); letter-spacing: -.08em; line-height: .91; margin: 0; }
.guide-hero h1 em { color: #b9ffcf; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 500; }
.guide-hero > p:not(.mono-kicker) { color: #bac2bf; font-size: 1.06rem; line-height: 1.65; margin: 1.7rem 0 2.7rem; max-width: 410px; }
.guide-hero > span { color: rgba(255,255,255,.56); font-size: .63rem; font-weight: 800; letter-spacing: .14em; }
.guide-content { align-items: start; display: grid; gap: clamp(2rem, 8vw, 9rem); grid-template-columns: minmax(180px, .55fr) minmax(0, 1fr); margin: 0 auto; max-width: 1120px; padding: clamp(5rem, 11vw, 10rem) 0; }
.guide-content h2 { font-size: clamp(2.5rem, 4.4vw, 4.7rem); margin-bottom: 1.15rem; }
.faq-list { border-top: 1px solid #d9d9d4; }
.faq-item { border-bottom: 1px solid #d9d9d4; }
.faq-item summary { align-items: center; cursor: pointer; display: grid; gap: .45rem 1rem; grid-template-columns: 125px 1fr auto; list-style: none; padding: 1.25rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { color: #4664dc; font-size: .63rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.faq-item summary strong { font-size: 1.03rem; letter-spacing: -.025em; }
.faq-item summary i { color: #4664dc; font-size: 1.35rem; font-style: normal; font-weight: 400; transition: transform .18s ease; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { color: #626662; line-height: 1.68; margin: 0 2.2rem 1.4rem 141px; max-width: 650px; }
.guide-support { align-items: end; background: #2c52dc; border-radius: 25px; color: #fff; display: grid; gap: 2.5rem; grid-template-columns: 1fr minmax(260px, .62fr); padding: clamp(1.8rem, 5vw, 4.5rem); }
.guide-support .mono-kicker { color: #b9ffcf; }
.guide-support h2 { font-size: clamp(2.5rem, 4.6vw, 4.8rem); margin: 0; }
.guide-support > div:last-child p { color: rgba(255,255,255,.78); line-height: 1.65; margin-bottom: 1.25rem; }
.guide-support .button-light { background: #b9ffcf; border-color: #b9ffcf; color: #101419; }

@media (max-width: 980px) {
  .auth-page { grid-template-columns: 1fr; min-height: auto; }
  .auth-intro { min-height: 330px; }
  .auth-card { max-width: 560px; }
  .auth-page::after { inset: 0 0 45% 0; }
  .guide-content, .guide-support, .security-panel { grid-template-columns: 1fr; }
  .guide-content { max-width: 760px; }
  .security-panel-copy h2 { margin-top: 1.4rem; }
}
@media (max-width: 720px) {
  .auth-page { border-radius: 20px; margin-top: .8rem; padding: 1.35rem; }
  .auth-intro { min-height: 335px; padding: 1rem .25rem; }
  .auth-intro h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .auth-intro p:not(.eyebrow) { font-size: .98rem; }
  .auth-card .form-stack input, .security-panel .form-stack input { font-size: 16px; }
  .auth-card .form-stack { gap: 1rem; }
  .auth-signals { gap: .7rem; }
  .auth-card { border-radius: 15px; padding: 1.1rem; }
  .account-layout { border-radius: 18px; display: block; min-height: auto; padding: .75rem; }
  .account-layout .account-sidebar { margin-bottom: .75rem; position: static; }
  .account-layout .account-sidebar nav { overflow-x: auto; }
  .account-layout .account-sidebar nav a { white-space: nowrap; }
  .account-layout .account-content { border-radius: 13px; min-height: 0; padding: 1.25rem; }
  .security-panel { margin-left: -1.25rem; margin-right: -1.25rem; padding: 1.25rem; }
  .guide-hero { border-radius: 20px; min-height: 350px; padding: 1.6rem; }
  .guide-hero::after { inset: 38% 0 0; opacity: .54; }
  .guide-content { padding: 4.8rem 0; }
  .faq-item summary { grid-template-columns: 1fr auto; padding: 1.15rem 0; }
  .faq-item summary span { grid-column: 1; }
  .faq-item summary strong { grid-column: 1; }
  .faq-item summary i { grid-column: 2; grid-row: 1 / span 2; }
  .faq-item p { margin: 0 1.7rem 1.25rem 0; }
  .guide-support { border-radius: 18px; padding: 1.55rem; }
  .operations-action-list { grid-template-columns: 1fr; }
  .inventory-summary-grid { grid-template-columns: 1fr 1fr; }
  .inventory-product-heading { align-items: start; grid-template-columns: 62px minmax(0, 1fr); }
  .inventory-product-heading img { height: 62px; width: 62px; }
  .inventory-health { grid-column: 1 / -1; grid-row: 2; }
  .inventory-editor-fields { grid-template-columns: 1fr 1fr; }
  .inventory-editor-footer { align-items: stretch; flex-direction: column; }
  .inventory-editor-footer .button { width: 100%; }
}

/* Live chat — shared customer and staff workspace */
.chat-page-heading { align-items: end; gap: 1.5rem; }
.chat-workspace { background: #e9e8e1; border: 1px solid #d8d8d1; border-radius: 18px; display: grid; grid-template-columns: minmax(235px, .42fr) minmax(0, 1fr); margin-top: 1.65rem; min-height: 630px; overflow: hidden; }
.chat-list { background: #111820; border-right: 1px solid rgba(255,255,255,.1); color: #fff; display: flex; flex-direction: column; min-height: 0; padding: .8rem; }
.chat-list-head { align-items: center; color: #eff4ef; display: flex; font-size: .75rem; font-weight: 800; justify-content: space-between; letter-spacing: .1em; padding: .65rem .65rem 1rem; text-transform: uppercase; }
.chat-list-head span:last-child { color: #b9ffcf; font-size: .65rem; }
.chat-list-item { background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; gap: .38rem; padding: .85rem .65rem; text-align: left; transition: background .18s ease, transform .18s ease; width: 100%; }
.chat-list-item:hover, .chat-list-item.active { background: rgba(185,255,207,.12); border-radius: 10px; border-bottom-color: transparent; transform: translateX(2px); }
.chat-list-item strong { font-size: .94rem; font-weight: 720; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-list-item small { color: rgba(255,255,255,.63); font-size: .75rem; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-list-item time { color: rgba(255,255,255,.42); font-size: .65rem; }
.chat-list-item .status { justify-self: start; }
.chat-list-empty { color: rgba(255,255,255,.65); font-size: .84rem; line-height: 1.55; margin: 1rem .65rem; }
.chat-start { border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: .7rem; margin-top: auto; padding: 1rem .35rem .25rem; }
.chat-start label { color: rgba(255,255,255,.68); display: grid; font-size: .67rem; font-weight: 760; gap: .32rem; letter-spacing: .07em; text-transform: uppercase; }
.chat-start input, .chat-start textarea { background: rgba(255,255,255,.96); border: 1px solid transparent; border-radius: 8px; color: #151a20; font: inherit; min-width: 0; padding: .65rem; }
.chat-start textarea { resize: vertical; }
.chat-start .button { font-size: .8rem; justify-content: center; padding: .72rem .85rem; width: 100%; }
.chat-start .form-feedback { margin: 0; }
.chat-conversation { background: #f7f6f1; display: flex; flex-direction: column; min-width: 0; padding: clamp(1rem, 2vw, 1.65rem); }
.chat-conversation-head { align-items: flex-start; border-bottom: 1px solid #d8d8d1; display: flex; gap: 1rem; justify-content: space-between; padding-bottom: 1rem; }
.chat-conversation-head .eyebrow { color: #3559e6; font-size: .63rem; margin-bottom: .45rem; }
.chat-conversation-head h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.045em; margin: 0; }
.chat-conversation-head p { color: #676d69; font-size: .78rem; margin: .45rem 0 0; }
.chat-thread { display: flex; flex: 1; flex-direction: column; gap: .8rem; min-height: 270px; overflow-y: auto; padding: 1.25rem 0; }
.chat-message { align-self: flex-start; background: #fff; border: 1px solid #e0e0d9; border-radius: 4px 15px 15px 15px; box-shadow: 0 5px 14px rgba(25,31,34,.035); max-width: min(82%, 620px); padding: .75rem .85rem; }
.chat-message.mine { align-self: flex-end; background: #3159e8; border-color: #3159e8; border-radius: 15px 4px 15px 15px; color: #fff; }
.chat-message span { color: #6b716d; display: block; font-size: .62rem; font-weight: 750; letter-spacing: .035em; margin-bottom: .36rem; text-transform: uppercase; }
.chat-message.mine span { color: rgba(255,255,255,.72); }
.chat-message p { font-size: .9rem; line-height: 1.52; margin: 0; overflow-wrap: anywhere; }
.chat-composer { align-items: end; border-top: 1px solid #d8d8d1; display: grid; gap: .65rem; grid-template-columns: minmax(0, 1fr) auto; padding-top: 1rem; }
.chat-composer textarea { background: #fff; border: 1px solid #cdd0c9; border-radius: 11px; font: inherit; min-height: 52px; padding: .75rem .8rem; resize: vertical; width: 100%; }
.chat-composer textarea:focus { border-color: #3559e6; box-shadow: 0 0 0 3px rgba(53,89,230,.12); outline: 0; }
.chat-composer .button { min-height: 52px; }
.chat-composer .form-feedback { grid-column: 1 / -1; margin: 0; }
.chat-empty { justify-content: center; min-height: 430px; padding: clamp(2rem, 7vw, 5rem); }
.chat-empty h2 { font-size: clamp(2.2rem, 4vw, 4.25rem); letter-spacing: -.07em; line-height: .94; margin: .65rem 0 1rem; max-width: 520px; }
.chat-empty p:not(.eyebrow) { color: #626863; line-height: 1.65; max-width: 420px; }
.chat-assignment { align-items: center; background: #e4e6df; border-bottom: 1px solid #d2d3cd; display: flex; flex-wrap: wrap; gap: .75rem 1rem; justify-content: space-between; margin: 0 -1.65rem; padding: .7rem 1.65rem; }
.chat-assignment > div { display: grid; gap: .12rem; }
.chat-assignment span { color: #6c726e; font-size: .61rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.chat-assignment strong { font-size: .82rem; }
.chat-status-form { align-items: center; display: flex; gap: .45rem; }
.chat-status-form select { background: #fff; border: 1px solid #cdd0c9; border-radius: 7px; font: inherit; font-size: .76rem; padding: .52rem; }
.chat-status-form .button { font-size: .73rem; min-height: 0; padding: .55rem .7rem; }
.admin-chat-workspace { min-height: 650px; }
.admin-chat-conversation .chat-thread { min-height: 235px; }
.admin-chat-conversation .chat-message.mine { background: #1b272d; border-color: #1b272d; }
.admin-chat-conversation .chat-message:not(.mine) { background: #fff; }

@media (max-width: 720px) {
  .chat-page-heading { align-items: flex-start; flex-direction: column; }
  .chat-workspace { border-radius: 14px; display: flex; flex-direction: column; margin-left: -1.25rem; margin-right: -1.25rem; min-height: 0; }
  .chat-list { border-bottom: 1px solid rgba(255,255,255,.13); border-right: 0; max-height: none; padding: .7rem; }
  .chat-list:not(:has(.chat-list-item)) { min-height: 180px; }
  .chat-list-item { grid-template-columns: 1fr auto; padding: .75rem .6rem; }
  .chat-list-item small { grid-column: 1 / -1; }
  .chat-list-item time { grid-column: 2; grid-row: 1; }
  .chat-start { margin-top: .5rem; }
  .chat-conversation { min-height: 490px; padding: 1rem; }
  .chat-conversation-head { gap: .75rem; }
  .chat-conversation-head h2 { font-size: 1.35rem; }
  .chat-message { max-width: 91%; }
  .chat-composer { grid-template-columns: 1fr; }
  .chat-composer .button { width: 100%; }
  .chat-assignment { align-items: stretch; margin: 0 -1rem; padding: .72rem 1rem; }
  .chat-status-form { flex: 1; }
  .chat-status-form select { flex: 1; min-width: 0; }
  .chat-assignment > .link-button { text-align: left; }
}
