/* Two voices, two type styles: people in a sans, the machine in mono inside [brackets]. */
:root {
  --ink: #17181b;
  --sub: #55585f;
  --faint: #8a8d94;
  --line: #e4e5e8;
  --bg: #ffffff;
  --soft: #f5f6f7;
  --hu: #e2532d;          /* the human: warm */
  --hu-bg: #fdeee8;
  --ll: #0f7b74;          /* the machine: cool */
  --ll-bg: #e8f3f2;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, p, ul, ol, dl, dd { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--hu); outline-offset: 2px; }
section { padding: 80px max(20px, calc((100% - 1180px) / 2)); }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 0; background: var(--ink); color: #fff; font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--hu); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn--full { width: 100%; }
.link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--hu); padding-bottom: 1px; }

.tag { display: inline-block; font: 600 12px/1 var(--mono); padding: 4px 7px; border-radius: 4px; vertical-align: 1px; }
.tag--hu { background: var(--hu-bg); color: var(--hu); font-family: var(--sans); font-weight: 700; }
.tag--ll { background: var(--ll-bg); color: var(--ll); }

/* logo: the machine sits inside the human */
.logo { display: inline-flex; align-items: baseline; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.logo b { font: 700 .86em var(--mono); color: var(--ll); letter-spacing: -.04em; margin: 0 1px; }
.logo--sm { font-size: 17px; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 max(20px, calc((100% - 1180px) / 2)); background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--sub); font-size: 15px; }
.top nav a:hover { color: var(--ink); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 56px; align-items: center; padding-top: 56px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.hu { color: var(--hu); }
.lede { margin: 22px 0 28px; font-size: 19px; color: var(--sub); max-width: 560px; }
.lede b { color: var(--ink); }
.hero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.legend { margin-top: 28px; font-size: 14px; color: var(--faint); }

.thread { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 24px 50px -30px rgba(20, 20, 30, .35); overflow: hidden; }
.thread__head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.thread__head b { font: 700 14px var(--mono); }
.thread__head span { color: var(--faint); font-size: 13px; }
.thread__body { list-style: none; padding: 16px; height: 430px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background: var(--soft); -webkit-mask-image: linear-gradient(transparent 0, #000 56px); mask-image: linear-gradient(transparent 0, #000 56px); }
.msg { max-width: 88%; animation: in .35s ease both; }
.msg p { padding: 10px 13px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; }
.msg small { display: block; font-size: 11.5px; color: var(--faint); margin: 0 4px 3px; }
.msg--you { align-self: flex-end; }
.msg--you p { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg--you small { text-align: right; }
.msg--hu p { background: #fff; border: 1px solid #f3c9bb; border-bottom-left-radius: 4px; }
.msg--hu small { color: var(--hu); font-weight: 600; }
.msg--ll { align-self: stretch; max-width: none; }
.msg--ll p { background: var(--ll-bg); color: #0b4f4a; font: 12.5px/1.5 var(--mono); border-radius: 8px; padding: 8px 11px; }
.msg--ll p::before { content: "[LL]M "; font-weight: 700; color: var(--ll); }
.msg--ok p { background: #fff; border: 1.5px solid var(--hu); font-weight: 600; }
.msg--ok p::before { content: "✓ Checked by a human — "; color: var(--hu); }
.typing { align-self: flex-start; color: var(--faint); font-size: 13px; padding: 4px 6px; }
.thread__foot { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--sub); font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb36b; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* who does what */
.how { background: var(--soft); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 32px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.split__col { padding: 28px 30px; background: #fff; }
.split__col--ll { background: #fbfdfd; border-left: 1px solid var(--line); }
.split__who { font-weight: 700; margin-bottom: 14px; }
.split__col ul { padding: 0; list-style: none; }
.split__col li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); position: relative; }
.split__col--hu li::before { content: "●"; position: absolute; left: 2px; color: var(--hu); font-size: 11px; top: 14px; }
.split__col--ll li { font-family: var(--mono); font-size: 14.5px; }
.split__col--ll li::before { content: "›"; position: absolute; left: 4px; color: var(--ll); font-weight: 700; }
.how__note { margin-top: 22px; color: var(--sub); max-width: 720px; }

/* price calculator */
.price__intro p { color: var(--sub); margin-top: 10px; font-size: 18px; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; margin-top: 34px; align-items: start; }
.picks { display: grid; gap: 10px; }
.pick { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s, background .15s; }
.pick.is-on { border-color: var(--ink); background: #fafafa; }
.pick small { display: block; color: var(--sub); font-size: 14px; }
.pick em { font-style: normal; color: var(--ll); font-weight: 600; }
.pick--x { border-style: dashed; }
.pick--x.is-on { border-style: solid; }
.qty { display: flex; align-items: center; gap: 4px; flex: none; }
.qty button { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font: 600 20px/1 var(--sans); cursor: pointer; color: var(--ink); }
.qty button:hover { border-color: var(--ink); }
.qty output { min-width: 28px; text-align: center; font: 700 18px var(--mono); }
.bill { position: sticky; top: 84px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 22px 22px 24px; box-shadow: 0 18px 40px -26px rgba(20,20,30,.4); font-family: var(--mono); font-size: 14px;
  background-image: radial-gradient(circle at 8px 0, transparent 6px, #fff 6.5px); background-size: 16px 100%; }
.bill__title { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.bill__lines { list-style: none; padding: 10px 0; border-bottom: 1px dashed var(--line); min-height: 44px; }
.bill__lines li { display: flex; justify-content: space-between; padding: 4px 0; }
.bill__lines .empty { color: var(--faint); }
.bill__total { display: flex; align-items: baseline; gap: 6px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.bill__total span { margin-right: auto; font-weight: 700; }
.bill__total b { font: 800 34px/1 var(--sans); letter-spacing: -.02em; }
.bill__inc { margin-top: 14px; color: var(--faint); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.bill__check { list-style: none; padding: 8px 0 18px; }
.bill__check li { padding: 3px 0; }
.bill__check li::before { content: "✓ "; color: var(--ll); font-weight: 700; }
.bill .btn { font-family: var(--sans); }

/* ownership */
.own { background: var(--ink); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.own p { color: #c9cbd0; margin-top: 14px; font-size: 18px; }
.own b { color: #fff; }
.own__tool label { display: block; font-size: 16px; margin-bottom: 12px; }
.own__tool input { width: 100%; accent-color: var(--hu); height: 28px; }
.track { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 10px 0 18px; }
.track span { height: 30px; border-radius: 4px; background: #2c2e33; display: flex; align-items: center; justify-content: center; font: 11px var(--mono); color: #8c8f96; }
.track span.paid { background: var(--hu); color: #fff; }
.track span.own { background: var(--ll); color: #fff; }
.own__res { font-size: 20px; color: #fff; font-weight: 600; min-height: 60px; }
.own__res small { display: block; font-size: 14px; font-weight: 400; color: #a9acb3; margin-top: 4px; }

/* faq */
.faq dl { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); margin-top: 28px; border-top: 1px solid var(--line); }
.faq dt, .faq dd { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 700; padding-right: 28px; }
.faq dd { color: var(--sub); }

/* start */
.start { background: var(--soft); border-top: 1px solid var(--line); }
.start__card { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px; }
.start__card > p { color: var(--sub); margin: 8px 0 22px; }
.start label { display: block; font-weight: 600; font-size: 15px; margin: 14px 0 6px; }
.start input, .start textarea { width: 100%; border: 1px solid #cfd1d6; border-radius: 8px; padding: 11px 12px; font: 16px/1.4 var(--sans); }
.start input:focus, .start textarea:focus { outline: 2px solid var(--hu); border-color: transparent; }
.start__sel { margin: 16px 0 18px; font-size: 14.5px; color: var(--sub); }
.start__sel b { color: var(--ink); }
.start__fine { margin-top: 10px; font-size: 13px; color: var(--faint); text-align: center; }

.foot { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; padding: 24px max(20px, calc((100% - 1180px) / 2)); border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.foot .logo { color: var(--ink); }

@media (max-width: 960px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero, .own, .calc { grid-template-columns: 1fr; }
  .bill { position: static; }
  .split { grid-template-columns: 1fr; }
  .split__col--ll { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  section { padding: 56px 16px; }
  .top { padding: 0 16px; }
  .hero { padding-top: 30px; gap: 36px; }
  .hero h1 { font-size: 38px; }
  .lede { font-size: 17px; margin: 16px 0 22px; }
  .hero__cta .btn { width: 100%; }
  .thread__body { height: 380px; }
  .split__col { padding: 22px 18px; }
  .pick { padding: 14px; }
  .faq dl { grid-template-columns: 1fr; }
  .faq dt { border-bottom: 0; padding-bottom: 4px; }
  .faq dd { padding-top: 0; }
  .start__card { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* the no frustration timeline */
.tl { background: var(--soft); border-block: 1px solid var(--line); }
.tl__head p { color: var(--sub); margin-top: 10px; max-width: 760px; font-size: 18px; }
.tl__bar { display: flex; align-items: center; gap: 14px; margin: 30px 0 6px; }
.tl__play { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 13px; color: var(--ink); }
.tl__play:hover { border-color: var(--ink); }
.tl__months { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; flex: 1; }
.tl__months button { width: 100%; height: 34px; border: 0; border-radius: 6px; background: #e6e7ea; color: var(--faint); font: 600 12px var(--mono); cursor: pointer; transition: background .2s, color .2s; }
.tl__months button.done { background: #cfd2d8; color: var(--sub); }
.tl__months button.now { background: var(--ink); color: #fff; }
.tl__now { font-size: 15px; color: var(--sub); margin: 8px 0 18px; }
.tl__now b { color: var(--ink); font-size: 18px; }
.tl__sum { display: none; }
.tl__lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lane { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 18px; display: flex; flex-direction: column; min-height: 520px; transition: box-shadow .3s; }
.lane--diy { border-color: #f0d2cc; }
.lane--diy.is-hit { box-shadow: 0 0 0 3px #f6c7bd; }
.lane__who { font-weight: 700; font-size: 15px; }
.tag--diy { background: #fbe4df; color: #b3261e; }
.lane__money { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 12px; }
.lane__money b { font: 800 44px/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lane__money small { color: var(--faint); font-size: 14px; }
.lane--diy .lane__money b { color: #b3261e; }
.meter { height: 10px; border-radius: 5px; background: #eef0f2; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--ll); border-radius: 5px; transition: width .6s ease, background .6s; }
.meter--diy span { background: linear-gradient(90deg, #f2b84b, #e2532d 60%, #b3261e); }
.lane__mood { font-size: 14px; color: var(--sub); margin: 8px 0 14px; font-weight: 600; }
.lane__log { list-style: none; padding: 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; flex: 1; overflow: hidden; max-height: 330px; }
.lane__log li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: baseline; padding: 9px 10px; border-radius: 9px; background: var(--soft); font-size: 14.5px; animation: in .35s ease both; }
.lane__log li .m { font: 600 12px var(--mono); color: var(--faint); }
.lane__log li .c { font: 600 13px var(--mono); color: var(--faint); white-space: nowrap; }
.lane__log li.bad { background: #fdf0ed; }
.lane__log li.bad .c { color: #b3261e; }
.lane__log li.good .c { color: var(--ll); }
.lane__log li:not(:last-child) { opacity: .62; }
.tl__fine { margin-top: 16px; font-size: 13px; color: var(--faint); max-width: 860px; }
@media (max-width: 860px) {
  .tl__lanes { grid-template-columns: 1fr; }
  .lane { min-height: 0; }
  .lane__log { max-height: 220px; }
}
@media (max-width: 600px) {
  .tl__months { gap: 2px; }
  .tl__months button { height: 30px; font-size: 10.5px; border-radius: 4px; }
  .lane__money b { font-size: 36px; }
  .tl__now { position: sticky; top: 64px; z-index: 2; background: var(--soft); padding: 8px 0; display: flex; justify-content: space-between; align-items: baseline; }
  .tl__sum { display: inline; font: 600 13px var(--mono); color: #b3261e; }
  .lane__log li { grid-template-columns: 28px 1fr; }
  .lane__log li .c { grid-column: 2; }
}
