/* thesortment.com - one stylesheet. The shop's own palette and type (brand kit): Ink, Paper, Amber for the double
   rule only, Montserrat. Each product line brings its accent and tint through --accent and --tint. */

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@view-transition { navigation: auto; }

:root {
  --ink: #1F2A37;
  --ink-2: #2B3746;
  --paper: #F7F5F0;
  --paper-2: #EFEBE2;
  --white: #FFFFFF;
  --amber: #E0A458;
  --muted: #5B6472;
  --hair: rgba(31, 42, 55, .12);
  --accent: #2E6E7E;
  --tint: #D8EDF0;
  --radius: 22px;
  --radius-s: 14px;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(31, 42, 55, .06), 0 12px 32px -12px rgba(31, 42, 55, .22);
  --shadow-lift: 0 2px 4px rgba(31, 42, 55, .06), 0 28px 60px -20px rgba(31, 42, 55, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 17px/1.6 "Montserrat", system-ui, sans-serif;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type */
.display {
  font-weight: 800;
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: .9;
  letter-spacing: -.045em;
}
.display--line { font-size: clamp(2.6rem, 7vw, 6rem); }
.display--product { font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: .95; letter-spacing: -.035em; }
.h2 { font-weight: 800; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.035em; }
.h3 { font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: 14px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 36ch; color: var(--ink); opacity: .86; }
.sub { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.body { font-size: 1.05rem; line-height: 1.7; }
.fine { font-size: .9rem; color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(224, 164, 88, .25); }

/* The signature: the bookkeeper's double rule, an Ink line over an Amber line, drawn in under the word. */
.ruled {
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--amber), var(--amber));
  background-repeat: no-repeat;
  background-position: 0 calc(100% - .02em), 0 100%;
  background-size: 0% .07em, 0% .07em;
  padding-bottom: .16em;
  animation: rule 1.1s var(--ease) .35s forwards;
}
@keyframes rule {
  60% { background-size: 100% .07em, 0% .07em; }
  100% { background-size: 100% .07em, 100% .07em; background-position: 0 calc(100% - .13em), 0 100%; }
}

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; letter-spacing: -.005em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.btn--ink:hover { box-shadow: var(--shadow-lift); background: #111a25; }
.btn--ghost { border-color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--pill { padding: 10px 18px; font-size: .92rem; background: var(--ink); color: var(--paper); }
.btn--big { padding: 19px 34px; font-size: 1.1rem; margin-top: 30px; }
.link { font-weight: 700; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-stuck { background: rgba(247, 245, 240, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--hair); }
.nav__in { max-width: var(--max); margin: 0 auto; padding: 16px var(--pad); display: flex; align-items: center; gap: 28px; }
.nav__home { text-decoration: none; margin-right: auto; }
.nav__links { display: none; gap: 22px; font-size: .9rem; font-weight: 600; }
.nav__links a { text-decoration: none; opacity: .75; transition: opacity .2s; white-space: nowrap; }
.nav__links a:hover { opacity: 1; }
.nav__toggle { background: none; border: 1.5px solid var(--hair); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .85rem; cursor: pointer; }
.menu { padding: 8px var(--pad) 24px; display: grid; gap: 4px; background: var(--paper); box-shadow: 0 1px 0 var(--hair); }
.menu[hidden] { display: none; }
.menu a { padding: 12px 0; font-weight: 700; font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid var(--hair); }
.nav .btn--pill { display: none; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav .btn--pill { display: inline-flex; }
  .nav__toggle, .menu { display: none !important; }
}

.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; letter-spacing: .005em; }
.wordmark__mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; position: relative;
}
.wordmark__mark::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 4px;
  border-top: 1.5px solid var(--paper); border-bottom: 1.5px solid var(--amber);
}
.wordmark__word { position: relative; }

/* ---------- hero */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(28px, 6vw, 80px) var(--pad) clamp(48px, 7vw, 96px);
  display: grid; gap: 48px; align-items: center;
}
.is-home { background-image: radial-gradient(rgba(31, 42, 55, .09) 1px, transparent 1.2px); background-size: 22px 22px; background-attachment: fixed; }
.is-home main > section:not(.hero), .is-home .marquee, .is-home .foot { background-color: var(--paper); }
.hero__copy .display, .linehead .display { padding-bottom: .16em; }
.hero__copy .lede { margin-top: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note { margin-top: 22px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.stack { position: relative; aspect-ratio: 1 / .9; perspective: 1400px; margin-inline: auto; width: 100%; max-width: 680px; }
.stack__card {
  position: absolute; width: 80%; border-radius: var(--radius); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-lift); transform-style: preserve-3d; border: 6px solid var(--white);
  transition: transform .6s var(--ease);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) var(--base);
}
.stack__card--0 { left: 8%; top: 28%; --base: rotate(-2deg); z-index: 3; }
.stack__card--1 { left: -4%; top: 0; --base: rotate(-8deg); z-index: 1; }
.stack__card--2 { left: 22%; top: -4%; --base: rotate(6deg); z-index: 2; }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1.05fr; } .stack { width: 112%; max-width: none; } }
.stack__card img { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .stack__card--0 { animation: float 7s ease-in-out infinite; }
  .stack__card--2 { animation: float 8s ease-in-out -2s infinite; }
}
@keyframes float { 50% { translate: 0 -10px; } }

