/* Fonts: Bagel Fat One, Bricolage Grotesque, DM Sans and DM Mono, under the SIL Open Font License 1.1. The license texts are in /licenses/. */
/*
 * The landing page of kaizenresale.com. Every rule carries the approved design's inline styles over as they were.
 * Each declaration with a cqi unit comes after a plain fallback of the same property for a phone with no container
 * query support. The root div is as wide as the viewport, so its cqi becomes vw. The hero copy sits in a second
 * container, and its fallback works from that container's width in --kz-hero-w.
 * The build points each font url at its hashed file.
 */

/* Fonts */

@font-face {
  font-family: "Bagel Fat One";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/assets/bagel-fat-one-latin-400.115ac5b8.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/bricolage-grotesque-latin-wght.a97804dc.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/dm-sans-latin-wght.9fea608a.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/dm-mono-latin-500.9964608a.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The page */

body {
  margin: 0;
}

a {
  color: #15124a;
}

a:hover {
  color: #ff2e7e;
}

.kz-root {
  container-type: inline-size;
  overflow-x: hidden;
  overflow-x: clip;
  background: #fbf8f2;
  color: #15124a;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Words drawn as stickers with a navy edge */

.kz-bubble {
  -webkit-text-stroke: 0.19em #15124a;
  paint-order: stroke fill;
}

.kz-ib {
  display: inline-block;
}

.kz-nw {
  white-space: nowrap;
}

/* The hero */

.kz-hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #ffc13f 0%, #ffb13a 16%, #ff9833 36%, #ff8634 52%, #ff7a50 68%, #ff684c 84%, #ff555a 100%);
}

.kz-hero-in {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px clamp(16px, 4vw, 56px) clamp(52px, 6vw, 76px);
  padding: 22px clamp(16px, 4cqi, 56px) clamp(52px, 6cqi, 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kz-tag {
  margin: 0;
  font-family: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #15124a;
}

.kz-logo {
  position: relative;
  width: min(84%, 440px);
  margin-top: clamp(14px, 2.2vw, 22px);
  margin-top: clamp(14px, 2.2cqi, 22px);
}

.kz-burst {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 3200px;
  height: 3200px;
  margin: -1600px 0 0 -1600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0) 20%), repeating-conic-gradient(from 3.75deg, rgba(255, 255, 255, 0.15) 0 7.5deg, rgba(255, 255, 255, 0) 7.5deg 15deg);
  pointer-events: none;
}

.kz-logo-img {
  display: block;
  width: 100%;
  height: auto;
}

/* The hero copy is its own container. Its fallbacks work from its width. */
.kz-hero-copy {
  --kz-hero-w: calc(min(100vw, 1180px) - 2 * clamp(16px, 4vw, 56px));
  align-self: stretch;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kz-title {
  margin: clamp(12px, calc(var(--kz-hero-w) * 0.026), 16px) 0 0;
  margin: clamp(12px, 2.6cqi, 16px) 0 0;
  max-width: 10em;
  font-family: "Bagel Fat One", "Arial Rounded MT Bold", "Arial Black", system-ui, sans-serif;
  font-size: clamp(42px, calc(var(--kz-hero-w) * 0.155), 92px);
  font-size: clamp(42px, 15.5cqi, 92px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #ffffff;
  filter: drop-shadow(0 0.075em 0 #15124a);
}

.kz-title-end {
  display: inline-block;
  color: #ffe14a;
}

.kz-title-spark {
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.1em;
  vertical-align: 0.5em;
  overflow: visible;
}

.kz-lead {
  margin: clamp(20px, calc(var(--kz-hero-w) * 0.052), 22px) 0 0;
  margin: clamp(20px, 5.2cqi, 22px) 0 0;
  max-width: 34em;
  font-size: clamp(17px, calc(var(--kz-hero-w) * 0.018), 19px);
  font-size: clamp(17px, 1.8cqi, 19px);
  line-height: 1.5;
  font-weight: 500;
  color: #15124a;
  text-wrap: pretty;
}

/* One wrapper per open platform. A second one stacks 22px under the first. */
.kz-shop {
  position: relative;
  width: min(100%, 420px);
  margin-top: clamp(32px, calc(var(--kz-hero-w) * 0.066), 38px);
  margin-top: clamp(32px, 6.6cqi, 38px);
}

.kz-shop + .kz-shop {
  margin-top: 22px;
}

.kz-sticker {
  position: absolute;
  z-index: 1;
  left: 20px;
  top: -17px;
  margin: 0;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 9px;
  background: #ffe14a;
  border: 2.5px solid #15124a;
  border-radius: 999px;
  transform: rotate(-4deg);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #15124a;
}

.kz-sticker-spark {
  flex: none;
  width: 12px;
  height: 12px;
  overflow: visible;
}

/* The white pill button with the pink arrow */

.kz-cta {
  transition: transform 140ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 140ms cubic-bezier(0.2, 0.7, 0.2, 1);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 0 12px 0 30px;
  background: #ffffff;
  border: 3px solid #15124a;
  border-radius: 999px;
  box-shadow: 0 6px 0 #15124a;
  color: #15124a;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

/* The button keeps its navy words on hover as it did with inline styles. */
.kz-cta:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #15124a;
  color: #15124a;
}

.kz-cta:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #15124a;
}

.kz-cta:focus-visible {
  outline: 3px solid #15124a;
  outline-offset: 4px;
}

.kz-cta-arrow {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #ff2e7e;
  border: 3px solid #15124a;
}

/* The scalloped edge under the hero */

.kz-scallop {
  position: relative;
  height: 0;
}

.kz-scallop-svg {
  position: absolute;
  left: 0;
  top: -2px;
  display: block;
  pointer-events: none;
}

/* More doors opening soon */

.kz-soon {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(136px, 13vw, 176px) clamp(16px, 4vw, 56px) clamp(56px, 7vw, 96px);
  padding: clamp(136px, 13cqi, 176px) clamp(16px, 4cqi, 56px) clamp(56px, 7cqi, 96px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 4vw, 40px) clamp(32px, 7vw, 96px);
  gap: clamp(24px, 4cqi, 40px) clamp(32px, 7cqi, 96px);
}

.kz-soon-text {
  flex: 1 1 360px;
  min-width: 0;
}

.kz-soon-title {
  margin: 0;
  font-family: "Bagel Fat One", system-ui, sans-serif;
  font-size: clamp(36px, 5.4vw, 64px);
  font-size: clamp(36px, 5.4cqi, 64px);
  line-height: 1.03;
  font-weight: 400;
  color: #15124a;
  text-wrap: balance;
}

.kz-soon-note {
  margin: 14px 0 0;
  max-width: 26em;
  font-size: clamp(17px, 1.5vw, 19px);
  font-size: clamp(17px, 1.5cqi, 19px);
  color: #3d3a66;
  text-wrap: pretty;
}

.kz-tray {
  flex: 1 1 400px;
  min-width: 0;
  max-width: 540px;
  position: relative;
}

.kz-tray-list {
  margin: 0;
  padding: 16px;
  list-style: none;
  display: grid;
  gap: 12px;
  background: #ffffff;
  border: 3px solid #15124a;
  border-radius: 32px;
}

.kz-door {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 72px;
  margin: 0;
  padding: 0 11px 0 28px;
  background: #e3e1ee;
  border: 3px solid #b9b7cd;
  border-radius: 999px;
  color: #5d5a7a;
  -webkit-text-fill-color: #5d5a7a;
  opacity: 1;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: not-allowed;
}

.kz-door-lock {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #d3d1e2;
  border: 3px solid #b9b7cd;
}

/* The two caution tapes. They sit 69px over and 33px under the middle of the tray, as at 154px and 256px for five rows. */
.kz-tape {
  position: absolute;
  left: -44px;
  right: -24px;
  height: 38px;
  transform-origin: 44px 50%;
  filter: drop-shadow(0 4px 0 #15124a);
  pointer-events: none;
}

.kz-tape-a {
  top: calc(50% - 69px);
  transform: rotate(10.5deg);
}

.kz-tape-b {
  top: calc(50% + 33px);
  transform: rotate(-10.5deg);
}

.kz-tape-strip {
  box-sizing: border-box;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  white-space: nowrap;
  background: #ffe14a;
  border-top: 2.5px solid #15124a;
  border-bottom: 2.5px solid #15124a;
  color: #15124a;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 25%, 100% 50%, calc(100% - 8px) 75%, 100% 100%, 0 100%, 8px 75%, 0 50%, 8px 25%);
}

.kz-tape-stripe {
  flex: none;
  align-self: stretch;
  width: 48px;
  background: repeating-linear-gradient(-45deg, #15124a 0 8px, #ffe14a 8px 16px);
}

.kz-tape-word {
  flex: none;
}

/* Four things you can count on */

.kz-promise {
  background: #15124a;
  color: #fbf8f2;
}

.kz-promise-in {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 56px) clamp(48px, 6.5vw, 80px);
  padding: clamp(40px, 6cqi, 72px) clamp(16px, 4cqi, 56px) clamp(48px, 6.5cqi, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kz-promise-title {
  margin: 0;
  font-family: "Bagel Fat One", system-ui, sans-serif;
  font-size: clamp(30px, 4.4vw, 52px);
  font-size: clamp(30px, 4.4cqi, 52px);
  line-height: 1.05;
  font-weight: 400;
  color: #fbf8f2;
  text-wrap: balance;
}

.kz-chips {
  margin: clamp(24px, 3.6vw, 40px) 0 0;
  margin: clamp(24px, 3.6cqi, 40px) 0 0;
  padding: 0;
  max-width: clamp(620px, 54vw, 780px);
  max-width: clamp(620px, 54cqi, 780px);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 2vw, 26px) clamp(16px, 1.6vw, 22px);
  gap: clamp(20px, 2cqi, 26px) clamp(16px, 1.6cqi, 22px);
}

.kz-chip {
  padding: clamp(11px, 0.85vw, 13px) clamp(18px, 1.4vw, 22px);
  padding: clamp(11px, 0.85cqi, 13px) clamp(18px, 1.4cqi, 22px);
  border: 3px solid #15124a;
  border-radius: 999px;
  box-shadow: 0 0 0 4px #ffffff;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  font-size: clamp(14px, 1.1cqi, 16px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #15124a;
}

.kz-chip-1 {
  background: #ffc3dc;
  transform: rotate(2deg);
}

.kz-chip-2 {
  background: #ffffff;
  transform: rotate(-1.5deg);
}

.kz-chip-3 {
  background: #ffe14a;
  transform: rotate(-3deg);
}

.kz-chip-4 {
  background: #ffa62b;
  transform: rotate(2.5deg);
}

/* Every piece has a past */

.kz-story {
  position: relative;
}

.kz-story-in {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) clamp(16px, 4vw, 56px) clamp(56px, 8vw, 104px);
  padding: clamp(56px, 8cqi, 112px) clamp(16px, 4cqi, 56px) clamp(56px, 8cqi, 104px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(20px, 4vw, 40px) clamp(32px, 7vw, 96px);
  gap: clamp(20px, 4cqi, 40px) clamp(32px, 7cqi, 96px);
}

.kz-story-title {
  flex: 1 1 380px;
  min-width: 0;
  margin: 0;
  font-family: "Bagel Fat One", system-ui, sans-serif;
  font-size: clamp(38px, 5.6vw, 68px);
  font-size: clamp(38px, 5.6cqi, 68px);
  line-height: 1.06;
  font-weight: 400;
  color: #15124a;
  text-wrap: balance;
}

.kz-mark {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.kz-mark-swash {
  position: absolute;
  left: -0.12em;
  right: -0.12em;
  top: 36%;
  bottom: 6%;
  background: #ffe14a;
  border-radius: 0.5em 0.3em 0.55em 0.25em / 0.4em 0.6em 0.35em 0.55em;
  transform: rotate(-1.5deg);
}

.kz-mark-word {
  position: relative;
}

.kz-story-text {
  flex: 1 1 380px;
  min-width: 0;
}

.kz-story-p {
  margin: 0;
  max-width: 30em;
  font-size: clamp(17px, 1.5vw, 19px);
  font-size: clamp(17px, 1.5cqi, 19px);
  color: #3d3a66;
  text-wrap: pretty;
}

.kz-story-pill {
  margin: clamp(28px, 4vw, 40px) 0 0;
  margin: clamp(28px, 4cqi, 40px) 0 0;
  display: inline-block;
  padding: 12px 24px 13px;
  background: #ffe14a;
  border: 3px solid #15124a;
  border-radius: 999px;
  box-shadow: 0 6px 0 #15124a;
  transform: rotate(-2deg);
  font-family: "Bagel Fat One", system-ui, sans-serif;
  font-size: max(min(5.4vw, 20px), min(2.2vw, 26px));
  font-size: max(min(5.4cqi, 20px), min(2.2cqi, 26px));
  line-height: 1.15;
  color: #15124a;
}

.kz-story-end {
  margin: 22px 0 0;
  max-width: 30em;
  font-size: clamp(17px, 1.5vw, 19px);
  font-size: clamp(17px, 1.5cqi, 19px);
  color: #3d3a66;
  text-wrap: pretty;
}

.kz-wave {
  display: block;
}

/* The footer */

.kz-footer {
  background: #15124a;
  color: #fbf8f2;
}

.kz-footer-in {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(32px, 4.4vw, 48px) clamp(16px, 4vw, 56px) clamp(36px, 4.4vw, 48px);
  padding: clamp(32px, 4.4cqi, 48px) clamp(16px, 4cqi, 56px) clamp(36px, 4.4cqi, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}

.kz-footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.kz-kanji {
  box-sizing: border-box;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 68px;
  background: #fbf8f2;
  border-radius: 6px;
  color: #15124a;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Songti SC", serif;
  font-size: 23px;
  line-height: 27px;
  font-weight: 700;
}

.kz-motto {
  margin: 0;
  font-family: "Bagel Fat One", system-ui, sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-size: clamp(20px, 2.2cqi, 26px);
  line-height: 1.15;
  color: #fbf8f2;
}

.kz-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.kz-foot {
  display: inline-block;
  padding: 11px 0;
  color: #fbf8f2;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #ffe14a;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

/* The footer link keeps its cream words on hover as it did with inline styles. */
.kz-foot:hover {
  color: #fbf8f2;
}

.kz-foot:focus-visible {
  outline: 3px solid #ffe14a;
  outline-offset: 4px;
}

.kz-footer-meta {
  font-family: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9c7e0;
}

/* The wrong door page. The root fills the screen and the footer sits at its foot. */

.kz-nf-root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.kz-nf {
  box-sizing: border-box;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px clamp(16px, 4vw, 56px) 88px;
  padding: 72px clamp(16px, 4cqi, 56px) 88px;
  text-align: center;
}

.kz-nf-title {
  margin: 20px 0 0;
  font-family: "Bagel Fat One", system-ui, sans-serif;
  font-size: clamp(52px, 12vw, 104px);
  font-size: clamp(52px, 12cqi, 104px);
  line-height: 1.05;
  font-weight: 400;
  color: #15124a;
}

.kz-nf-lead {
  margin: 18px 0 0;
  max-width: 24em;
  font-size: clamp(17px, 1.8vw, 19px);
  font-size: clamp(17px, 1.8cqi, 19px);
  line-height: 1.5;
  font-weight: 500;
  color: #3d3a66;
  text-wrap: pretty;
}

.kz-nf-go {
  width: min(100%, 360px);
  margin-top: 40px;
  text-align: left;
}

/* Its words stay on one line down to a 320 wide phone. */
.kz-nf-cta {
  white-space: nowrap;
  padding-left: 26px;
  gap: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .kz-cta {
    transition: none;
  }
}
