/* WLF — Work. Life. Flow.  Stationery palette: ballpoint ink, legal-pad yellow, ruled blue, red pen. */
@font-face { font-family: 'Archivo Black'; src: url('/fonts/archivo-black.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Bitter'; src: url('/fonts/bitter.woff') format('woff'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bitter'; src: url('/fonts/bitter-italic.woff') format('woff'); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --ink: #15213f; --ink-2: #2c3a5e; --ink-soft: #4a5672;
  --pad: #f7dc6f; --pad-deep: #eccb4b; --rule: #b3c7e6; --pen: #c73a2e;
  --paper: #ffffff; --mist: #eef2f8; --line: #d7deea;
  --display: 'Archivo Black', 'Arial Black', 'Helvetica Neue', sans-serif;
  --body: 'Bitter', Georgia, 'Times New Roman', serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; line-height: 1.02; }
h1 { font-size: clamp(44px, 7.4vw, 92px); }
h2 { font-size: clamp(32px, 4.4vw, 54px); }
h3 { font-size: 21px; font-weight: 700; line-height: 1.25; }
a { color: inherit; }
p a, li a, .text-link { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--pad-deep); }
p a:hover, li a:hover, .text-link:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.small { font-size: 15px; } .muted { color: var(--ink-soft); }
.measure { max-width: 38em; }

/* buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; background: var(--ink); color: #fff; font: 700 17px/1 var(--body); text-decoration: none; border: 2px solid var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.button:hover { background: var(--ink-2); }
.button.quiet { background: transparent; color: var(--ink); }
.button.quiet:hover { background: var(--mist); }
.button.on-dark { background: var(--pad); color: var(--ink); border-color: var(--pad); }
.button.on-dark:hover { background: #fbe796; }
.button[disabled] { opacity: .5; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.wordmark b { font: 400 30px/1 var(--display); letter-spacing: -.04em; position: relative; }
.wordmark b::after { content: ''; position: absolute; left: -2px; right: -3px; bottom: 3px; height: 9px; background: var(--pad); z-index: -1; border-radius: 2px; }
.wordmark span { font-size: 14px; color: var(--ink-soft); font-style: italic; }
.site-nav { display: flex; gap: 26px; margin-left: auto; font-size: 16px; }
.site-nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: var(--pad-deep); }
.site-head .button { min-height: 44px; padding: 0 18px; font-size: 15.5px; }
.menu-toggle { display: none; }

/* sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tint { background: var(--mist); }
.section.dark { background: var(--ink); color: #fff; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 44em; }
.section-head p { font-size: 19px; color: var(--ink-2); }
.dark .section-head p { color: #c9d1e3; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(64px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-copy { display: grid; gap: 28px; padding-top: clamp(4px, 2vw, 28px); }
.hero-copy .who { font-size: 16px; color: var(--ink-soft); }

/* the legal pad (signature element) */
.pad { position: relative; background: var(--pad); border-radius: 4px 4px 10px 10px; box-shadow: 0 1px 0 #d9b93c, 0 22px 50px -18px rgba(21, 33, 63, .45); padding: 0 0 22px; transform: rotate(.6deg); }
.pad::before { content: ''; display: block; height: 30px; background: var(--ink); border-radius: 4px 4px 0 0; box-shadow: inset 0 -6px 0 rgba(255,255,255,.08); }
.pad-sheet { background-image: linear-gradient(to right, transparent 54px, rgba(199,58,46,.55) 54px, rgba(199,58,46,.55) 56px, transparent 56px); padding: 6px 24px 0 72px; }
.pad h2 { font: italic 600 24px/1.25 var(--body); letter-spacing: 0; min-height: 52px; padding: 10px 0 8px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; border-bottom: 1px solid var(--rule); }
.pad h2 small { font: italic 500 14px var(--body); color: var(--ink-soft); white-space: nowrap; padding-bottom: 3px; }
.chores { list-style: none; padding: 0; }
.chore { display: grid; grid-template-columns: 30px 1fr 72px; align-items: center; min-height: 46px; padding: 6px 0; gap: 8px; border-bottom: 1px solid var(--rule); }
.chore input[type=checkbox] { appearance: none; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 4px; margin: 0 0 0 -50px; background: rgba(255,255,255,.35); cursor: pointer; position: relative; grid-column: 1; }
.chore input[type=checkbox]:checked { background: var(--ink); }
.chore input[type=checkbox]:checked::after { content: ''; position: absolute; left: 6px; top: 1px; width: 6px; height: 12px; border: solid var(--pad); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.chore label { font: italic 500 19px/1.2 var(--body); cursor: pointer; position: relative; justify-self: start; padding: 2px 0; margin-left: -28px; }
.chore label { text-decoration: line-through; text-decoration-color: transparent; text-decoration-thickness: 3px; transition: text-decoration-color .3s; }
.chore.on label { text-decoration-color: var(--pen); }
.chore .mins { display: flex; align-items: baseline; gap: 4px; justify-self: end; }
.chore .mins input { width: 44px; border: 0; border-bottom: 2px solid rgba(21,33,63,.35); background: transparent; font: 600 18px var(--body); color: var(--ink); text-align: right; padding: 0; -moz-appearance: textfield; }
.chore .mins input::-webkit-inner-spin-button { -webkit-appearance: none; }
.chore .mins span { font-size: 13px; color: var(--ink-soft); }
.chore.custom label { margin-left: -28px; display: block; width: 100%; }
.chore.custom input[type=text] { width: 100%; border: 0; border-bottom: 2px dashed rgba(21,33,63,.35); background: transparent; font: italic 500 19px var(--body); color: var(--ink); padding: 0; }
.chore.custom input[type=text]::placeholder { color: rgba(21,33,63,.5); }
.tally { margin: 18px 24px 0 24px; padding: 18px 20px; background: var(--paper); border-radius: 8px; display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: end; box-shadow: 0 1px 0 rgba(21,33,63,.08); }
.tally-year { font: 400 clamp(44px, 5vw, 58px)/.95 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tally-year small { display: block; font: 600 16px/1.3 var(--body); letter-spacing: 0; margin-top: 6px; }
.tally-note { grid-column: 1 / -1; font-size: 15.5px; color: var(--ink-2); }
.tally .button { grid-row: 1; grid-column: 2; align-self: center; }
.tally.empty .tally-year { color: rgba(21,33,63,.3); }

/* ---------- examples (before/after rows) ---------- */
.example { display: grid; grid-template-columns: 220px 1fr 1fr; gap: clamp(20px, 3vw, 44px); padding: 36px 0; border-top: 2px solid var(--ink); align-items: start; }
.example:last-child { border-bottom: 2px solid var(--ink); }
.example-who h3 { font: 400 24px/1.1 var(--display); letter-spacing: -.01em; }
.example-who p { font-size: 15px; color: var(--ink-soft); margin-top: 6px; }
.before, .after { font-size: 17.5px; }
.before { position: relative; padding: 16px 18px 16px 22px; background: var(--pad); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 29px, rgba(110,140,190,.45) 29px, rgba(110,140,190,.45) 30px); background-position: 0 12px; border-radius: 4px; line-height: 30px; font-style: italic; }
.before s { text-decoration-color: var(--pen); text-decoration-thickness: 2px; }
.before b, .after b { display: block; font: 700 13px/1.4 var(--body); font-style: normal; letter-spacing: .02em; margin-bottom: 6px; color: var(--ink-soft); }
.after { display: grid; gap: 14px; padding-top: 2px; }
.after b { color: var(--ink); }
.after .text-link { font-weight: 700; justify-self: start; }

/* ---------- promises ---------- */
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 64px; }
.promise h3 { font: 400 26px/1.12 var(--display); letter-spacing: -.01em; margin-bottom: 10px; }
.promise p { color: #c9d1e3; max-width: 30em; }
.promise::before { content: ''; display: block; width: 44px; height: 6px; background: var(--pad); margin-bottom: 18px; border-radius: 3px; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(step); font: 400 64px/1 var(--display); color: var(--ink); -webkit-text-stroke: 0; }
.steps li:not(:last-child)::after { content: ''; display: none; }
.steps h3 { font-size: 21px; }
.steps p { font-size: 16.5px; color: var(--ink-2); }

/* ---------- price list ---------- */
.prices { width: 100%; border-collapse: collapse; }
.prices th, .prices td { text-align: left; vertical-align: top; padding: 24px 16px 24px 0; border-top: 1px solid var(--line); }
.prices tr:first-child th, .prices tr:first-child td { border-top: 2px solid var(--ink); }
.prices tr:last-child th, .prices tr:last-child td { border-bottom: 2px solid var(--ink); }
.prices th { width: 22%; font: 400 24px/1.15 var(--display); letter-spacing: -.01em; }
.prices td.scope { color: var(--ink-2); font-size: 17px; max-width: 34em; }
.prices td.price { text-align: right; white-space: nowrap; font: 400 30px/1.1 var(--display); letter-spacing: -.02em; padding-right: 0; }
.prices td.price small { display: block; font: italic 500 14px var(--body); letter-spacing: 0; color: var(--ink-soft); }
.prices tr.soon th, .prices tr.soon td.price { color: var(--ink-soft); }
.stamp { display: inline-block; font: 700 14px/1 var(--body); letter-spacing: .04em; color: var(--pen); border: 2px solid var(--pen); border-radius: 6px; padding: 6px 10px; transform: rotate(-3deg); }
.price-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; font-size: 16px; color: var(--ink-2); }
.price-notes h3 { font-size: 18px; margin-bottom: 6px; color: var(--ink); }

/* ---------- faq ---------- */
.faq { max-width: 52em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 400 30px var(--display); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 40em; }

/* ---------- closing call ---------- */
.closer { text-align: left; }
.closer h2 { font-size: clamp(40px, 6vw, 76px); max-width: 12em; color: var(--pad); }
.closer p { font-size: 20px; color: #c9d1e3; max-width: 32em; margin: 22px 0 32px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #c9d1e3; border-top: 1px solid #2c3a5e; padding: 34px 0 40px; font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.site-foot .wordmark b { color: #fff; font-size: 24px; } .site-foot .wordmark b::after { background: #3a4a72; }
.site-foot nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.site-foot a { color: #fff; text-decoration-color: #5a6a92; }

/* ---------- inner pages ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); max-width: 14em; }
.page-hero .lead { margin-top: 22px; }
.crumb { font-size: 15px; margin-bottom: 18px; color: var(--ink-soft); }
.crumb a { color: var(--ink-soft); }
.prose { max-width: 42em; display: grid; gap: 18px; }
.prose h2 { font-size: 30px; margin-top: 26px; }
.note { font-size: 15px; color: var(--ink-soft); }

/* forms */
.form { display: grid; gap: 22px; max-width: 44em; }
.field { display: grid; gap: 8px; }
.field > span, .form legend { font-weight: 700; font-size: 17px; }
.field > span em { font-style: normal; font-weight: 400; color: var(--ink-soft); font-size: 15px; }
.field small { color: var(--ink-soft); font-size: 15px; }
input[type=text], input[type=email], input[type=number], input:not([type]), select, textarea { font: 400 17px/1.45 var(--body); color: var(--ink); background: #fff; border: 2px solid #c3cddf; border-radius: 8px; padding: 12px 14px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(247, 220, 111, .7); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-row label { display: inline-flex; align-items: center; gap: 8px; border: 2px solid #c3cddf; border-radius: 99px; padding: 8px 16px; cursor: pointer; font-size: 16.5px; }
.choice-row input { accent-color: var(--ink); }
.choice-row label:has(input:checked) { border-color: var(--ink); background: var(--pad); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex-shrink: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.from-pad { background: var(--pad); border-radius: 8px; padding: 14px 18px; font-size: 16px; }
.form-status { font-weight: 600; } .form-status.error { color: var(--pen); }
.success { background: var(--mist); border-left: 6px solid var(--ink); padding: 28px; display: grid; gap: 14px; max-width: 44em; outline: none; }
.success h2 { font-size: 36px; }

/* responsive */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .pad { transform: none; max-width: 560px; }
  .example { grid-template-columns: 1fr 1fr; } .example-who { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-head.open .site-nav { display: flex; }
  .menu-toggle { display: inline-flex; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: 8px; padding: 8px 12px; font: 700 15px var(--body); color: var(--ink); cursor: pointer; }
  .site-head .button { display: none; }
  .wordmark span { display: none; }
  .pad-sheet { padding: 4px 14px 0 54px; background-image: linear-gradient(to right, transparent 40px, rgba(199,58,46,.55) 40px, rgba(199,58,46,.55) 42px, transparent 42px); }
  .pad h2 { font-size: 20px; }
  .chore { grid-template-columns: 24px 1fr 58px; }
  .chore .mins input { width: 38px; }
  .chore input[type=checkbox] { margin-left: -40px; }
  .chore label, .chore.custom label { font-size: 16.5px; margin-left: -22px; line-height: 1.3; }
  .chore.custom input[type=text] { font-size: 16.5px; }
  .tally { margin: 16px 14px 0; grid-template-columns: 1fr; }
  .tally .button { grid-row: auto; grid-column: 1; }
  .example { grid-template-columns: 1fr; padding: 28px 0; }
  .promises { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .prices, .prices tbody, .prices tr, .prices th, .prices td { display: block; width: 100%; }
  .prices tr { border-top: 1px solid var(--line); padding: 18px 0; }
  .prices tr:first-child { border-top: 2px solid var(--ink); } .prices tr:last-child { border-bottom: 2px solid var(--ink); }
  .prices th, .prices td, .prices tr:first-child th, .prices tr:first-child td, .prices tr:last-child th, .prices tr:last-child td { border: 0; padding: 4px 0; text-align: left !important; }
  .price-notes { grid-template-columns: 1fr; }
  .site-foot nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