/* ---------- marquee */
.marquee { background: var(--ink) !important; color: var(--paper); overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .06); }
.marquee__track { display: flex; width: max-content; gap: 0; padding: 16px 0; animation: marquee 40s linear infinite; }
.marquee__track span { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 0 28px; position: relative; white-space: nowrap; }
.marquee__track span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); translate: 0 -50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- finder */
.finder { background: var(--ink) !important; color: var(--paper); padding: clamp(56px, 8vw, 110px) 0; }
.finder__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.search { display: block; margin-top: 30px; position: relative; }
.search::before {
  content: ""; position: absolute; left: 26px; top: 50%; width: 18px; height: 18px; translate: 0 -55%;
  border: 2.5px solid var(--ink); border-radius: 50%; pointer-events: none;
}
.search::after {
  content: ""; position: absolute; left: 41px; top: 50%; width: 9px; height: 2.5px; background: var(--ink);
  rotate: 45deg; translate: 0 6px; pointer-events: none;
}
.search input {
  width: 100%; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink);
  font: 600 clamp(1.05rem, 2vw, 1.35rem) "Montserrat", sans-serif; padding: 22px 28px 22px 64px;
  box-shadow: 0 0 0 0 rgba(224, 164, 88, 0); transition: box-shadow .25s;
}
.search input:focus { outline: none; box-shadow: 0 0 0 4px var(--amber); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  border: 1.5px solid rgba(247, 245, 240, .28); background: transparent; color: inherit; border-radius: 999px;
  padding: 9px 16px; font-weight: 700; font-size: .88rem; cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--paper); }
.chip.is-on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chips--kind .chip { border-color: var(--hair); }
.chips--kind .chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.finder__count { margin-top: 28px; font-size: .9rem; font-weight: 600; opacity: .7; min-height: 1.6em; }
.grid--finder { margin-top: 16px; }
.finder .card { background: var(--paper); }

