/* Ready Rail launch site. Palette and type: docs/site/BRIEF.md. */
:root {
  color-scheme: light dark;
  /* light */
  --paper: #f4efe6;
  --paper-raised: #fbf8f2;
  --card: #ffffff;
  --sunken: #ece5d8;
  --ink: #1f1b16;
  --ink-muted: #6b6257;
  --rule: #ddd3c3;
  --rule-strong: #c3b6a2;
  --accent: #b4441f;
  --accent-hover: #983816;
  --accent-ink: #ffffff;
  --accent-soft: #f6e2d8;
  --focus: #1f5fd1;
  --late: #b42318;
  --late-soft: #fbe4e1;
  --progress: #8a6100;
  --progress-soft: #f8edcf;
  --ready: #1d7a46;
  --ready-soft: #dcf1e3;
  --uncollected: #6b3fa0;
  --uncollected-soft: #ece3f6;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");

  --font-display: "Fraunces", "Iowan Old Style", Charter, Georgia, serif;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --max: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --gap-section: clamp(5rem, 10vw, 8rem);
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --shadow-window: 0 1px 2px rgba(60, 40, 20, 0.06), 0 12px 32px -8px rgba(60, 40, 20, 0.18);
  --shadow-card: 0 1px 2px rgba(60, 40, 20, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141311;
    --paper-raised: #1c1b19;
    --card: #262422;
    --sunken: #111010;
    --ink: #f1ece4;
    --ink-muted: #a69d91;
    --rule: #3a3733;
    --rule-strong: #57524b;
    --accent: #f08a5d;
    --accent-hover: #f6a27c;
    --accent-ink: #1c120c;
    --accent-soft: #3d2519;
    --focus: #7fb0ff;
    --late: #ff8a7a;
    --late-soft: #3f1d1a;
    --progress: #f2c25b;
    --progress-soft: #3a2f14;
    --ready: #6fd49a;
    --ready-soft: #173323;
    --uncollected: #c4a3f0;
    --uncollected-soft: #2e2240;

    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.02'/%3E%3C/svg%3E");
    --shadow-window: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -8px rgba(0, 0, 0, 0.55);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.35);
  }
}

/* Status tokens: colour always sits beside its text */
.s-late {
  --status: var(--late);
  --status-soft: var(--late-soft);
}
.s-progress {
  --status: var(--progress);
  --status-soft: var(--progress-soft);
}
.s-ready {
  --status: var(--ready);
  --status-soft: var(--ready-soft);
}
.s-uncollected {
  --status: var(--uncollected);
  --status-soft: var(--uncollected-soft);
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--grain);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.02;
  font-variation-settings: "opsz" 96;
}
h1 em,
.quote em {
  font-weight: 400;
  font-style: italic;
}
h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  max-width: 22ch;
}
h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}
p {
  margin: 0;
}
.mono,
.eyebrow,
.mono-note {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums slashed-zero;
}
.eyebrow {
  margin-bottom: 1rem;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mono-note {
  color: var(--ink-muted);
  font-size: 0.8125rem;
}
.hl {
  color: var(--accent);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--card);
  color: var(--ink);
  border-radius: 8px;
}
.skip:focus-visible {
  top: 1rem;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}
.band {
  padding-block: var(--gap-section);
  border-top: 1px solid var(--rule);
  background-image: var(--grain);
}
.band-paper {
  background-color: var(--paper);
}
.band-raised {
  background-color: var(--paper-raised);
}
.band-sunken {
  background-color: var(--sunken);
}
.body-copy {
  max-width: 62ch;
  margin-top: 1.25rem;
  color: var(--ink-muted);
}

