/* Featherstall brand — featherstall.com
   Paper, ink and one signal colour, for people who sell what they make or find. */

@font-face {
  font-family: "Archivo";
  src: url(/_p/archivo.woff2) format("woff2");
  font-weight: 300 800;
  font-stretch: 62% 100%;
  font-display: swap;
}
/* Metric-matched fallback so the swap does not move a line. */
@font-face {
  font-family: "Archivo fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 101.6%;
  ascent-override: 86.4%;
  descent-override: 20.7%;
  line-gap-override: 0%;
}

:root {
  /* colour */
  --paper: oklch(0.97 0.006 85);
  --ink: oklch(0.2 0.006 60);
  /* Orange is for the next step: 5.3:1 under ink type, 3.1:1 on paper, so
     on paper it's only for large type and marks. */
  --signal: oklch(0.66 0.205 40);
  /* The signal dark enough for small type and marks on paper (4.8:1). */
  --signal-ink: oklch(0.55 0.19 40);
  --ink-2: oklch(0.46 0.01 60);
  --rule: oklch(0.84 0.008 80);
  --paper-2: oklch(0.78 0.01 80);
  --well: oklch(0.995 0.003 85);

  /* type */
  --sans: "Archivo", "Archivo fallback", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --t-xs: 0.75rem;
  --t-s: 0.875rem;
  --t-m: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem);
  --t-l: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --t-xl: clamp(2rem, 1.4rem + 2.6vw, 3.75rem);

  /* space: 4px base */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  --edge: clamp(1rem, 3.4vw, 3rem);
  /* Content stops at 80rem; a wider screen gets wider margins. */
  --inline: max(var(--edge), calc((100% - 80rem) / 2));
  --cols: 12;
  --gap: clamp(1rem, 1.6vw, 1.5rem);
  --hair: 1px;
  --control: 3.25rem;
  /* The smallest thing to press. */
  --touch: 2.75rem;

  color-scheme: light;
  accent-color: var(--signal);
  caret-color: var(--signal);
  scrollbar-color: var(--ink) var(--paper);
}

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

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  hanging-punctuation: first allow-end last;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-m) / 1.5 var(--sans);
  font-variant-numeric: lining-nums proportional-nums;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul, dl, dd, figure, table, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
abbr[title] { text-decoration: none; }
b { font-weight: 600; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; }
p, li, dd, summary { text-wrap: pretty; }

::selection { background: var(--signal); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

a { color: inherit; text-decoration-thickness: var(--hair); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--signal); text-decoration-thickness: 2px; }

.label {
  display: block;
  font-size: var(--t-xs);
  font-weight: 600;
  font-stretch: 100%;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-variant-numeric: lining-nums tabular-nums;
}

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; inset-block-start: var(--s-2); inset-inline-start: var(--s-2);
  z-index: 10; padding: var(--s-2) var(--s-4);
  background: var(--ink); color: var(--paper); font-weight: 600;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- wordmark ---------- */
.wordmark {
  font-size: 1.625rem;
  font-weight: 800;
  font-stretch: 62%;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.wordmark-stop { color: var(--signal); }
.wordmark:hover { text-decoration: none; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--control);
  padding: 0 var(--s-5);
  font: 600 var(--t-m) / 1 var(--sans);
  color: var(--ink);
  background: var(--signal);
  border: var(--hair) solid var(--signal);
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); text-decoration: none; }
.button:active { transform: translateY(1px); }
/* A second choice is an outline, so orange stays the one next step. */
.button-quiet { background: transparent; border-color: var(--ink); }

