/* Holdall — site styles. Fonts are self-hosted (SIL Open Font License 1.1). */

@font-face {
  font-family: "Reddit Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/reddit-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Young Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/young-serif-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-700-latin.woff2") format("woff2");
}

:root {
  --canvas: #e4dcc9;
  --linen: #f4efe3;
  --paper: #fbf8f1;
  --receipt: #fffdf8;
  --ink: #1e241c;
  --muted: #595c50;
  --olive: #3f4f38;
  --olive-deep: #2c3827;
  --sage: #6f7f5e;
  --sage-dark: #56664a;
  --sage-light: #c9d2b4;
  --leather: #8a4e2b;
  --leather-hover: #6e3d21;
  --leather-mid: #9c5a32;
  --leather-dark: #7a4426;
  --brass: #c9a25e;
  --brass-deep: #a9843f;
  --peach: #e8c9a8;
  --rule: #a69a80;
  --rule-soft: #c9bea6;
  --rule-paper: #d8cfbc;

  --serif: "Young Serif", Georgia, serif;
  --sans: "Reddit Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(96px, 11vw, 152px);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
canvas {
  display: block;
}

a {
  color: var(--leather);
}

a:hover {
  color: var(--leather-hover);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--leather);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

.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;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  background: var(--olive);
  color: var(--linen);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 16px;
  color: var(--linen);
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
}

.section {
  padding: var(--section-y) var(--gutter);
}

.bg-linen {
  background: var(--linen);
}

.eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leather);
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.08;
}

.lead {
  font-size: 20px;
  color: var(--muted);
}

/* ---------- Logo ---------- */

/* The swing tag, with the word centred on it as in the app (src/components/Logo.tsx):
   118 px mark : 96 px type, a 14 px gap, the word's middle on the tag's (53 of 100). */
.brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-tag {
  flex: none;
  width: 40px;
  height: 40px;
  transform-origin: 50% 0;
}

.brand-word {
  width: 109px;
  height: 26px;
  margin-top: 8px;
  fill: currentColor;
}

.footer-word {
  width: 100px;
  height: 24px;
  fill: currentColor;
}

/* ---------- Motion ---------- */

.sway {
  transform-origin: 50% 0;
  animation: sway 10s ease-in-out 1s infinite;
}

.sway-once {
  animation: sway 10s ease-in-out 1s 1;
}

@keyframes sway {
  0% { transform: rotate(0); }
  3% { transform: rotate(8deg); }
  6% { transform: rotate(-6deg); }
  9% { transform: rotate(4deg); }
  12% { transform: rotate(-2deg); }
  15%, 100% { transform: rotate(0); }
}

@keyframes nudge {
  0% { transform: rotate(0); }
  18% { transform: rotate(9deg); }
  40% { transform: rotate(-6deg); }
  62% { transform: rotate(3deg); }
  82% { transform: rotate(-1deg); }
  100% { transform: rotate(0); }
}

/* ---------- Buttons and links ---------- */

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px 0 30px;
  border-radius: 28px;
  background-color: var(--olive);
  color: var(--linen);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background-color 0.25s ease;
}

/* A linen "zip" shine that sweeps across on hover. */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(244, 239, 227, 0.26) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.8s var(--ease-out);
}

.btn:hover,
.btn:focus-visible {
  color: var(--linen);
  background-color: var(--olive-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(30, 36, 28, 0.22);
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(110%);
}

.btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 4px 10px rgba(30, 36, 28, 0.18);
}

.btn .arrow {
  flex: none;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .arrow,
.btn:focus-visible .arrow {
  transform: translateX(5px);
}

.btn-small {
  gap: 9px;
  min-height: 46px;
  padding: 0 22px 0 16px;
  border-radius: 23px;
  font-weight: inherit;
}

.btn .mini-tag {
  flex: none;
  transform-origin: 50% 4%;
}

.btn:hover .mini-tag,
.btn:focus-visible .mini-tag {
  animation: nudge 1.2s ease-in-out 1;
}

/* A leather underline that draws in on hover. */
.ulink {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--leather-mid), var(--leather-mid));
  background-size: 0% 2px;
  background-position: 0 calc(100% - 4px);
  background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease-out), color 0.2s ease;
}

