/* Citable — Booked Jobs landing page  ·  "Craft Table" look
   Tokens and material components COPIED VERBATIM from site/style.css (the live
   citable.ca stylesheet). COLORS LOCKED per Eric 08-26: white paper, blue felt,
   black ink/stitching. No recolor. Do not invent new colours here.
   Type: Plex Mono = machine speech · Plex Sans = human · Space Grotesk = display.
   This page is standalone (its own Pages project) so the live site is untouched. */

:root {
  --paper:   #ffffff;
  --board:   #eaf1fb;
  --ink:     #12203a;
  --scan:    #1f6bff;
  --scan-dk: #0c3fae;
  --ghost:   #7d8aa3;
  --signal:  #0fa36b;
  --warn:    #c07a12;
  --line:    #cdd8ec;
  --spring: cubic-bezier(.34,1.56,.64,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  background-color: var(--board);
  background-image:
    repeating-linear-gradient( 45deg, rgba(31,107,255,.05) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-45deg, rgba(18,32,58,.035) 0 2px, transparent 2px 9px);
}

.mono { font-family: 'IBM Plex Mono', Consolas, monospace; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, .wordmark { font-family: 'Space Grotesk', 'IBM Plex Sans', Arial, sans-serif; letter-spacing: -.015em; }
h1, h2 { text-wrap: balance; }
a { color: var(--scan); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--scan); outline-offset: 3px; border-radius: 6px;
}

/* ============ THE MATERIAL: a stitched fabric cutout ============ */
.stitched {
  position: relative;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 6px 0 rgba(18,32,58,.10), 0 20px 34px rgba(18,32,58,.13);
}
.stitched::after {
  content: ""; position: absolute; inset: 7px; border-radius: 15px;
  border: 2px dashed rgba(18,32,58,.28); pointer-events: none;
}

/* ============ motion primitives ============ */
html.js .rv { opacity: 0; transform: translateY(28px) rotate(-.6deg); }
html.js .rv.in { opacity: 1; transform: none; transition: opacity .5s ease, transform .7s var(--spring); }
.tilt { transition: transform .4s var(--spring), box-shadow .4s ease; will-change: transform; }

.hang { position: relative; transform-origin: top center; }
.hang::before {
  content: ""; position: absolute; left: 50%; bottom: 100%;
  width: 2px; height: var(--thread, 40px);
  background: repeating-linear-gradient(var(--ink) 0 3px, transparent 3px 5px);
  opacity: .55; transform: translateX(-50%);
}
.hang::after {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + var(--thread, 40px) - 4px);
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--scan); border: 2px solid var(--ink);
  box-shadow: 0 2px 0 rgba(18,32,58,.25); transform: translateX(-50%);
}
@keyframes sway { 0%,100% { rotate: 1.8deg; } 50% { rotate: -1.8deg; } }
@keyframes swingBig { 0% { rotate: 10deg; } 25% { rotate: -8deg; } 50% { rotate: 5deg; } 75% { rotate: -3deg; } 100% { rotate: 0; } }
.hang { animation: sway 4.5s ease-in-out infinite; }
.hang.swing { animation: swingBig 1.6s var(--spring) 1, sway 4.5s ease-in-out 1.6s infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
  .hang, .hang.swing { animation: none; }
  * { animation: none !important; transition: none !important; }
}

/* ============ chunky pressable buttons ============ */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 15px; border: 2.5px solid var(--ink);
  transition: transform .12s var(--spring), box-shadow .12s; cursor: pointer;
  font-family: 'IBM Plex Sans', Arial, sans-serif;
}
.btn-primary { background: var(--scan); color: #fff; box-shadow: 0 6px 0 var(--scan-dk), 0 6px 0 2.5px var(--ink); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: translateY(6px); box-shadow: 0 0 0 var(--scan-dk), 0 0 0 2.5px var(--ink); }
.btn-quiet { background: #fff; color: var(--ink); box-shadow: 0 6px 0 rgba(18,32,58,.14), 0 6px 0 2.5px var(--ink); }
.btn-quiet:hover { transform: translateY(-1px); color: var(--scan); }
.btn-quiet:active { transform: translateY(6px); box-shadow: 0 0 0 rgba(18,32,58,.14), 0 0 0 2.5px var(--ink); }

/* ============ tape label (eyebrows) ============ */
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--scan);
  background: rgba(31,107,255,.12); border: 1.5px dashed rgba(31,107,255,.55);
  padding: 5px 13px; border-radius: 5px; margin-bottom: 14px; transform: rotate(-1.4deg);
}

/* ============ nav ============ */
nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0 6px; gap: 12px; flex-wrap: wrap; }
.wordmark { font-size: 27px; font-weight: 700; color: var(--ink); text-decoration: none; display: inline-block; }
.wordmark .guill { color: var(--scan); display: inline-block; transition: transform .4s var(--spring); }
.wordmark:hover .guill:first-child { transform: translateX(-3px) rotate(-8deg); }
.wordmark:hover .guill:last-child { transform: translateX(3px) rotate(8deg); }
.nav-right { display: flex; gap: 22px; align-items: center; font-size: 15px; flex-wrap: wrap; }
.nav-right a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-right a:hover { color: var(--scan); }
.lang-switch { border: 2px solid var(--ink); border-radius: 9px; padding: 4px 11px; font-size: 14px;
  box-shadow: 0 3px 0 rgba(18,32,58,.15); }

