:root {
  --bg: #f5f4f1;
  --paper: #ffffff;
  --ink: #1b2430;
  --navy: #16324f;
  --navy-2: #0f2438;
  --muted: #5b6170;
  --line: #e6e2d8;
  --btn: #16324f;
  --btn-hover: #0f2438;
  --accent: #2f6f4e;
  --danger: #b42318;
  --ok: #177245;
  --radius: 12px;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --serif: "IBM Plex Serif", Georgia, serif;
  --icon-gap: 8px;
  --tile-gap: 14px;
  --wrap-pad: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

html { scroll-behavior: smooth; }
.wrap { width: min(1180px, calc(100% - var(--wrap-pad) * 2)); margin: 0 auto; }
.narrow { width: min(680px, calc(100% - var(--wrap-pad) * 2)); margin-left: auto; margin-right: auto; }
body:has(> main > .page-center) {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body:has(> main > .page-center) > main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 32px 0;
}
body:has(> main > .page-center) > .site-foot {
  flex-shrink: 0;
  width: 100%;
  margin-top: 0;
}
.page-center {
  width: min(680px, calc(100% - var(--wrap-pad) * 2));
  margin: 0;
}
.narrow:has(> .steps-card:first-child) { padding-top: 28px; }
.checkout-wrap { width: min(1100px, calc(100% - var(--wrap-pad) * 2)); margin: 0 auto; padding-top: 28px; padding-bottom: 48px; }
@media (min-width: 860px) { .checkout-wrap { padding-top: 36px; } }
@media (min-width: 760px) { :root { --wrap-pad: 24px; } }

.trust-bar {
  background: var(--navy);
  color: #e8eef4;
  font-size: 12px;
  letter-spacing: 0.02em;
  overflow: hidden;
}
.trust-bar-inner {
  overflow: hidden;
  padding: 0;
}
.trust-bar-track {
  display: flex;
  width: max-content;
  align-items: center;
}
.trust-bar-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
  padding: 8px 18px 8px 0;
  flex-shrink: 0;
}
.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: var(--icon-gap);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-bar i {
  width: 1.15em;
  text-align: center;
  flex-shrink: 0;
  color: #c9d7e4;
}
@media (max-width: 759px) {
  .trust-bar .wrap {
    width: 100%;
    max-width: none;
  }
  .trust-bar-track {
    animation: trust-marquee 22s linear infinite;
  }
}
@media (min-width: 760px) {
  .trust-bar-inner { overflow: visible; }
  .trust-bar-track {
    width: 100%;
    flex-wrap: wrap;
    animation: none;
  }
  .trust-bar-group { flex-wrap: wrap; gap: 8px 18px; padding: 8px 0; }
  .trust-bar-group[aria-hidden="true"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-bar-track { animation: none; }
  .trust-bar-inner { overflow-x: auto; scrollbar-width: none; }
  .trust-bar-inner::-webkit-scrollbar { display: none; }
}
@keyframes trust-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}
.bar-end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.site-nav { display: none; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-text { display: grid; line-height: 1.15; min-width: 0; }
.logo-text strong {
  font-family: var(--serif);
  font-size: 0.98rem;
  white-space: nowrap;
}
.logo-text small { color: var(--muted); font-size: 11px; }
@media (max-width: 420px) { .logo-text small { display: none; } }
@media (min-width: 860px) {
  .logo-text strong { font-size: 1.05rem; }
  .bar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 16px;
    min-height: 72px;
  }
  .bar-inner > .logo { justify-self: start; }
  .bar-end {
    margin-left: 0;
    justify-self: end;
  }
}

.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;
}
.nav-toggle {
  margin-left: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 18px;
}
.nav-toggle:hover { border-color: var(--navy); }
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-menu { display: none !important; }
  .site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
  }
  .site-nav a {
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .site-nav a:hover { background: var(--bg); }
  .site-nav a.on { background: #eef3f8; }
}
body.nav-open { overflow: hidden; }
@media (min-width: 860px) { body.nav-open { overflow: auto; } }
.site-menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100%;
  height: 100%;
  z-index: 80;
  pointer-events: none;
  background: #fff;
}
.site-menu.is-open { pointer-events: auto; }
.site-menu-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  background: #fff;
  color: var(--navy-2);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.22s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0;
  overflow: hidden;
}
.site-menu.is-open .site-menu-panel {
  transform: translateY(0);
  opacity: 1;
}
.site-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--wrap-pad);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.site-menu-head .logo { flex: 1; min-width: 0; }
.site-menu-head .logo-text strong {
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 18px;
}
.site-menu-links {
  overflow-y: auto;
  padding: 6px 0;
}
.site-menu-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px var(--wrap-pad);
  text-decoration: none;
  color: var(--navy-2);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  border-bottom: 1px solid var(--line);
}
.site-menu-links a > i:first-child {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
}
.site-menu-links a span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.site-menu-go { color: #8b93a0; font-size: 12px; }
.site-menu-links a.on { background: #eef3f8; }
.site-menu-links a.on > i:first-child { background: var(--navy); color: #fff; }
.site-menu-foot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: 22px var(--wrap-pad) calc(20px + env(safe-area-inset-bottom));
}
.site-menu-foot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.site-menu-foot-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 36, 56, 0.42) 0%, rgba(15, 36, 56, 0.58) 100%);
}
.site-menu-foot-links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 0;
}
.site-menu-foot-links a {
  color: #fffdf8;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 6px 12px;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(15, 36, 56, 0.7);
}
.site-menu-foot-links a + a {
  border-left: 1px solid rgba(255, 253, 248, 0.28);
}
.site-menu-foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pay-body .nav-toggle { margin-left: 8px; }

