<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Terms of Service — DocFast</title>
<meta name="description" content="Terms of service for DocFast API - legal terms and conditions for using our PDF generation service.">
<meta property="og:title" content="Terms of Service — DocFast">
<meta property="og:description" content="Terms of service for DocFast API - legal terms and conditions for using our PDF generation service.">
<meta property="og:url" content="https://docfast.dev/terms">
<link rel="canonical" href="https://docfast.dev/terms">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0b0d11; --bg2: #12151c; --fg: #e4e7ed; --muted: #7a8194;
  --accent: #34d399; --accent-hover: #5eead4; --accent-glow: rgba(52,211,153,0.12);
  --card: #151922; --border: #1e2433;
  --radius: 12px; --radius-lg: 16px;
}
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--fg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
nav { padding: 20px 0; border-bottom: 1px solid var(--border); }
nav .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; color: var(--fg); display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--fg); }
.content { padding: 60px 0; min-height: 60vh; }
.content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 32px; letter-spacing: -1px; }
.content h2 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 16px; color: var(--fg); }
.content h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 12px; color: var(--fg); }
.content p, .content li { color: var(--muted); margin-bottom: 12px; }
.content ul, .content ol { padding-left: 24px; }
.content strong { color: var(--fg); }
footer { padding: 32px 0; border-top: 1px solid var(--border); margin-top: 60px; }
footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-left { color: var(--muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--fg); }
@media (max-width: 768px) {
  footer .container { flex-direction: column; text-align: center; }
  .nav-links { gap: 16px; }
}
/* Skip to content */
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #0b0d11; padding: 8px 16px; border-radius: 0 0 8px 8px; font-weight: 600; font-size: 0.9rem; z-index: 200; transition: top 0.2s; }
.skip-link:focus { top: 0; }
</style>
</head>
<body>
<a href="#main" class="skip-link">Skip to content</a>

{{> nav}}