/* ============ hero ============ */
.hero { padding: 66px 0 30px; text-align: center; position: relative; }
.hero h1 { font-size: clamp(33px, 5.6vw, 55px); line-height: 1.08; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--scan); }
.hero .sub { font-size: clamp(17px, 2.2vw, 20px); max-width: 34em; margin: 0 auto 26px; color: #33425e; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--ghost); }

/* The thread/pin and the stitched seam BOTH want ::after, so they must live on
   different elements. Wrapper carries .hang (thread + pin), inner carries .stitched
   (panel + dashed seam). Putting both on one element drops the pin inside the panel,
   on top of the number — verified in a headless render 08-27. */
.stat-hang-wrap {
  --thread: 34px;
  display: inline-block; margin: 44px 0 30px;
}
.stat-hang { padding: 14px 22px; text-align: center; }
.stat-hang .big { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 34px; font-weight: 700; color: var(--scan); line-height: 1; }
.stat-hang .lbl { font-size: 13px; color: var(--ghost); margin-top: 6px; max-width: 22em; }

/* ============ generic section ============ */
section { padding: 46px 0; }
section > .wrap > h2 { font-size: clamp(25px, 3.4vw, 35px); margin-bottom: 12px; }
.lede { font-size: 18px; max-width: 40em; color: #33425e; margin-bottom: 26px; }

/* ============ the six ways grid ============ */
/* 280px min gives a balanced 3 + 3 at full width (4 across would need 1120px and
   left a ragged 4 + 2 row), then 2, then 1 as the screen narrows. */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.way { padding: 20px 22px 22px; }
.way h3 { font-size: 17px; margin-bottom: 5px; }
.way p { font-size: 14.5px; color: #4b5a75; }
.way .num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; color: var(--scan); letter-spacing: .08em; }

/* ============ proof band ============ */
.proof { padding: 26px 28px; }
.proof .row { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.proof .fig { flex: 1 1 150px; }
.proof .fig .n { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 38px; font-weight: 700; color: var(--ink); line-height: 1; }
.proof .fig .n span { color: var(--scan); }
.proof .fig .c { font-size: 14px; color: #4b5a75; margin-top: 7px; }
.proof .src { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--ghost); margin-top: 18px; }

/* ============ steps ============ */
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 20px 24px; }
.step .k { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 30px; font-weight: 700; color: var(--scan); line-height: 1; }
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { font-size: 15px; color: #4b5a75; }

/* ============ pricing ============ */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 18px; align-items: stretch; }
.price { padding: 26px 26px 28px; display: flex; flex-direction: column; }
.price.feature { border-color: var(--scan); }
.price .tier { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--scan); }
.price .amt { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 38px; font-weight: 700; margin: 8px 0 2px; line-height: 1; }
.price .per { font-size: 14px; color: var(--ghost); margin-bottom: 14px; }
.price .what { font-size: 15px; color: #33425e; margin-bottom: 14px; }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.price li { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 14.5px; color: #4b5a75; align-items: start; }
.price li .tick { color: var(--signal); font-weight: 700; }
.price .foot { margin-top: auto; }

/* ============ honesty block (amber, house element) ============ */
.honest { padding: 24px 26px; border-color: var(--warn); }
.honest h3 { color: var(--warn); font-size: 18px; margin-bottom: 8px; }
.honest p { font-size: 15px; color: #4b5a75; margin-bottom: 8px; }
.honest p:last-child { margin-bottom: 0; }

/* ============ faq ============ */
.faq { display: grid; gap: 12px; }
.qa { padding: 18px 22px; }
.qa h3 { font-size: 16.5px; margin-bottom: 5px; }
.qa p { font-size: 15px; color: #4b5a75; }

/* ============ start / form ============ */
.start { padding: 30px 30px 34px; max-width: 620px; margin: 0 auto; }
.start h2 { font-size: 27px; margin-bottom: 8px; }
.start .lede { font-size: 16px; margin-bottom: 20px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px;
  border: 2.5px solid var(--ink); border-radius: 13px; background: #fff; color: var(--ink);
}
.field input::placeholder { color: #9aa8bf; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 15px; margin-top: 12px; min-height: 1.4em; }
.form-msg.ok { color: var(--signal); font-weight: 600; }
.form-msg.err { color: #c0392b; font-weight: 600; }
form.sent .field, form.sent button { opacity: .5; pointer-events: none; }
.or { text-align: center; font-size: 14px; color: var(--ghost); margin: 20px 0 12px; }
.copybtn { font: inherit; font-size: 15px; font-weight: 600; background: none; border: none;
  color: var(--scan); cursor: pointer; text-decoration: underline; padding: 0; }
.copybtn.copied { color: var(--signal); }

/* ============ footer ============ */
footer { padding: 40px 0 60px; text-align: center; font-size: 14px; color: var(--ghost); }
footer a { color: var(--ghost); }

@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
  .hero { padding-top: 44px; }
}