.ulink:hover,
.ulink:focus-visible {
  color: var(--ink);
  background-size: 100% 2px;
}

.ulink-accent {
  color: var(--leather);
}

.ulink-accent:hover,
.ulink-accent:focus-visible {
  color: var(--leather-hover);
}

.ulink .arrow-down {
  transition: transform 0.3s var(--ease-out);
}

.ulink:hover .arrow-down,
.ulink:focus-visible .arrow-down {
  transform: translateY(3px);
}

/* ---------- Header ---------- */

.site-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  font-weight: 600;
  font-size: 16px;
}

.site-nav .ulink {
  padding: 10px 0;
}

/* ---------- Hero ---------- */

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) var(--section-y);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 80px;
}

.hero-copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 5.6vw, 80px);
  line-height: 1.03;
  letter-spacing: -0.015em;
}

.hero-sub {
  font-size: 21px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 32em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 4px;
}

.hero-actions .ulink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  padding: 12px 0;
}

.ticks {
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 15px;
  color: var(--muted);
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-art {
  flex: 1 1 480px;
  min-width: 0;
  max-width: 620px;
  margin: 0 auto;
}

.hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-art canvas {
  width: 100%;
  aspect-ratio: 1 / 1;
}

/* "Make me spin": packs everything back in, spins the bag, and unpacks it again (home.js).
   Fades in once the bag has first unpacked; the arrows turn while it's busy. */
.spin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: -7%;
  padding: 0 18px 0 14px;
  border: 1.5px solid var(--rule-soft);
  border-radius: 22px;
  background: transparent;
  color: var(--leather);
  font: 600 15px/1 var(--sans);
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.spin-btn.is-ready {
  opacity: 1;
  transform: none;
}

.spin-btn:hover {
  background-color: var(--linen);
  border-color: var(--rule);
}

.spin-btn:focus-visible {
  outline: 3px solid var(--leather);
  outline-offset: 3px;
}

.spin-btn .spin-icon {
  flex: none;
  transition: transform 0.6s var(--ease-out);
}

.spin-btn:hover .spin-icon {
  transform: rotate(180deg);
}

.spin-btn.is-busy {
  cursor: default;
  color: var(--muted);
  background-color: transparent;
  border-color: var(--rule-soft);
}

.spin-btn.is-busy .spin-icon {
  animation: turn 0.9s linear infinite;
}

@keyframes turn {
  to { transform: rotate(360deg); }
}

/* ---------- What goes in your holdall (bento) ---------- */

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
}

.section-head > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-head .lead {
  max-width: 30em;
}

.examples {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(270px, auto);
  gap: 24px;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
}

.tile h3 {
  font-family: var(--serif);
  font-weight: 400;
}

.t-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.t-b { grid-column: 3 / 4; grid-row: 1 / 3; }
.t-c { grid-column: 4 / 5; grid-row: 1 / 2; }
.t-d { grid-column: 4 / 5; grid-row: 2 / 3; }
.t-e { grid-column: 1 / 3; grid-row: 3 / 4; }
.t-f { grid-column: 3 / 5; grid-row: 3 / 4; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-a, .t-e, .t-f { grid-column: 1 / 3; grid-row: auto; }
  .t-b, .t-c, .t-d { grid-column: auto; grid-row: auto; }
}

@media (max-width: 620px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > * { grid-column: 1 / -1; grid-row: auto; }
}

/* Tile A: rooms list */
.t-a {
  background: var(--olive);
  color: var(--linen);
  padding: 36px 36px 0;
  gap: 12px;
}

.t-a h3 { font-size: 32px; line-height: 1.1; }
.t-a p { max-width: 24em; color: #e3dccb; }

.rooms {
  margin-top: auto;
  align-self: flex-end;
  width: min(440px, 100%);
  background: var(--linen);
  color: var(--ink);
  border-radius: 22px 22px 0 0;
  padding: 18px 20px 6px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.18);
  transform: translateY(8px);
}

.fake-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--canvas);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 15px;
}

.room {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--canvas);
  font-size: 16px;
}

.room:last-child { border-bottom: 0; }
.room strong { flex: 1; font-weight: 600; }
.room span:last-child { color: var(--muted); }

.dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 6px;
}

.dot-leather { background: var(--leather-mid); }
.dot-brass { background: var(--brass); }
.dot-sage { background: var(--sage); }
.dot-olive { background: var(--olive); }
.dot-leather-dark { background: var(--leather-dark); }

/* Tile B: receipt and warranty */
.t-b {
  background: var(--leather);
  color: var(--linen);
  padding: 36px 32px;
  gap: 12px;
}

.t-b h3 { font-size: 28px; line-height: 1.12; }
.t-b p { color: #f1e2d3; }

.papers {
  position: relative;
  margin-top: auto;
  height: 300px;
}

.receipt {
  position: absolute;
  left: 4px;
  top: 10px;
  width: 170px;
  height: 260px;
  background: var(--receipt);
  transform: rotate(-6deg);
  clip-path: polygon(0 4%, 8% 0, 16% 4%, 24% 0, 32% 4%, 40% 0, 48% 4%, 56% 0, 64% 4%, 72% 0, 80% 4%, 88% 0, 96% 4%, 100% 1%, 100% 100%, 0 100%);
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.receipt-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.line {
  height: 6px;
  background: #e4ddcd;
  border-radius: 3px;
}

.w80 { width: 80%; }
.w70 { width: 70%; }
.w60 { width: 60%; }

.receipt-total {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--rule);
  font-size: 14px;
  font-weight: 700;
}

.barcode {
  margin-top: auto;
  display: flex;
  gap: 2px;
  height: 30px;
}

.barcode span { background: var(--ink); width: 1px; }
.barcode .b2 { width: 2px; }
.barcode .b3 { width: 3px; }

.warranty {
  position: absolute;
  right: -6px;
  top: 92px;
  width: 180px;
  background: var(--linen);
  border-radius: 14px;
  transform: rotate(7deg);
  padding: 18px;
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.warranty strong { font-size: 16px; font-weight: 700; }
.warranty span:last-child { font-size: 14px; color: var(--muted); }

.circle {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.c36 { width: 36px; height: 36px; }
.c38 { width: 38px; height: 38px; }
.c44 { width: 44px; height: 44px; }
.c48 { width: 48px; height: 48px; }
.bg-olive { background: var(--olive); }
.bg-leather { background: var(--leather-mid); }
.bg-sage { background: var(--sage); }
.bg-brass-deep { background: var(--brass-deep); }

/* Tile C: warranty reminder */
.t-c {
  background: var(--brass);
  color: var(--ink);
  padding: 30px 28px;
  gap: 10px;
}

.t-c h3 { margin-top: auto; font-size: 24px; line-height: 1.15; }
.t-c p { font-size: 16px; }

.reminder {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--receipt);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(30, 36, 28, 0.18);
  transform: rotate(-2deg);
}

.reminder > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.reminder strong { font-size: 15px; font-weight: 700; }
.reminder em { font-style: normal; font-size: 14px; color: var(--leather); font-weight: 600; }

/* Tile D: replacement value */
.t-d {
  background: var(--canvas);
  color: var(--ink);
  padding: 30px 28px;
  gap: 4px;
}

.t-d .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.t-d .amount {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--olive);
}

.t-d .to-replace { font-size: 16px; font-weight: 600; }
.t-d .paid { font-size: 14px; color: var(--muted); }

.t-d p {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  font-size: 15px;
  color: var(--muted);
}

/* Tiles E and F */
.t-e,
.t-f {
  color: var(--linen);
  padding: 32px 36px;
  gap: 22px;
}

.t-e { background: var(--olive-deep); }
.t-f { background: var(--sage-dark); }

.tile-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
}

