/* Taskkette website, new pages. Layout: one reading column of big type; the software itself is the only image. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("instrument-sans.woff2") format("woff2"); }
:root {
  --bg: #ffffff; --soft: #f6f5fa; --ink: #201e1d; --muted: #5f6370; --line: #e6e4ee; --field-line: #8a8d99;
  --accent: #6a3ff6; --on-accent: #ffffff; --kette: #6a3ff6; --glass: rgba(255, 255, 255, 0.72); --danger: #b42318;
  --radius-field: 10px; --radius-box: 12px; --radius-card: 14px; --radius-full: 9999px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px)); --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --space-chapter: clamp(5rem, 12vw, 10rem);
  font-size: 100%;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #14131a; --soft: #1a1924; --ink: #f4f3f8; --muted: #a8a5b8; --line: #2d2b3a; --field-line: #6f6c80;
  --accent: #a07bff; --on-accent: #14131a; --kette: #a07bff; --glass: rgba(20, 19, 26, 0.72); --danger: #f97066; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #14131a; --soft: #1a1924; --ink: #f4f3f8; --muted: #a8a5b8; --line: #2d2b3a; --field-line: #6f6c80;
  --accent: #a07bff; --on-accent: #14131a; --kette: #a07bff; --glass: rgba(20, 19, 26, 0.72); --danger: #f97066; color-scheme: dark; }

body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.125rem/1.55 "Instrument Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--glass); }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1 { font-size: clamp(3rem, 8.6vw, 6rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(2.125rem, 5.4vw, 3.75rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
h3 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); line-height: 1.18; letter-spacing: -0.015em; font-weight: 600; text-wrap: balance; }
@media (max-width: 23rem) { h1, h2, h3 { hyphens: auto; overflow-wrap: anywhere; } }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-field); }

.wrap { max-width: 74rem; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.chapter { padding-block: var(--space-chapter); }
.lead { color: var(--muted); font-size: clamp(1.1875rem, 2.2vw, 1.5rem); line-height: 1.4; max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; line-height: 1.45; }

.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.top .wrap { display: flex; align-items: center; gap: 2rem; height: 3.75rem; }
.nav { display: none; gap: 1.75rem; font-size: 0.9375rem; font-weight: 500; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.top .btn { margin-left: auto; }
@media (max-width: 59.99rem) { .top .wrap { gap: 0.75rem; } }
@media (max-width: 26.99rem) { .top .btn { display: none; } .menu { margin-left: auto; } }
@media (min-width: 60rem) { .nav { display: flex; } .top .btn { margin-left: 0; } .menu { display: none; } }

/* Phone menu: a plain disclosure, works without script. */
.menu { position: relative; }
.menu summary { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: -0.625rem; border-radius: var(--radius-field); cursor: pointer; list-style: none; font-size: 0; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: ""; width: 1.125rem; height: 0.625rem; border-block: 2px solid var(--ink); }
.menu-panel { position: absolute; right: -0.375rem; top: calc(100% + 0.5rem); display: grid; min-width: 13rem; padding: 0.5rem; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--bg); }
.menu-panel a { padding: 0.625rem 0.75rem; border-radius: var(--radius-field); font-weight: 500; text-decoration: none; }
.menu-panel a:active { background: var(--soft); }

