@font-face {
  font-family: Outfit;
  src: url("assets/outfit-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --paper: #f6f7fb;
  --white: #fff;
  --ink: #0d1d36;
  --muted: #536077;
  --line: #dce3ef;
  --blue: #1643a6;
  --navy: #0b1c39;
  --gold: #ffcb56;
  --heading: Outfit, sans-serif;
  --body: Manrope, sans-serif;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
::selection { color: var(--navy); background: var(--gold); }
:focus-visible { outline: 3px solid #3669db; outline-offset: 4px; }
[id] { scroll-margin-top: 96px; }
.shell { width: min(1240px, calc(100% - 72px)); margin-inline: auto; }
.icon-bank, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: 6px; left: 8px; z-index: 9; padding: 12px 18px; transform: translateY(-140%); background: var(--gold); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 30px/1 var(--heading); letter-spacing: -.055em; }
.brand-mark { background: var(--navy); color: var(--gold); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; }
.brand-mark .icon { width: 23px; height: 23px; transform: rotate(-7deg); }
.brand-sub { color: var(--blue); font-weight: 500; margin-left: .14em; }
.top-nav { display: flex; align-items: center; gap: 30px; }
.top-nav a, .header-search { min-height: 44px; display: inline-flex; align-items: center; font-size: .83rem; font-weight: 800; }
.top-nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.header-search { color: var(--blue); gap: 9px; padding: 0 13px; background: #eef3ff; border-radius: 9px; }
.header-search:hover { background: #e0eaff; }
.header-search .icon { width: 17px; height: 17px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 418px;
  margin-top: 24px;
  color: var(--white);
  border-radius: 22px;
  background: #0b1c39 url("assets/wallpaper.svg") center / cover no-repeat;
}
.hero-copy { position: relative; z-index: 1; align-self: center; padding: 47px 0 50px clamp(30px, 5vw, 76px); }
.eyebrow { font-size: .69rem; font-weight: 800; letter-spacing: .15em; line-height: 1.35; text-transform: uppercase; }
.hero-eyebrow { display: inline-flex; gap: 9px; align-items: center; color: #dbe7ff; }
.hero-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #ffcb5626; }
.hero h1 { margin: 16px 0 16px; font: 700 clamp(2.65rem, 4.85vw, 4.4rem)/.98 var(--heading); letter-spacing: -.052em; }
.hero h1 em { display: block; font-style: normal; color: var(--gold); }
.hero-intro { max-width: 39ch; color: #e3ebff; font-size: clamp(.89rem, 1.26vw, 1.05rem); line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 17px; border: 0; border-radius: 9px; font-size: .86rem; font-weight: 800; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.button-gold { color: var(--ink); background: var(--gold); margin-top: 24px; }
.button-gold:hover { background: #ffdb84; box-shadow: 0 6px 18px #050d2b45; }
.hero :focus-visible { outline-color: var(--white); }
.button-blue { color: var(--white); background: var(--blue); }
.button-blue:hover { background: #10347e; }
.hero-visual { position: relative; align-self: stretch; min-width: 0; }
.hero-tile {
  position: absolute;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  padding: 12px;
  border-radius: 17px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 14px 34px #07132d80, inset 0 0 0 1px #e8efff;
}
.hero-tile img { height: 100%; width: 100%; object-fit: contain; }
.hero-tile-phone { left: 28%; top: 13%; width: 36%; height: 68%; transform: rotate(-7deg); z-index: 2; }
.hero-tile-blender { left: 62%; top: 18%; width: 25%; height: 51%; transform: rotate(13deg); }
.hero-tile-shoe { left: 52%; top: 62%; width: 37%; height: 28%; transform: rotate(8deg); z-index: 3; }
.hero-stamp { position: absolute; z-index: 3; left: 17%; top: 64%; width: 59px; height: 59px; display: grid; place-items: center; color: var(--ink); background: var(--gold); border-radius: 50%; transform: rotate(-11deg); box-shadow: 0 6px 20px #0b193e4d; }
.hero-stamp .icon { width: 30px; height: 30px; }
.hero-spark { position: absolute; width: 27px; height: 27px; color: var(--gold); left: 90%; top: 16%; stroke-width: 1.2; }

.market { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; margin-top: 20px; padding: 13px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 13px; }
.market > .eyebrow { color: var(--muted); }
.market-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.market-link { display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 43px; padding: 6px 12px; border-radius: 8px; font: 700 clamp(.87rem, 1.35vw, 1.04rem)/1.1 var(--heading); transition: background-color .18s; }
.market-link:hover, .market-link[data-active] { background: #eef3ff; }
.market-link .market-arrow { width: 14px; height: 14px; color: #64728e; }
.market-dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.market-dot .icon { width: 15px; height: 15px; }
.market-ml .market-dot, .merchant-ml { background: #fff0b1; color: #514100; }
.market-sh .market-dot, .merchant-sh { background: #ffeadf; color: #963818; }
.market-am .market-dot, .merchant-am { background: #eaf0ff; color: #173a8b; }

.catalog { padding-top: 48px; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.section-eyebrow { display: flex; align-items: center; gap: 7px; color: var(--blue); }
.section-eyebrow .icon { width: 15px; height: 15px; }
.catalog h2, .guide h2 { margin: 6px 0 7px; font: 700 clamp(2.15rem, 4.4vw, 3.5rem)/1 var(--heading); letter-spacing: -.045em; }
.catalog-intro { color: var(--muted); line-height: 1.55; font-size: .92rem; }
.catalog-count { color: var(--muted); border: 1px solid var(--line); background: var(--white); padding: 8px 11px; border-radius: 7px; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.filters { margin: 22px 0 17px; }
.category-list { display: flex; flex-wrap: wrap; gap: 7px; }
.category-list button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 43px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}
.category-list button:hover { border-color: #a8bce9; color: var(--blue); }
.category-list button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.category-list .icon { width: 16px; height: 16px; }
.search-bar { margin-top: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.search-field, .store-field { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--muted); }
.search-field { flex: 1 1 220px; max-width: 410px; }
.search-field:focus-within, .store-field:focus-within { outline: 2px solid #3669db; outline-offset: 2px; }
.search-field input, .store-field select { min-width: 0; width: 100%; align-self: stretch; border: 0; background: transparent; color: var(--ink); font-size: .875rem; }
.search-field input:focus, .store-field select:focus { outline: 0; }
.search-field .icon, .store-field .icon { width: 17px; height: 17px; }
.store-field { position: relative; width: 156px; padding: 0; }
.store-field select { appearance: none; padding: 0 27px 0 11px; cursor: pointer; }
.store-field .icon { position: absolute; right: 9px; pointer-events: none; }
.results-count { margin-left: auto; font-size: .8rem; color: var(--muted); font-weight: 700; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border-radius: 13px; background: var(--white); border: 1px solid var(--line); transition: border-color .18s, box-shadow .18s; }
.product-card:hover, .product-card:focus-within { border-color: #a8bce9; box-shadow: 0 8px 25px #173a8b0e; }
.product-image { display: grid; place-items: center; aspect-ratio: 1.28; margin: 8px 8px 0; padding: 12px; background: #f5f7fc; border-radius: 8px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 13px 13px 12px; }
.merchant { align-self: flex-start; padding: 4px 8px; border-radius: 5px; font-size: .67rem; font-weight: 800; line-height: 1.3; }
.product-body h3 { margin: 8px 0 5px; font: 650 1.22rem/1.13 var(--heading); letter-spacing: -.025em; }
.product-detail { color: var(--muted); font-size: .77rem; line-height: 1.45; margin-bottom: 15px; }
.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  min-height: 44px;
  margin-top: auto;
  padding: 7px 10px;
  color: var(--blue);
  background: #ecf2ff;
  border-radius: 7px;
  font-weight: 800;
  font-size: .78rem;
  line-height: 1.25;
  transition: color .18s, background-color .18s;
}
.product-link:hover, .product-link:focus-visible { color: var(--white); background: var(--blue); }
.product-link .icon { width: 17px; height: 17px; }
.empty-state { background: var(--white); border: 1px dashed #b9c8e0; border-radius: 12px; text-align: center; padding: 35px 14px; color: var(--muted); }
.empty-state .icon { color: var(--blue); width: 30px; height: 30px; }
.empty-state h3 { font: 700 1.4rem var(--heading); margin: 7px 0; color: var(--ink); }
.empty-state .button { margin-top: 14px; }

.guide { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 28px; margin-top: 54px; margin-bottom: 44px; padding: clamp(22px, 4vw, 48px); border-radius: 17px; background: #e8efff; }
.guide-copy > p:not(.eyebrow) { max-width: 42ch; line-height: 1.6; color: #394b6a; margin-top: 10px; }
.guide-copy > a { color: var(--blue); display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin-top: 7px; text-decoration: underline; text-underline-offset: 4px; font-size: .82rem; font-weight: 800; }
.guide-copy > a .icon { width: 15px; height: 15px; }
.guide-faq { display: grid; gap: 8px; }
.guide details { background: var(--white); border-radius: 8px; border: 1px solid #d3dff8; }
.guide summary { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 48px; cursor: pointer; padding: 11px 13px; list-style: none; font-size: .86rem; font-weight: 800; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary .icon { color: var(--blue); width: 15px; height: 15px; }
.guide details[open] summary .icon { transform: rotate(180deg); }
.guide details p { color: var(--muted); padding: 0 13px 13px; font-size: .83rem; line-height: 1.6; }
.site-footer { background: var(--navy); color: var(--white); padding: 22px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 25px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 7px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font: 650 1.12rem var(--heading); }
.footer-brand span, .site-footer p { font-size: .74rem; color: #c4d2ed; line-height: 1.5; }
.site-footer a { display: flex; align-items: center; gap: 5px; min-height: 44px; color: var(--gold); font-size: .8rem; font-weight: 800; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .icon { width: 15px; height: 15px; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 48px); }
  .hero { min-height: 374px; }
  .hero-tile-phone { width: 39%; left: 25%; }
  .hero-tile-blender { width: 28%; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  [id] { scroll-margin-top: 76px; }
  .shell { width: calc(100% - 28px); }
  .header-inner { height: 60px; }
  .brand { gap: 7px; font-size: 26px; }
  .brand-mark { width: 35px; height: 35px; border-radius: 9px; }
  .brand-mark .icon { width: 20px; height: 20px; }
  .top-nav { display: none; }
  .header-search { padding: 0 10px; gap: 6px; font-size: .72rem; }
  .hero { grid-template-columns: 1fr; margin-top: 13px; min-height: 0; border-radius: 15px; background-position: 65% center; }
  .hero-copy { padding: 24px 19px 0; }
  .hero h1 { margin: 11px 0; font-size: clamp(2.38rem, 8.6vw, 4rem); }
  .hero-intro { font-size: .84rem; max-width: 43ch; }
  .button-gold { margin-top: 15px; }
  .hero-visual { height: clamp(154px, 45vw, 218px); width: min(400px, 100%); margin-inline: auto; margin-top: 3px; }
  .hero-tile { padding: 7px; border-radius: 11px; }
  .hero-tile-phone { left: 27%; width: 32%; height: 85%; top: 4%; }
  .hero-tile-blender { left: 61%; width: 24%; top: 9%; height: 68%; }
  .hero-tile-shoe { left: 11%; top: 46%; width: 32%; height: 39%; transform: rotate(-13deg); }
  .hero-stamp { left: 78%; top: 64%; width: 39px; height: 39px; }
  .hero-stamp .icon { width: 22px; height: 22px; }
  .hero-spark { left: 90%; top: 15%; width: 17px; height: 17px; }
  .market { grid-template-columns: 1fr; gap: 5px; margin-top: 12px; padding: 10px 8px 6px; }
  .market > .eyebrow { padding-left: 4px; }
  .market-list { grid-template-columns: 1.24fr .88fr .88fr; gap: 2px; }
  .market-link { gap: 4px; padding-inline: 2px; font-size: .82rem; white-space: nowrap; }
  .market-dot { width: 20px; height: 20px; border-radius: 5px; }
  .market-dot .icon { width: 12px; height: 12px; }
  .market-link .market-arrow { display: none; }
  .catalog { padding-top: 31px; }
  .catalog-count { display: none; }
  .catalog-intro { font-size: .84rem; }
  .filters { margin-top: 13px; }
  .category-list { flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding: 4px 4px 8px; margin-inline: -4px; scrollbar-width: thin; scrollbar-color: #b9c8e0 transparent; }
  .category-list button { min-height: 40px; padding-inline: 8px; gap: 5px; font-size: .7rem; }
  .category-list .icon { width: 14px; height: 14px; }
  .search-bar { gap: 6px; }
  .search-field { flex-basis: 145px; }
  .search-field input, .store-field select { font-size: 1rem; }
  .search-field input::placeholder { font-size: .72rem; }
  .store-field { width: 130px; }
  .store-field select { padding-right: 24px; font-size: .76rem; }
  .results-count { width: 100%; margin: 2px 0 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-image { aspect-ratio: 1.1; margin: 5px 5px 0; padding: 8px; }
  .product-body { padding: 9px 8px 8px; }
  .product-body h3 { font-size: 1.03rem; }
  .product-detail { font-size: .69rem; margin-bottom: 10px; }
  .product-link { font-size: .69rem; padding-inline: 7px; }
  .product-link .icon { width: 14px; height: 14px; }
  .guide { grid-template-columns: 1fr; gap: 12px; margin-top: 33px; margin-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