.tile-head h3 { font-size: 26px; line-height: 1.15; }
.tile-head span { font-size: 15px; }
.t-e .tile-head span { color: var(--sage-light); }
.t-f .tile-head span { color: #e3e8d8; }

.photos {
  display: flex;
  gap: 14px;
  margin-top: auto;
}

.photo {
  flex: 1 1 0;
  aspect-ratio: 1 / 1;
  max-width: 120px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo svg { width: 44%; height: auto; }
.photo-leather { background: var(--leather-mid); }
.photo-brass { background: var(--brass); }
.photo-sage { background: var(--sage); }
.photo-linen { background: var(--linen); }

.photo-more {
  border: 2px dashed rgba(244, 239, 227, 0.4);
  font-family: var(--serif);
  font-size: 26px;
  color: var(--peach);
}

.search-demo {
  margin-top: auto;
  background: var(--linen);
  color: var(--ink);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--receipt);
  border: 2px solid var(--olive);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 17px;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 18px;
  margin-left: 1px;
  background: var(--ink);
  vertical-align: -3px;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px;
  font-size: 16px;
}

.thumb {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.thumb-brass { background: var(--brass); }

.result > span:nth-child(2) { flex: 1; min-width: 0; }
.result strong { font-weight: 600; }
.result .name { display: block; line-height: 1.2; }
.result .where { font-size: 14px; color: var(--muted); }

/* ---------- Insurance ---------- */

.insurance {
  background: var(--olive);
  color: var(--linen);
}

.insurance .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px 96px;
}

.insurance-copy {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.insurance .eyebrow { color: var(--peach); }
.insurance-copy > p:not(.eyebrow) { font-size: 20px; max-width: 31em; }

.bullets {
  margin-top: 12px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.bullets svg {
  flex: none;
  margin-top: 4px;
}

.insurance-art {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  justify-content: center;
  padding: 16px 0;
}

.pack {
  width: 420px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sheet-holder {
  position: relative;
  width: 330px;
  max-width: 86%;
}

.sheet-behind {
  position: absolute;
  inset: 0;
  transform: rotate(5deg) translate(16px, 8px);
  background: var(--sage-light);
  border-radius: 10px;
}

.sheet {
  position: relative;
  transform: rotate(-3deg);
  background: var(--linen);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(11, 11, 15, 0.25);
  padding: 28px 26px 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
}

.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sheet-top span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sheet-title {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
}

.sheet-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--rule-paper);
  font-size: 14px;
}

.sheet-row .swatch {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.sheet-row > span:nth-child(2) { flex: 1; min-width: 0; }
.sheet-row strong { font-weight: 600; }
.sheet-row .name { display: block; }
.sheet-row .where { color: var(--muted); }

.flag {
  display: inline-block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--leather);
  background: rgba(156, 90, 50, 0.14);
  border-radius: 8px;
  padding: 1px 8px;
}

.sheet-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 2px;
  border-top: 2px solid var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.checklist {
  position: relative;
  z-index: 1;
  width: 400px;
  max-width: 100%;
  margin-top: -26px;
  transform: rotate(1.5deg);
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 22px 44px rgba(11, 11, 15, 0.3);
  padding: 10px 22px 14px;
}

.step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.step + .step {
  border-top: 2px dashed var(--rule-paper);
}

.step-now {
  margin: 4px -12px 0;
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(169, 132, 63, 0.14);
}

.step + .step-now {
  border-top: 0;
}

.step-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leather);
}

.step-name {
  font-size: 16px;
  font-weight: 600;
}

.done {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* "PDF ready": a brass ping, a shine sweeping across, and the download arrow dropping in. */
.pdf-ready {
  position: relative;
  isolation: isolate;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 9px;
  border-radius: 16px;
  color: var(--linen);
  font-size: 13px;
  font-weight: 700;
  background-color: var(--olive);
  background-image: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0) 60%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  animation: shine 3.2s ease-in-out infinite;
}

.pdf-ready::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  animation: ping 2.4s ease-out infinite;
}

.pdf-ready .dl {
  transform-box: fill-box;
  transform-origin: center;
  animation: drop 1.8s ease-in-out infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(169, 132, 63, 0.65); }
  75%, 100% { box-shadow: 0 0 0 12px rgba(169, 132, 63, 0); }
}

@keyframes shine {
  0% { background-position: 100% 0; }
  55%, 100% { background-position: 0% 0; }
}

@keyframes drop {
  0% { transform: translateY(-4px); opacity: 0; }
  25% { opacity: 1; }
  70% { transform: translateY(1px); opacity: 1; }
  100% { transform: translateY(2px); opacity: 0; }
}

/* ---------- Yours, and nobody else's ---------- */

.private .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px 88px;
}