.tk-logo { display: inline-flex; align-items: center; gap: 0.45em; text-decoration: none; font-size: 1.375rem; color: inherit; }
.tk-mark { width: 1.35em; height: 1.35em; flex: none; }
/* Literal values on purpose: WebKit does not evaluate var() in stop-color. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tk-mark-stop-start { stop-color: #8f4bff; } :root:not([data-theme="light"]) .tk-mark-stop-end { stop-color: #5b8bff; } }
:root[data-theme="dark"] .tk-mark-stop-start { stop-color: #8f4bff; }
:root[data-theme="dark"] .tk-mark-stop-end { stop-color: #5b8bff; }
.tk-wordmark { letter-spacing: -0.03em; line-height: 0.86; font-weight: 600; color: var(--ink); }
.tk-wordmark .b { font-weight: 600; }
.tk-wordmark i { font-style: normal; color: var(--kette); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1.125rem; border: 0; border-radius: var(--radius-field); background: var(--accent); color: var(--on-accent); font: 500 1rem/1 "Instrument Sans", system-ui, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 160ms ease-out; }
.btn:active { transform: scale(0.97); transition-duration: 60ms; }
.top .btn { min-height: 2.75rem; padding: 0 0.875rem; font-size: 0.9375rem; }

.hero { padding-block: clamp(3rem, 8vw, 6.5rem) 0; }
.hero-text { display: grid; gap: 1.5rem; max-width: 52rem; justify-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.text-link { color: var(--accent); font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.h1-break { display: block; }
.page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 3.6vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em; }
.hero-shot { margin-top: clamp(2.5rem, 6vw, 4.5rem); }

.slot { display: grid; place-content: center; gap: 0.25rem; aspect-ratio: 16 / 10; padding: 1.5rem; border: 1px dashed var(--line); border-radius: var(--radius-card); background: var(--soft); color: var(--muted); text-align: center; font-size: 0.9375rem; line-height: 1.4; }
.slot b { font-weight: 500; color: var(--ink); }
@media (max-width: 39.99rem) { .slot { aspect-ratio: 9 / 14; max-width: 21rem; margin-inline: auto; } }

.chain-head { display: grid; gap: 1rem; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.chain-wrap { position: relative; }
.chain { display: grid; gap: clamp(3.5rem, 9vw, 7rem); }
.chain-track, .chain-fill { position: absolute; left: 0.9375rem; top: 1rem; bottom: 1rem; width: 2px; }
.chain-track { background: var(--line); }
.chain-fill { background: var(--kette); transform-origin: top; transform: scaleY(1); }
.step { position: relative; display: grid; gap: 1.5rem; padding-left: 3.25rem; }
.step-no { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: var(--radius-full); background: var(--bg); border: 2px solid var(--kette); color: var(--kette); font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.step-text { display: grid; gap: 0.625rem; align-content: start; min-width: 0; }
.step-text p { color: var(--muted); max-width: 26em; }
@media (min-width: 60rem) { .step { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3.5rem; } }
.js .step-no { transition: background-color 200ms ease, color 200ms ease; }
.js .step.is-on .step-no { background: var(--kette); color: var(--on-accent); }

.band { background: var(--soft); }
.head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.facts { display: grid; gap: 2rem; }
.facts > div { display: grid; gap: 0.375rem; align-content: start; }
.facts dd { color: var(--muted); }
.facts dt { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }

.ways a { display: grid; gap: 0.25rem; padding-block: 1.5rem; border-top: 1px solid var(--line); text-decoration: none; transition: color 160ms ease; }
.ways li:last-child a { border-bottom: 1px solid var(--line); }
.ways a:hover h3 { color: var(--accent); }
.ways a:active { opacity: 0.7; }
.ways p { color: var(--muted); }
@media (min-width: 48rem) { .ways a { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: baseline; gap: 2rem; } }
.closer { margin-top: 2.5rem; color: var(--muted); max-width: 40em; }

.names { font-size: clamp(1.625rem, 4.2vw, 3rem); line-height: 1.22; letter-spacing: -0.025em; font-weight: 500; max-width: 26em; text-wrap: pretty; }
.names span { color: var(--muted); }

.price-grid { display: grid; gap: 2.5rem; }
.price { font-size: clamp(4rem, 10vw, 6rem); line-height: 1; letter-spacing: -0.045em; font-weight: 600; font-variant-numeric: tabular-nums; }
.price-unit { color: var(--muted); font-size: clamp(1.1875rem, 2.2vw, 1.5rem); margin-top: 0.5rem; }
.price-notes { display: grid; gap: 1rem; align-content: end; max-width: 30em; }
.gift { display: inline-block; margin-left: 0.375rem; padding: 0.125rem 0.5rem; border-radius: var(--radius-full); background: var(--soft); color: var(--accent); font-size: 0.8125rem; font-weight: 500; white-space: nowrap; }
.band .gift { background: var(--bg); }
@media (min-width: 60rem) { .price-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 4rem; } }

.faq { max-width: 46rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding-block: 1.125rem; font-weight: 500; font-size: 1.1875rem; cursor: pointer; list-style-position: outside; }
.faq details p { padding-bottom: 1.25rem; color: var(--muted); }

.end { text-align: left; }
.end .wrap { display: grid; gap: 1.5rem; }

.foot { border-top: 1px solid var(--line); padding-block: 3rem 2rem; color: var(--muted); font-size: 0.9375rem; }
.foot-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot h2 { font-size: 0.9375rem; line-height: 1.4; letter-spacing: 0; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.foot li { padding-block: 0.1875rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 2.5rem; padding-bottom: env(safe-area-inset-bottom, 0px); }
.foot .tk-logo { font-size: 1.125rem; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 26.99rem) { .foot { padding-bottom: 5.5rem; } }
@media (max-width: 59.99rem) { .foot li a, .foot-end a { display: inline-flex; align-items: center; min-height: 2.75rem; } .foot li { padding-block: 0; } }

.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 0.625rem var(--gutter-r) calc(0.625rem + env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); transform: translateY(110%); visibility: hidden; transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1), visibility 320ms; }
.bar.is-up { transform: none; visibility: visible; }
.bar .btn { width: 100%; }
@media (min-width: 27rem) { .bar { display: none; } }

/* Screenshots: one picture per theme, only the matching one is loaded. */
.shot { display: block; }
.shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-card); border: 1px solid var(--line); background: var(--soft); }
@media (max-width: 39.99rem) { .shot { max-width: 21rem; margin-inline: auto; } }