/* Buttons and links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 150ms var(--ease),
    border-color 150ms var(--ease),
    color 150ms var(--ease),
    transform 120ms var(--ease);
}
.button:active {
  transform: translateY(1px) scale(0.98);
}
.button-primary {
  background-color: var(--accent);
  color: var(--accent-ink);
}
.button-primary:hover {
  background-color: var(--accent-hover);
}
.button-ghost {
  border-color: var(--rule-strong);
  color: var(--ink);
}
.button-ghost:hover {
  border-color: var(--ink);
  background-color: var(--card);
}
.button-small {
  padding: 0 1rem;
  font-size: 0.9375rem;
}
.button-large {
  min-height: 3.25rem;
  padding: 0 2rem;
  font-size: 1.0625rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.25rem;
  border-radius: 4px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  transition:
    text-decoration-color 150ms var(--ease),
    color 150ms var(--ease);
}
.text-link:hover {
  text-decoration-color: currentColor;
}
.text-link:active {
  color: var(--ink-muted);
}

/* 0. Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: color-mix(in srgb, var(--paper) 85%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: border-color 200ms var(--ease);
}
.js .site-header:not(.is-scrolled) {
  border-bottom-color: transparent;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 150ms var(--ease);
}
.logo:hover {
  opacity: 0.85;
}
.logo:active {
  opacity: 0.7;
}
.logo-mark {
  flex: none;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
@media (max-width: 599px) {
  .site-nav .text-link {
    display: none;
  }
}

/* 1. Hero */
.hero {
  border-top: 0;
  padding-block: clamp(3rem, 8vw, 6rem) var(--gap-section);
  background-image:
    radial-gradient(ellipse 60% 55% at 88% 12%, var(--accent-soft), transparent 70%),
    var(--grain);
}
.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 5fr 7fr;
  }
}
.hero-copy .lede {
  max-width: 62ch;
  margin-top: 1.5rem;
  color: var(--ink-muted);
  font-size: 1.125rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero-copy .mono-note {
  margin-top: 1rem;
}
.hero-visual {
  min-width: 0;
}

/* Window frame shared by the hero and the live app */
.window {
  overflow: hidden;
  background-color: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-window);
}
.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  padding: 0.25rem 1rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.875rem;
}
.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.app-brand-mark {
  position: relative;
  width: 1.5rem;
  height: 0.95rem;
  background-color: var(--accent);
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 26% 100%, 0 50%);
  border-radius: 2px;
}
.app-brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 26%;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background-color: var(--paper-raised);
  transform: translate(-50%, -50%);
}
.pills {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 999px;
  background-color: var(--sunken);
}
.pill {
  padding: 0.1rem 0.75rem;
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}
.pill.is-current {
  background-color: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

/* Mock board */
.mock-tabs {
  display: none;
}
.mock-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.625rem;
  padding: 0.875rem;
}
.mock-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.col-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.375rem;
  min-height: 2.6em;
  padding-bottom: 0.375rem;
  border-bottom: 2px solid var(--status);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
}
.col-head b,
.mock-tab b {
  color: var(--status, var(--ink-muted));
  font-weight: 700;
}
.tc {
  display: grid;
  gap: 0.125rem;
  min-width: 0;
  padding: 0.5rem 0.625rem 0.625rem;
  background-color: var(--card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--status);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  font-size: 0.8125rem;
  line-height: 1.35;
  transition: border-color 200ms var(--ease);
}
.tc-num {
  font-size: 0.9375rem;
  font-weight: 700;
}
.mock .tc-num {
  color: var(--accent);
}
.tc-cust {
  margin-top: 0.125rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.tc-garm {
  color: var(--ink-muted);
  overflow-wrap: anywhere;
}
.tc-time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.375rem;
  margin-top: 0.125rem;
}
.tc-when {
  color: var(--status);
  font-weight: 600;
  transition: color 200ms var(--ease);
}
.chip {
  padding: 0 0.375rem;
  border-radius: 4px;
  background-color: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
}
.tc-act {
  justify-self: start;
  margin-top: 0.5rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--status) 40%, transparent);
  border-radius: 6px;
  background-color: var(--status-soft);
  color: var(--status);
  font-weight: 600;
  transition:
    background-color 150ms var(--ease),
    color 150ms var(--ease),
    transform 120ms var(--ease);
}
.tc-act.is-pressed {
  background-color: var(--status);
  color: var(--card);
  transform: scale(0.96);
}
@media (max-width: 959px) {
  .mock-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .col-progress,
  .col-uncollected {
    display: none;
  }
}
@media (max-width: 599px) {
  .window-bar {
    padding-inline: 0.75rem;
  }
  .mock-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
    padding: 0.625rem 0.625rem 0;
  }
  .mock-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.375rem 0.125rem;
    border-radius: 8px;
    color: var(--ink-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
  }
  .mock-tab.is-selected {
    --status: var(--ready);
    background-color: var(--ready-soft);
    color: var(--ink);
    font-weight: 600;
  }
  .mock-columns {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.625rem;
  }
  .col-late,
  .col-ready .col-head {
    display: none;
  }
}

