/* Sheetem marketing site. Same colours as the app (app/public/styles.css). System fonts only. */
:root {
  --ink: #1b2d3a; --text: #2a3542; --muted: #5d6878; --line: #e2e6ec; --bg: #ffffff; --soft: #f5f7f9;
  --accent: #0f7b72; --accent-ink: #0b5f58; --accent-soft: #e2f4ee; --mint: #93dec6;
  --red: #d64545; --yellow: #e0b100; --green: #2f9e5b; --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .05), 0 12px 32px rgba(20, 33, 61, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h2 a { color: inherit; text-decoration: none; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }
.center .lead, .center.lead { margin-left: auto; margin-right: auto; }
.sub { color: var(--muted); max-width: 42em; margin: 0 auto 2rem; }
.sub.left { margin-left: 0; }
.fine { font-size: .85rem; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .75rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .6em 1.1em; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid transparent; font-size: .95rem; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: .8em 1.4em; font-size: 1.02rem; }
.btn.block { display: flex; width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand img { display: block; height: 30px; width: auto; }
nav { display: flex; align-items: center; gap: 1.4rem; }
nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }
nav .btn-primary { color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .4em .8em; font: inherit; color: var(--ink); }

/* Sections */
.band { padding: 72px 0; }
.band.tight { padding: 40px 0; }
.band.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-head { padding: 64px 0 24px; }
.page-head.left .lead { margin-bottom: 1.5rem; }
.crumbs { font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Hero */
.hero { padding: 64px 0 56px; background: radial-gradient(1100px 500px at 85% -10%, var(--accent-soft), transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 .8rem; }
.hero-shot { min-width: 0; }
.hero-shot .sheet.with-gantt { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.hero-shot .sheet th, .hero-shot .sheet td { padding: 0 8px; }
.hero-shot .sheet td.primary { max-width: 170px; }
.hero-shot .sheet-grid { overflow: hidden; }   /* a picture, not a working sheet: no scrollbar */
@media (max-width: 1060px) { .hero-shot .c-assigned-to { display: none; } }

/* Sheet previews (built from the real templates) */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; font-size: 13px; }
.sheet.with-gantt { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.sheet-grid { overflow-x: auto; }
.sheet table { border-collapse: collapse; width: 100%; }
.sheet th, .sheet td { height: 34px; padding: 0 10px; border-bottom: 1px solid #eef1f4; border-right: 1px solid #eef1f4; text-align: left; white-space: nowrap; }
.sheet th { background: #f8fafb; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.sheet td.num, .sheet th.num { width: 34px; color: #9aa4b2; text-align: right; font-size: 11px; padding-right: 8px; }
.sheet tr.parent td { background: #fafbfc; font-weight: 600; color: var(--ink); }
.sheet td.primary { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.sheet .lvl-1 { padding-left: 28px; } .sheet .lvl-2 { padding-left: 46px; }
.caret { color: #9aa4b2; margin-right: 4px; font-size: 10px; }
.sheet-gantt { border-left: 1px solid var(--line); background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), #f1f3f6 calc(10% - 1px) 10%); }
.gantt-head { height: 34px; border-bottom: 1px solid #eef1f4; background: #f8fafb; }
.gantt-row { position: relative; height: 34px; border-bottom: 1px solid #eef1f4; }
.bar { position: absolute; top: 11px; height: 12px; border-radius: 6px; background: var(--accent); min-width: 6px; }
.bar.parent { top: 13px; height: 8px; background: var(--ink); border-radius: 2px; }
.bar.ms { width: 12px; height: 12px; top: 11px; border-radius: 2px; transform: rotate(45deg); background: var(--ink); min-width: 0; }
.pill { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12px; background: #eef1f4; color: var(--text); }
.pill-complete, .pill-closed, .pill-resolved, .pill-approved, .pill-done, .pill-paid { background: #e3f4ea; color: #1d6e40; }
.pill-in-progress, .pill-open, .pill-in-review, .pill-ready-to-test, .pill-confirmed { background: #e4eefc; color: #1f4f9a; }
.pill-on-hold, .pill-pending, .pill-waiting { background: #fdf3d8; color: #7a5a00; }
.pill-rejected, .pill-won-t-fix, .pill-overdue, .pill-cancelled { background: #fbe5e5; color: #9b2c2c; }
.rag { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; }
.rag-red { background: var(--red); } .rag-yellow { background: var(--yellow); } .rag-green { background: var(--green); }
.prio { font-size: 12px; font-weight: 600; } .prio-high { color: var(--red); } .prio-medium { color: #a77c00; } .prio-low { color: var(--muted); }
.box { display: inline-flex; width: 15px; height: 15px; border: 1.5px solid #b8c0cc; border-radius: 3px; align-items: center; justify-content: center; font-size: 11px; color: #fff; }
.box.on { background: var(--accent); border-color: var(--accent); }
.fx { font-style: italic; font-weight: 600; color: var(--accent); font-size: 12px; }
.ms { color: var(--ink); font-size: 10px; }
.more { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }

/* Features, industries, template cards */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industry { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 22px 48px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.industry:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.industry strong { color: var(--ink); font-size: 1.05rem; }
.industry span { color: var(--muted); font-size: .9rem; }
.industry .arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.2rem; }
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcard { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s; }
.tcard:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.tcard strong { color: var(--ink); }
.tcard > span { color: var(--muted); font-size: .92rem; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tags span { font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.tags span:last-child { background: var(--soft); color: var(--muted); }

/* Lists */
.ticks, .crosses { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.ticks li, .crosses li { position: relative; padding-left: 28px; margin-bottom: .55rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.crosses li::before { content: "–"; position: absolute; left: 4px; color: var(--muted); font-weight: 700; }
.ticks.inline { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-bottom: 1.6rem; }
.cols { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cols li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.cols li:last-child { border-bottom: 0; }
.cols .type { color: var(--muted); text-align: right; }

/* Split layouts, pricing */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.split.two { grid-template-columns: 1fr 1fr; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.price-teaser { display: flex; flex-direction: column; align-items: center; padding: 36px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.big { font-size: 3rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); margin-top: .6rem; }
.toggle button { border: 0; background: none; padding: .5em 1.2em; border-radius: 999px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.toggle button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20, 33, 61, .12); }
.save { font-size: .75rem; color: var(--accent); margin-left: 4px; }
.plans { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; }
.plan.main { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin-bottom: .3rem; color: var(--muted); }
.plan .ticks { margin-top: 1.6rem; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.calc input { font: inherit; padding: .55em .7em; border: 1px solid var(--line); border-radius: 8px; width: 100%; }
.calc-out { grid-column: 1 / -1; margin: 0; padding: 14px; border-radius: 8px; background: var(--accent-soft); color: var(--ink); }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { border-collapse: collapse; width: 100%; min-width: 620px; background: #fff; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--soft); color: var(--ink); }
.compare tbody th { font-weight: 500; color: var(--text); width: 40%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.yes { color: #1d6e40; font-weight: 600; }
.no { color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: .7rem 0 0; color: var(--muted); }

/* Call to action and footer */
.cta-band { padding: 72px 0; text-align: center; background: var(--ink); color: #dbe4ea; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-bottom: 1.6rem; }
.foot { padding: 48px 0 32px; border-top: 1px solid var(--line); background: #fff; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 32px; margin-bottom: 24px; }
.foot h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .8rem; }
.foot a { display: block; color: var(--text); text-decoration: none; font-size: .93rem; margin-bottom: .35rem; }
.foot a:hover { color: var(--accent); }
.foot p { color: var(--muted); font-size: .93rem; }

/* Tablets and phones */
@media (max-width: 960px) {
  .hero-in, .split, .split.two, .plans { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .industries, .tcards { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  nav.open { display: flex; }
  nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  nav .btn { margin-top: 12px; border-bottom: 0; }
  .wrap { padding: 0 16px; }
  .band { padding: 52px 0; }
  .hero { padding: 40px 0; }
  .features, .industries, .tcards, .calc { grid-template-columns: 1fr; }
  .sheet.with-gantt, .hero-shot .sheet.with-gantt { grid-template-columns: minmax(0, 1fr); }
  .sheet-gantt { display: none; }
  .foot-in { grid-template-columns: 1fr; }
  .plan { padding: 24px; }
}

/* Generated by build.js: Gantt bar positions */
.l-0{left:0%}.l-1{left:1%}.l-2{left:2%}.l-3{left:3%}.l-4{left:4%}.l-5{left:5%}.l-6{left:6%}.l-7{left:7%}.l-8{left:8%}.l-9{left:9%}.l-10{left:10%}.l-11{left:11%}.l-12{left:12%}.l-13{left:13%}.l-14{left:14%}.l-15{left:15%}.l-16{left:16%}.l-17{left:17%}.l-18{left:18%}.l-19{left:19%}.l-20{left:20%}.l-21{left:21%}.l-22{left:22%}.l-23{left:23%}.l-24{left:24%}.l-25{left:25%}.l-26{left:26%}.l-27{left:27%}.l-28{left:28%}.l-29{left:29%}.l-30{left:30%}.l-31{left:31%}.l-32{left:32%}.l-33{left:33%}.l-34{left:34%}.l-35{left:35%}.l-36{left:36%}.l-37{left:37%}.l-38{left:38%}.l-39{left:39%}.l-40{left:40%}.l-41{left:41%}.l-42{left:42%}.l-43{left:43%}.l-44{left:44%}.l-45{left:45%}.l-46{left:46%}.l-47{left:47%}.l-48{left:48%}.l-49{left:49%}.l-50{left:50%}.l-51{left:51%}.l-52{left:52%}.l-53{left:53%}.l-54{left:54%}.l-55{left:55%}.l-56{left:56%}.l-57{left:57%}.l-58{left:58%}.l-59{left:59%}.l-60{left:60%}.l-61{left:61%}.l-62{left:62%}.l-63{left:63%}.l-64{left:64%}.l-65{left:65%}.l-66{left:66%}.l-67{left:67%}.l-68{left:68%}.l-69{left:69%}.l-70{left:70%}.l-71{left:71%}.l-72{left:72%}.l-73{left:73%}.l-74{left:74%}.l-75{left:75%}.l-76{left:76%}.l-77{left:77%}.l-78{left:78%}.l-79{left:79%}.l-80{left:80%}.l-81{left:81%}.l-82{left:82%}.l-83{left:83%}.l-84{left:84%}.l-85{left:85%}.l-86{left:86%}.l-87{left:87%}.l-88{left:88%}.l-89{left:89%}.l-90{left:90%}.l-91{left:91%}.l-92{left:92%}.l-93{left:93%}.l-94{left:94%}.l-95{left:95%}.l-96{left:96%}.l-97{left:97%}.l-98{left:98%}.l-99{left:99%}.l-100{left:100%}.w-1{width:1%}.w-2{width:2%}.w-3{width:3%}.w-4{width:4%}.w-5{width:5%}.w-6{width:6%}.w-7{width:7%}.w-8{width:8%}.w-9{width:9%}.w-10{width:10%}.w-11{width:11%}.w-12{width:12%}.w-13{width:13%}.w-14{width:14%}.w-15{width:15%}.w-16{width:16%}.w-17{width:17%}.w-18{width:18%}.w-19{width:19%}.w-20{width:20%}.w-21{width:21%}.w-22{width:22%}.w-23{width:23%}.w-24{width:24%}.w-25{width:25%}.w-26{width:26%}.w-27{width:27%}.w-28{width:28%}.w-29{width:29%}.w-30{width:30%}.w-31{width:31%}.w-32{width:32%}.w-33{width:33%}.w-34{width:34%}.w-35{width:35%}.w-36{width:36%}.w-37{width:37%}.w-38{width:38%}.w-39{width:39%}.w-40{width:40%}.w-41{width:41%}.w-42{width:42%}.w-43{width:43%}.w-44{width:44%}.w-45{width:45%}.w-46{width:46%}.w-47{width:47%}.w-48{width:48%}.w-49{width:49%}.w-50{width:50%}.w-51{width:51%}.w-52{width:52%}.w-53{width:53%}.w-54{width:54%}.w-55{width:55%}.w-56{width:56%}.w-57{width:57%}.w-58{width:58%}.w-59{width:59%}.w-60{width:60%}.w-61{width:61%}.w-62{width:62%}.w-63{width:63%}.w-64{width:64%}.w-65{width:65%}.w-66{width:66%}.w-67{width:67%}.w-68{width:68%}.w-69{width:69%}.w-70{width:70%}.w-71{width:71%}.w-72{width:72%}.w-73{width:73%}.w-74{width:74%}.w-75{width:75%}.w-76{width:76%}.w-77{width:77%}.w-78{width:78%}.w-79{width:79%}.w-80{width:80%}.w-81{width:81%}.w-82{width:82%}.w-83{width:83%}.w-84{width:84%}.w-85{width:85%}.w-86{width:86%}.w-87{width:87%}.w-88{width:88%}.w-89{width:89%}.w-90{width:90%}.w-91{width:91%}.w-92{width:92%}.w-93{width:93%}.w-94{width:94%}.w-95{width:95%}.w-96{width:96%}.w-97{width:97%}.w-98{width:98%}.w-99{width:99%}.w-100{width:100%}

/* ---------- announcement bar ---------- */
.announce-bar { background: var(--ink); color: #dbe4ea; font-size: .9rem; padding: 10px 0; }
.announce-in { display: flex; align-items: center; justify-content: center; gap: 12px; position: relative; }
.announce-bar a { color: #93dec6; font-weight: 600; }
.announce-bar a:hover { color: #fff; }
.announce-bar strong { color: #fff; }
.announce-close { background: none; border: none; color: #dbe4ea; cursor: pointer; font-size: 1.1rem; padding: 0 4px; opacity: .7; position: absolute; right: 0; }
.announce-close:hover { opacity: 1; }

/* ---------- founding member callout ---------- */
.founding-badge { display: inline-block; background: var(--accent-soft); color: var(--accent-ink); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.founding-price { color: var(--accent) !important; }
.founding-regular { font-size: .85rem; color: var(--muted); text-decoration: line-through; }

.calc-founding { background: var(--accent-soft); color: var(--accent-ink); }