/* site.css - workpane.app. One warm ground, one blue accent, Figtree.
   Light follows the device; the footer button overrides and is remembered. */

@font-face { font-family: "Figtree"; src: url("fonts/figtree-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --bg: #F6F1EA; --surface: #FFFDF9; --surface-2: #F0E9DF;
  --border: #E8DFD3; --border-strong: #D5C9BB;
  --text-1: #2B2622; --text-2: #6E635A; --text-3: #9A8F85;
  --accent: #2F5FB3; --accent-hover: #27509A; --accent-soft: #E8EFFA; --on-accent: #FFFFFF;
  --st-done: #5C7A4E; --st-done-soft: #E6EEDF;
  --st-overdue: #A63A2A; --st-overdue-soft: #F6E1DC;
  --shadow-card: 0 1px 2px rgba(43,38,34,.06);
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #1C1916; --surface: #262220; --surface-2: #2F2A26;
  --border: #3A332E; --border-strong: #4A423B;
  --text-1: #F1EBE4; --text-2: #B8ADA3; --text-3: #7F756C;
  --accent: #7FA8D6; --accent-hover: #96B9E2; --accent-soft: #1E2A3D; --on-accent: #12161C;
  --st-done: #8FB07E; --st-done-soft: #243020;
  --st-overdue: #E0705E; --st-overdue-soft: #3F2320;
  --shadow-card: 0 1px 2px rgba(0,0,0,.25);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C1916; --surface: #262220; --surface-2: #2F2A26;
    --border: #3A332E; --border-strong: #4A423B;
    --text-1: #F1EBE4; --text-2: #B8ADA3; --text-3: #7F756C;
    --accent: #7FA8D6; --accent-hover: #96B9E2; --accent-soft: #1E2A3D; --on-accent: #12161C;
    --st-done: #8FB07E; --st-done-soft: #243020;
    --st-overdue: #E0705E; --st-overdue-soft: #3F2320;
    --shadow-card: 0 1px 2px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text-1);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { border-bottom: 1px solid var(--border); background: var(--bg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--text-1); }
.brand:hover { text-decoration: none; color: var(--text-1); }
.logo { width: 28px; height: 28px; border-radius: 7px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 600; font-size: 15px; flex: none; }
.nav { display: flex; align-items: center; gap: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 8px;
  font: inherit; font-size: 16px; font-weight: 500; line-height: 1.2; cursor: pointer;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-1);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); text-decoration: none; color: var(--text-1); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn-quiet { border-color: transparent; background: transparent; color: var(--text-2); }
.btn-quiet:hover { color: var(--text-1); background: var(--surface-2); }
.btn[disabled] { opacity: .6; cursor: default; }

/* hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; gap: 20px; }
.hero h1 { font-size: 40px; max-width: 760px; }
.hero .lede { font-size: 19px; color: var(--text-2); max-width: 600px; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 8px; }
.hero .cta .note { color: var(--text-2); font-size: 15px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st-done); }

/* product shots */
.shots { padding: 8px 0 48px; }
.shots .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; align-items: start; }
.shot { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-card); overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; font-size: 14px; color: var(--text-2); border-top: 1px solid var(--border); }
.shot.phone { border-radius: 18px; }
.shot.phone img { aspect-ratio: 375 / 760; object-fit: cover; object-position: top; }

/* sections */
.section { padding: 40px 0; border-top: 1px solid var(--border); }
.section h2 { font-size: 26px; margin-bottom: 8px; }
.section .sub { color: var(--text-2); max-width: 640px; margin-bottom: 24px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-card); padding: 20px; display: grid; gap: 10px; align-content: start; }
.card .ic { width: 36px; height: 36px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.card .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 17px; }
.card p { color: var(--text-2); font-size: 15px; }
.who { display: flex; flex-wrap: wrap; gap: 8px; }
.who span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-1); font-size: 15px; }