/* 2. Problem */
.narrow {
  max-width: calc(40ch + 2 * var(--pad));
  text-align: center;
}
.quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.problem .mono-note {
  margin-top: 1.5rem;
}

/* 3. How it works */
.steps-wrap {
  position: relative;
  margin-top: 3.5rem;
}
.string {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.string-line {
  stroke: var(--rule-strong);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  stroke-linecap: round;
}
.steps {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}
.step {
  --point: 18px;
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1.5rem 1.5rem 1.75rem calc(var(--point) + 2.25rem);
  background-color: var(--card);
  border-radius: 0 10px 10px 0;
  clip-path: polygon(var(--point) 0, 100% 0, 100% 100%, var(--point) 100%, 0 50%);
  filter: drop-shadow(0 1px 1px rgba(60, 40, 20, 0.08));
}
@media (min-width: 900px) {
  .step {
    --point: 10%;
    padding-left: calc(10% + 1.75rem);
  }
}
.eyelet {
  position: absolute;
  top: 50%;
  left: calc(var(--point) + 0.625rem);
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--rule-strong);
  transform: translate(-50%, -50%);
}
@media (min-width: 900px) {
  .eyelet {
    left: calc(var(--point) + 0.25rem);
  }
}
.step-num {
  color: var(--accent);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
}
.step p {
  color: var(--ink-muted);
}
.undo {
  margin-top: 4.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--rule-strong);
}

/* 4. The 30-day rule */
.rule-stage {
  display: grid;
  gap: 2.5rem;
}
.rule-copy p:not(.eyebrow) {
  max-width: 62ch;
  margin-top: 1.25rem;
  color: var(--ink-muted);
}
.rule-copy strong {
  color: var(--ink);
}
.rule-live {
  display: none;
}
.badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0 0.625rem;
  border-radius: 999px;
  background-color: var(--status-soft);
  color: var(--status);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color 200ms var(--ease),
    color 200ms var(--ease);
}
.badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background-color: currentColor;
}
.rule-static {
  position: relative;
  display: grid;
  gap: 1.25rem;
  max-width: 26rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rule-static::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 1.5rem;
  border-left: 1.5px dashed var(--rule-strong);
}
.rule-static .tc {
  position: relative;
  gap: 0.375rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
}
.rule-static .date {
  font-weight: 700;
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .rule {
    padding-block: 0;
  }
  .js .rule-track {
    height: 220vh;
    padding-block: var(--gap-section);
  }
  .js .rule-stage {
    position: sticky;
    top: 15vh;
    grid-template-columns: 5fr 6fr;
    align-items: center;
    gap: 4rem;
  }
  .js .rule-live {
    display: grid;
    gap: 1.5rem;
  }
  .js .rule-static {
    display: none;
  }
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  position: relative;
  padding-top: 1.75rem;
  padding-right: 0.5rem;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  transition: color 200ms var(--ease);
}
.timeline li::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  right: 0;
  border-top: 1.5px dashed var(--rule-strong);
}
.timeline li:last-child::before {
  right: auto;
  width: 0;
}
.timeline li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--sunken);
  box-shadow: inset 0 0 0 2px var(--rule-strong);
  transition:
    background-color 200ms var(--ease),
    box-shadow 200ms var(--ease);
}
.timeline li.is-active {
  color: var(--ink);
  font-weight: 600;
}
.timeline li.is-active::after {
  background-color: var(--status);
  box-shadow: 0 0 0 4px var(--status-soft);
}
.readout {
  color: var(--ink-muted);
  font-size: 0.9375rem;
}
.readout span {
  color: var(--ink);
  font-weight: 700;
}
.tc-big {
  gap: 0.375rem;
  padding: 1.5rem 1.75rem 1.75rem;
  border-left-width: 6px;
  border-radius: 12px;
  font-size: 1.0625rem;
  box-shadow: var(--shadow-window);
}
.tc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.tc-big .tc-num {
  color: var(--accent);
  font-size: 2.25rem;
  line-height: 1;
}
.tc-big .tc-cust {
  margin-top: 0.75rem;
  font-size: 1.375rem;
}
.tc-big .tc-when {
  font-size: 1.125rem;
}

/* 5. Features */
.feature-grid {
  display: grid;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.feature-grid li {
  display: grid;
  align-content: start;
  gap: 0.625rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
.feature-grid p {
  max-width: 62ch;
  color: var(--ink-muted);
}
.feature-grid .mono {
  color: var(--ink);
  font-size: 0.9375em;
}
.icon {
  width: 24px;
  height: 24px;
  margin-bottom: 0.375rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
  }
}
@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 3rem;
  }
  .feature-grid li {
    padding: 2rem 0 2.25rem;
  }
}