<main id="main">
  <div class="container">
    <h1>Terms of Service</h1>
    <p><em>Last updated: February 16, 2026</em></p>

    <div class="info">
      By using DocFast, you agree to these terms. Please read them carefully.
    </div>

    <h2>1. Service Description</h2>
    <p>DocFast provides an API service for converting HTML, Markdown, and URLs to PDF documents. The service includes:</p>
    <ul>
      <li>HTML to PDF conversion</li>
      <li>Markdown to PDF conversion</li>
      <li>URL to PDF conversion</li>
      <li>Pre-built invoice and receipt templates</li>
      <li>Custom CSS styling support</li>
    </ul>

    <h2>2. Service Plans</h2>
    
    <h3>2.1 Free Tier</h3>
    <ul>
      <li><strong>Monthly limit:</strong> 100 PDF conversions</li>
      <li><strong>Rate limit:</strong> 10 requests per minute</li>
      <li><strong>Fair use policy:</strong> Personal and small business use</li>
      <li><strong>Support:</strong> Community documentation</li>
    </ul>

    <h3>2.2 Pro Tier</h3>
    <ul>
      <li><strong>Price:</strong> €9 per month</li>
      <li><strong>Monthly limit:</strong> 10,000 PDF conversions</li>
      <li><strong>Rate limit:</strong> Higher limits based on fair use</li>
      <li><strong>Support:</strong> Priority email support (<a href="mailto:support@docfast.dev">support@docfast.dev</a>)</li>
      <li><strong>Billing:</strong> Monthly subscription via Stripe</li>
    </ul>

    <div class="highlight">
      <strong>Overage:</strong> If you exceed your plan limits, API requests will return rate limiting errors. No automatic charges apply.
    </div>

    <h2>3. Acceptable Use</h2>
    
    <h3>3.1 Permitted Uses</h3>
    <ul>
      <li>Business documents (invoices, reports, receipts)</li>
      <li>Personal document generation</li>
      <li>Integration into web applications</li>
      <li>Educational and non-commercial projects</li>
    </ul>

    <h3>3.2 Prohibited Uses</h3>
    <ul>
      <li><strong>Illegal content:</strong> No processing of copyrighted material without permission</li>
      <li><strong>Abuse:</strong> No attempts to overload or disrupt the service</li>
      <li><strong>Harmful content:</strong> No generation of malicious, threatening, or harmful documents</li>
      <li><strong>Reselling:</strong> No white-labeling or reselling of the raw API service</li>
      <li><strong>Reverse engineering:</strong> No attempts to extract proprietary algorithms</li>
    </ul>

    <div class="warning">
      <strong>Violation consequences:</strong> Account termination, permanent ban, and legal action if necessary.
    </div>

    <h2>4. API Key Security</h2>
    <ul>
      <li><strong>Responsibility:</strong> You are responsible for keeping your API key secure</li>
      <li><strong>Unauthorized use:</strong> You are liable for all usage under your API key</li>
      <li><strong>Recovery:</strong> Lost keys can be recovered via email verification</li>
      <li><strong>Sharing:</strong> Do not share API keys publicly or in client-side code</li>
    </ul>

    <h2>5. Service Availability</h2>
    
    <h3>5.1 Uptime</h3>
    <ul>
      <li><strong>Target:</strong> 99.5% uptime (best effort, no SLA for free tier)</li>
      <li><strong>Maintenance:</strong> Scheduled maintenance with advance notice</li>
      <li><strong>Status page:</strong> <a href="/health">https://docfast.dev/health</a></li>
    </ul>

    <h3>5.2 Performance</h3>
    <ul>
      <li><strong>Processing time:</strong> Typically under 1 second per PDF</li>
      <li><strong>Rate limiting:</strong> Applied fairly to ensure service stability</li>
      <li><strong>File size limits:</strong> Input HTML/Markdown up to 2MB</li>
    </ul>

    <h2>6. Data Processing</h2>
    <ul>
      <li><strong>No storage:</strong> PDF content is processed in memory only</li>
      <li><strong>Logs:</strong> API usage logs retained for 90 days</li>
      <li><strong>Privacy:</strong> See our <a href="/privacy">Privacy Policy</a> for details</li>
      <li><strong>EU hosting:</strong> All data processed in Germany (Hetzner)</li>
    </ul>

    <h2>7. Payment Terms</h2>
    
    <h3>7.1 Pro Subscription</h3>
    <ul>
      <li><strong>Billing cycle:</strong> Monthly, billed in advance</li>
      <li><strong>Payment method:</strong> Credit card via Stripe</li>
      <li><strong>Currency:</strong> EUR (Euro)</li>
      <li><strong>Auto-renewal:</strong> Subscription renews automatically</li>
    </ul>

    <h3>7.2 Cancellation</h3>
    <ul>
      <li><strong>Anytime:</strong> Cancel your subscription at any time</li>
      <li><strong>Access:</strong> Service continues until end of billing period</li>
      <li><strong>Refunds:</strong> No partial refunds for unused portions</li>
    </ul>

    <div class="info">
      <strong>EU Consumer Rights:</strong> 14-day right of withdrawal applies to digital services not yet delivered. Once you start using the Pro service, withdrawal right expires.
    </div>

    <h2>8. Limitation of Liability</h2>
    <ul>
      <li><strong>Service provision:</strong> Best effort basis, no guarantees</li>
      <li><strong>Damages:</strong> Our liability is limited to the amount paid for the service</li>
      <li><strong>Indirect damages:</strong> We are not liable for lost profits, business interruption, or data loss</li>
      <li><strong>Force majeure:</strong> Not liable for events beyond our reasonable control</li>
    </ul>

    <h2>9. Account Termination</h2>
    
    <h3>9.1 By You</h3>
    <ul>
      <li>Delete your account by emailing <a href="mailto:legal@docfast.dev">legal@docfast.dev</a></li>
      <li>Cancel Pro subscription through your account or email</li>
    </ul>

    <h3>9.2 By Us</h3>
    <p>We may terminate accounts for:</p>
    <ul>
      <li>Violation of these terms</li>
      <li>Non-payment (Pro accounts)</li>
      <li>Extended inactivity (12+ months)</li>
      <li>Technical abuse or security concerns</li>
    </ul>

    <div class="warning">
      <strong>Termination notice:</strong> We will provide reasonable notice except for immediate security threats.
    </div>

    <h2>10. Intellectual Property</h2>
    <ul>
      <li><strong>Service ownership:</strong> DocFast and its technology remain our property</li>
      <li><strong>Your content:</strong> You retain rights to content you process through our API</li>
      <li><strong>Generated PDFs:</strong> You own the PDFs generated from your content</li>
      <li><strong>Feedback:</strong> Any feedback provided may be used to improve the service</li>
    </ul>

    <h2>11. Governing Law</h2>
    <ul>
      <li><strong>Jurisdiction:</strong> These terms are governed by Austrian law</li>
      <li><strong>Courts:</strong> Disputes resolved in Vienna, Austria</li>
      <li><strong>Language:</strong> German version prevails in case of translation conflicts</li>
      <li><strong>EU regulations:</strong> GDPR and other EU laws apply</li>
    </ul>

    <h2>12. Changes to Terms</h2>
    <p>We may update these terms by:</p>
    <ul>
      <li><strong>Email notification:</strong> For material changes affecting your rights</li>
      <li><strong>Website posting:</strong> Updated version posted with revision date</li>
      <li><strong>Continued use:</strong> Using the service after changes constitutes acceptance</li>
    </ul>

    <h2>13. Contact Information</h2>
    <p>Questions about these terms:</p>
    <ul>
      <li><strong>Email:</strong> <a href="mailto:legal@docfast.dev">legal@docfast.dev</a></li>
      <li><strong>Company:</strong> Cloonar Technologies GmbH, Vienna, Austria</li>
      <li><strong>Legal notice:</strong> See <a href="/impressum">Impressum</a> for full company details</li>
    </ul>

    <div class="highlight">
      <strong>Effective Date:</strong> These terms are effective immediately upon posting. By using DocFast, you acknowledge reading and agreeing to these terms.
    </div>
  </div>
</main>

{{> footer}}

</body>
</html>