.cart-btn {
  position: relative;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: var(--icon-gap);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  flex-shrink: 0;
}
.cart-btn i { width: 1.15em; text-align: center; }
@media (min-width: 860px) { .cart-btn { padding: 0 14px; } }
.cart-label { font-size: 14px; }
@media (max-width: 379px) { .cart-label { display: none; } }
.cart-badge[hidden] { display: none; }
.cart-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  display: grid;
  place-items: center;
}
.secure-pill {
  font-size: 13px;
  color: var(--accent);
  display: inline-flex;
  gap: var(--icon-gap);
  align-items: center;
  font-weight: 600;
  margin-left: auto;
  min-width: 0;
}
.secure-pill i { width: 1.15em; text-align: center; flex-shrink: 0; }
.secure-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) {
  .pay-body .secure-pill span { display: none; }
}

.hero {
  --hero-chrome: 9.25rem;
  --hero-min: calc(100vh - var(--hero-chrome));
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
  min-height: var(--hero-min);
}
@supports (height: 100svh) {
  .hero { --hero-min: calc(100svh - var(--hero-chrome)); }
}
@media (min-width: 860px) {
  .hero { --hero-chrome: 6.75rem; }
}
.hero-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  min-height: var(--hero-min);
}
.hero-track::-webkit-scrollbar { display: none; width: 0; height: 0; }
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  min-height: var(--hero-min);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 40px 0 72px;
  --slide-fade: #16324f;
}
.hero-slide.is-dark { --slide-fade: #12283d; background: #16324f; }
.hero-slide.is-light { --slide-fade: #fffdf8; background: #f3efe6; }
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 36, 56, 0.82) 0%, rgba(15, 36, 56, 0.55) 46%, rgba(15, 36, 56, 0.18) 100%);
}
.hero-slide.is-light .hero-shade {
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.9) 0%, rgba(255, 253, 248, 0.62) 48%, rgba(255, 253, 248, 0.2) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 96px));
  margin-left: max(var(--wrap-pad), 56px);
  margin-right: auto;
}
@media (min-width: 1100px) {
  .hero-copy { margin-left: max(calc((100% - 1100px) / 2), 72px); }
}
.hero-title,
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 5vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--navy-2);
  overflow-wrap: break-word;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; color: var(--navy); font-weight: 700; margin: 0 0 8px; }
