/* Mellowtask site — tokens from mellowtask_brand_brief.md §3 (locked). */

:root {
  --paper: #f4efe6;
  --plum: #241c2e;
  --block-top: #3a2d49;
  --muted: #7c7385;
  --hairline: #e0d7c8;
  --ginger: #f0a35a;
  --ginger-deep: #d8823c;
  --card: #faf7f1;
  --measure: 62ch;
  --gutter: clamp(20px, 5vw, 40px);
  --shell: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--plum);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(38px, 6.4vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(20px, 2.4vw, 24px); line-height: 1.2; }
p { margin: 0 0 1em; max-width: var(--measure); }
a { color: var(--plum); text-decoration-color: var(--hairline); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ginger); }
:focus-visible { outline: 3px solid var(--ginger); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

/* ---- header ---- */
.masthead {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 26px 0 0;
}
.masthead svg { display: block; width: 176px; height: auto; }
.masthead nav { display: flex; gap: 22px; font-size: 15px; }
.masthead nav a { text-decoration: none; color: var(--muted); }
.masthead nav a:hover { color: var(--plum); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 18px; font-weight: 600;
  padding: 15px 30px; border-radius: 12px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--block-top) 0%, var(--plum) 100%);
  color: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 0 #150f1c, 0 6px 18px rgba(36,28,46,.2);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 3px 0 #150f1c, 0 10px 24px rgba(36,28,46,.24); }
.btn-primary:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 0 #150f1c; }
.btn-ghost { border-color: var(--hairline); color: var(--plum); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 30px 0 18px; }

/* ---- the agreement line (Miller Q2) ---- */
.agreement {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; line-height: 1.9; color: var(--muted);
  margin: 0; max-width: none;
}
.agreement span { white-space: nowrap; }
.agreement span + span::before { content: "·"; margin: 0 10px; color: var(--hairline); }

/* ---- sections ---- */
section { padding: clamp(72px, 9vw, 110px) 0; }
.hero { padding-top: clamp(38px, 5vw, 56px); padding-bottom: clamp(30px, 4vw, 44px); }
.rule { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

.lede { font-size: clamp(19px, 2.1vw, 22px); color: var(--muted); max-width: 54ch; margin-top: 22px; }

/* ---- shots ---- */
figure { margin: 0; }
.shot {
  width: 100%; height: auto; display: block; border-radius: 14px;
  border: 1px solid var(--hairline);
  box-shadow: 0 18px 44px rgba(36,28,46,.13);
}
.shot-phone {
  width: 100%; max-width: 260px; height: auto; display: block;
  border-radius: 24px; border: 1px solid var(--hairline);
  box-shadow: 0 14px 34px rgba(36,28,46,.14);
}
.hero-shot { margin-top: 46px; }
figcaption {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  color: var(--muted); margin-top: 12px; margin-bottom: 4px;
}

/* ---- value list ---- */
.value { display: grid; gap: 26px; margin-top: 40px; grid-template-columns: repeat(2, 1fr); }
.value > div { border-top: 2px solid var(--plum); padding-top: 16px; }
.value h3 { margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 16.5px; margin: 0; }

/* ---- plan: the three blocks (signature element) ---- */
.plan { display: grid; gap: 18px; margin: 40px 0 0; grid-template-columns: repeat(3, 1fr); }
.step {
  background: linear-gradient(180deg, var(--block-top) 0%, var(--plum) 100%);
  color: var(--paper); border-radius: 14px; padding: 24px 22px 26px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 3px 0 #150f1c, 0 10px 26px rgba(36,28,46,.16);
}
.step .n {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600;
  color: var(--ginger); letter-spacing: .1em; display: block; margin-bottom: 10px;
}
.step h3 { color: var(--paper); margin-bottom: 8px; }
.step p { color: #cfc6d6; font-size: 15.5px; margin: 0; max-width: none; }

.ttv {
  font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.01em;
  margin: 38px 0 0; max-width: 34ch; line-height: 1.3;
}
.ttv em { font-style: normal; color: var(--ginger-deep); }

.pair { display: grid; grid-template-columns: 1.55fr 1fr; gap: 30px; align-items: center; margin-top: 40px; }
.pair .shot { max-height: 460px; width: auto; max-width: 100%; object-fit: contain; justify-self: center; }
.pair .shot-phone { max-height: 460px; width: auto; }

/* ---- signup ---- */
.signup {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 18px; padding: clamp(26px, 4vw, 40px);
}
.signup h2 { font-size: clamp(24px, 3vw, 30px); }
.signup p { color: var(--muted); font-size: 16.5px; }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.signup input {
  flex: 1 1 240px; min-width: 0; font-family: inherit; font-size: 17px;
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hairline);
  background: #fff; color: var(--plum);
}
.signup input::placeholder { color: #a79ead; }
.signup input:focus-visible { border-color: var(--ginger); }
.form-note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.form-status { font-size: 15px; margin: 14px 0 0; min-height: 1.4em; font-weight: 600; }

/* ---- closer ---- */
.closer { text-align: center; padding-top: clamp(96px, 12vw, 150px); padding-bottom: clamp(64px, 8vw, 100px); }
.closer h2 { font-size: clamp(32px, 5.2vw, 54px); }
.closer .cta-row { justify-content: center; }
.closer .agreement { text-align: center; }

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 34px 0 52px; font-size: 14.5px; color: var(--muted);
}
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: baseline; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--plum); text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }

/* ---- doc pages ---- */
.doc { padding-top: 48px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 10px; }
.doc h2 { font-size: clamp(21px, 2.6vw, 26px); margin: 44px 0 12px; }
.doc h3 { font-size: 18px; margin: 26px 0 8px; }
.doc p, .doc li { font-size: 17px; color: #3d3348; }
.doc ul { padding-left: 20px; max-width: var(--measure); }
.doc li { margin-bottom: 8px; }
.doc .meta {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--muted);
  margin-bottom: 34px;
}
.doc .callout {
  background: var(--card); border: 1px solid var(--hairline);
  border-left: 3px solid var(--ginger);
  border-radius: 10px; padding: 18px 20px; margin: 0 0 34px; max-width: var(--measure);
}
.doc .callout p:last-child { margin-bottom: 0; }
.doc strong { font-weight: 600; }

/* ---- quick start ---- */
.qs-step { padding: clamp(44px, 6vw, 68px) 0; border-top: 1px solid var(--hairline); }
.qs-step:first-of-type { border-top: 0; }
.qs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.qs-grid.flip > figure { order: -1; }
.qs-phones { display: flex; gap: 16px; }
.qs-phones img { max-width: 190px; }

@media (max-width: 860px) {
  .value, .plan, .pair, .qs-grid { grid-template-columns: 1fr; }
  .qs-grid.flip > figure { order: 0; }
  .pair { gap: 26px; }
  .shot-phone { max-width: 220px; margin: 0 auto; }
  .masthead nav { gap: 16px; font-size: 14px; }
  .masthead svg { width: 148px; }
}


/* ---- contrast bands (added 2026-07-17) ---- */
.band-dark {
  background: linear-gradient(180deg, var(--block-top) 0%, var(--plum) 100%);
  color: var(--paper);
  padding-top: clamp(40px, 5vw, 60px);
  padding-bottom: clamp(40px, 5vw, 60px);
}
.band-dark h2 { color: var(--paper); }
.band-dark p { color: #cfc6d6; }
.band-dark .eyebrow { color: var(--ginger); }

.band-tint {
  background: #ece4d2;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding-top: clamp(40px, 5vw, 56px);
  padding-bottom: clamp(40px, 5vw, 56px);
}
.band-tint .signup { background: #fdfbf6; padding: clamp(22px, 3vw, 30px); }
.band-tint .signup .form-row { margin-top: 16px; }


/* ---- closer cat (two-mark marketing lockup: wordmark opens, cat closes) ---- */
.closer-cat {
  width: clamp(110px, 14vw, 180px); height: auto;
  display: block; margin: 0 auto 26px;
}
