/* Ported verbatim from the approved Claude Design prototype (index page).
   Kept page-by-page on purpose: each prototype page ships its own sheet with
   small differences (fadeUp distance, card hover lift), and merging them would
   drift from the reference. Edit the prototype first, then re-port. */

  
  * { box-sizing: border-box; }
  body { margin: 0; background: #f5f3f0; font-family: 'Hanken Grotesk', system-ui, sans-serif; color: #1a1c1f; -webkit-font-smoothing: antialiased; }
  a { color: inherit; text-decoration: none; }
  a:hover { color: #0c3a7d; }
  ::selection { background: #0c3a7d; color: #fff; }
  @keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.14); } }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes shine { from { left: -60%; } to { left: 140%; } }
  @keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
  .waFab { transition: transform .25s ease; animation: waPulse 2.6s infinite; }
  .waFab:hover { transform: scale(1.08); color: #fff; }
  .fade1 { animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) both; }
  .fade2 { animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s both; }
  .fade3 { animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s both; }
  .fade4 { animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.3s both; }
  .lineCard { transition: transform .3s cubic-bezier(0.22,1,0.36,1), box-shadow .3s ease; }
  .lineShade { opacity: 0; transition: opacity .35s ease; }
  .lineCard:hover .lineShade { opacity: 1; }
  .lineDesc { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s cubic-bezier(0.22,1,0.36,1), opacity .3s ease; }
  .lineDesc > div { overflow: hidden; min-height: 0; }
  .lineCard:hover .lineDesc, .lineCard:focus-visible .lineDesc { grid-template-rows: 1fr; opacity: 1; }
  .lineCard:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(6,26,58,0.28); color: #fff; }
  .lineCard:hover .lineImg { transform: scale(1.07); }
  @keyframes railScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .rail { display: flex; gap: 14px; width: max-content; animation: railScroll 46s linear infinite; }
  .railMask:hover .rail { animation-play-state: paused; }
  .megaWrap { position: relative; }
  .megaPanel { position: absolute; top: calc(100% + 14px); left: -18px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .megaWrap:hover .megaPanel, .megaWrap:focus-within .megaPanel { opacity: 1; visibility: visible; transform: translateY(0); }
  .megaPanel a { color: #1a1c1f; }
  .megaLink { transition: color .18s ease, background .18s ease; border-radius: 7px; }
  header .megaPanel a:hover, .megaLink:hover { background: #f0f4f9; color: #0c3a7d; }
  .railScroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; scroll-behavior: smooth; }
  .railScroll::-webkit-scrollbar { display: none; }
  .railScroll.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
  .railScroll.dragging a { pointer-events: none; }
  .railCard { scroll-snap-align: start; }
  .lineImg { transition: transform .55s cubic-bezier(0.22,1,0.36,1); }
  .lineCard:hover .lineArrow { transform: translateX(5px); }
  .lineArrow { transition: transform .3s ease; display: inline-block; }
  .prodCard { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
  .prodCard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.1); border-color: #0c3a7d; }
  .prodCard:hover .prodImg { transform: scale(1.06); }
  .prodImg { transition: transform .5s ease; }
  .btnPrimary { position: relative; overflow: hidden; transition: transform .2s ease, background .2s ease; }
  .btnPrimary:hover { transform: translateY(-2px); }
  .btnPrimary::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-20deg); }
  .btnPrimary:hover::after { animation: shine .8s ease; }
  .btnOutline { transition: background .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease; }
  .btnOutline:hover, a.btnOutline:hover { background: #0c3a7d; color: #fff !important; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(12,58,125,0.24); }
  .btnOutline:hover svg { transform: translateX(3px); }
  .btnOutline svg { transition: transform .25s ease; }
  .btnGhost { transition: background .25s ease, border-color .25s ease, transform .2s ease; }
  .btnGhost:hover { transform: translateY(-2px); }
  .navLink { position: relative; transition: color .2s ease; }
  .navLink::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: currentColor; transition: width .25s ease; }
  .navLink:hover::after { width: 100%; }
  header a:not(.btnPrimary):hover, header button:not(.btnPrimary):hover { color: #fff; }
  header .megaPanel a:hover { color: #0c3a7d; background: #f0f4f9; }
  header input::placeholder { color: rgba(255,255,255,0.7); }
  header input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; cursor: pointer; background-color: rgba(255,255,255,0.75); -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7.5 7.5l9 9M16.5 7.5l-9 9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7.5 7.5l9 9M16.5 7.5l-9 9'/%3E%3C/svg%3E"); -webkit-mask-size: 18px 18px; mask-size: 18px 18px; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
  header input[type="search"]::-webkit-search-cancel-button:hover { background-color: #fff; }
  .socIcon { transition: color .2s ease, transform .2s ease; }
  .socIcon:hover { color: #fff; transform: translateY(-2px); }
  .iconBtn { transition: background .2s ease; }
  .iconBtn:hover { background: rgba(255,255,255,0.28); color: #fff; }

  /* ---- responsive scale: mobile-first, desktop from 900px ---- */
  .hdr { padding: 12px 16px; }
  .hdrRow { display: flex; align-items: center; gap: 12px; }
  .logo { height: 30px; }
  .navDesk { display: none; }
  .searchDesk { display: none; min-width: 0; }
  .searchDesk input { min-width: 0; }
  .loginLabel { display: none; }
  .cartLabel { display: none; }
  .menuBtn { display: flex; }
  .searchMob { display: block; margin-top: 10px; }
  .hero { min-height: 460px; padding: 52px 18px 44px; }
  .eyebrow { font-size: 10px; letter-spacing: 0.16em; }
  .h1 { font-size: 33px; line-height: 1.06; }
  .lead { font-size: 15px; }
  .heroBtns { display: grid; gap: 10px; width: 100%; }
  .sec { padding: 44px 16px; }
  .h2 { font-size: 27px; }
  .secHead { display: block; }
  .grid4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gridCat { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .catCard { height: 300px; }
  .railCard { width: calc(100% - 32px); flex-shrink: 0; }
  .headPad { padding: 0 16px; }
  .railScroll { padding: 8px 16px 32px; scroll-padding-left: 16px; scroll-snap-type: x mandatory; }
  .catCard { height: 260px; }
  .gridProd { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .matWrap { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .matGrid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .logiWrap { display: grid; gap: 0; }
  .logiPhoto { height: 220px; }
  .logiBody { padding: 32px 18px; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .whyGrid { display: grid; gap: 14px; }
  .whyBig { padding: 26px 20px; }
  .whySmall { padding: 20px; }
  .footGrid { display: grid; gap: 30px; }
  .brk { display: none; }
  .logiBox { min-height: 420px; display: flex; align-items: center; }
  @media (min-width: 900px) {
    .hdr { padding: 16px 40px; }
    .hdrRow { gap: 28px; }
    .logo { height: 40px; }
    .navDesk { display: flex; gap: 26px; }
    .loginLabel { display: inline; }
    .cartLabel { display: inline; }
    .menuBtn { display: none; }
    .hero { min-height: 600px; padding: 90px 40px; }
    .eyebrow { font-size: 12px; letter-spacing: 0.24em; }
    .h1 { font-size: 62px; line-height: 0.98; }
    .lead { font-size: 18px; }
    .heroBtns { display: flex; gap: 16px; width: auto; }
    .sec { padding: 76px 40px; }
    .h2 { font-size: 44px; }
    .secHead { display: flex; justify-content: space-between; align-items: flex-end; }
    .grid4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .gridCat { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .railCard { width: 280px; }
    .headPad { padding: 0 40px; }
    .railScroll { padding: 10px max(40px, calc((100% - 1440px) / 2)) 34px; scroll-padding-left: max(40px, calc((100% - 1440px) / 2)); }
    .catCard { height: 380px; }
    .gridProd { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .logiWrap { grid-template-columns: 1.05fr 1fr; }
    .matWrap { grid-template-columns: 1fr 2fr; gap: 56px; }
    .matGrid { grid-template-columns: repeat(2, 1fr); }
    .logiPhoto { height: 100%; min-height: 460px; }
    .logiBody { padding: 72px 56px; }
    .stats { gap: 18px; }
    .whyGrid { grid-template-columns: 1.25fr 1fr; gap: 22px; }
    .whyBig { padding: 44px 40px; }
    .whySmall { padding: 28px; }
    .footGrid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
    .brk { display: inline; }
  }
  @media (min-width: 1280px) {
    .gridCat { grid-template-columns: repeat(6, 1fr); gap: 14px; }
    .catCard { height: 340px; }
  }
  @media (min-width: 1120px) {
    .searchDesk { display: flex; }
    .searchMob { display: none; }
  }