h1 { font-family: var(--serif); font-size: clamp(1.55rem, 5vw, 2.5rem); letter-spacing: -0.03em; margin: 0 0 10px; color: var(--navy-2); }
h2 { font-size: 1.2rem; margin: 0 0 12px; color: var(--navy); }
.lead { color: var(--muted); margin: 0 0 18px; font-size: 1.02rem; }
.hero .lead { max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
@media (min-width: 560px) { .hero-actions .btn { flex: 0 0 auto; } }
.hero-slide.is-dark .eyebrow { color: #c9d7e4; }
.hero-slide.is-dark .hero-title,
.hero-slide.is-dark h1 { color: #fffdf8; }
.hero-slide.is-dark .lead { color: #c9d7e4; }
.hero-slide.is-dark .btn-primary {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--paper);
}
.hero-slide.is-dark .btn-primary:hover { background: #e8eef4; border-color: #e8eef4; }
.hero-slide.is-dark .btn-ghost {
  background: transparent;
  border-color: #8aa0b4;
  color: #fffdf8;
}
.hero-slide.is-dark .btn-ghost:hover { background: #1e3d5c; }
.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-art .vis,
.hero-art .hero-vis {
  position: absolute;
  width: 180px;
  height: 230px;
}
.hero-art .hero-vis-a4 { right: 24%; top: 16%; transform: rotate(-8deg) scale(1.45); }
.hero-art .hero-vis-a3 { right: 7%; top: 34%; transform: rotate(7deg) scale(1.7); }
.hero-art .hero-vis-pack { right: 11%; top: 20%; transform: scale(1.85); }
.hero-art .hero-vis-env { right: 26%; top: 14%; transform: rotate(-10deg) scale(1.3); }
.hero-art .hero-vis-note { right: 7%; top: 26%; transform: rotate(6deg) scale(1.45); }
.hero-art .hero-vis-sticky { right: 20%; bottom: 12%; top: auto; transform: rotate(-4deg) scale(1.2); }
.hero-mark {
  position: absolute;
  right: 10%;
  bottom: 16%;
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--navy);
  opacity: 0.12;
}
.hero-slide.is-dark .hero-mark { color: #fffdf8; opacity: 0.14; }
.hero-shield {
  position: absolute;
  right: 12%;
  top: 50%;
  width: 180px;
  height: 210px;
  transform: translateY(-56%);
  background: #16324f;
  border: 2px solid #8aa0b4;
  border-radius: 90px 90px 28px 28px;
  display: grid;
  place-items: center;
  color: #fffdf8;
  font-size: 4.2rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}
.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(22, 50, 79, 0.12);
}
.hero-nav.prev { left: 12px; }
.hero-nav.next { right: 12px; }
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}
.hero-dot {
  pointer-events: auto;
  width: 28px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(22, 50, 79, 0.28);
  cursor: pointer;
}
.hero.is-on-dark .hero-dot { background: rgba(255, 253, 248, 0.35); }
.hero-dot[aria-current="true"] { background: var(--navy); }
.hero.is-on-dark .hero-dot[aria-current="true"] { background: #fffdf8; }
@media (max-width: 759px) {
  .hero { --hero-min: min(68svh, 520px); min-height: 380px; }
  .hero-slide { padding: 28px 0 84px; min-height: 380px; }
  .hero-copy { width: min(640px, calc(100% - 32px)); margin-left: 16px; min-width: 0; }
  .hero-title, .hero h1 { font-size: clamp(1.45rem, 7vw, 2rem); }
  .hero-shade {
    background: linear-gradient(180deg, rgba(15, 36, 56, 0.72) 0%, rgba(15, 36, 56, 0.58) 100%);
  }
  .hero-slide.is-light .hero-shade {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.88) 0%, rgba(255, 253, 248, 0.7) 100%);
  }
  .hero-nav {
    top: auto;
    bottom: 16px;
    margin-top: 0;
    width: 40px;
    height: 40px;
  }
  .hero-dots { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-track { scroll-behavior: auto; }
}

.promise { background: #fff; border-bottom: 1px solid var(--line); }
.promise-grid {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  grid-template-columns: 1fr 1fr;
}
.promise article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 0;
  min-width: 0;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--tile-gap);
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}
.tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e7edf3;
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tile-icon i { width: auto; margin: 0; }
.tile-copy { min-width: 0; }
.tile-copy strong { display: block; margin: 0 0 4px; color: var(--navy-2); line-height: 1.3; }
.tile-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
@media (min-width: 960px) {
  .promise-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 0; }
}

.section-head { padding: 28px 0 8px; }
.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.section-head.split h2 { margin: 0 0 4px; }
.section-head.split .muted { margin: 0; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--icon-gap);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.text-link i { width: 1.15em; text-align: center; }
.home-block { padding-bottom: 28px; }
.home-best { padding-bottom: 40px; }
.brand-shelf {
  padding: 8px 0 36px;
  margin: 8px 0 0;
}
.brand-grid {
  display: grid;
  gap: 14px;
  padding: 12px 0 8px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 720px) { .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .brand-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.brand-logo {
  margin: 0;
  min-height: 128px;
  display: grid;
  place-items: center;
  padding: 16px 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.brand-logo img {
  width: 100%;
  max-width: 196px;
  height: 80px;
  object-fit: contain;
}

.photo-scene,
.shop-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.photo-scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.photo-scene-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 36, 56, 0.78) 0%, rgba(15, 36, 56, 0.52) 55%, rgba(15, 36, 56, 0.28) 100%);
}
.photo-scene-shade.is-soft {
  background: linear-gradient(180deg, rgba(245, 244, 241, 0.88) 0%, rgba(245, 244, 241, 0.78) 100%);
}
.photo-scene-copy,
.photo-scene-inner,
.shop-hero-copy {
  position: relative;
  z-index: 2;
}
.photo-scene-copy { max-width: 640px; }
.photo-scene-copy h1,
.photo-scene-copy h2 { color: #fffdf8; }
.photo-scene-copy .lead,
.photo-scene-copy p { color: #d5dde6; }
.photo-scene-copy .eyebrow { color: #c9d7e4; }
.photo-scene .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.photo-scene .btn-primary:hover { background: #e8eef4; border-color: #e8eef4; }
.photo-scene .btn-ghost { background: transparent; border-color: #8aa0b4; color: #fffdf8; }
.photo-scene-tall { padding: 72px 0 80px; min-height: 420px; display: grid; align-items: center; }
.photo-scene-mid { padding: 56px 0; margin: 0 0 8px; }
.photo-scene-compact { padding: 40px 0 44px; }
.photo-scene-cta { padding: 64px 0; margin-top: 8px; }
@media (max-width: 759px) {
  .photo-scene-shade {
    background: linear-gradient(180deg, rgba(15, 36, 56, 0.76) 0%, rgba(15, 36, 56, 0.62) 100%);
  }
  .photo-scene-tall { padding: 48px 0 56px; min-height: 0; }
  .photo-scene-compact { padding: 36px 0 40px; }
  .photo-scene-mid { padding: 40px 0; }
  .photo-scene-copy h1 { font-size: clamp(1.45rem, 7vw, 2rem); overflow-wrap: anywhere; }
  .page-hero-actions { flex-direction: column; align-items: stretch; }
  .page-hero-actions .btn { width: 100%; }
  .product-visual { height: 168px; }
  .shop-hero { padding: 32px 0 36px; }
  .cart-line { grid-template-columns: 72px 1fr; padding: 12px; }
  .cart-price { grid-column: 1 / -1; }
  .about-split-photo img { height: 220px; }
}

.about-page { padding-bottom: 0; }
.about-flow { padding: 56px 0 24px; }
.about-steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.about-steps li {
  display: grid;
  gap: 8px;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.about-steps span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.about-steps strong { color: var(--navy-2); }
.about-steps p { margin: 0; color: var(--muted); }
@media (min-width: 600px) {
  .about-steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .about-steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
.about-split {
  display: grid;
  gap: 32px;
  padding: 40px 0 64px;
  align-items: center;
}
.about-split-copy h2 { margin-bottom: 12px; }
.about-split-copy p { margin: 0; color: var(--muted); max-width: 38em; line-height: 1.65; }
.about-split-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  background: #e7edf3;
}
.about-split-photo img { width: 100%; height: 280px; object-fit: cover; }
@media (min-width: 860px) {
  .about-split { grid-template-columns: 1fr 1.05fr; gap: 56px; padding: 48px 0 72px; }
  .about-split-photo img { height: 320px; }
}

.contact-body { padding-top: 28px; }
.about-panel {
  display: grid;
  gap: 20px;
  padding: 22px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
}
.about-panel h2 { margin: 0 0 8px; }
.about-panel .muted { margin: 0 0 14px; max-width: 42em; }
.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.about-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy);
}
.about-points i { color: var(--ok); width: 1.1em; text-align: center; }
@media (min-width: 720px) {
  .about-panel { grid-template-columns: 1.4fr 0.8fr; padding: 28px 24px; }
}
.ref-cats {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.ref-cat {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.ref-cat:hover { border-color: var(--navy); }
.ref-cat strong { color: var(--navy); }
.ref-cat span, .ref-cat em { color: var(--muted); font-style: normal; font-size: 13px; }
@media (min-width: 720px) { .ref-cats { grid-template-columns: 1fr 1fr; } }
.cat-grid {
  display: grid;
  gap: 12px;
  padding: 8px 0 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }
.cat-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  min-width: 0;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.cat-card:hover { box-shadow: 0 10px 24px rgba(22, 50, 79, 0.08); border-color: transparent; }
.cat-photo-wrap {
  display: block;
  width: 100%;
  height: 148px;
  overflow: hidden;
  background: #f7f7f5;
}
.cat-photo-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.cat-card .tile-copy { padding: 12px 14px 14px; }
.cat-card .tile-copy p { display: none; }

.carousel {
  position: relative;
  margin: 8px 0 8px;
}
.carousel-track {
  --carousel-gap: 16px;
  display: flex;
  gap: var(--carousel-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; width: 0; height: 0; }
.carousel-track .product-card {
  flex: 0 0 100%;
  max-width: 100%;
  min-width: 0;
  scroll-snap-align: start;
}
@media (min-width: 760px) {
  .carousel-track .product-card {
    flex: 0 0 calc((100% - (var(--carousel-gap) * 3)) / 4);
  }
}
.product-card.compact .qty-row { display: none; }
.carousel-btn {
  position: absolute;
  top: 38%;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  display: none;
  place-items: center;
  box-shadow: 0 4px 12px rgba(22, 50, 79, 0.1);
}
.carousel-btn.prev { left: -6px; }
.carousel-btn.next { right: -6px; }
@media (min-width: 760px) {
  .carousel { padding: 0 18px; }
  .carousel-btn { display: grid; }
}

.shop { padding-bottom: 48px; max-width: 100%; }
.shop-hero { padding: 36px 0 40px; margin-bottom: 8px; }
.shop-hero-copy h1 { margin-bottom: 6px; color: #fffdf8; overflow-wrap: anywhere; }
.shop-hero-copy p { margin: 0; color: #d5dde6; }
.shop-hero .crumb { color: #c9d7e4; margin-bottom: 10px; padding: 0 0 8px; }
.shop-hero .crumb a { color: #fffdf8; }
.shop-body { padding-top: 20px; min-width: 0; max-width: 100%; }
.shop-split { display: grid; gap: 20px; min-width: 0; }
.shop-split > * { min-width: 0; max-width: 100%; }
@media (min-width: 860px) {
  .shop-split { grid-template-columns: 240px 1fr; align-items: start; }
}
.shop-filters {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}
.shop-filters h2 { margin: 0; font-size: 1.05rem; }
.shop-filters fieldset { padding: 10px 12px; min-width: 0; }
.shop-filters input,
.shop-filters select { max-width: 100%; }
@media (min-width: 860px) {
  .shop-filters { position: sticky; top: 88px; }
}
.filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-width: none;
  min-width: 0;
  max-width: 100%;
}
.filter-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.shop-grid { padding-top: 0; min-width: 0; }

.catalog .section-head:first-child { padding-top: 28px; }
.product-grid {
  display: grid;
  gap: 14px;
  padding: 8px 0 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 980px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

.product-card, .summary-card, .card-form, .pay-form, .stat, .form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.product-card {
  padding: 0;
  overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover { box-shadow: 0 10px 24px rgba(22, 50, 79, 0.08); border-color: transparent; }
.product-body { padding: 14px 16px 16px; }
@media (min-width: 760px) {
  .summary-card, .card-form, .pay-form, .stat, .form-card { padding: 18px; }
}
.product-visual {
  position: relative;
  height: 200px;
  border-radius: 0;
  background: #f7f7f5;
  display: grid;
  place-items: center;
  text-decoration: none;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.product-visual.lg { height: 280px; }
@media (min-width: 760px) {
  .product-visual { height: 220px; }
  .product-visual.lg { height: 420px; }
}
.product-visual img { width: 100%; height: 100%; object-fit: contain; padding: 0; }
.stock-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.vis { position: relative; width: 118px; height: 150px; }
.vis-pack { width: 128px; }
.ream-sheet, .vis-box {
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid #c9c2b4;
  border-radius: 3px;
}
.ream-sheet.s2, .vis-box.b2 { transform: translate(5px, -5px); }
.ream-sheet.s3, .vis-box.b3 { transform: translate(10px, -10px); background: #f4f0e6; }
.ream-sheet.s1, .vis-box.b1 {
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(22, 50, 79, 0.08);
}
.vis em {
  font-family: var(--serif);
  font-style: normal;
  font-size: 26px;
  color: var(--navy);
}
.ream-sheet.tint1 { background: #f7e7d4; }
.ream-sheet.tint2 { background: #dce8f4; transform: translate(5px, -5px); }
.ream-sheet.tint3 { background: #e4f0da; transform: translate(10px, -10px); }
.vis-env {
  position: absolute;
  inset: 28px 8px 22px;
  background: #f4efe4;
  border: 1px solid #c9c2b4;
  border-radius: 4px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(22, 50, 79, 0.08);
}
.vis-env-flap {
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 28px;
  background: #e8e0d0;
  border: 1px solid #c9c2b4;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.vis-note {
  position: absolute;
  inset: 16px 22px 16px 18px;
  background: #fff;
  border: 1px solid #c9c2b4;
  border-radius: 2px 8px 8px 2px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(22, 50, 79, 0.08);
}
.vis-note-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--navy);
}
.vis-note-lines {
  position: absolute;
  inset: 36px 12px 16px 18px;
  background: repeating-linear-gradient(#fff, #fff 10px, #e4ddd0 10px, #e4ddd0 11px);
}
.vis-folder {
  position: absolute;
  inset: 36px 14px 18px;
  background: #e7edf3;
  border: 1px solid #b7c4d2;
  border-radius: 0 6px 6px 6px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(22, 50, 79, 0.08);
}
.vis-folder-tab {
  position: absolute;
  top: -14px;
  left: 0;
  width: 42px;
  height: 14px;
  background: #d5dee8;
  border: 1px solid #b7c4d2;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.vis-sticky {
  position: absolute;
  width: 86px;
  height: 86px;
  left: 16px;
  top: 32px;
  background: #f6e27a;
  border: 1px solid #d4bc4a;
  border-radius: 2px;
}
.vis-sticky.s2 { transform: rotate(-4deg); background: #f3dc62; }
.vis-sticky.s3 { transform: rotate(5deg) translate(8px, -6px); background: #ead56a; }
.vis-sticky.s1 { display: grid; place-items: center; box-shadow: 0 8px 16px rgba(22, 50, 79, 0.1); }
.vis-sticky em { font-size: 20px; }

.product-body .sku { margin: 0 0 4px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.product-body h2 { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.3; overflow-wrap: anywhere; }
.product-body h2 a { text-decoration: none; }
.product-body p { margin: 0 0 10px; color: var(--muted); font-size: 0.95rem; }
.price { font-weight: 700; font-size: 1.28rem; color: var(--navy-2); }
.price.lg { font-size: 1.7rem; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--icon-gap); margin-bottom: 12px; }

.qty-row { display: flex; align-items: center; flex-wrap: wrap; gap: var(--icon-gap); margin-bottom: 12px; }
.qty-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}
.qty-input {
  width: 56px;
  max-width: 56px;
  height: 44px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--icon-gap);
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
}
.btn i { width: 1.15em; text-align: center; }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.stack { display: grid; gap: 12px; padding: 8px 0 24px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; gap: 12px; min-width: 0; }
input, textarea, select {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  font-size: 16px;
}
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: var(--icon-gap); font-weight: 500; }
.check input { width: auto; min-height: 0; margin-top: 3px; }
.form-2 { display: grid; gap: 12px; }
@media (min-width: 640px) { .form-2 { grid-template-columns: 1fr 1fr; } }

.summary-card .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.summary-card .row:last-child { border-bottom: 0; }
.cart-lead { margin: -8px 0 16px; }
.cart-panel { display: grid; gap: 12px; }
.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px 16px;
  align-items: start;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (min-width: 720px) {
  .cart-line { grid-template-columns: 112px 1fr auto; }
}
.cart-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  background: #f7f7f5;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--muted);
}
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-thumb.is-empty { font-size: 22px; }
.cart-info { min-width: 0; }
.cart-info .sku { margin: 0 0 4px; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.cart-name {
  display: block;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3;
}
.cart-name:hover { text-decoration: underline; }
.cart-blurb { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.cart-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.cart-specs li {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: #f5f4f1;
  border-radius: 999px;
  padding: 4px 10px;
}
.cart-specs span { color: var(--muted); font-weight: 500; margin-right: 4px; }
.cart-meta { margin: 8px 0 0; }
.cart-info .qty-row { margin: 12px 0 0; }
.cart-price {
  display: grid;
  justify-items: start;
  gap: 4px;
  min-width: 0;
}
.cart-price strong { color: var(--navy); font-size: 1.05rem; }
@media (min-width: 720px) {
  .cart-price { justify-items: end; text-align: right; min-width: 140px; }
}
.row.total { font-size: 1.08rem; color: var(--navy); }
.empty { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.empty[hidden], #cart-box[hidden], #checkout-box[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.crumb { padding: 18px 0 8px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.crumb a { color: var(--navy); }
.product-page { padding-bottom: 64px; }
.product-detail { display: grid; gap: 24px; padding-bottom: 12px; }
.product-detail .product-visual {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f7f7f5;
}
.product-buy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
}
.product-buy .sku { margin: 0 0 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.product-buy .lead { margin-bottom: 14px; }
.product-buy .mini-trust { margin: 16px 0 36px; }
.product-buy .qty-row { margin-top: 0; }
@media (min-width: 860px) {
  .product-detail { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 40px; }
  .product-detail .product-visual,
  .product-detail .product-visual.lg {
    height: auto;
    min-height: 420px;
    align-self: stretch;
  }
  .product-detail .product-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .product-buy {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 28px 26px 24px;
  }
  .product-buy .qty-row {
    margin-top: auto;
  }
}
.ship-hint { margin: 10px 0 0; }
.product-facts {
  display: grid;
  gap: 16px;
  padding: 28px 0 8px;
}
@media (min-width: 900px) { .product-facts { grid-template-columns: 1fr 1fr; gap: 18px; } }
.fact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
}
.fact-card h2 { margin: 0 0 10px; }
.fact-card p { margin: 0 0 12px; color: var(--muted); }
.spec-table th { width: 38%; color: var(--navy); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 14px; }
.use-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.use-chips li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f6f2;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.product-related { padding-top: 20px; }
.related-grid { padding-top: 4px; }
@media (min-width: 980px) { .related-grid { grid-template-columns: repeat(4, 1fr); } }

.steps-card {
  margin: 0 0 22px;
  padding: 14px 12px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  max-width: 100%;
}
.steps-kicker {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin: 0 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}
.steps-kicker span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--muted);
}
.steps-track {
  height: 4px;
  margin: 0 4px 14px;
  background: #e8e4dc;
  border-radius: 99px;
  overflow: hidden;
}
.steps-track i {
  display: block;
  height: 100%;
  background: var(--navy);
  border-radius: 99px;
}
.steps-track i.is-1 { width: 33.333%; }
.steps-track i.is-2 { width: 66.666%; }
.steps-track i.is-3 { width: 100%; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.steps li {
  position: relative;
  min-width: 0;
  color: var(--muted);
  border-radius: 10px;
  padding: 8px 4px 6px;
}
.step-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  padding: 0 4px;
}
a.step-inner:hover .step-copy strong { text-decoration: underline; text-underline-offset: 2px; }
.step-ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 14px;
}
.step-copy { min-width: 0; max-width: 100%; }
.step-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.step-copy small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.steps .is-current {
  color: var(--navy-2);
  background: #eef3f8;
}
.steps .is-current .step-ico {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(22, 50, 79, 0.08);
}
.steps .is-current .step-copy small { color: #3d4d5e; }
.steps .is-done { color: var(--navy); }
.steps .is-done .step-ico {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
@media (min-width: 640px) {
  .steps-card { padding: 16px 18px 14px; }
  .steps { gap: 10px; }
  .steps li { padding: 10px 12px; }
  .step-inner { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; gap: 10px; }
  .step-copy strong { font-size: 14px; }
  .step-copy small { font-size: 12px; }
}

.checkout-page { padding-bottom: 8px; }
.checkout-page .checkout-wrap,
.photo-scene + .wrap,
.photo-scene + .checkout-wrap,
.pay-body main > .wrap:has(> .steps-card) {
  padding-top: 32px;
}
@media (min-width: 860px) {
  .checkout-page .checkout-wrap,
  .photo-scene + .wrap,
  .photo-scene + .checkout-wrap,
  .pay-body main > .wrap:has(> .steps-card) {
    padding-top: 40px;
  }
}
.checkout-split { display: grid; gap: 16px; }
@media (min-width: 860px) {
  .checkout-split { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
}
.checkout-form { display: grid; gap: 14px; }
.checkout-form fieldset {
  background: var(--paper);
  margin: 0;
}
.checkout-form legend {
  display: inline-flex;
  align-items: center;
  gap: var(--icon-gap);
  font-size: 14px;
}
.checkout-form legend i { width: 1.15em; text-align: center; color: var(--navy); }
.checkout-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
@media (min-width: 640px) {
  .checkout-points { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
.checkout-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.checkout-points i { color: var(--accent); width: 1.15em; text-align: center; flex-shrink: 0; margin-top: 2px; }
.legal-box .legal-check {
  font-size: 14px;
  line-height: 1.45;
}
.legal-check a { color: var(--navy); font-weight: 700; }
.co-lines { display: grid; gap: 10px; margin: 10px 0 12px; }
.co-line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.co-line:last-child { border-bottom: 0; padding-bottom: 0; }
.co-thumb {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: #f7f7f5;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  color: var(--muted);
  text-decoration: none;
}
.co-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.co-info { min-width: 0; }
.co-name {
  display: block;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.3;
}
.co-name:hover { text-decoration: underline; }
.co-info p { margin: 4px 0 0; }
.co-sum { color: var(--navy); font-size: 14px; white-space: nowrap; }
.summary-card h2 { margin-bottom: 4px; }
.summary-card [data-co-count] { margin: 0 0 4px; }
.sticky { position: static; }
@media (min-width: 860px) { .sticky { position: sticky; top: 88px; } }
.secure-note {
  font-size: 13px;
  color: var(--accent);
  display: flex;
  gap: var(--icon-gap);
  align-items: flex-start;
}
.secure-note i { width: 1.15em; text-align: center; flex-shrink: 0; margin-top: 2px; }
.mini-trust { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.mini-trust li { display: flex; align-items: flex-start; gap: var(--icon-gap); }
.mini-trust i { color: var(--accent); width: 1.15em; text-align: center; flex-shrink: 0; margin-top: 3px; }
.buyer-box { display: grid; gap: 4px; padding-top: 12px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.pay-summary { position: static; }
@media (min-width: 860px) {
  .pay-summary { position: sticky; top: 88px; }
}
.pay-summary .co-lines { margin-top: 12px; }

.pay-grid { display: grid; gap: 16px; padding: 8px 0 48px; }
@media (min-width: 860px) {
  .pay-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.pay-bare { background: #fff; }
.pay-bare main { padding: 0; }
.pay-bare-wrap { width: 100%; margin: 0; padding: 0; }
.pay-form-bare {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr 1fr; } }
.pay-form { display: grid; gap: 14px; }
.pay-form-head h2 { margin: 0; }
.pay-form .flash { margin: 0; }
.pay-date-row { grid-template-columns: 1fr 1fr; }
.pay-date-row label:last-child { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .pay-date-row { grid-template-columns: 1fr 1fr 1fr; }
  .pay-date-row label:last-child { grid-column: auto; }
}
.card-stage {
  perspective: 1100px;
  width: min(100%, 400px);
  margin: 0 auto;
  aspect-ratio: 1.68 / 1;
}
.card-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.card-flip.is-back { transform: rotateY(180deg); }
.card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  padding: 18px 20px 16px;
  border-radius: 16px;
  color: #f4f7fa;
  background:
    radial-gradient(120% 90% at 110% -10%, rgba(255, 255, 255, 0.16), transparent 46%),
    linear-gradient(145deg, #234a6b 0%, var(--navy) 48%, var(--navy-2) 100%);
  box-shadow: 0 14px 28px rgba(15, 36, 56, 0.2);
  display: grid;
  align-content: space-between;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.card-back {
  transform: rotateY(180deg);
  padding: 0;
  align-content: start;
  background: linear-gradient(160deg, #1c3852 0%, var(--navy-2) 100%);
}
.card-mag {
  height: 44px;
  margin-top: 22px;
  background: #16181c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.card-cvv-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 16px 0;
  padding: 10px 12px;
  background: #fff;
  border-radius: 6px;
  color: var(--ink);
}
.card-cvv-panel small {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-cvv-panel b {
  min-width: 3ch;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.14em;
  font-size: 16px;
}
@media (prefers-reduced-motion: reduce) {
  .card-flip { transition: none; }
}
.card-face::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 80%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 0;
}
.card-face > * { position: relative; z-index: 1; }
.card-face-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-face-marks { display: flex; align-items: center; gap: 10px; }
.card-chip {
  width: 38px;
  height: 28px;
  border-radius: 6px;
  background:
    linear-gradient(#d8b56a, #d8b56a) 50% 30% / 70% 1px no-repeat,
    linear-gradient(#d8b56a, #d8b56a) 50% 50% / 70% 1px no-repeat,
    linear-gradient(#d8b56a, #d8b56a) 50% 70% / 70% 1px no-repeat,
    linear-gradient(160deg, #f3e2b0, #c9a227 42%, #f7e7b8);
  box-shadow: inset 0 0 0 1px rgba(80, 55, 10, 0.25);
}
.card-wave {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
  opacity: 0.85;
}
.card-net {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-net[hidden] { display: none; }
.card-face strong {
  font-size: clamp(1.05rem, 4.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.card-face-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.card-face-meta span { display: grid; gap: 3px; min-width: 0; }
.card-face-meta small {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.62;
}
.card-face-meta b {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
}

.status-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; margin: 28px 0; }
.status-icon { font-size: 28px; color: var(--navy); }
.status-icon.warn { color: var(--danger); }

.site-foot {
  background: var(--navy-2);
  color: #d5dde6;
  padding: 36px 0 20px;
  font-size: 14px;
  margin-top: 24px;
}
.site-foot a { color: #f3f6f9; text-decoration: none; display: block; padding: 6px 0; }
.site-foot h3 { color: #fff; font-size: 14px; margin: 0 0 8px; }
.foot-grid { display: grid; gap: 22px; }
@media (min-width: 560px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.foot-logo { color: #fff; margin-bottom: 10px; }
.foot-meta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
}
.foot-meta i {
  width: 1.15em;
  text-align: center;
  flex-shrink: 0;
  margin-top: 3px;
  color: #fff;
}
.site-foot .foot-meta a,
.foot-meta span {
  display: inline;
  padding: 0;
  color: #fff;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #2a3d52;
  font-size: 12px;
  color: #9aabbb;
}
.site-foot.compact { padding: 18px 0; margin-top: 0; }
.site-foot.compact a { display: inline; padding: 0; }
.foot-pay-note { margin: 0; color: #fff; font-size: 14px; line-height: 1.5; }
.pay-brands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pay-brands span {
  border: 1px solid #3a5168;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.flash { padding: 12px 14px; border-radius: 10px; margin: 12px 0; }
.flash-ok { background: #e8f6ee; color: var(--ok); }
.flash-error { background: #fdeceb; color: var(--danger); }
.prose { padding: 28px 0 56px; max-width: 720px; }
.prose p { color: var(--muted); }

.legal-page { padding-bottom: 8px; min-width: 0; max-width: 100%; overflow-x: clip; }
.legal,
.legal-block,
.legal-tail,
.table-scroll,
.about-split,
.info-grid { min-width: 0; max-width: 100%; }
.legal { padding: 20px 0 56px; }
.legal-page .legal { padding: 28px 0 8px; }
.legal-page .legal-tail { padding: 0 0 56px; }
.legal-page .about-split { padding-top: 12px; padding-bottom: 28px; }
.legal-page .about-split-copy .legal-list,
.legal-page .about-split-copy .legal-steps { margin-top: 8px; }
.legal-page .about-split-copy a { color: var(--navy); font-weight: 700; }
.legal-panel {
  margin: 20px auto 28px;
  padding: 22px 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.legal-panel-head { max-width: 46em; margin-bottom: 18px; }
.legal-panel-head .eyebrow { margin: 0 0 6px; }
.legal-panel-head h2 { margin: 0 0 8px; }
.legal-panel-head p { margin: 0; color: var(--muted); }
.legal-panel-head a { color: var(--navy); font-weight: 700; }
.legal-metrics {
  display: grid;
  gap: 10px;
  margin: 0;
}
.legal-metrics > div {
  padding: 14px 14px 12px;
  background: var(--bg);
  border-radius: 10px;
}
.legal-metrics dt {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-metrics dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}
.legal-metrics p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.legal-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.legal-checks li {
  position: relative;
  padding: 16px 14px 14px;
  background: var(--bg);
  border-radius: 10px;
}
.legal-checks-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  margin-bottom: 10px;
}
.legal-checks strong { display: block; color: var(--navy); margin-bottom: 6px; }
.legal-checks p { margin: 0; color: var(--muted); font-size: 14px; }
@media (min-width: 760px) {
  .legal-panel { padding: 28px 24px 24px; }
  .legal-metrics { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .legal-checks { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
.legal-hero { padding: 12px 0 8px; max-width: 720px; }
.legal-hero h1 { margin-bottom: 8px; }
.page-hero { padding: 16px 0 12px; max-width: 720px; }
.page-hero h1 { margin: 0 0 10px; }
.page-hero .lead { margin: 0; max-width: 40em; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.page-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px;
  margin: 12px 0 8px;
  background: var(--navy);
  color: #e8eef4;
  border-radius: var(--radius);
}
.page-cta h2 { margin: 0 0 6px; color: #fff; }
.page-cta p { margin: 0; color: #c9d7e4; }
.page-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-cta .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.page-cta .btn-primary:hover { background: #e8eef4; border-color: #e8eef4; }
.page-cta .btn-ghost { background: transparent; border-color: #3a5168; color: #fff; }
.contact-split {
  display: grid;
  gap: 16px;
  margin: 20px 0 8px;
  align-items: start;
}
@media (min-width: 880px) {
  .contact-split { grid-template-columns: 1.25fr 0.75fr; gap: 20px; }
}
.contact-form {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-form h2 { margin: 0; }
.contact-form .muted { margin: 0; }
.contact-aside { display: grid; gap: 12px; }
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.nav-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 999px;
  background: #c45c26;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.msg-unread td { font-weight: 700; }
.info-grid, .contact-grid {
  display: grid;
  gap: 12px;
  margin: 16px 0 8px;
}
@media (min-width: 720px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
}
.legal-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  margin: 16px 0;
}
.legal-block h2 { margin-bottom: 8px; }
.legal-block p { color: var(--muted); margin: 0 0 12px; }
.legal-list { margin: 0; padding: 0 0 0 18px; color: var(--muted); display: grid; gap: 8px; }
.legal-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.legal-steps li { display: flex; gap: var(--tile-gap); align-items: flex-start; }
.legal-steps span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
}
.legal-steps p { margin: 4px 0 0; color: var(--muted); }
.legal-cta {
  margin-top: 8px;
  padding: 14px 16px;
  background: #e7edf3;
  border-radius: var(--radius);
  color: var(--navy);
  min-width: 0;
  max-width: 100%;
}
.legal-cta p {
  margin: 0;
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.legal-cta i {
  display: inline-block;
  width: 1.15em;
  text-align: center;
  margin-right: 6px;
}
.legal-cta a { color: var(--navy); font-weight: 700; }
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 0;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.info-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }

.admin-body { background: #eeeae3; }
.admin-shell { display: grid; min-height: 100vh; }
.side {
  background: #171412;
  color: #f4f1ea;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side a { color: inherit; text-decoration: none; }
.side-kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; color: #b7b0a4; margin: 12px 0 0; }
.side-nav { display: grid; gap: 4px; }
.side-nav a { padding: 10px 12px; border-radius: 10px; }
.side-nav a.on, .side-nav a:hover { background: #2a241f; }
.side-foot { margin-top: auto; display: grid; gap: 8px; font-size: 13px; color: #b7b0a4; }
.admin-main { padding: 22px 18px 48px; min-width: 0; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-width: 720px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.uuid-cell {
  display: inline-block;
  max-width: 22em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.4;
  color: #3d3832;
  background: #f4f1ea;
  padding: 3px 6px;
  border-radius: 6px;
  word-break: break-all;
  user-select: all;
  cursor: text;
}
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0 24px; }
.stat span { color: var(--muted); display: block; }
.stat strong { font-size: 1.6rem; }
.linkish { background: none; border: 0; color: var(--danger); cursor: pointer; padding: 0; }
.card-form { margin: 16px 0 24px; }
.admin-main .card-form.stack {
  max-width: 760px;
  padding: 22px 24px 26px;
  gap: 16px;
}
.admin-main .card-form h2 { margin: 0; }
.admin-main .card-form > p.muted,
.admin-main .settings-block > p.muted { margin: 0; }
.admin-main .card-form label { gap: 8px; }
.admin-main .card-form .btn-primary {
  margin-top: 4px;
  width: auto;
  min-width: 168px;
  justify-self: start;
}
.settings-form { gap: 0; }
.settings-block {
  display: grid;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.settings-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.settings-checks { display: grid; gap: 10px; }
.settings-checks .check,
.admin-main .card-form .check {
  align-items: center;
  gap: 10px;
  padding: 2px 0;
}
.settings-checks .check input,
.admin-main .card-form .check input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
}
.settings-note code {
  display: inline;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.admin-preview { display: grid; gap: 8px; max-width: 220px; }
.admin-preview.wide { max-width: 420px; }
.admin-preview img { width: 100%; height: 140px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.admin-split { display: grid; gap: 14px; min-width: 0; }
@media (min-width: 720px) { .admin-split { grid-template-columns: 1fr 1fr; } }
.thumb-cell { width: 64px; }
.thumb-cell img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; display: block; border: 1px solid var(--line); }
.thumb-cell.wide img { width: 88px; height: 52px; }

@media (min-width: 900px) {
  .admin-shell { grid-template-columns: 240px 1fr; }
  .admin-main { padding: 28px 36px; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}
