/* TimeShelf landing page. Same workshop palette as toolpathviewer.com so the two
   products read as one maker. Barlow Condensed headings, IBM Plex Sans body. */
:root {
  --bg: #eef1f4; --surface: #ffffff; --surface-2: #e4e9ee; --line: #d3dae3;
  --ink: #1b222c; --ink-2: #414c5a; --muted: #66727f;
  --cut: #d95f14; --cut-hover: #bf5210; --cut-ink: #ffffff;
  --steel: #2a5d8f; --steel-soft: #e3eef8;
  --stage: #0b0e14; --stage-line: #232c39; --stage-text: #dce3ee; --stage-muted: #8a97ab;
  --ok: #3cb371;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --maxw: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--body); }
a { color: var(--steel); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--cut); outline-offset: 2px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 68px); font-weight: 700; letter-spacing: .005em; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
h3 { font-size: 24px; font-weight: 600; }
p { margin: 0 0 14px; max-width: 64ch; }
.lede { font-size: 20px; color: var(--ink-2); }
.eyebrow { font: 600 15px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--cut); margin: 0 0 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 22px var(--display); letter-spacing: .02em; }
.brand svg { width: 34px; height: 26px; }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.top nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.top nav a:hover { color: var(--cut); }

/* hero */
section.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; padding: 40px 20px 56px; }
@media (max-width: 880px) { .hero { grid-template-columns: minmax(0, 1fr); padding-top: 20px; } }
.hero p { margin-top: 18px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 6px; font-weight: 600; text-decoration: none; font-size: 16px; border: 1px solid transparent; cursor: pointer; font-family: var(--body); }
.btn.primary { background: var(--cut); color: var(--cut-ink); }
.btn.primary:hover { background: var(--cut-hover); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink-2); }
.small { font-size: 14px; color: var(--muted); }

/* timeline mock-up */
.shot { background: var(--stage); border: 1px solid var(--stage-line); border-radius: 8px; padding: 6px; box-shadow: 0 18px 50px rgba(27,34,44,.18); margin: 0; color: var(--stage-text); }
.shot figcaption { color: var(--stage-muted); font-size: 13px; padding: 8px 6px 4px; }
.tl-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font: 13px var(--mono); color: var(--stage-muted); border-bottom: 1px solid var(--stage-line); }
.tl-badge { background: var(--steel); color: #fff; border-radius: 999px; padding: 2px 10px; font: 600 12px var(--body); }
.tl { list-style: none; margin: 0; padding: 6px 0; }
.tl li { display: grid; grid-template-columns: 120px 1fr 60px 90px; gap: 12px; align-items: center; padding: 10px 14px; font-size: 14px; border-left: 3px solid transparent; }
.tl li time { color: var(--stage-muted); font-family: var(--mono); font-size: 12.5px; }
.tl li span { color: var(--stage-muted); text-align: right; }
.tl li em { font-style: normal; color: var(--stage-muted); font-size: 12px; text-align: right; }
.tl li.pick { background: rgba(217,95,20,.16); border-left-color: var(--cut); }
.tl li.pick em { color: var(--cut); font-weight: 600; }
.tl-foot { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--stage-line); font-size: 13px; color: var(--stage-muted); }
.tl-foot b { color: var(--stage-text); font-weight: 500; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(60,179,113,.25); }
@media (max-width: 480px) { .tl li { grid-template-columns: 90px 1fr 50px; } .tl li em { display: none; } }

/* sections */
section.wrap { padding: 56px 20px; }
section + section { border-top: 1px solid var(--line); }
.sub { color: var(--ink-2); font-size: 19px; margin: 12px 0 0; max-width: 66ch; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
@media (max-width: 880px) { .three { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.steps { margin: 30px 0 0; padding-left: 0; list-style: none; counter-reset: step; max-width: 760px; }
.steps li { counter-increment: step; position: relative; padding: 10px 0 10px 54px; font-size: 17px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 8px; width: 36px; height: 36px; border-radius: 50%; background: var(--steel-soft); color: var(--steel); font: 700 18px/36px var(--display); text-align: center; }
.steps b { display: block; }
.features { columns: 2; column-gap: 40px; margin: 34px 0 0; padding: 0; list-style: none; max-width: 900px; }
@media (max-width: 700px) { .features { columns: 1; } }
.features li { break-inside: avoid; padding: 8px 0 8px 22px; position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 3px; background: var(--cut); border-radius: 2px; }
.features b { display: block; font-weight: 600; }

/* comparison table */
.table-wrap { overflow-x: auto; margin-top: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.cmp { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 14.5px; }
.cmp th, .cmp td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-family: var(--display); font-size: 17px; letter-spacing: .03em; background: var(--surface-2); }
.cmp tbody th { font-weight: 500; color: var(--ink-2); width: 30%; }
.cmp td:last-child, .cmp thead th:last-child { background: var(--steel-soft); font-weight: 600; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; max-width: 760px; }
@media (max-width: 560px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; }
.plan.pro { border-color: var(--cut); box-shadow: 0 0 0 3px rgba(217,95,20,.15); }
.plan h3 { font-size: 26px; }
.plan .price { font: 700 40px/1 var(--display); margin: 12px 0 2px; font-variant-numeric: tabular-nums; }
.plan .price small { font: 500 15px var(--body); color: var(--muted); margin-left: 6px; }
.plan .who { color: var(--ink-2); font-size: 15px; margin: 0 0 10px; }
.plan ul { padding-left: 18px; margin: 0 0 18px; font-size: 15px; flex: 1; }
.plan li { margin: 6px 0; }
.plan .btn { text-align: center; }
.terms-note { margin-top: 18px; color: var(--muted); font-size: 14px; max-width: 80ch; }

/* faq */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cut); font: 600 22px/1 var(--display); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* notify */
.launch { background: var(--stage); color: var(--stage-text); border-radius: 10px; padding: 40px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 30px; align-items: center; }
@media (max-width: 880px) { .launch { grid-template-columns: minmax(0, 1fr); padding: 28px; } }
.launch h2 { color: #fff; }
.launch p { color: var(--stage-muted); }
.lead { display: grid; gap: 10px; }
.lead input[type=email] { font: 16px var(--body); padding: 12px 14px; border-radius: 6px; border: 1px solid var(--stage-line); background: #131820; color: #fff; }
.lead .check { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--stage-muted); }
.lead-msg { margin: 0; font-size: 14px; color: #fff; min-height: 1.4em; }
#notify .small { margin-top: 14px; }

/* footer */
footer { padding: 30px 0 50px; color: var(--muted); font-size: 14px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--ink-2); }

/* legal pages */
.legal { max-width: 760px; padding: 20px 0 60px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 8px; }
.legal h2 { font-size: 26px; margin: 34px 0 10px; }
.legal p, .legal li { max-width: 72ch; }
