/* CraftPM marketing site, "workshop ledger" direction (Nov 16, 2026): set like a well-made printed catalogue,
   not an app template. Paper and ink, hairline rules, nearly square corners, book typography (Fraunces with
   optical sizes and italics), photographs treated as prints with captions, one tape-measure detail.
   No pills, no highlighter, no card grids, no bold-label-over-paragraph. Contrast: ink on paper 15:1,
   --ink-2 on paper 8:1, rust on paper 7:1. */
:root {
  --paper: #f3ede2;
  --paper-2: #e9e0cf;
  --sheet: #fbf8f2;
  --ink: #1c1a17;
  --ink-2: #48423a;
  --rule: #cbbfa9;
  --rust: #8f3511;
  --blue: #1d4ed8;
  --serif: "Fraunces Full", "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --edge: 3px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  /* a little paper tooth, not a pattern */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .18 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font: 400 19px/1.62 var(--serif);
  font-variation-settings: "opsz" 14, "SOFT" 30;
  font-feature-settings: "onum" 1, "kern" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--rust); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 20; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { left: 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 420; letter-spacing: -.012em; font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1; }

/* ---- masthead ---- */
.mast { border-bottom: 1px solid var(--rule); }
.mast-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 28px; padding-top: 18px; padding-bottom: 14px; flex-wrap: wrap; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 25px/1 var(--serif); font-variation-settings: "opsz" 72, "SOFT" 60; letter-spacing: -.01em; min-height: 44px; }
.mark img { border-radius: 6px; }
.mark i { color: var(--rust); font-style: italic; }
.menu { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; font-size: 17px; }
.menu a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.menu a:hover { text-decoration: underline; }
.menu a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; background: var(--ink); color: var(--sheet); text-decoration: none; border-radius: var(--edge); font: 600 15px/1 var(--sans); letter-spacing: .02em; }
.btn:hover { background: var(--rust); }
.menu .btn { min-height: 44px; padding: 8px 16px; }

/* ---- the tape measure: a hairline with inch ticks, used as a section divider ---- */
.tape {
  height: 16px; margin: 0; border: 0;
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) 0 0 / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-2) 0 1px, transparent 1px 96px) 0 0 / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-2) 0 1px, transparent 1px 48px) 0 0 / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 12px) 0 0 / 100% 5px no-repeat;
  opacity: .6;
}