/* ---------- cards and grids */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--pad); }
.section--tight { padding-top: 24px; }
.is-product .section { padding-block: clamp(36px, 5vw, 64px); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 40px; }
.grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  display: flex; flex-direction: column; text-decoration: none; background: var(--white); border-radius: var(--radius);
  padding: 10px 10px 18px; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card__frame { display: block; border-radius: var(--radius-s); overflow: hidden; background: var(--tint); aspect-ratio: 4 / 3; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img { transform: scale(1.04); }
.card__kind { margin: 16px 8px 0; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.card__name { margin: 4px 8px 0; font-weight: 800; font-size: clamp(1rem, 1.4vw, 1.18rem); letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.card__line { margin: 6px 8px 0; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.soon { font-style: italic; opacity: .7; }
.card[hidden] { display: none; }

/* ---------- bento */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 280px; }
  .tile--2 .tile__name, .tile--3 .tile__name, .tile--4 .tile__name { font-size: clamp(1.35rem, 2vw, 1.8rem); }
  .tile--0 { grid-column: span 4; grid-row: span 2; }
  .tile--1 { grid-column: span 2; grid-row: span 2; }
  .tile--2 { grid-column: span 2; }
  .tile--3 { grid-column: span 2; }
  .tile--4 { grid-column: span 2; }
  .tile--5 { grid-column: span 3; }
  .tile--6 { grid-column: span 3; }
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tint); color: var(--ink);
  padding: 28px; min-height: 230px; text-decoration: none; display: flex; flex-direction: column; isolation: isolate;
  transition: transform .4s var(--ease);
}
.tile:hover { transform: translateY(-4px); }
.tile__count { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.tile__name { margin-top: 10px; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1; letter-spacing: -.035em; max-width: 12ch; }
.tile__q { margin-top: 12px; font-size: .95rem; font-weight: 600; max-width: 22ch; opacity: .8; }
.tile__img {
  position: absolute; z-index: -1; right: -6%; bottom: -22%; width: 46%; border-radius: var(--radius-s);
  box-shadow: var(--shadow-lift); rotate: -6deg; transition: rotate .6s var(--ease), translate .6s var(--ease);
}
.tile__name { max-width: min(14ch, 62%); }
.tile__q { max-width: min(24ch, 60%); }
.tile--2 .tile__img, .tile--3 .tile__img, .tile--4 .tile__img { width: 40%; right: -6%; bottom: -14%; }
@media (min-width: 760px) {
  .tile--0 .tile__img { width: 62%; right: -3%; bottom: -8%; }
  .tile--1 .tile__img { width: 92%; right: -18%; bottom: -12%; }
  .tile--0 .tile__q, .tile--1 .tile__q { max-width: 24ch; }
  .tile--0 .tile__name, .tile--1 .tile__name { max-width: 12ch; }
}
.tile:hover .tile__img { rotate: -2deg; translate: -10px -10px; }
.tile__go {
  margin-top: auto; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); flex: none;
  display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s var(--ease);
}
@media (max-width: 759px) {
  .tile { min-height: 250px; }
  .tile .tile__img { width: 48%; right: -8%; bottom: -24%; }
  .stack__card--1 { left: 0; --base: rotate(-6deg); }
  .stack__card--2 { left: 18%; }
}
.tile:hover .tile__go { transform: translateX(6px); }

/* ---------- how and start */
.steps { display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.steps__n { display: inline-block; font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; padding-bottom: 8px; margin-bottom: 18px;
  border-bottom: 3px solid var(--ink); box-shadow: 0 3px 0 var(--amber); }
.steps h3 { font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 8px; }
.steps p { color: var(--muted); }
.vids { display: grid; gap: 14px; margin-bottom: 26px; }
@media (min-width: 800px) { .vids { grid-template-columns: repeat(3, 1fr); } }
.vid { border: 1.5px solid var(--hair); border-radius: var(--radius); padding: 24px 26px 26px; display: grid; gap: 6px; background: var(--white);
  text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); height: 100%; }
.vid:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.vid__play { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); margin-bottom: 10px; position: relative; }
.vid__play::after { content: ""; position: absolute; left: 16px; top: 13px; border-left: 13px solid var(--paper); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }

/* the walkthrough player: the product's own picture until it is clicked */
.watch { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .watch { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.watch .sub { margin-top: 16px; }
.player { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--ink); aspect-ratio: 16 / 9; }
.player__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; opacity: .9; transition: transform .6s var(--ease), opacity .3s; }
.player:hover .player__img { transform: scale(1.03); opacity: 1; }
.player__btn { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; translate: -50% -50%; border-radius: 50%; background: var(--ink);
  box-shadow: 0 0 0 10px rgba(247, 245, 240, .5); transition: transform .3s var(--ease); }