/* ---------- top bar ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) var(--inline);
  border-block-end: var(--hair) solid var(--ink);
}
.top-nav { display: flex; align-items: center; gap: var(--s-5); font-size: var(--t-s); font-weight: 500; }
.top-link, .top-signin { display: inline-flex; align-items: center; min-height: var(--touch); text-decoration: none; }
.top-link:hover, .top-signin:hover { text-decoration: underline; text-decoration-color: var(--signal); }
.top-signin { font-weight: 700; }
.top-start { height: var(--touch); padding-inline: var(--s-4); font-size: var(--t-s); }

/* ---------- shared section layout ---------- */
.hero, .looks, .how, .fit, .pricing, .trust, .faq, .join {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gap);
  padding: var(--s-9) var(--inline);
}
.hero > *, .looks > *, .how > *, .fit > *, .pricing > *, .trust > *, .faq > *, .join > * { grid-column: 1 / -1; }
.looks, .how, .fit, .pricing, .trust, .faq { border-block-start: var(--hair) solid var(--ink); }

.section-head { display: grid; gap: var(--s-4); align-content: start; margin-block-end: var(--s-7); }
.section-head .label { color: var(--ink-2); }
.section-title {
  font-size: var(--t-xl);
  font-stretch: 75%;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.015em;
  max-width: 20ch;
}
.section-lede { max-width: 46ch; font-size: var(--t-l); line-height: 1.35; }

