/* Thinkvize: colors and sizes live here. Orange is the logo color (#f47c48). */
:root {
  --orange: #f47c48;
  --black: #000;
  --text: #1f1f1f;
  --text-2: #4a4a4a;
  --muted: #6a6a6a;
  --line: #e6e6e6;
  --soft: #f6f6f5;
  --white: #fff;
  --wrap: 1200px;
  --gutter: 28px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--black); text-wrap: balance; }

:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 4px; }
.site-footer :focus-visible { outline-color: var(--white); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 12px; }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.lede { font-size: 1.3rem; line-height: 1.55; color: var(--text-2); max-width: 32em; }
.small { font-size: 0.95rem; color: var(--muted); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-block;
  font: inherit; font-weight: 500; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none;
  padding: 0.95em 1.6em;
  border: 0; border-radius: 999px;
  background: var(--black); color: var(--white);
  cursor: pointer;
}
.btn:hover { background: #333; }
.link-plain {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.link-plain:hover { text-decoration-color: currentColor; }

/* ---------- Header with tabs ---------- */
.site-header { padding: 22px 0; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 36px; }
.brand { display: block; margin-right: auto; }
.brand img { width: 230px; }
.tabs { display: flex; align-items: center; gap: 32px; }
.tabs a {
  text-decoration: none; font-size: 1rem; color: var(--text-2);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.tabs a:hover { color: var(--black); }
.tabs a[aria-current="page"] { color: var(--black); border-bottom-color: var(--orange); }
.header-cta { padding: 0.7em 1.25em; font-size: 0.98rem; }

/* Inner page title */
.page-head { padding: 72px 0 72px; }
.page-head .display { font-size: clamp(2.5rem, 5.4vw, 4.2rem); margin-bottom: 24px; }
.page-head .lede { margin: 0; }
.page-head .about { margin-top: 0; }
.page-head .about .lede { margin-bottom: 1em; }
.section.flush-top { padding-top: 8px; }
.more { margin: 40px 0 0; }
.contact-title { font-size: clamp(2.3rem, 4.4vw, 3.6rem); margin-bottom: 22px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 120px; }
.hero-title { margin-bottom: 48px; }
.hero-title span { display: inline-block; text-wrap: balance; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
.hero .lede { margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.hero .small { margin-top: 28px; max-width: 30em; }

/* The example morning brief */
.brief {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 28px 22px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.22);
}
.brief-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; }
.brief-title { margin: 0; font-weight: 600; font-size: 1.2rem; color: var(--black); }
.brief-time { margin: 0; font-size: 0.92rem; color: var(--muted); }
.brief-list { list-style: none; margin: 0; padding: 0; }
.brief-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.brief-list p { margin: 0; }
.item-what { font-weight: 500; line-height: 1.3; color: var(--black); }
.item-done { font-size: 0.93rem; color: var(--muted); line-height: 1.35; margin-top: 3px !important; }
.send {
  flex: none;
  font: inherit; font-size: 0.92rem; font-weight: 500;
  padding: 0.45em 1.1em;
  border: 0; border-radius: 999px;
  background: var(--orange); color: var(--black);
  cursor: pointer;
  min-width: 5.4em;
}
.send:hover { background: #e9692f; }
.send[disabled] { background: transparent; color: var(--muted); cursor: default; }
.status { flex: none; font-size: 0.92rem; color: var(--muted); min-width: 5.4em; text-align: center; }
.brief figcaption { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-head { max-width: 44rem; margin-bottom: 56px; }
.section-head .h2 { margin-bottom: 18px; }
.section-head p { color: var(--text-2); margin: 0; font-size: 1.15rem; }
.band { background: var(--soft); }

/* What I set up */
.ledger table { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 26px 28px 26px 0; }
.ledger thead th {
  font-size: 0.95rem; font-weight: 500; color: var(--muted);
  padding-top: 0; padding-bottom: 14px;
  border-bottom: 1px solid var(--black);
}
.ledger tbody tr { border-bottom: 1px solid var(--line); }
.ledger tbody th { width: 30%; font-weight: 400; }
.ledger tbody th strong { display: block; font-weight: 600; font-size: 1.2rem; color: var(--black); margin-bottom: 4px; letter-spacing: -0.01em; }
.ledger tbody th span { color: var(--muted); font-size: 1rem; line-height: 1.45; display: block; }
.ledger td { width: 44%; color: var(--text-2); }
.ledger td + td { width: 26%; font-weight: 500; color: var(--black); padding-right: 0; }
.tools-line { margin-top: 28px; }

/* How it works: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block;
  font-size: 3.4rem; font-weight: 300; line-height: 1; letter-spacing: -0.04em;
  color: var(--orange);
  margin-bottom: 20px;
}
.steps .h3 { margin-bottom: 4px; }
.steps .when { font-size: 0.95rem; color: var(--muted); margin-bottom: 12px; }
.steps p:last-child { margin: 0; color: var(--text-2); font-size: 1.05rem; }

/* Rules */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.rules { margin: 0; }
.rules div { display: grid; grid-template-columns: 13em 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.rules div:last-child { border-bottom: 1px solid var(--line); }
.rules dt { font-weight: 600; color: var(--black); }
.rules dd { margin: 0; color: var(--text-2); }

/* Who it's for */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.who > div { border-top: 1px solid var(--black); padding-top: 22px; }
.who .h3 { margin-bottom: 10px; }
.who p { color: var(--text-2); }

/* About */
.about { max-width: 46rem; }
.about .h2 { margin-bottom: 24px; }
.about p { font-size: 1.2rem; color: var(--text-2); }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-weight: 500; font-size: 1.2rem; line-height: 1.35; color: var(--black);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; line-height: 1; flex: none; color: var(--orange); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 24px; color: var(--text-2); max-width: 42em; }

/* Orange block: book a call */
.accent { background: var(--orange); color: var(--black); }
.contact .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.contact .h2 { margin-bottom: 22px; }
.contact p { color: var(--text); font-size: 1.15rem; }
.contact a { color: var(--black); }
.form {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 0.98rem; color: var(--black); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  padding: 0.75em 0.9em;
  border: 1px solid #cfcfcf; border-radius: 10px;
  background: var(--white);
}
.field textarea { min-height: 8em; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--black); outline-offset: 0; border-color: var(--black); }
.form .btn { justify-self: start; }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 500; min-height: 1.6em; }
.form-status.ok { color: #1f6b3f; }
.form-status.err { color: #b3261e; }
.hp { position: absolute; left: -9999px; }

.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band .h2 { max-width: 15em; }

/* Footer */
.site-footer { background: var(--black); color: #bdbdbd; padding: 56px 0; font-size: 0.98rem; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.site-footer img { width: 170px; margin-bottom: 14px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* 404 */
.notfound { padding: 96px 0 160px; }
.notfound .display { margin-bottom: 24px; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1020px) {
  .hero-grid, .split, .contact .wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 32px; }
  .brief { max-width: 580px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 48px 36px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  body { font-size: 1.0625rem; }
  .brand img { width: 170px; }
  .site-header { padding: 16px 0 0; }
  .site-header .wrap { gap: 14px 16px; }
  .header-cta { order: 2; }
  .tabs {
    order: 3; width: 100%; gap: 22px;
    overflow-x: auto; scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { white-space: nowrap; font-size: 0.98rem; padding: 8px 0 12px; }
  .page-head { padding: 48px 0 56px; }
  .section { padding: 80px 0; }
  .hero { padding-bottom: 88px; }
  .brief { padding: 20px 18px 16px; border-radius: 16px; }
  .who { grid-template-columns: 1fr; gap: 36px; }
  .rules div { grid-template-columns: 1fr; gap: 4px; }
  .form { grid-template-columns: 1fr; padding: 24px 20px; }
  /* The chore table becomes stacked rows */
  .ledger thead { position: absolute; left: -9999px; }
  .ledger table, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; }
  .ledger tbody th, .ledger tbody td, .ledger tbody td + td { width: auto; padding: 0; }
  .ledger tbody tr { padding: 24px 0; }
  .ledger tbody tr:first-child { border-top: 1px solid var(--black); }
  .ledger td { margin-top: 14px; }
  .ledger td::before { content: attr(data-label); display: block; font-size: 0.88rem; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .header-cta { padding: 0.6em 1em; font-size: 0.92rem; }
  .brief-list li { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
