/* Werktyd: a well-kept work register. Newsreader display, Archivo body, paper and
   forest surfaces, 4px corners, no shadows. Font licences are in assets/fonts/. */
@font-face { font-family: Newsreader; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/newsreader-latin.woff2') format('woff2'); }
@font-face { font-family: Archivo; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/archivo-latin.woff2') format('woff2'); }
:root { color-scheme: light; --paper: #f3f1e9; --surface: #fffdf7; --surface-soft: #eae7dd; --ink: #202820; --muted: #546052; --line: #c9cec2; --forest: #123a2b; --lime: #d3eb96; --max: 1200px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Archivo, Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #946b19; outline-offset: 5px; }
h1, h2 { font-family: Newsreader, Georgia, serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
h2 { margin: 0; font-size: clamp(40px, 4.1vw, 58px); }
h3 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; }
p { margin: 0 0 20px; }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 50; padding: 12px 20px; background: var(--forest); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: var(--paper); }
.site-nav { position: relative; min-height: 80px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); font-weight: 700; letter-spacing: -.045em; text-decoration: none; font-size: 23px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 4px; background: var(--forest); color: var(--lime); font-size: 17px; font-weight: 700; letter-spacing: -.08em; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 15px; text-decoration: none; }
.nav-links a:hover { color: var(--forest); text-decoration: underline; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-toggle { display: none; background: transparent; border: 1px solid #818c7b; border-radius: 4px; color: var(--ink); padding: 8px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; display: block; }
.nav-toggle .icon-close, .nav-links .nav-signin { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 16px; padding: 10px 20px; border: 1px solid var(--forest); border-radius: 4px; background: var(--forest); color: var(--surface); font-size: 16px; font-weight: 600; text-decoration: none; transition: background .15s ease; }
.button:hover { background: #24563f; }
.button:active { background: #09291c; }
.button:disabled, .button[aria-disabled="true"] { background: #dadbd2; border-color: #a3a99d; color: #52604f; cursor: not-allowed; }
.button.small { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.button.text { border-color: transparent; background: transparent; color: var(--forest); padding-inline: 0; }
.button.text:hover { text-decoration: underline; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--forest); font-size: 15px; font-weight: 600; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.eyebrow { margin: 0 0 24px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hero { padding: 88px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.hero h1 { margin: 0; font-size: clamp(58px, 6.1vw, 88px); line-height: .98; }
.hero h1 span { color: var(--forest); }
.hero-copy { max-width: 490px; margin: 28px 0 24px; font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.hero-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.demo { margin: 0; padding: 24px; background: var(--forest); color: var(--surface); border-radius: 4px; scroll-margin-top: 112px; }
.demo-heading { margin-bottom: 18px; color: var(--lime); font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.demo video { display: block; width: min(100%, 230px); aspect-ratio: 9 / 16; margin-inline: auto; background: #061a12; }
.demo figcaption { margin-top: 18px; max-width: 410px; color: #e2eadb; font-size: 15px; line-height: 1.5; }
.section { padding: 72px 0; }
.workflow { border-top: 1px solid var(--line); }
.workflow-grid, .pricing-layout, .privacy-grid, .questions-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 104px; }
.section-heading p:not(.eyebrow) { max-width: 350px; margin: 24px 0 18px; color: var(--muted); }
.workflow-item { display: grid; grid-template-columns: 32px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.workflow-item:first-child { padding-top: 0; border-top: 0; }
.workflow-item:last-child { padding-bottom: 0; }
.step-number { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.workflow-item p { margin: 12px 0 4px; color: var(--muted); }
.privacy-section { padding: 64px 0; background: var(--lime); }
.privacy-section .eyebrow { color: var(--forest); }
.privacy-copy p { color: #283d24; }
.privacy-copy p:last-of-type { margin-bottom: 10px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pricing-table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.pricing-table th, .pricing-table td { padding: 18px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.pricing-table th:first-child { padding-left: 0; }
.pricing-table td:last-child, .pricing-table th:last-child { padding-right: 0; text-align: right; }
.pricing-table thead th { padding-top: 0; color: var(--muted); font-size: 14px; font-weight: 400; }
.pricing-table tbody th { font-size: 19px; font-weight: 600; }
.pricing-table tbody th span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; font-weight: 400; }
.pricing-table td { font-size: 22px; white-space: nowrap; }
.pricing-note { margin: 20px 0 8px; color: var(--muted); font-size: 14px; }
.custom-plan { margin: 0; font-size: 14px; }
.custom-plan .text-link { font-size: 14px; }
.questions-section { padding: 64px 0 80px; border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 19px 32px 19px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 500; line-height: 1.45; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 16px; color: var(--forest); font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0 28px 20px 0; color: var(--muted); }
.site-footer { padding: 40px 0 24px; border-top: 1px solid var(--line); background: var(--surface-soft); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 80px; align-items: start; }
.footer-copy { max-width: 370px; margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.copyright a:hover { color: var(--ink); }
/* Product and legal detail pages share the same readable, flat layout. */
.legal-main { padding: 64px 0 88px; }
.legal-shell { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: center; gap: 72px; }
.legal-aside { position: sticky; top: 112px; align-self: start; }
.legal-aside p { color: var(--muted); }
.legal-content { padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.legal-content h1 { margin: 0; font-size: clamp(44px, 4.3vw, 60px); }
.legal-lead { margin: 24px 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 18px; }
.legal-content h2 { margin: 32px 0 12px; font-family: Archivo, Arial, sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.legal-content p { color: var(--ink); }
.legal-content a { color: var(--forest); }
.legal-content li { margin-bottom: 8px; }
.legal-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--forest); font-weight: 600; }
@media (max-width: 1040px) {
  .site-nav { flex-wrap: wrap; gap: 16px; padding-block: 14px; }
  .nav-actions { margin-left: auto; }
  .nav-links { order: 4; width: 100%; justify-content: space-between; margin-left: 0; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav-links { display: none; position: absolute; top: 100%; left: -16px; width: calc(100% + 32px); flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 8px 24px 16px; border: 1px solid var(--line); }
  .js .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 48px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links .nav-signin { display: inline-flex; }
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: 64px; }
  .hero-actions { gap: 4px; }
  .hero-copy { font-size: 18px; }
  .demo { padding: 18px; }
  .demo video { width: min(100%, 210px); }
  .workflow-grid, .pricing-layout, .privacy-grid, .questions-grid { gap: 48px; }
  .legal-shell { grid-template-columns: 200px minmax(0,1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .site-nav { min-height: 72px; gap: 12px; padding-block: 12px; }
  .nav-actions .button.text { display: none; }
  .brand { font-size: 21px; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .nav-actions .button.small { font-size: 14px; padding-inline: 12px; }
  .nav-links { flex-wrap: wrap; justify-content: flex-start; gap: 0 20px; }
  .hero { padding: 48px 0; }
  .hero-grid, .workflow-grid, .privacy-grid, .pricing-layout, .questions-grid, .footer-grid, .legal-shell { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(54px, 14.6vw, 80px); }
  .eyebrow { margin-bottom: 20px; font-size: 11px; }
  .hero-copy { margin: 24px 0 20px; font-size: 17px; }
  .hero-actions { gap: 4px 20px; }
  .hero-note { font-size: 13px; margin-top: 12px; }
  .demo { padding: 18px; }
  .demo-heading { font-size: 10px; margin-bottom: 14px; }
  .demo figcaption { font-size: 14px; margin-top: 14px; }
  .section { padding: 56px 0; }
  .section-heading p:not(.eyebrow) { max-width: 520px; margin-top: 20px; }
  .workflow-item { gap: 16px; grid-template-columns: 24px 1fr; padding: 20px 0; }
  .workflow-item p { font-size: 15px; }
  .workflow-item h3 { font-size: 21px; }
  .workflow-item .text-link { font-size: 14px; }
  .privacy-section { padding: 48px 0; }
  .privacy-copy { font-size: 15px; }
  .privacy-grid { gap: 24px; }
  .inline-links { gap: 0 16px; }
  .inline-links .text-link { font-size: 14px; }
  .pricing-table th, .pricing-table td { padding: 16px 8px; }
  .pricing-table td { font-size: 20px; }
  .pricing-table tbody th { font-size: 18px; }
  .pricing-table thead th, .pricing-table tbody th span { font-size: 13px; }
  .questions-section { padding: 48px 0; }
  .questions-grid { gap: 24px; }
  .faq-list summary { font-size: 15px; }
  .faq-list p { font-size: 15px; }
  .site-footer { padding: 32px 0 24px; }
  .footer-grid { gap: 20px; }
  .footer-links { justify-content: flex-start; gap: 0 20px; }
  .legal-main { padding: 40px 0 56px; }
  .legal-aside { position: static; }
  .legal-content { padding: 24px 20px; }
  .legal-content h1 { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
