/* The public pages (sales page, sign-up, terms, privacy): built on the app's colours (shell.css), with their own layout. */
body.site { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif; line-height: 1.55; }
.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }
.site a { color: var(--accent); }
.site a.btn { color: var(--accent-ink); }
.site a.btn.ghosty { color: var(--text); }
.site a.btn.ghosty:hover { color: var(--accent); }
.eyebrow { margin: 0 0 10px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.site a.plain { color: inherit; text-decoration: none; }

/* header */
.sitehead { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--card-border); }
.sitehead .wrap { display: flex; align-items: center; gap: 22px; height: 62px; }
.sitebrand { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.sitebrand b { color: var(--accent); }
.sitenav { display: flex; gap: 20px; margin-left: 12px; }
.sitenav a { color: var(--text-dim); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.sitenav a:hover { color: var(--text); }
.sitehead .spacer { flex: 1; }
.btn.lg { padding: 13px 24px; font-size: 1rem; }
.btn.ghosty { background: transparent; color: var(--text); border: 1px solid var(--card-border); }
.btn.ghosty:hover { border-color: var(--accent); color: var(--accent); filter: none; }

/* hero */
.hero { padding: 76px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 1.14rem; color: var(--text-dim); margin: 0 0 26px; max-width: 34em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .fine { margin-top: 14px; font-size: 0.84rem; color: var(--text-faint); }
.shot { width: 100%; height: auto; display: block; border-radius: 16px; border: 1px solid var(--card-border); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }

/* sections */
.band { padding: 64px 0; border-top: 1px solid var(--card-border); }
.band.alt { background: color-mix(in srgb, var(--card-bg) 55%, var(--bg)); }
.band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; margin: 0 0 10px; }
.band .sub { color: var(--text-dim); margin: 0 0 34px; max-width: 40em; font-size: 1.05rem; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pt { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px; }
.pt h3 { margin: 0 0 8px; font-size: 1.08rem; }
.pt p { margin: 0; color: var(--text-dim); font-size: 0.94rem; }
.pt .ico { font-size: 1.5rem; margin-bottom: 10px; display: block; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin: 0 0 56px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .text { order: 2; }
.feature h3 { font-size: 1.4rem; margin: 0 0 10px; letter-spacing: -.01em; }
.feature p { color: var(--text-dim); margin: 0 0 12px; }
.feature ul { margin: 0; padding-left: 20px; color: var(--text-dim); }
.feature li { margin: 4px 0; }

/* pricing */
.price { max-width: 520px; margin: 0 auto; text-align: center; background: var(--card-bg); border: 2px solid var(--accent); border-radius: 22px; padding: 34px 30px; }
.price .amount { font-size: 3.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price .amount small { font-size: 1.05rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 22px 0; text-align: left; }
.price li { padding: 7px 0 7px 28px; position: relative; color: var(--text-dim); }
.price li::before { content: '✓'; position: absolute; left: 4px; color: var(--ok); font-weight: 800; }
.price li b { color: var(--text); }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--card-border); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--text-dim); margin: 10px 0 0; }

.final { text-align: center; padding: 72px 0; }
.final h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0 0 18px; letter-spacing: -.02em; }

.sitefoot { border-top: 1px solid var(--card-border); padding: 30px 0 44px; color: var(--text-faint); font-size: 0.88rem; }
.sitefoot .wrap { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.sitefoot a { color: var(--text-dim); text-decoration: none; }
.sitefoot a:hover { color: var(--accent); }

/* the sign-up and document pages */
.narrow { width: min(560px, 100% - 40px); margin: 0 auto; padding: 48px 0 70px; }
.doc { width: min(780px, 100% - 40px); margin: 0 auto; padding: 44px 0 70px; }
.doc h1 { letter-spacing: -.02em; }
.doc h2 { margin-top: 30px; font-size: 1.2rem; }
.doc p, .doc li { color: var(--text-dim); }
.draftnote { background: color-mix(in srgb, var(--high) 12%, var(--card-bg)); border: 1px solid color-mix(in srgb, var(--high) 40%, transparent); border-radius: 10px; padding: 12px 16px; margin: 18px 0; font-size: 0.9rem; }
.formcard { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; padding: 28px; }
.formcard .field { margin-top: 15px; }
.formcard input[type=text], .formcard input[type=email], .formcard input[type=password] { width: 100%; }
.formcard .go { width: 100%; margin-top: 20px; padding: 13px; font-size: 1rem; }
.planbox { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 8%, var(--bg)); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); font-size: 0.92rem; color: var(--text-dim); }
.planbox b { color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 860px) {
  .hero { padding: 44px 0 34px; }
  .hero .wrap, .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .text { order: 0; }
  .three { grid-template-columns: 1fr; }
  .sitenav { display: none; }
  .band { padding: 44px 0; }
}