/* A shop shown on the page: real pixels in a hairline frame, no device. */
.shop-frame { display: block; background: var(--well); border: var(--hair) solid var(--ink); text-decoration: none; }
.shop-frame img { width: 100%; background: var(--rule); }
a.shop-frame:hover { outline: 2px solid var(--signal); outline-offset: 0; }
.shop-address {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-2) var(--s-3);
  font: 500 var(--t-xs) / 1.2 var(--mono);
  color: var(--ink-2);
  border-block-end: var(--hair) solid var(--ink);
  white-space: nowrap;
}
.shop-host { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.shop-open { font: 600 var(--t-xs) / 1.2 var(--sans); letter-spacing: 0.02em; color: var(--signal-ink); }

/* ---------- hero ---------- */
.hero { padding-block: var(--s-6) var(--s-8); row-gap: var(--s-7); align-items: center; }
/* minmax(0, 1fr), here and in .start: the form may shrink below its natural width. */
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-content: start; }
.hero-label { color: var(--ink-2); }
.hero-title {
  font-size: clamp(2.5rem, 1.7rem + 2.4vw, 4rem);
  font-stretch: 75%;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.hero-turn { display: block; color: var(--signal); }
.lede { font-size: var(--t-l); line-height: 1.35; max-width: 44ch; }
.hero-price { max-width: 46ch; }
.hero-price b { font-weight: 700; }
.hero-shop { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
.shop-caption { font-size: var(--t-s); color: var(--ink-2); }

.start { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-2); max-width: 36rem; }
.start-row { display: flex; }
.start-input {
  flex: 1;
  min-width: 0;
  height: var(--control);
  padding: 0 var(--s-4);
  font: inherit;
  color: var(--ink);
  background: var(--well);
  border: var(--hair) solid var(--ink);
  border-inline-end: 0;
  border-radius: 0;
}
.start-input:focus-visible { outline-offset: -3px; }
.start-note { font-size: var(--t-s); color: var(--ink-2); }
.start-welcome, .start-look { font-weight: 600; padding-inline-start: var(--s-3); border-inline-start: 3px solid var(--signal); }
.start-error { font-size: var(--t-s); font-weight: 600; padding-inline-start: var(--s-3); border-inline-start: 3px solid var(--signal); }

/* ---------- looks ---------- */
/* Four radios, then their tabs, then their panes: each checked radio shows
   its own tab and pane, with no script. In THEMES order. */
.switcher { position: relative; display: grid; gap: var(--s-5); min-width: 0; padding: 0; border: 0; }
.switcher-tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.switcher-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: var(--touch);
  padding: 0 var(--s-4);
  border: var(--hair) solid var(--ink);
  font-weight: 600;
  cursor: pointer;
}
.switcher-tab:hover { background: var(--well); }
/* Each look's own colour, which it starts in. */
.switcher-tab::before { content: ""; flex: none; width: var(--s-3); height: var(--s-3); background: var(--swatch); }
.switcher-kind { font-weight: 400; opacity: 0.75; }
.switcher-input:nth-of-type(1):checked ~ .switcher-tabs > :nth-child(1),
.switcher-input:nth-of-type(2):checked ~ .switcher-tabs > :nth-child(2),
.switcher-input:nth-of-type(3):checked ~ .switcher-tabs > :nth-child(3),
.switcher-input:nth-of-type(4):checked ~ .switcher-tabs > :nth-child(4) { background: var(--ink); color: var(--paper); }
.switcher-input:nth-of-type(1):focus-visible ~ .switcher-tabs > :nth-child(1),
.switcher-input:nth-of-type(2):focus-visible ~ .switcher-tabs > :nth-child(2),
.switcher-input:nth-of-type(3):focus-visible ~ .switcher-tabs > :nth-child(3),
.switcher-input:nth-of-type(4):focus-visible ~ .switcher-tabs > :nth-child(4) { outline: 2px solid var(--signal); outline-offset: 3px; }
.switcher-pane { display: none; gap: var(--s-4) var(--gap); }
.switcher-input:nth-of-type(1):checked ~ .switcher-stage > :nth-child(1),
.switcher-input:nth-of-type(2):checked ~ .switcher-stage > :nth-child(2),
.switcher-input:nth-of-type(3):checked ~ .switcher-stage > :nth-child(3),
.switcher-input:nth-of-type(4):checked ~ .switcher-stage > :nth-child(4) { display: grid; }
.switcher-about { display: grid; gap: var(--s-4); align-content: start; max-width: 40ch; }
.switcher-title { font-size: var(--t-l); font-stretch: 85%; font-weight: 700; line-height: 1.15; }
.switcher-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.theme-folio { --swatch: #17624a; }
.theme-grid { --swatch: #ff4f1a; }
.theme-kiln { --swatch: #a44f2c; }
.theme-gallery { --swatch: #d0311d; }
.looks-more { margin-block-start: var(--s-6); max-width: 62ch; color: var(--ink-2); }
.also {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: var(--s-4) var(--s-5);
  align-items: center;
  max-width: 46rem;
  margin-block-start: var(--s-6);
  padding: var(--s-3);
  border: var(--hair) solid var(--ink);
  background: var(--well);
  color: inherit;
  text-decoration: none;
}
.also:hover { outline: 2px solid var(--signal); outline-offset: 0; }
.also-img { width: 100%; height: auto; background: var(--rule); }
.also-text { display: grid; gap: var(--s-1); }
.also-name { font-size: var(--t-l); font-stretch: 85%; font-weight: 700; line-height: 1.15; }
.also-open { justify-self: start; text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- how it works ---------- */
.how { background: var(--well); }
.milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6) var(--gap);
  margin-block-end: var(--s-8);
  counter-reset: step;
}
.milestone {
  counter-increment: step;
  display: grid;
  align-content: start;
  gap: var(--s-3);
  padding-block-start: var(--s-4);
  border-block-start: var(--hair) solid var(--ink);
}
.milestone::before {
  content: counter(step);
  font-size: var(--t-xl);
  font-stretch: 62%;
  font-weight: 300;
  line-height: 0.85;
  font-variant-numeric: lining-nums;
  color: var(--signal-ink);
}
.milestone p { max-width: 40ch; }
.milestone-title, .scenario-title, .fact-title, .fit-title { font-size: var(--t-l); font-stretch: 85%; line-height: 1.15; }

.transform {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--s-6) var(--gap);
  align-items: start;
}
.transform-in, .transform-step, .transform-out { display: grid; gap: var(--s-3); align-content: start; }
.transform .label { color: var(--ink-2); }
.transform-photo { width: min(100%, 14rem); aspect-ratio: 3 / 4; object-fit: cover; background: var(--rule); }
.transform-note {
  max-width: 30ch;
  padding: var(--s-3) var(--s-4);
  font: 500 var(--t-s) / 1.5 var(--mono);
  background: var(--paper);
  border: var(--hair) solid var(--ink);
}
.transform-phone { width: min(100%, 20rem); border: var(--hair) solid var(--ink); background: var(--paper); }
.transform-step p:last-child { max-width: 34ch; }
.transform-edits { display: grid; gap: var(--s-2); padding-inline-start: 1.25em; list-style: square; }
.transform-caption { grid-column: 1 / -1; font-size: var(--t-s); color: var(--ink-2); max-width: 70ch; }

/* ---------- who it's for ---------- */
.scenarios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--gap); }
.scenario { display: grid; align-content: start; gap: var(--s-3); padding-block-start: var(--s-4); border-block-start: var(--hair) solid var(--ink); }
.scenario p { max-width: 38ch; }
.fit-check { margin-block-start: var(--s-7); border-block: var(--hair) solid var(--ink); }
.fit-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--gap); padding-block: var(--s-3) var(--s-5); }
.fit-title { padding-block-end: var(--s-3); border-block-end: var(--hair) solid var(--ink); margin-block-end: var(--s-2); }
.fit-more { padding-block-end: var(--s-5); }
.ticks li, .crosses li { position: relative; padding: var(--s-2) 0 var(--s-2) var(--s-6); max-width: 54ch; }
.ticks li::before, .crosses li::before { position: absolute; inset-inline-start: 0; font-weight: 700; }
.ticks li::before { content: "✓"; color: var(--signal-ink); }
.crosses li::before { content: "×"; color: var(--ink-2); }