/* Reserved space per screenshot, so the page does not jump while images load. */
.shot-agency-task img { aspect-ratio: 1600 / 1000; }
@media (max-width: 39.99rem) { .shot-agency-task img { aspect-ratio: 780 / 1688; } }
.shot-doc-handbook img { aspect-ratio: 1600 / 1000; }
@media (max-width: 39.99rem) { .shot-doc-handbook img { aspect-ratio: 780 / 1688; } }
.shot-doc-network img { aspect-ratio: 1600 / 1349; }
@media (max-width: 39.99rem) { .shot-doc-network img { aspect-ratio: 780 / 1750; } }
.shot-hero-cockpit img { aspect-ratio: 1600 / 1000; }
@media (max-width: 39.99rem) { .shot-hero-cockpit img { aspect-ratio: 780 / 1688; } }
.shot-it-mail img { aspect-ratio: 1600 / 1000; }
@media (max-width: 39.99rem) { .shot-it-mail img { aspect-ratio: 780 / 1688; } }
.shot-series-form img { aspect-ratio: 1600 / 1000; }
@media (max-width: 39.99rem) { .shot-series-form img { aspect-ratio: 780 / 1688; } }
.shot-step-mail img { aspect-ratio: 1600 / 1000; }
@media (max-width: 39.99rem) { .shot-step-mail img { aspect-ratio: 780 / 1688; } }
.shot-step-next img { aspect-ratio: 1536 / 396; }
@media (max-width: 39.99rem) { .shot-step-next img { aspect-ratio: 780 / 351; } }
.shot-step-proof img { aspect-ratio: 1600 / 1000; }
@media (max-width: 39.99rem) { .shot-step-proof img { aspect-ratio: 780 / 1688; } }
.shot-step-task img { aspect-ratio: 1600 / 1000; }
@media (max-width: 39.99rem) { .shot-step-task img { aspect-ratio: 780 / 1688; } }
.shot-step-time img { aspect-ratio: 724 / 890; }
@media (max-width: 39.99rem) { .shot-step-time img { aspect-ratio: 780 / 1016; } }
.shot-time-billable img { aspect-ratio: 1600 / 1000; }
@media (max-width: 39.99rem) { .shot-time-billable img { aspect-ratio: 780 / 1688; } }