/* the form */
.ask .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ask .aside { display: grid; gap: 12px; }
.ask .aside p { color: var(--text-2); }
.ask ul { margin: 0; padding-left: 18px; color: var(--text-2); display: grid; gap: 6px; }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-card); padding: 24px; display: grid; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px;
  background: var(--surface); color: var(--text-1);
  border: 1px solid var(--border); border-radius: 8px;
  font: inherit; font-size: 16px; line-height: 1.3;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239A8F85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.field .opt { color: var(--text-2); font-weight: 400; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.check:empty { display: none; }                 /* no site key, no widget, no gap */
.check:not(:empty) { min-height: 65px; }        /* Turnstile's flexible widget: no layout jump */
.fine { font-size: 14px; color: var(--text-2); }
.msg { border-radius: 8px; padding: 12px 14px; font-size: 15px; }
.msg.ok { background: var(--st-done-soft); color: var(--st-done); }
.msg.err { background: var(--st-overdue-soft); color: var(--st-overdue); }
.sent { display: grid; gap: 10px; }
.sent h3 { font-size: 20px; }
.sent p { color: var(--text-2); }

/* footer */
.foot { border-top: 1px solid var(--border); padding: 24px 0 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; color: var(--text-2); font-size: 14px; }
.foot .links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.theme { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid transparent; background: none; color: var(--text-2); font: inherit; font-size: 14px; cursor: pointer; }
.theme:hover { background: var(--surface-2); color: var(--text-1); }
.theme svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* thanks page */
.thanks { min-height: 70vh; display: grid; place-items: center; padding: 40px 16px; }
.thanks .card { max-width: 480px; }

@media (max-width: 880px) {
  .shots .wrap { grid-template-columns: 1fr; }
  .shot.phone { max-width: 240px; }
  .ask .wrap { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .hero { padding: 40px 0 28px; }
  .hero h1 { font-size: 30px; }
  .hero .lede { font-size: 17px; }
  .grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .section h2 { font-size: 22px; }
  .form { padding: 18px; }
  .nav .btn-quiet[href^="https://app"] { display: none; }   /* phones keep Pricing, drop Sign in (it is in the footer) */
}

/* pricing page */
.price-table { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; margin-bottom: 12px; }
.pr-head, .pr-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 110px; gap: 12px; align-items: center; padding: 14px 16px; }
.pr-head { background: var(--surface-2); color: var(--text-2); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pr-row { border-top: 1px solid var(--border); }
.pr-row span { display: grid; gap: 2px; }
.pr-row b { font-weight: 600; }
.pr-row small { color: var(--text-2); font-size: 14px; }
.pr-row span:nth-child(3) { color: var(--text-2); }
.est-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.est-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.est-out > div { display: grid; gap: 2px; padding: 14px; border-radius: 8px; background: var(--surface-2); }
.est-label { font-size: 13px; color: var(--text-2); font-weight: 500; }
.est-num { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.est-sub { font-size: 14px; color: var(--text-2); }
.foot .links a[aria-current="page"] { color: var(--text-1); }
@media (max-width: 880px) { .est-wrap { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 600px) {
  .pr-head, .pr-row { grid-template-columns: minmax(0, 1fr) 96px 72px; gap: 8px; padding: 12px; }
  .pr-row small { font-size: 13px; }
  .est-out { grid-template-columns: 1fr; }
}

/* legal pages */
.legal { padding: 40px 0 56px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 34px; margin-bottom: 6px; }
.legal-meta { color: var(--text-2); font-size: 14px; margin-bottom: 20px; }
.legal-lead { font-size: 17px; color: var(--text-1); margin-bottom: 14px; }
.legal-toc { display: grid; gap: 4px; padding: 14px 16px; margin: 20px 0 28px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-size: 15px; }
.legal h2 { font-size: 20px; margin: 30px 0 8px; }
.legal p { margin-bottom: 12px; color: var(--text-1); }
.legal p strong { font-weight: 600; }
@media (max-width: 600px) { .legal { padding: 28px 0 40px; } .legal h1 { font-size: 28px; } .legal h2 { font-size: 18px; } }