/* ---------- disclosures ---------- */
.fit-check summary, .fee-details summary, .faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-5);
  min-height: var(--touch);
  padding-block: var(--s-4);
  font-size: var(--t-m);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.fit-check summary::-webkit-details-marker, .fee-details summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.fit-check summary::after, .fee-details summary::after, .faq-item summary::after {
  content: "+";
  flex: none;
  font-weight: 400;
  font-variant-numeric: lining-nums;
}
.fit-check[open] summary::after, .fee-details[open] summary::after, .faq-item[open] summary::after { content: "−"; color: var(--signal-ink); }
.fit-check summary:hover, .fee-details summary:hover, .faq-item summary:hover { color: var(--signal-ink); }

/* ---------- pricing ---------- */
.fee-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--gap); }
.fee-fact { display: grid; align-content: start; gap: var(--s-3); padding-block-start: var(--s-4); border-block-start: var(--hair) solid var(--ink); }
.fee-fact dt { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); font-stretch: 75%; font-weight: 700; line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
.fee-fact dd { max-width: 34ch; }
/* The ceiling is the news. */
.fee-fact.is-cap { border-block-start: 4px solid var(--signal); padding-block-start: calc(var(--s-4) - 3px); }
.fee-stripe { margin-block: var(--s-5) var(--s-7); font-weight: 600; max-width: 62ch; }
.pricing-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6) var(--gap); align-items: start; }
.receipt {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: lining-nums tabular-nums;
}
/* .label makes a caption a block, which a table then moves below its head. */
.receipt caption { display: table-caption; text-align: start; color: var(--ink-2); padding-block-end: var(--s-3); }
.receipt th, .receipt td {
  padding-block: var(--s-3);
  border-block-start: var(--hair) solid var(--rule);
  text-align: start;
  font-weight: 400;
}
.receipt td { text-align: end; }
.receipt tr:first-child > * { border-block-start-color: var(--ink); }
.receipt tr:last-child > * { border-block-end: var(--hair) solid var(--ink); }
.receipt-total > * { font-weight: 700; }
.fee-details { border-block: var(--hair) solid var(--ink); }
.table-scroll { overflow-x: auto; margin-block: var(--s-3) var(--s-5); }
/* Headings and row names wrap on a phone; the amounts never break. */
.month th, .month td { padding-inline: var(--s-2); }
.month td { white-space: nowrap; }
.month thead th { font-size: var(--t-s); font-weight: 600; color: var(--ink-2); text-align: end; vertical-align: bottom; }
.month thead th:first-child, .month tbody th { padding-inline-start: 0; text-align: start; }
.pricing-notes { font-size: var(--t-s); padding-block-end: var(--s-5); }
.pricing-notes li { padding-block: var(--s-2); border-block-end: var(--hair) solid var(--rule); max-width: 64ch; }