.player__btn::after { content: ""; position: absolute; left: 33px; top: 26px; border-left: 24px solid var(--paper); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.player:hover .player__btn { transform: scale(1.08); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid__k { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.vid__t { font-weight: 700; font-size: 1.05rem; line-height: 1.35; }

/* ---------- line page */
.linehead { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--pad) 32px; }
.is-line { background: linear-gradient(var(--tint), var(--paper) 520px) no-repeat, var(--paper); }
.linehead .lede { margin-top: 26px; max-width: 48ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.chips--kind { margin: 0 0 28px; }

.cta-row { margin-top: 30px; }

/* ---------- about and privacy */
.lede--wide { max-width: 60ch; }
.prose { max-width: 760px; }
.prose .body { margin-top: 16px; }
.prose .h3 { margin-top: 36px; }
.linehead .prose { margin-top: 10px; }
.is-privacy .display--line { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 12px; }
.is-privacy .linehead { max-width: 860px; }
.features { display: grid; gap: 18px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { margin: 0; background: var(--white); border-radius: var(--radius); padding: 10px 10px 18px; box-shadow: var(--shadow); }
.feature img { border-radius: var(--radius-s); width: 100%; }
.feature figcaption { margin: 14px 8px 0; font-weight: 700; letter-spacing: -.01em; }

/* ---------- product page */
.is-product { background: linear-gradient(var(--tint), var(--paper) 640px) no-repeat, var(--paper); }
.product { max-width: var(--max); margin: 0 auto; padding: 24px var(--pad) 40px; display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .product { grid-template-columns: 1.25fr 1fr; gap: 64px; } .buy { position: sticky; top: 96px; } }
@media (max-width: 959px) {
  .product { gap: 28px; }
  .gallery { display: contents; }
  .gallery__stage { order: 1; }
  .buy { order: 2; }
  .gallery__rail { order: 3; margin-top: 0; }
}
.gallery__stage { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--white); }
.gallery__main { width: 100%; }
.gallery__rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; margin-top: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
@media (min-width: 960px) { .gallery__rail { grid-auto-columns: 46%; } }
.gallery__slide { scroll-snap-align: start; border-radius: var(--radius-s); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.badge {
  display: inline-flex; gap: 8px; align-items: center; background: var(--white); border-radius: 999px; padding: 8px 14px;
  font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); box-shadow: var(--shadow); margin-bottom: 22px;
}
.tagline { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; letter-spacing: -.015em; margin: 18px 0 18px; line-height: 1.35; }
.buy .fine { margin-top: 14px; }
.points { display: grid; gap: 16px; }
@media (min-width: 760px) { .points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .points { grid-template-columns: repeat(4, 1fr); } }
.point { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.point h3 { font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 10px; }
.point p { color: var(--muted); font-size: .97rem; }
.split { display: grid; gap: 40px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } }
.ticks li { padding: 12px 0 12px 36px; border-bottom: 1px solid var(--hair); position: relative; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); rotate: -45deg; }
.faq > * { max-width: 900px; }
.faq .h2 { margin-bottom: 28px; }
.qa { border-bottom: 1px solid var(--hair); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font-size: 1.6rem; font-weight: 500; transition: rotate .3s var(--ease); }
.qa[open] summary::after { rotate: 45deg; }
.qa p { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }
.buybar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 999px; padding: 8px 8px 8px 22px;
  box-shadow: var(--shadow-lift); font-weight: 800; letter-spacing: -.01em; translate: 0 140%; transition: translate .4s var(--ease);
}
.buybar.is-on { translate: 0 0; }
.buybar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .btn { padding: 12px 20px; white-space: nowrap; }

/* ---------- footer */
.foot { background: var(--ink) !important; color: var(--paper); margin-top: 40px; }
.foot__in { max-width: var(--max); margin: 0 auto; padding: 72px var(--pad) 40px; display: grid; gap: 40px; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot .wordmark__mark { background: var(--paper); color: var(--ink); }
.foot .wordmark__mark::after { border-top-color: var(--ink); }
.foot__brand p { margin-top: 18px; max-width: 34ch; opacity: .75; font-size: .95rem; }
.foot__col { display: grid; align-content: start; gap: 10px; }
.foot__col h2 { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
.foot__col a { text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .9; }
.foot__col a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
.foot__fine { max-width: var(--max); margin: 0 auto; padding: 22px var(--pad) 32px; font-size: .8rem; opacity: .55; border-top: 1px solid rgba(247, 245, 240, .1); }

/* ---------- motion: things rise into place as they scroll in, where the browser can do it without script */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card, .tile, .steps li, .point, .vid {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
  }
}
@keyframes rise { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ruled { background-size: 100% .07em, 100% .07em; background-position: 0 calc(100% - .13em), 0 100%; }
  .marquee__track { animation: none; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