/* ---- hero ---- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.kicker { font-style: italic; color: var(--rust); font-size: 18px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(46px, 6.4vw, 84px); line-height: .98; font-weight: 380; }
.hero h1 em { color: var(--rust); font-weight: 420; }
.lede { font-size: 22px; line-height: 1.5; color: var(--ink-2); margin-top: 26px; max-width: 30em; }
.cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.cta a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; }
.fine { font-size: 15px; color: var(--ink-2); margin-top: 16px; font-style: italic; }

/* the product, shown plainly: a phone with the customer's page */
.device { justify-self: center; margin: 0; }
.phone { width: 300px; padding: 11px; background: #1f1d1a; border-radius: 40px; box-shadow: 0 30px 50px -30px rgba(28, 26, 23, .55); }
.screen { background: #fffdf8; border-radius: 30px; overflow: hidden; font-family: var(--sans); }
.screen .bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px; font: 700 13px/1 var(--sans); }
.screen .bar span { width: 22px; height: 22px; border-radius: 6px; background: var(--rust); color: #fff; display: grid; place-items: center; font: 700 12px/1 var(--serif); }
.screen img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.screen .body { padding: 12px 16px 18px; }
.screen .t { font: 600 18px/1.2 var(--serif); }
.screen .rule { height: 8px; margin: 12px 0 6px; background: linear-gradient(90deg, var(--rust) 0 57%, var(--paper-2) 57%); border-radius: 2px; }
.screen .steps { display: flex; justify-content: space-between; font-size: 10px; color: var(--ink-2); }
.screen .steps b { color: var(--rust); }
.screen .cap { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.screen .cap b { color: var(--ink); }
.device figcaption { text-align: center; font-style: italic; font-size: 15px; color: var(--ink-2); margin: 16px auto 0; max-width: 300px; }

/* ---- sections ---- */
.section { padding-top: 76px; padding-bottom: 76px; }
.label { font-style: italic; color: var(--rust); font-size: 18px; }
.section h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.04; margin-top: 8px; max-width: 18em; }
.two { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }

/* how it works: a numbered list between hairlines, not cards */
.steps-list { list-style: none; padding: 0; margin: 0; counter-reset: step; border-top: 1px solid var(--rule); }
.steps-list li { counter-increment: step; display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.steps-list li::before { content: counter(step); font: italic 400 58px/0.9 var(--serif); font-variation-settings: "opsz" 144, "SOFT" 100; color: var(--rust); }
.steps-list p { color: var(--ink-2); }
.run-in { font-style: italic; color: var(--ink); font-weight: 500; }

/* the pages inside: photographs as prints, with a run-in head */
.inside { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.inside li { position: relative; }
.print { margin: 0 0 16px; background: var(--sheet); padding: 10px 10px 12px; border-radius: 2px; box-shadow: 0 1px 0 rgba(28, 26, 23, .06), 0 14px 26px -22px rgba(28, 26, 23, .5); transition: transform .25s ease; }
.print img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 1px; }
.print figcaption { font-style: italic; font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.inside p { color: var(--ink-2); }
.inside a.go { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rust); }
.inside a.go::after { content: ""; position: absolute; inset: 0; }
.inside li:hover .print { transform: rotate(-.6deg); }

/* the trades: one sentence, set large */
.trades p { font-size: clamp(26px, 3vw, 36px); line-height: 1.35; font-weight: 360; font-variation-settings: "opsz" 72, "SOFT" 50; max-width: 26em; }
.trades p em { color: var(--rust); }

/* a note from the people who make it */
.note { background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.note .wrap { max-width: 760px; padding-top: 70px; padding-bottom: 70px; }
.note p { font-size: 21px; line-height: 1.65; }
.note p + p { margin-top: 18px; }
.note p:first-of-type::first-letter { float: left; font: 400 76px/.82 var(--serif); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; color: var(--rust); padding: 6px 10px 0 0; }
.note .sign { font-style: italic; color: var(--ink-2); margin-top: 26px; }

.closing { text-align: center; padding-top: 86px; padding-bottom: 96px; }
.closing h2 { margin: 0 auto; max-width: 16em; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; }
.closing p { color: var(--ink-2); margin: 18px auto 30px; max-width: 32em; }

/* ---- colophon ---- */
.foot { border-top: 1px solid var(--rule); padding-top: 30px; padding-bottom: 40px; font-size: 15px; color: var(--ink-2); }
.foot-inner { display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; }
.foot nav a { min-height: 32px; display: inline-flex; align-items: center; }
.colophon { grid-column: 1 / -1; font-style: italic; font-size: 14px; }

@media (max-width: 900px) {
  .hero, .two { grid-template-columns: 1fr; gap: 36px; }
  .inside { grid-template-columns: 1fr; gap: 34px; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 18px; }
  .wrap { padding: 0 20px; }
  .menu { gap: 0 16px; font-size: 16px; }
  .menu .btn { margin-left: auto; }
  .hero { padding-top: 40px; }
  .lede { font-size: 20px; }
  .phone { width: 270px; }
  .steps-list li { grid-template-columns: 52px 1fr; }
  .steps-list li::before { font-size: 46px; }
}
.motion [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.motion [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .print, .inside li:hover .print { transition: none; transform: none; } }

/* ---- inner pages ---- */
.page-head { padding-top: 60px; padding-bottom: 40px; }
.page-head h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1; font-weight: 380; max-width: 15em; margin-top: 8px; }
.page-head h1 em { color: var(--rust); font-weight: 420; }
.page-head .lede { max-width: 34em; }

/* a hairline list for points that would otherwise be check-marked bullets */
.points { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--rule); }
.points li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }

/* what the customer sees: two prints, overlapping a little */
.pair { position: relative; min-height: 460px; }
.pair .print { position: absolute; width: 74%; }
.pair .print:first-child { left: 0; top: 0; transform: rotate(-2deg); }
.pair .print:last-child { right: 0; bottom: 0; transform: rotate(1.5deg); }

/* the example shop: a desktop print with a phone print in front */
.two.lead-left { grid-template-columns: 1.15fr .85fr; }
.example { position: relative; padding-bottom: 70px; }
.example .print.wide figcaption { max-width: 58%; }
.example .print.wide img { aspect-ratio: 4 / 3; }
.example .print.tall { position: absolute; right: -18px; bottom: 0; width: 34%; transform: rotate(2deg); }
.example .print.tall img { aspect-ratio: 1 / 2; object-position: top; }

.aside-note { margin-top: 30px; padding: 22px 0 0; border-top: 2px solid var(--ink); }
.aside-note h2 { font-size: 26px; line-height: 1.2; }
.aside-note p { color: var(--ink-2); margin-top: 10px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .86em; }

/* three short entries, ruled like a ledger rather than boxed */
.entries { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.entries li { padding: 22px 26px 6px 0; }
.entries li + li { padding-left: 26px; border-left: 1px solid var(--rule); }
.entries p { color: var(--ink-2); }

/* ---- pricing: a ledger, three columns between rules ---- */
.plans { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.plan { padding: 26px 28px 30px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--rule); }
.plan.featured { background: var(--sheet); box-shadow: inset 0 3px 0 var(--rust); }
.plan h2 { font-size: 30px; }
.plan .pick { font-style: italic; color: var(--rust); font-size: 16px; min-height: 1.4em; }
.plan .for { color: var(--ink-2); margin-top: 4px; min-height: 3.2em; }
.plan .price { margin-top: 18px; font-size: 17px; color: var(--ink-2); }
.plan .price b { font: 380 60px/1 var(--serif); font-variation-settings: "opsz" 144, "SOFT" 30; color: var(--ink); margin-right: 4px; }
.plan .yearly { font-size: 15px; font-style: italic; color: var(--ink-2); margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; border-top: 1px solid var(--rule); flex: 1; }
.plan li { padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.plan li.web { font-style: italic; color: var(--ink); }
.plan .btn { align-self: flex-start; }
.plan .btn.quiet { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.plan .btn.quiet:hover { background: var(--ink); color: var(--sheet); }
.pricing-note { text-align: center; font-style: italic; color: var(--ink-2); margin-top: 18px; font-size: 16px; }

.faq > * { max-width: 820px; }
.faq-list { margin-top: 26px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 60px; font-size: 21px; font-variation-settings: "opsz" 36, "SOFT" 40; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rust); font-size: 26px; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); padding: 0 0 20px; max-width: 40em; }

/* ---- legal and accessibility text ---- */
.doc { max-width: 780px; padding-top: 40px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.05; font-weight: 380; margin-top: 18px; }
.doc h2 { font-size: 26px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { text-decoration: underline; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); font-size: 16px; }
.legal-nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.legal-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.table-wrap { overflow-x: auto; margin: 16px 0; border-top: 2px solid var(--ink); }
.doc table { border-collapse: collapse; width: 100%; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.doc th { font-weight: 500; color: var(--ink); }
.doc address { font-style: normal; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--ink-2); }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--rule); }
  .plan .for { min-height: 0; }
  .entries { grid-template-columns: 1fr; }
  .entries li, .entries li + li { padding: 18px 0; border-left: 0; }
  .entries li + li { border-top: 1px solid var(--rule); }
  .two.lead-left { grid-template-columns: 1fr; }
  .pair { min-height: 0; display: grid; gap: 22px; }
  .pair .print { position: relative; width: 92%; }
  .pair .print:last-child { justify-self: end; }
  .example .print.tall { right: -6px; width: 40%; }
}

/* two phone screenshots of the customer's page, as prints */
.pair.screens { min-height: 0; display: flex; gap: 6%; align-items: flex-start; }
.pair.screens .print { position: relative; width: 47%; }
.pair.screens .print img { aspect-ratio: auto; height: auto; }
.pair.screens .print:first-child { transform: rotate(-1.5deg); }
.pair.screens .print:last-child { transform: rotate(1.2deg); margin-top: 64px; }
@media (max-width: 860px) {
  .pair.screens { display: flex; gap: 4%; }
  .pair.screens .print { width: 48%; }
  .pair.screens .print:last-child { margin-top: 40px; justify-self: auto; }
}