/* ---------- your shop, your money ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--gap); }
.fact { display: grid; align-content: start; gap: var(--s-3); padding-block-start: var(--s-4); border-block-start: var(--hair) solid var(--ink); }
.fact p { max-width: 42ch; }

/* ---------- questions ---------- */
.faq-list { border-block-start: var(--hair) solid var(--ink); }
.faq-item { border-block-end: var(--hair) solid var(--ink); }
.faq-item p { max-width: 62ch; padding-block-end: var(--s-5); }

/* ---------- the last word ---------- */
.join { row-gap: var(--s-4); background: var(--well); border-block-start: 2px solid var(--ink); }
.join-title { font-size: var(--t-xl); font-stretch: 75%; line-height: 1; letter-spacing: -0.015em; max-width: 18ch; }
.join-lede { font-size: var(--t-l); line-height: 1.35; max-width: 44ch; }
.join-form { margin-block-start: var(--s-3); }

/* ---------- footer ---------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-4) var(--s-6);
  padding: var(--s-7) var(--inline) var(--s-8);
  background: var(--ink);
  color: var(--paper);
}
.foot-line { color: var(--paper-2); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); font-weight: 500; }
.foot-nav a { display: inline-flex; align-items: center; min-height: var(--touch); }
.foot-colophon { margin-inline-start: auto; font-size: var(--t-s); color: var(--paper-2); max-width: 44ch; }

/* ---------- wide layout ---------- */
@media (min-width: 60rem) {
  /* The shop gets three-fifths of the first screen. */
  .hero-copy { grid-column: 1 / 6; }
  .hero-shop { grid-column: 6 / -1; }
  .looks .section-head, .how .section-head, .fit .section-head, .trust .section-head { grid-column: 1 / 9; }
  /* About 600px of preview, with its name and actions beside it, so a look
     can be judged and chosen without scrolling past it. */
  .switcher-pane { grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); align-items: start; }
  .pricing-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .faq .section-head { grid-column: 1 / 5; }
  .faq-list { grid-column: 5 / -1; }
}

/* ---------- narrow layout ---------- */
@media (max-width: 59.99rem) {
  .hero, .looks, .how, .fit, .pricing, .trust, .faq, .join { padding-block: var(--s-8); }
  .hero { padding-block-start: var(--s-6); }
  .milestones, .scenarios, .transform, .fit-lists, .fee-facts, .also { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-link { display: none; }
  .switcher-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .switcher-tab { padding-inline: var(--s-3); font-size: var(--t-s); }
}
/* Below this, the hero shows the shop on a phone, not a desktop. */
@media (max-width: 39.99rem) {
  .hero-shop { width: min(100%, 20rem); justify-self: center; }
  .switcher-pane .shop-frame { width: min(100%, 20rem); }
  .facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 30rem) {
  .start-row { flex-direction: column; gap: var(--s-2); }
  .start-input { flex: none; border-inline-end: var(--hair) solid var(--ink); }
  .month { font-size: var(--t-s); }
  .month th, .month td { padding-inline: var(--s-1); }
  .foot-colophon { margin-inline-start: 0; }
}
/* The smallest phones keep the start button and drop the sign-in link,
   which the form and the footer still offer. */
@media (max-width: 22.99rem) {
  .top-signin { display: none; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button { transition: background-color 120ms, color 120ms, transform 60ms; }
  .fit-check summary::after, .fee-details summary::after, .faq-item summary::after { transition: color 120ms; }
}
