/* SNI Shop landing page refresh — editorial, conversion-first, motion with restraint. */
:root {
    --sni-ink: #0b1220;
    --sni-muted: #5d687a;
    --sni-paper: #f7f8fb;
    --sni-line: rgba(11, 18, 32, .10);
    --sni-navy: #0e2d6c;
    --sni-blue: #2867d7;
    --sni-cyan: #22d3ee;
    --sni-lime: #c7f36b;
    --sni-coral: #ff806f;
}

html { scroll-behavior: smooth; }
body.site-redesign {
    background: var(--sni-paper) !important;
    color: var(--sni-ink);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    text-rendering: optimizeLegibility;
}
body.site-redesign::selection { background: var(--sni-lime); color: var(--sni-ink); }
body.site-redesign main { overflow: clip; }
body.site-redesign .landing-progress {
    position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 9999;
    transform: scaleX(var(--scroll-progress, 0)); transform-origin: left;
    background: linear-gradient(90deg, var(--sni-lime), var(--sni-cyan), #8b5cf6);
    pointer-events: none;
}

/* Navigation */
.site-redesign .nav-navy {
    background: rgba(8, 24, 59, .94) !important;
    border-bottom: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 14px 32px rgba(6, 18, 45, .10);
    backdrop-filter: blur(18px);
}
.site-redesign .nav-navy.is-scrolled { background: rgba(8, 18, 38, .98) !important; }
.site-redesign .nav-navy > div:first-child,
.site-redesign .nav-navy > div:last-of-type { background: transparent; }
.site-redesign .nav-navy > div:nth-child(2) { height: 76px; }
.site-redesign .nav-navy a,
.site-redesign .nav-navy button { letter-spacing: .015em; }
.site-redesign .nav-navy .search-pill {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.62);
    border-radius: 999px;
    padding: .35rem .65rem;
    font-size: .68rem;
}
.site-redesign .nav-navy .search-pill:hover { color: #fff; background: rgba(255,255,255,.12); }
.site-redesign .nav-navy a[href="register"],
.site-redesign .nav-navy a[href="user/dashboard"] {
    border-radius: 999px;
    background: var(--sni-lime);
    color: var(--sni-ink);
    box-shadow: 0 10px 26px rgba(199,243,107,.18);
}

/* Hero: less template-like, more editorial and intentional. */
.site-redesign .hero-refresh {
    background: var(--sni-navy) !important;
    min-height: min(780px, calc(100vh - 76px));
    padding-top: clamp(5rem, 9vw, 8.5rem) !important;
    padding-bottom: clamp(4rem, 8vw, 7rem) !important;
}
.site-redesign .hero-refresh::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .32;
    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: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.site-redesign .hero-refresh::after {
    content: ""; position: absolute; width: 48vw; height: 48vw; max-width: 760px; max-height: 760px;
    right: -13vw; top: -18vw; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(34,211,238,.24), transparent 62%);
    filter: blur(12px);
}
.site-redesign .hero-refresh .max-w-7xl { z-index: 1; }
.site-redesign .hero-refresh h1 {
    max-width: 790px;
    font-family: "Plus Jakarta Sans", Outfit, sans-serif;
    font-size: clamp(3.15rem, 6.6vw, 6.8rem) !important;
    line-height: .94 !important;
    letter-spacing: -.075em !important;
}
.site-redesign .hero-refresh h1 .hero-accent {
    color: var(--sni-lime);
    background: none;
    -webkit-text-fill-color: initial;
}
.site-redesign .hero-refresh p {
    color: rgba(255,255,255,.72) !important;
    max-width: 560px;
    font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
    line-height: 1.7 !important;
}
.site-redesign .hero-refresh .hero-kicker {
    color: var(--sni-lime) !important;
    background: rgba(199,243,107,.08) !important;
    border: 1px solid rgba(199,243,107,.24) !important;
    letter-spacing: .12em !important;
}
.site-redesign .hero-refresh .hero-primary {
    background: var(--sni-lime) !important; color: var(--sni-ink) !important;
    border: 1px solid var(--sni-lime);
    border-radius: 999px !important;
    box-shadow: 0 16px 36px rgba(199,243,107,.22) !important;
}
.site-redesign .hero-refresh .hero-secondary {
    border-radius: 999px !important;
    border-color: rgba(255,255,255,.28) !important;
    background: rgba(255,255,255,.06) !important;
}
.site-redesign .hero-refresh .hero-proof-row { gap: 1.2rem !important; }
.site-redesign .hero-refresh .hero-proof {
    min-width: 142px; padding: 1rem 1.1rem; border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.055); border-radius: 1rem; backdrop-filter: blur(10px);
}
.site-redesign .hero-refresh .hero-proof strong { color: #fff; display: block; font-size: 1rem; }
.site-redesign .hero-refresh .hero-proof span { color: rgba(255,255,255,.48); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-redesign .hero-refresh .hero-visual-shell {
    border: 1px solid rgba(255,255,255,.18) !important;
    background: rgba(255,255,255,.09) !important;
    box-shadow: 0 36px 90px rgba(2,10,30,.42) !important;
    border-radius: 1.75rem !important;
}
.site-redesign .hero-refresh .hero-visual-shell > div { border-radius: 1.1rem !important; }
.site-redesign .hero-refresh .hero-floating-card { border-radius: 1rem !important; }

/* Thin reassurance strip */
.site-redesign .trust-strip { background: #fff !important; border-color: var(--sni-line) !important; }
.site-redesign .trust-strip .trust-badge { color: var(--sni-muted); font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.site-redesign .trust-strip .trust-badge i { font-size: 1rem; }
.site-redesign .category-quick-access { background: #fff !important; padding: 1.5rem 0 2.8rem !important; }
.site-redesign .category-quick-access .category-icon-box { border-radius: 1.1rem; background: var(--sni-paper); border: 1px solid var(--sni-line); color: var(--sni-navy); transition: .25s ease; }
.site-redesign .category-quick-access a:hover .category-icon-box { transform: translateY(-4px); border-color: rgba(40,103,215,.35); background: #fff; box-shadow: 0 18px 36px rgba(14,45,108,.10); }

/* Section rhythm */
.site-redesign section { scroll-margin-top: 100px; }
.site-redesign #services-section,
.site-redesign #order-section,
.site-redesign #admin-section,
.site-redesign #faq { padding-top: clamp(5.5rem, 9vw, 9rem) !important; padding-bottom: clamp(5.5rem, 9vw, 9rem) !important; }
.site-redesign #services-section { background: var(--sni-paper) !important; }
.site-redesign #order-section { background: #fff !important; }
.site-redesign #services-section h2,
.site-redesign #order-section h2,
.site-redesign #admin-section h2,
.site-redesign #faq h2,
.site-redesign #faq h3 { font-family: "Plus Jakarta Sans", Outfit, sans-serif; letter-spacing: -.055em; }
.site-redesign #services-section h2,
.site-redesign #faq h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem) !important; line-height: .98 !important; }
.site-redesign #services-section > .max-w-7xl > div:first-child p,
.site-redesign #faq p { font-size: .98rem; line-height: 1.75; color: var(--sni-muted); }
.site-redesign .category-pill { border-radius: 999px !important; padding-inline: 1rem !important; }
.site-redesign .category-pill.active { background: var(--sni-ink) !important; box-shadow: 0 8px 20px rgba(11,18,32,.18) !important; }
.site-redesign .product-card-premium > div { border-radius: 1.25rem !important; border-color: var(--sni-line) !important; box-shadow: 0 10px 24px rgba(11,18,32,.035) !important; }
.site-redesign .product-card-premium > div:hover { box-shadow: 0 24px 50px rgba(11,18,32,.11) !important; transform: translateY(-7px); }
.site-redesign .catalog-thumb { border-radius: .95rem !important; }
.site-redesign #order-section > .max-w-7xl > div > div > div { border-radius: 1.65rem !important; box-shadow: 0 28px 72px rgba(11,18,32,.08) !important; }
.site-redesign .sni-btn-primary { background: var(--sni-ink) !important; border-radius: 999px !important; box-shadow: 0 14px 28px rgba(11,18,32,.18) !important; }
.site-redesign .sni-btn-primary:hover { background: var(--sni-navy) !important; transform: translateY(-2px); }
.site-redesign .sni-input, .site-redesign .sni-input-wrapper { border-radius: .9rem !important; }

/* Feature cards become quieter and more premium. */
.site-redesign #services-section + #order-section + section { background: #fff !important; }
.site-redesign .spotlight-card { border-color: var(--sni-line) !important; }
.site-redesign .spotlight-card:hover { box-shadow: 0 26px 60px rgba(11,18,32,.10) !important; }
.site-redesign #admin-section { background: #fff !important; }
.site-redesign #admin-section .bg-slate-900 { background: var(--sni-ink) !important; border-radius: 1.75rem !important; }
.site-redesign #admin-section .bg-indigo-600,
.site-redesign #admin-section .bg-emerald-600 { background: var(--sni-lime) !important; color: var(--sni-ink) !important; }
.site-redesign #admin-section .text-indigo-400 { color: var(--sni-lime) !important; }
.site-redesign #admin-section .text-indigo-500 { color: var(--sni-lime) !important; }
.site-redesign #admin-section .rounded-2xl,
.site-redesign #admin-section .rounded-\[2rem\] { border-radius: 1rem !important; }
.site-redesign #faq .faq-item { border-radius: 1rem !important; border-color: var(--sni-line) !important; box-shadow: none !important; }
.site-redesign #faq .faq-item:hover { border-color: rgba(40,103,215,.3) !important; }

/* Motion is purposeful, short, and disabled when requested. */
.site-redesign [data-aos] { transition-duration: .72s !important; }
.site-redesign .reveal-line { animation: reveal-line 1s cubic-bezier(.16,1,.3,1) both; }
@keyframes reveal-line { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .site-redesign *, .site-redesign *::before, .site-redesign *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (max-width: 767px) {
    .site-redesign .nav-navy > div:nth-child(2) { height: 64px; }
    .site-redesign .hero-refresh { min-height: auto; padding-top: 4.6rem !important; }
    .site-redesign .hero-refresh h1 { font-size: clamp(2.85rem, 13vw, 4.4rem) !important; }
    .site-redesign .hero-refresh .hero-proof { min-width: calc(50% - .6rem); }
    .site-redesign #services-section h2, .site-redesign #faq h2 { font-size: 2.35rem !important; }
}

/* Mobile conversion rail: keeps the next action visible without covering content. */
.site-redesign .mobile-conversion-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    padding: .65rem .75rem calc(.65rem + env(safe-area-inset-bottom));
    background: rgba(8, 24, 59, .94);
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 -16px 36px rgba(6,18,45,.18);
    backdrop-filter: blur(18px);
}
.site-redesign .mobile-conversion-link {
    min-height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}
.site-redesign .mobile-conversion-link:active { transform: scale(.97); }
.site-redesign .mobile-conversion-link--secondary {
    color: #fff;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
}
.site-redesign .mobile-conversion-link--primary {
    color: var(--sni-ink);
    background: var(--sni-lime);
}
@media (max-width: 1023.98px) {
    body.site-redesign { padding-bottom: calc(4.65rem + env(safe-area-inset-bottom)); }
}
@media (min-width: 1024px) {
    .site-redesign .mobile-conversion-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .site-redesign .mobile-conversion-link { transition: none; }
}

/* Mobile performance budget: avoid blur layers and defer below-the-fold paint. */
@media (max-width: 767px) {
    .site-redesign .backdrop-blur-sm,
    .site-redesign .backdrop-blur-md,
    .site-redesign .backdrop-blur-lg,
    .site-redesign .backdrop-blur-xl,
    .site-redesign .backdrop-blur-2xl {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
    .site-redesign .hero-bg-glow {
        filter: blur(36px);
        opacity: .55;
    }
    .site-redesign .hero-refresh .animate-ping,
    .site-redesign .hero-refresh .animate-pulse {
        animation: none !important;
    }
    .site-redesign .hero-floating-card { display: none !important; }
    .site-redesign #catalog-sections,
    .site-redesign #order-section,
    .site-redesign #admin-section,
    .site-redesign #faq {
        content-visibility: auto;
        contain-intrinsic-size: 700px;
    }
    .site-redesign .category-section {
        content-visibility: auto;
        contain-intrinsic-size: 520px;
    }
}

@media (hover: none) {
    .site-redesign .hover\:scale-\[1\.01\]:hover { transform: none; }
}
/* 20260930 mobile density and interaction foundation */
@media (max-width: 640px) {
  .landing-surface .max-w-7xl, .landing-surface .max-w-6xl { padding-left: 1rem; padding-right: 1rem; }
  .landing-surface section { scroll-margin-top: 5rem; }
  .landing-surface button, .landing-surface a { -webkit-tap-highlight-color: transparent; }
  .landing-surface input, .landing-surface select, .landing-surface textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-surface *, .landing-surface *::before, .landing-surface *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 20260930 keyboard navigation foundation */
.skip-link { position: fixed; left: 1rem; top: .75rem; z-index: 100; transform: translateY(-180%); padding: .7rem 1rem; border-radius: .65rem; background: #0e2d6c; color: #fff; font-weight: 700; box-shadow: 0 8px 20px rgba(14,45,108,.2); transition: transform .18s ease; }
.skip-link:focus { transform: translateY(0); }

/* 20260930 accessibility and mobile interaction guardrails */
.landing-surface a:focus-visible, .landing-surface button:focus-visible, .landing-surface input:focus-visible, .landing-surface select:focus-visible, .landing-surface textarea:focus-visible { outline: 3px solid rgba(37, 99, 235, .55); outline-offset: 3px; }
@media (max-width: 640px) {
  .landing-surface a, .landing-surface button { min-height: 44px; }
}

/* 20260930 CTA interaction polish */
.landing-surface .hero-primary, .landing-surface .hero-secondary, .landing-surface .sni-btn-primary, .landing-surface .category-pill { transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.landing-surface .hero-primary:hover, .landing-surface .sni-btn-primary:hover { transform: translateY(-2px); }
.landing-surface .hero-primary:active, .landing-surface .hero-secondary:active, .landing-surface .sni-btn-primary:active, .landing-surface .category-pill:active { transform: translateY(1px) scale(.985); }
.landing-surface p { max-width: 68ch; }
@media (prefers-reduced-motion: reduce) {
  .landing-surface .hero-primary, .landing-surface .hero-secondary, .landing-surface .sni-btn-primary, .landing-surface .category-pill { transition: none; }
}

/* 20260930 editorial hierarchy refinement */
.landing-surface h1, .landing-surface h2, .landing-surface h3 { text-wrap: balance; }
.landing-surface .tabular-nums, .landing-surface [data-stat] { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .landing-surface h1 { line-height: 1.08; }
  .landing-surface h2 { line-height: 1.14; }
}
/* 20260930 public landing overflow guard */
body.site-redesign {
  overflow-x: clip;
}
@supports not (overflow: clip) {
  body.site-redesign { overflow-x: hidden; }
}
@media (max-width: 640px) {
  .site-redesign .category-quick-access {
    overflow-x: clip;
  }
}


/* 20260930 skip-link focus visibility refinement */
.skip-link:focus-visible { outline: 3px solid #b7f34a; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .skip-link { transition: none; } }

/* Focus and touch foundation: 2026-10-01 */
.site-redesign :where(a,button,input,select,textarea,[tabindex]):focus-visible { outline: 3px solid var(--sni-lime, #c7f36b); outline-offset: 3px; }
.site-redesign :where(button,a,.sni-btn-primary) { -webkit-tap-highlight-color: transparent; }
@media (max-width: 640px) { .site-redesign .category-quick-access a { min-height: 44px; } .site-redesign .category-quick-access .category-icon-box { min-width: 44px; min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .site-redesign :where(a,button,.product-card-premium,.sni-btn-primary) { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* 20261003 public landing refinement: keep the established visual language while improving keyboard and touch feedback. */
.site-redesign :where(a, button) { touch-action: manipulation; }
.site-redesign :where(button, .sni-btn-primary, .hero-primary, .hero-secondary) { min-height: 44px; }
.site-redesign :where(a, button):focus-visible { outline-color: #b7f34a; outline-offset: 4px; }
@media (max-width: 640px) {
  .site-redesign .hero-primary, .site-redesign .hero-secondary { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .site-redesign :where(a, button) { transform: none !important; } }