/* 6. Live app */
.live {
  margin-top: 2.5rem;
}
.live .path {
  color: var(--ink-muted);
  font-size: 0.8125rem;
}
.live-body {
  position: relative;
  height: min(78vh, 760px);
  background-color: var(--paper);
}
.live-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.live iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background-color: var(--paper);
}
@media (max-width: 599px) {
  .live-body {
    height: 640px;
  }
}
.try .mono-note {
  margin-top: 1rem;
}

/* 7. Closing */
.closing-inner {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  text-align: center;
}
.closing h2 {
  margin-top: 1rem;
}
.closing .body-copy {
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.big-tag-hang {
  --tw: 320px;
  --th: 180px;
  --ex: calc(var(--tw) * 0.17);
  position: relative;
  width: var(--tw);
  height: var(--th);
  margin-left: 3rem;
  transform: rotate(-4deg);
  transform-origin: var(--ex) 50%;
  transition: transform 300ms var(--spring);
}
.big-tag-hang:hover {
  transform: rotate(-2deg);
}
.big-tag {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.5rem;
  padding-left: 30%;
  background-color: var(--card);
  border-radius: 0 14px 14px 0;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
  filter: drop-shadow(0 8px 18px rgba(60, 40, 20, 0.16));
}
.big-tag-eyelet {
  position: absolute;
  top: 50%;
  left: var(--ex);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--paper);
  box-shadow: inset 0 0 0 2px var(--rule-strong);
  transform: translate(-50%, -50%);
}
.big-tag-num {
  color: var(--accent);
  font-size: calc(var(--tw) * 0.17);
  font-weight: 700;
  line-height: 1;
}
.big-tag-by {
  color: var(--ink-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.big-tag-string {
  position: absolute;
  z-index: 1;
  left: calc(var(--ex) - 118px);
  top: calc(50% - 78px);
  width: 120px;
  height: 80px;
  overflow: visible;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
}
@media (max-width: 599px) {
  .big-tag-hang {
    --tw: 240px;
    --th: 136px;
    margin-left: 2.5rem;
  }
  .big-tag {
    padding-left: 27%;
  }
  .big-tag-by {
    letter-spacing: 0.04em;
  }
  .big-tag-string {
    left: calc(var(--ex) - 88px);
    top: calc(50% - 58px);
    width: 90px;
    height: 60px;
  }
}

/* 8. Footer */
.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--rule);
  background-color: var(--paper);
  color: var(--ink-muted);
  font-size: 0.875rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
}

/* Motion: only with JS and when the visitor allows it */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes swing {
  from {
    transform: rotate(-10deg);
  }
  to {
    transform: rotate(-4deg);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .js .mock {
    animation: rise 320ms var(--ease) both;
  }
  .js .mock .tc {
    animation: card-rise 320ms var(--ease) both;
    animation-delay: calc(320ms + var(--i, 0) * 60ms);
  }
  .js .mock .tc.is-moving {
    transition:
      transform 420ms var(--ease),
      opacity 240ms var(--ease);
  }
  .js [data-reveal] {
    transition:
      opacity 500ms var(--ease),
      transform 500ms var(--ease);
    transition-delay: calc(var(--i, 0) * 50ms);
  }
  .js [data-reveal]:not(.is-in) {
    opacity: 0;
    transform: translateY(8px);
  }
  .js .live[data-reveal]:not(.is-in) {
    transform: translateY(12px);
  }
  .js .steps .step {
    transition:
      opacity 500ms var(--ease),
      transform 500ms var(--ease);
    transition-delay: calc(var(--i) * 90ms);
  }
  .js .steps:not(.is-in) .step {
    opacity: 0;
    transform: translateY(12px);
  }
  .js .string-draw {
    transition: stroke-dashoffset 900ms var(--ease) 200ms;
  }
  .js .big-tag-hang[data-reveal] {
    transition: opacity 300ms var(--ease);
  }
  .js .big-tag-hang[data-reveal]:not(.is-in) {
    transform: rotate(-10deg);
  }
  .js .big-tag-hang.is-in {
    animation: swing 900ms var(--spring);
  }
  .js .big-tag-hang.is-swung {
    animation: none;
    transition: transform 300ms var(--spring);
  }
}