.private-intro {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.private-intro .lead {
  max-width: 22em;
}

.cards {
  flex: 2 1 580px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  flex: 1 1 270px;
  min-width: 0;
  background: var(--linen);
  border-radius: 22px;
  padding: 30px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.card h3 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 700;
}

.card p {
  color: var(--muted);
}

/* ---------- Questions ---------- */

.faq {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}

.faq-list {
  border-top: 1px solid var(--rule);
}

.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  font-size: 21px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--leather);
}

.faq summary svg {
  flex: none;
  transition: transform 0.3s var(--ease-out);
}

.faq details[open] summary svg {
  transform: rotate(180deg);
}

.faq details p {
  margin: 6px 0 18px;
  color: var(--muted);
  max-width: 40em;
}

.faq details[open] p {
  animation: reveal 0.35s ease-out;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Launch card ---------- */

.launch {
  background: var(--linen);
  border-radius: 32px;
  padding: clamp(56px, 7vw, 96px) clamp(24px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.launch .sway {
  width: 80px;
  height: 80px;
}

.launch .lead {
  max-width: 28em;
}

.launch .btn {
  margin-top: 8px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 64px var(--gutter) 48px;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top,
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
}

.footer-top .brand {
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  font-size: 16px;
  font-weight: 600;
}

.footer-nav .ulink {
  padding: 8px 0;
}

.footer-bottom {
  border-top: 1px solid var(--rule-soft);
  padding-top: 28px;
}

.made-by {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.made-by:hover {
  color: var(--ink);
}

.nimbrel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0b0b0f;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.company {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.label-short {
  display: none;
}

/* ---------- Phones and small tablets: one-row header, stacked footer ---------- */

/* Logo and the launch-news pill on one row, below the width where the full header fits
   on one line (about 750 px). The section links only jump down this page, which on a
   phone is quicker to scroll, so they make way. */
@media (max-width: 779px) {
  .site-header {
    flex-wrap: nowrap;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .site-nav .ulink {
    display: none;
  }

  .btn-small {
    flex: none;
    min-height: 44px;
    padding: 0 16px 0 12px;
    gap: 8px;
    font-size: 15px;
  }
}

/* Phones: the wordmark, then one link per line (easy to tap), then the company, a fact
   per line. */
@media (max-width: 640px) {
  .site-footer {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .site-footer .wrap {
    gap: 28px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    gap: 12px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 0;
  }

  .footer-nav .ulink {
    padding: 10px 0;
  }

  .footer-bottom {
    gap: 16px;
  }

  .company span {
    display: block;
  }

  .company .sep,
  .company br {
    display: none;
  }
}

/* Narrow phones: a shorter pill label without its tag (the logo's is right beside it),
   so it still fits beside the logo. */
@media (max-width: 379px) {
  .site-header {
    gap: 12px;
  }

  .btn-small {
    padding: 0 16px;
  }

  .btn-small .mini-tag,
  .label-long {
    display: none;
  }

  .label-short {
    display: inline;
  }
}

/* ---------- Plain pages (support, legal, 404) ---------- */

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) var(--gutter) var(--section-y);
}

.page h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.page h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  margin: 48px 0 16px;
}

.page p,
.page ul,
.page ol {
  margin: 0 0 16px;
}

.page .lead {
  margin-bottom: 32px;
}

.page h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 32px 0 8px;
}

.page ol {
  padding-left: 1.4em;
}

.page li {
  margin-bottom: 8px;
}

.page .btn {
  margin-top: 8px;
}

/* ---------- Reduce motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .spin-btn { display: none; }

  .sway,
  .sway-once,
  .caret,
  .pdf-ready,
  .pdf-ready::before,
  .pdf-ready .dl,
  .btn:hover .mini-tag,
  .btn:focus-visible .mini-tag,
  .faq details[open] p {
    animation: none;
  }

  .btn,
  .btn::after,
  .btn .arrow,
  .ulink,
  .ulink .arrow-down,
  .faq summary svg {
    transition: none;
  }

  .btn:hover,
  .btn:focus-visible,
  .btn:active {
    transform: none;
  }

  .btn::after { display: none; }
  .btn:hover .arrow,
  .ulink:hover .arrow-down { transform: none; }
}
