:root {
  color-scheme: light;
  --ink: #21201c;
  --muted: #5c554b;
  --line: #d9cfc1;
  --paper: #f7f3eb;
  --rust: #9e3a22;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Work Sans", "Segoe UI", Arial, sans-serif;
  font-family: var(--sans);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.6; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { color: inherit; font: inherit; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid #bd552e; outline-offset: 4px; }
.shell { width: min(100% - 72px, 1200px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 12; padding: 8px 14px; background: #fff; }

.header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner, .footer-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.header-inner { min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; text-decoration: none; font-size: 1.1rem; font-weight: 770; letter-spacing: -.04em; }
.brand-mark { display: grid; place-content: center; gap: 3px; flex: 0 0 auto; width: 32px; height: 32px; background: #2b2924; color: #f5c69e; }
.brand-mark i { display: block; width: 17px; height: 2px; background: currentColor; transform: skewX(-32deg); }
.brand-mark i:nth-child(2) { transform: translateX(2px) skewX(-32deg); }
.brand-mark i:nth-child(3) { transform: translateX(-2px) skewX(-32deg); }
.header nav, .footer nav { display: flex; align-items: center; gap: clamp(16px, 4vw, 36px); }
.header nav a, .footer nav a { padding: 8px 0; text-decoration: none; font-size: .92rem; font-weight: 620; }
.header nav a:hover, .footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header nav .nav-contact { padding: 7px 12px; border: 1px solid #baaa98; }
.nav-contact span { margin-left: 5px; }
.menu-toggle { display: none; min-height: 42px; padding: 7px 12px; background: transparent; border: 1px solid #baaa98; cursor: pointer; font-weight: 650; }

.hero {
  margin-top: clamp(18px, 3vw, 37px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: #25221e;
  color: #fdf2de;
}
.hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(27px, 4vw, 64px);
  background: radial-gradient(ellipse at 0 100%, #53302480, transparent 75%);
}
.hero h1 { font: 400 clamp(2.85rem, 5.25vw, 5.2rem)/.93 var(--serif); letter-spacing: -.065em; }
.hero h1 em { color: #f4b984; font-weight: 400; }
.hero-copy > p { max-width: 32ch; color: #e1d5c2; margin-block: 24px; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.button { display: inline-flex; gap: 18px; align-items: center; min-height: 46px; padding: 9px 15px; text-decoration: none; font-size: .92rem; font-weight: 720; }
.button-primary { background: #f0bc8f; color: #2e231c; }
.button-primary:hover { background: #ffcfaa; }
.hero-showcase { min-width: 0; background: #30271f; }
.showcase-scenes { touch-action: pan-y pinch-zoom; }
.showcase-slide { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(390px, 37vw, 470px); }
.showcase-image { position: absolute; z-index: -2; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.showcase-slide::after { content: ""; position: absolute; inset: 23% 0 0; z-index: -1; background: linear-gradient(transparent, #211913e8 73%, #211913); pointer-events: none; }
.showcase-caption { display: grid; justify-items: start; gap: 5px; padding: clamp(20px, 3.3vw, 39px); }
.showcase-product { color: #ffcc9e; font-size: .78rem; font-weight: 720; }
.showcase-caption h2 { font-size: clamp(1.95rem, 3.6vw, 3.35rem); }
.showcase-caption p:not(.showcase-product) { color: #f3e6d8; font-size: .93rem; max-width: 45ch; }
.showcase-caption a { margin-top: 5px; color: #fff0df; font-weight: 700; font-size: .86rem; text-underline-offset: 4px; }
.showcase-caption a:hover { color: #ffcc9e; }
.showcase-controls {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(4px, 1vw, 14px);
  padding: 4px clamp(10px, 2.2vw, 26px);
  border-top: 1px solid #ac8d754f;
  background: #30271f;
}
.showcase-controls button { cursor: pointer; display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; color: #f9e9d6; background: transparent; }
.showcase-controls button:hover { background: #ffffff14; }
.showcase-controls button:focus-visible { outline: 2px solid #ffcc9e; outline-offset: -2px; }
.showcase-play { font-size: 1rem; }
.showcase-play-icon { display: none; }
.showcase-play[aria-label^="Play"] .showcase-play-icon { display: inline; }
.showcase-play[aria-label^="Play"] .showcase-pause-icon { display: none; }
.showcase-dots, .showcase-arrows { display: flex; align-items: center; }
.showcase-dots button { min-width: 34px; }
.showcase-dots span { width: 7px; height: 7px; border: 1px solid #e5ba99; border-radius: 50%; }
.showcase-dots [aria-current="true"] span { width: 17px; border-radius: 5px; background: #ffcc9e; }
.showcase-count { color: #f2d6bc; font-size: .74rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.showcase-arrows button { font-size: 1.3rem; }

.product-guide { padding-top: clamp(40px, 6vw, 76px); }
.product-guide h2 { font-size: clamp(2rem, 4vw, 3.45rem); margin-bottom: 22px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.guide-grid a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  min-width: 0;
  padding: 18px clamp(15px, 2.4vw, 26px);
  text-decoration: none;
}
.guide-grid a:not(:first-child) { border-left: 1px solid var(--line); }
.guide-grid a:hover { background: #efe8dc; }
.guide-grid h3 { font-size: 1.06rem; }
.guide-grid p { margin-top: 4px; max-width: 31ch; color: var(--muted); font-size: .92rem; }
.guide-grid span { color: var(--rust); font-size: 1.3rem; }

.catalog { padding-block: clamp(48px, 6.8vw, 89px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 28px; margin-bottom: 23px; }
h2 { font: 400 clamp(2.3rem, 4.6vw, 4.1rem)/1 var(--serif); letter-spacing: -.055em; }
.section-head p, .company p:not(.eyebrow) { color: var(--muted); margin-top: 9px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding-bottom: 4px; }
.filters button { cursor: pointer; min-height: 41px; background: transparent; border: 1px solid transparent; padding: 7px 10px; font-size: .88rem; font-weight: 670; }
.filters button:hover { background: #eee3d6; }
.filters button[aria-pressed="true"] { background: #25221e; color: #f9efe1; }
.app-grid { border-top: 1px solid var(--line); }
.app-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  padding: 15px 8px;
  border-bottom: 1px solid var(--line);
  min-height: 98px;
}
.app-card:hover, .app-card:focus-within { background: #efe8dc; }
.app-art {
  --tile: #e0e4df;
  --symbol: #354944;
  display: grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--tile);
  color: var(--symbol);
  font-size: 1.65rem;
  font-weight: 750;
  line-height: 1;
}
.art-loyshare { --tile: #e2e4cd; --symbol: #444c2c; }
.art-qr { --tile: #d9e1e8; --symbol: #435668; }
.art-habits { --tile: #e9dcf0; --symbol: #674972; }
.art-receipt { --tile: #edd9d5; --symbol: #843e37; font-size: .9rem; letter-spacing: -.045em; }
.art-packpal { --tile: #edddc4; --symbol: #724c35; }
.art-steppet { --tile: #efd9d1; --symbol: #8d4338; }
.art-arrow { --tile: #e2dfd3; --symbol: #4e4a33; }
.app-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr) max-content;
  grid-template-areas: "name summary link" "category summary link";
  align-items: center;
  column-gap: clamp(15px, 2.85vw, 43px);
}
.app-body h3 { grid-area: name; align-self: end; font-size: clamp(1.03rem, 1.6vw, 1.32rem); font-weight: 730; letter-spacing: -.023em; line-height: 1.22; }
.app-category { grid-area: category; align-self: start; margin-top: 3px; color: var(--muted); font-size: .78rem; }
.app-description { grid-area: summary; color: var(--muted); font-size: .94rem; }
.app-link { grid-area: link; color: var(--rust); font-size: .88rem; font-weight: 690; text-underline-offset: 4px; text-decoration-color: #ba806d; }
.app-link:hover { text-decoration-color: currentColor; }

.company { background: #eee5d7; border-block: 1px solid var(--line); }
.company-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px clamp(35px, 8vw, 112px); padding-block: clamp(45px, 7vw, 88px); }
.eyebrow { color: var(--rust); text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 740; }
.company h2 { margin-top: 9px; }
.company-principles > div { padding: 12px 0; border-top: 1px solid #c9bba9; }
.company-principles h3 { font-size: 1.12rem; }
.company-principles p:not(.eyebrow) { margin-top: 2px; }
.contact-section { padding-block: clamp(39px, 6vw, 77px); }
.contact-panel { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 38px; }
.contact-panel p { margin-top: 9px; color: var(--muted); }
.contact-panel address { min-width: 0; display: grid; gap: 7px; font-size: .92rem; font-style: normal; color: var(--muted); }
.contact-panel address a { color: var(--rust); font-weight: 650; overflow-wrap: anywhere; text-underline-offset: 4px; }
.footer { background: #25221e; color: #f7ebd8; }
.footer-inner { min-height: 99px; padding-block: 16px; flex-wrap: wrap; }
.footer .brand-mark { color: #25221e; background: #e6aa7e; width: 30px; height: 30px; }
.footer nav { column-gap: 23px; row-gap: 3px; flex-wrap: wrap; }
.footer nav a { font-size: .87rem; }
.footer [aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

.legal-content { max-width: 760px; padding-block: clamp(44px, 7vw, 92px); }
.legal-content h1 { font: 400 clamp(2.7rem, 5.2vw, 4.8rem)/.98 var(--serif); letter-spacing: -.055em; padding-bottom: 17px; }
.legal-content section { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; }
.legal-content h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin-bottom: 7px; }
.legal-content p { color: var(--muted); }
.legal-content p + p { margin-top: 9px; }
.legal-content p a { color: var(--rust); overflow-wrap: anywhere; text-underline-offset: 4px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .app-card, .button-primary, .filters button, .guide-grid a { transition: background-color .18s ease; }
  .showcase-image { animation: showcase-reveal .32s ease both; }
  @keyframes showcase-reveal { from { opacity: .65; } }
}
@media (max-width: 850px) {
  .shell { width: calc(100% - 52px); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .hero h1 { font-size: clamp(2rem, 4.9vw, 2.7rem); }
  .app-body {
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas: "name link" "category link" "summary summary";
  }
  .app-description { margin-top: 4px; }
}
@media (max-width: 660px) {
  html { scroll-padding-top: 72px; }
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 61px; gap: 10px; }
  .brand { font-size: 1rem; gap: 8px; }
  .menu-toggle:not([hidden]) { display: block; }
  .menu-toggle[aria-expanded="false"] + nav { display: none; }
  .menu-toggle[aria-expanded="true"] + nav { position: absolute; inset: calc(100% + 4px) 0 auto; display: grid; gap: 2px; padding: 7px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 8px 20px #31271920; }
  .menu-toggle[aria-expanded="true"] + nav a { min-height: 43px; padding: 8px 11px; border: 0; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 34px 25px; }
  .hero h1 { font-size: clamp(3rem, 9vw, 4.25rem); }
  .showcase-slide { min-height: clamp(330px, 68vw, 420px); }
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-grid a:not(:first-child) { border-left: 0; border-top: 1px solid var(--line); }
  .company-inner { grid-template-columns: 1fr; }
  .footer-inner { gap: 10px; }
}
@media (max-width: 460px) {
  .hero h1 { font-size: clamp(2.8rem, 11vw, 3.7rem); }
  .hero-copy > p { margin-block: 20px; }
  .showcase-controls { grid-template-columns: auto 1fr auto; }
  .showcase-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .app-card { gap: 10px; grid-template-columns: 42px minmax(0, 1fr); padding-inline: 0; align-items: start; }
  .app-art { width: 41px; border-radius: 7px; font-size: 1.18rem; }
  .art-receipt { font-size: .7rem; }
  .app-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "category" "summary" "link"; }
  .app-link { margin-top: 8px; width: fit-content; }
}
