:root {
  color-scheme: light;
  --white: #fff;
  --grey: #f5f5f7;
  --black: #000;
  --ink: #1d1d1f;
  --muted: #626267;
  --line: #d2d2d7;
  --blue: #0071e3;
  --ease: cubic-bezier(.28, .11, .32, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--grey); scroll-padding-top: 22px; }
body { margin: 0; font: 400 17px/1.5 var(--font); color: var(--ink); font-feature-settings: "calt" 0; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select { font: inherit; font-feature-settings: "calt" 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.skip { position: fixed; z-index: 2; inset: 12px auto auto 16px; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(1120px, calc(100% - 44px)); margin: 0 auto; }
.site-nav { background: var(--white); }
.site-nav .wrap { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand, .nav-link { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.brand { gap: 10px; font-size: 15px; font-weight: 650; }
.monogram { font-size: 21px; line-height: 1; font-weight: 750; letter-spacing: -.13em; padding-inline-end: .12em; }
.nav-links { display: flex; gap: clamp(14px, 3vw, 36px); }
.nav-link { font-size: 14px; }
.nav-link[aria-current="page"] { text-decoration: underline; }
.nav-count { margin-inline-start: 5px; font-variant-numeric: tabular-nums; }
.section { padding: clamp(52px, 8vw, 108px) 0; }
.white { background: var(--white); }
.grey { background: var(--grey); }
.black { background: var(--black); color: var(--grey); }
.black .secondary-text { color: #a1a1a6; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(42px, 6.1vw, 80px); line-height: 1.08; }
h2 { font-size: clamp(30px, 4vw, 49px); line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0; overflow-wrap: anywhere; text-wrap: pretty; }
.secondary-text { color: var(--muted); }
.lead { margin-top: 22px; max-width: 34ch; font-size: clamp(17px, 2vw, 21px); }
.section-head { margin-bottom: 32px; }
.section-head p { margin-top: 12px; }
.pill { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid var(--line); border-radius: 980px; background: var(--white); color: var(--ink); text-decoration: none; cursor: pointer; }
.pill.primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.pill:active { transform: scale(.985); }
.pulse { animation: confirm-add .22s var(--ease); }
@keyframes confirm-add { from { transform: scale(.975); } to { transform: scale(1); } }
.hero { min-height: max(460px, calc(100vh - 170px)); min-height: max(460px, calc(100svh - 170px)); display: grid; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); align-items: center; gap: clamp(28px, 7vw, 100px); }
.hero .pill, .flow-actions { margin-top: 27px; }
.signature { position: relative; aspect-ratio: 1.15; display: grid; place-items: center; isolation: isolate; }
.signature .fold { position: absolute; inset: 15% 11% 10%; background: var(--white); clip-path: polygon(0 0, 100% 0, 100% 23%, 35% 76%, 100% 76%, 100% 100%, 0 100%, 0 77%, 65% 24%, 0 24%); }
.signature .fold::after { content: ""; position: absolute; inset: 0; background: #c8c8cc; clip-path: polygon(65% 24%, 100% 23%, 35% 76%, 0 77%); }
.signature .fold::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--grey); clip-path: polygon(65% 24%, 100% 0, 100% 23%); }
.signature-word { position: absolute; inset: auto 11% 0 auto; font-size: clamp(11px, 1.6vw, 17px); color: #a1a1a6; font-weight: 600; letter-spacing: .06em; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; align-items: start; gap: 12px; padding: clamp(18px, 3vw, 28px); border-radius: 18px; background: var(--white); min-width: 0; }
.white .product-card { background: var(--grey); }
.product-card .text-action { margin-top: auto; min-height: 44px; display: inline-flex; align-items: center; }
.category-label { color: var(--muted); font-size: 14px; }
.price, .quantity-value { font-variant-numeric: tabular-nums; }
.price { font-weight: 600; }
.browse-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 24px; }
.browse-tools label { display: grid; gap: 5px; flex: 0 1 240px; min-width: 0; font-size: 14px; }
.browse-tools input, .browse-tools select { width: 100%; min-height: 44px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font-size: 16px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 85px); align-items: center; }
.product-mark { display: grid; place-items: center; aspect-ratio: 1.35; color: var(--white); background: var(--black); font-size: clamp(58px, 17vw, 180px); font-weight: 650; line-height: 1; }
.detail-info { display: grid; gap: 15px; align-items: start; justify-items: start; }
.detail-info h1 { font-size: clamp(36px, 5.5vw, 68px); }
.detail-info .price { font-size: 33px; }
.specs { display: grid; gap: 22px; margin: 24px 0 0; }
.specs dt { font-weight: 650; }
.specs dd { margin: 6px 0 0; color: var(--muted); overflow-wrap: anywhere; }
.cart-table { margin: 0; padding: 0; list-style: none; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-controls { display: flex; align-items: center; gap: 10px; }
.cart-controls .pill { min-width: 44px; padding: 0 12px; }
.cart-footer { display: flex; gap: 22px; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 24px; }
.live { min-height: 1.5em; font-size: 14px; color: var(--muted); }
.site-footer { background: var(--grey); padding: 24px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 1068px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) {
  .wrap { width: calc(100% - 40px); }
  .hero .wrap, .detail-layout, .product-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; padding-top: 60px; padding-bottom: 46px; }
  .signature { width: min(100%, 310px); margin: 0 auto; }
  .site-nav .wrap { gap: 8px; }
  .brand { font-size: 13px; gap: 6px; }
  .nav-link { font-size: 13px; }
  .nav-links { gap: 12px; }
  .browse-tools label { flex: 1 1 145px; }
  .cart-line { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .cart-line > .cart-controls { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } .pill:active { transform: none; } }