/* Rows: one thought per line, title left, sentence right. */
.rows > li { display: grid; gap: 0.375rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.rows p { color: var(--muted); }
.rows a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 48rem) { .rows > li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: baseline; gap: 2rem; } }
.head + .slot, .rows + .slot { margin-top: 0; }
.section-shot { margin-top: clamp(2.5rem, 6vw, 4rem); }

.rows.numbered { counter-reset: step; }
.rows.numbered > li { counter-increment: step; }
.rows.numbered h3::before { content: counter(step) ". "; color: var(--accent); font-variant-numeric: tabular-nums; }

.prose-doc { gap: 1.25rem; }
.prose-doc h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; margin-top: 1.5rem; }
.prose-doc h3 { font-size: 1.25rem; margin-top: 0.75rem; }
.prose-doc dl { display: grid; gap: 0.25rem; }
.prose-doc dt { font-weight: 500; }
.prose-doc dd { color: var(--muted); margin-bottom: 0.5rem; }
.prose-doc strong { color: var(--ink); font-weight: 600; }
.prose { display: grid; gap: 1rem; max-width: 42rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { display: grid; gap: 0.5rem; padding-left: 1.2em; list-style: disc; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; }
.note-line { margin-top: 2rem; color: var(--muted); max-width: 42rem; font-size: 0.9375rem; line-height: 1.45; }

.price-list { display: grid; gap: 0.5rem; }
.price-list li { position: relative; padding-left: 1.5rem; color: var(--muted); }
.price-list li::before { content: ""; position: absolute; left: 0.125rem; top: 0.42em; width: 0.625rem; height: 0.3125rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plans { display: grid; gap: 1.5rem; }
.plans > div { display: grid; gap: 0.5rem; align-content: start; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-card); }
.plans p { color: var(--muted); }
.plans .plan-price { color: var(--ink); font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (min-width: 48rem) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.form { display: grid; gap: 1rem; max-width: 34rem; }
.field { display: grid; gap: 0.375rem; }
.field label { font-weight: 500; font-size: 0.9375rem; }
.field input, .field textarea { width: 100%; min-height: 2.75rem; padding: 0.625rem 0.875rem; border: 1px solid var(--field-line); border-radius: var(--radius-field); background: var(--bg); color: var(--ink); font: 400 1rem/1.4 "Instrument Sans", system-ui, sans-serif; box-sizing: border-box; }
.field textarea { min-height: 5.5rem; resize: vertical; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 36rem) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hint, .consent-text { color: var(--muted); font-size: 0.875rem; line-height: 1.45; }
.consent-text a { color: inherit; }
.check-field { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9375rem; }
.check-field input { width: 1.125rem; height: 1.125rem; margin: 0.125rem 0 0; accent-color: var(--accent); flex: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-block { width: 100%; }
.form-feedback { min-height: 1.45em; font-size: 0.9375rem; }
.form-feedback[data-tone="error"] { color: var(--danger); }

.skip { position: absolute; left: var(--gutter-l); top: -4rem; z-index: 30; padding: 0.5rem 0.875rem; border-radius: var(--radius-field); background: var(--accent); color: var(--on-accent); text-decoration: none; }
.skip:focus { top: 0.5rem; }

@media (prefers-reduced-motion: reduce) { .btn, .bar, .js .step-no { transition: none; } .btn:active { transform: none; } }
.text-link:active, .nav a:active, .foot a:active, .faq summary:active { opacity: 0.6; }

@media (prefers-contrast: more) {
  :root:not([data-theme="dark"]) { --muted: #3f424c; --line: #6b6f7c; --glass: rgba(255, 255, 255, 0.98); }
  .top, .bar { -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--line); }
  .bar { border-top: 1px solid var(--line); border-bottom: 0; }
  .slot { border-style: solid; }
  .btn { box-shadow: inset 0 0 0 1px var(--ink); }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --muted: #cfccdc; --line: #8a8799; --glass: rgba(20, 19, 26, 0.98); } }
@media (prefers-reduced-transparency: reduce) { .top, .bar { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