.sitehead .btn .short { display: none; }
/* a phone's header: one line, the sign-up button stays, Log in becomes a plain link, the language switch shrinks to NL / EN */
@media (max-width: 600px) {
  .sitehead .wrap { width: calc(100% - 28px); gap: 8px; height: 56px; }
  .sitebrand { font-size: 1.02rem; white-space: nowrap; }
  .sitehead .btn { padding: 8px 12px; font-size: .84rem; white-space: nowrap; }
  .sitehead .btn.ghosty { border-color: transparent; padding: 8px 6px; }
  .sitehead .btn .full { display: none; }
  .sitehead .btn .short { display: inline; }
  .sitehead .langlink { margin-left: 0; font-size: 0; }
  .sitehead .langlink::after { content: attr(data-short); font-size: .8rem; }
}

@media (max-width: 350px) {
  .sitehead .wrap { gap: 4px; }
  .sitebrand { font-size: .84rem; }
  .sitehead .btn { padding: 7px 8px; font-size: .76rem; }
  .sitehead .btn.ghosty { padding: 7px 4px; }
}

/* AI demo: a request typed in a chat window becomes a task in the tracker window (AI-agnostic on purpose) */
.demo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin-top: 30px; }
.demo .win { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.3); min-height: 230px; }
.demo .wbar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--card-border); font-size: .78rem; color: var(--text-faint); }
.demo .wbar i { width: 9px; height: 9px; border-radius: 50%; background: var(--card-border); }
.demo .wbar span { margin-left: 8px; }
.demo .wbody { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.demo .bubble { padding: 10px 13px; border-radius: 14px; font-size: .92rem; max-width: 92%; line-height: 1.45; }
.demo .bubble.me { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; min-height: 1.45em; }
.demo .bubble.ai { align-self: flex-start; background: color-mix(in srgb, var(--text) 8%, transparent); border-bottom-left-radius: 4px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.demo .caret { display: inline-block; width: 2px; height: 1em; background: currentColor; margin-left: 2px; vertical-align: -2px; animation: dblink 1s steps(2) infinite; }
.demo .arrow { font-size: 1.8rem; color: var(--accent); }
.demo .dcols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.demo .dcol h4 { margin: 0 0 8px; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
.demo .dcard { padding: 9px 10px; border-radius: 9px; background: color-mix(in srgb, var(--text) 7%, transparent); border: 1px solid var(--card-border); font-size: .84rem; margin-bottom: 8px; }
.demo .dcard.new { border-color: var(--accent); opacity: 0; transform: translateY(-8px) scale(.97); transition: opacity .45s, transform .45s; }
.demo .dcard .row { display: flex; gap: 6px; align-items: center; margin-top: 7px; }
.demo .chip { font-style: normal; font-size: .7rem; padding: 2px 7px; border-radius: 99px; background: color-mix(in srgb, var(--text) 10%, transparent); }
.demo .chip.high { background: rgba(245, 158, 11, .2); color: #f59e0b; }
.demo .av { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.demo.show-ai .bubble.ai, .demo.show-task .dcard.new { opacity: 1; transform: none; }
.demo.show-task .dcard.new { animation: dpulse 1.4s ease-out 1; }
@keyframes dblink { 50% { opacity: 0; } }
@keyframes dpulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
@media (max-width: 760px) { .demo { grid-template-columns: 1fr; } .demo .arrow { transform: rotate(90deg); text-align: center; } }
@media (prefers-reduced-motion: reduce) { .demo .bubble.ai, .demo .dcard.new { transition: none; opacity: 1; transform: none; } .demo .caret { animation: none; display: none; } .demo.show-task .dcard.new { animation: none; } }

/* demo: two scenarios share the tracker window */
.demo .pane { display: none; }
.demo.scn-focus .paneFocus, .demo.scn-task .paneTask { display: block; }
.demo .ph { margin: 0 0 10px; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.demo .fitem { padding: 10px 12px; margin-bottom: 8px; border-radius: 9px; border: 1px solid var(--card-border); border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--text) 6%, transparent); opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
.demo .fitem b { display: block; font-size: .88rem; }
.demo .fitem span { display: block; font-size: .78rem; color: var(--text-dim); margin-top: 2px; }
.demo.show-task .fitem { opacity: 1; transform: none; }
.demo.show-task .fitem:nth-of-type(2) { transition-delay: .25s; }
.demo.show-task .fitem:nth-of-type(3) { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) { .demo .fitem { opacity: 1; transform: none; transition: none; } }

/* same size for both windows, whatever scene is showing */
.demo .win { height: 300px; display: flex; flex-direction: column; }
.demo .wbody { flex: 1; overflow: hidden; }
.demo .adv { margin: 22px 0 8px; }
@media (max-width: 760px) { .demo .win { height: 330px; } }

.langlink { font-size: .82rem; margin-left: 14px; text-decoration: none; opacity: .8; }
.langlink:hover { opacity: 1; }
