pricing-page-saas
the brief, redacted

Build a complete three-tier pricing page as one self-contained HTML document. Tests layout, typographic hierarchy, and restraint under a familiar brief.

504 chars · 76 words · fingerprint a8a380793653

raw output — byte exact

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pricing — DevTool</title>
<style>
  :root {
    --bg: #0b0d12;
    --bg-alt: #12151c;
    --card: #151922;
    --card-border: #262b36;
    --text: #e7e9ee;
    --text-dim: #9aa2b1;
    --text-faint: #6b7280;
    --accent: #7c9cff;
    --accent-strong: #93b1ff;
    --success: #63e6be;
    --radius: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      "Helvetica Neue", Arial, sans-serif;
  }

  * { box-sizing: border-box; }

  html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
  }

  body {
    padding: 64px 24px 80px;
  }

  .page {
    max-width: 1120px;
    margin: 0 auto;
  }

  header.hero {
    text-align: center;
    margin-bottom: 48px;
  }

  header.hero h1 {
    font-size: 2.4rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
  }

  header.hero p {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.5;
  }

  .billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    padding: 6px;
    border-radius: 999px;
    font-size: 0.85rem;
  }

  .billing-toggle span {
    padding: 6px 12px;
    color: var(--text-faint);
    user-select: none;
  }

  .billing-toggle span.active {
    color: var(--text);
    background: #1d2230;
    border-radius: 999px;
  }

  .save-tag {
    font-size: 0.7rem;
    color: var(--success);
    margin-left: 4px;
    font-weight: 600;
  }

  .switch {
    position: relative;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
  }

  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #2a3040;
    border-radius: 999px;
    transition: background 0.2s ease;
  }

  .slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: var(--text);
    border-radius: 50%;
    transition: transform 0.2s ease;
  }

  input:checked + .slider {
    background: var(--accent);
  }

  input:checked + .slider::before {
    transform: translateX(18px);
    background: #0b0d12;
  }

  .tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
  }

  @media (max-width: 900px) {
    .tiers {
      grid-template-columns: 1fr;
    }
    .tier.featured {
      transform: none;
      order: -1;
    }
  }

  .tier {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .tier.featured {
    background: linear-gradient(180deg, #171c2b 0%, #141824 100%);
    border-color: #3b4870;
    box-shadow: 0 20px 45px -20px rgba(90, 110, 255, 0.35);
    transform: translateY(-10px);
    position: relative;
  }

  .tier-name {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 14px;
  }

  .tier.featured .tier-name {
    color: var(--accent-strong);
  }

  .price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
  }

  .price {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .price-suffix {
    color: var(--text-faint);
    font-size: 0.95rem;
  }

  .tagline {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 24px;
    min-height: 44px;
  }

  .cta {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid var(--card-border);
    color: var(--text);
    background: transparent;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
    margin-bottom: 28px;
  }

  .cta:hover {
    border-color: #444c5f;
    background: #1a1f2b;
  }

  .cta.primary {
    background: var(--accent);
    color: #0b0d12;
    border-color: var(--accent);
  }

  .cta.primary:hover {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
  }

  .features {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
  }

  .features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dim);
    padding: 8px 0;
    border-top: 1px solid #1e2330;
  }

  .features li:first-child {
    border-top: none;
  }

  .features li .check {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 1px;
  }

  .tier.featured .features li .check {
    color: var(--accent-strong);
  }

  footer.note {
    text-align: center;
    margin-top: 48px;
    color: var(--text-faint);
    font-size: 0.85rem;
  }

  footer.note a {
    color: var(--text-dim);
  }
</style>
</head>
<body>
  <div class="page">
    <header class="hero">
      <h1>Pricing built for how you actually ship</h1>
      <p>Start free, upgrade when your team grows. No hidden fees, cancel anytime.</p>

      <div class="billing-toggle">
        <span id="labelMonthly" class="active">Monthly</span>
        <label class="switch">
          <input type="checkbox" id="billingSwitch" onchange="toggleBilling()">
          <span class="slider"></span>
        </label>
        <span id="labelAnnual">Annual <span class="save-tag">Save 20%</span></span>
      </div>
    </header>

    <div class="tiers">

      <!-- Hobby -->
      <div class="tier">
        <div class="tier-name">Hobby</div>
        <div class="price-row">
          <span class="price">$0</span>
          <span class="price-suffix">forever</span>
        </div>
        <p class="tagline">For side projects and learning without commitment.</p>
        <a href="#" class="cta">Start for free</a>
        <ul class="features">
          <li><span class="check">✓</span> Public repositories only</li>
          <li><span class="check">✓</span> 1 concurrent build</li>
          <li><span class="check">✓</span> 100 CI/CD minutes / month</li>
          <li><span class="check">✓</span> 1 collaborator</li>
          <li><span class="check">✓</span> Community support</li>
        </ul>
      </div>

      <!-- Pro -->
      <div class="tier featured">
        <div class="tier-name">Pro</div>
        <div class="price-row">
          <span class="price" id="proPrice">$20</span>
          <span class="price-suffix">/ month</span>
        </div>
        <p class="tagline">For professional developers shipping to production regularly.</p>
        <a href="#" class="cta primary">Start free trial</a>
        <ul class="features">
          <li><span class="check">✓</span> Unlimited private repositories</li>
          <li><span class="check">✓</span> 5 concurrent builds</li>
          <li><span class="check">✓</span> 3,000 CI/CD minutes / month</li>
          <li><span class="check">✓</span> Up to 10 collaborators</li>
          <li><span class="check">✓</span> Custom domains</li>
          <li><span class="check">✓</span> Priority email support</li>
        </ul>
      </div>

      <!-- Team -->
      <div class="tier">
        <div class="tier-name">Team</div>
        <div class="price-row">
          <span class="price" id="teamPrice">$60</span>
          <span class="price-suffix">/ seat / month</span>
        </div>
        <p class="tagline">For teams building and deploying together at scale.</p>
        <a href="#" class="cta">Contact sales</a>
        <ul class="features">
          <li><span class="check">✓</span> Everything in Pro</li>
          <li><span class="check">✓</span> Unlimited concurrent builds</li>
          <li><span class="check">✓</span> SSO & audit logs</li>
          <li><span class="check">✓</span> Role-based access control</li>
          <li><span class="check">✓</span> Dedicated Slack channel</li>
          <li><span class="check">✓</span> 99.9% uptime SLA</li>
        </ul>
      </div>

    </div>

    <footer class="note">
      <p>All plans include unlimited public projects and community access. Need something custom? <a href="#">Talk to us</a>.</p>
    </footer>
  </div>

  <script>
    function toggleBilling() {
      var checked = document.getElementById('billingSwitch').checked;
      document.getElementById('labelMonthly').classList.toggle('active', !checked);
      document.getElementById('labelAnnual').classList.toggle('active', checked);
      document.getElementById('proPrice').textContent = checked ? '$16' : '$20';
      document.getElementById('teamPrice').textContent = checked ? '$48' : '$60';
    }
  </script>
</body>
</html>

request envelope — prompt redacted

{
  "model": "anthropic/claude-sonnet-5",
  "system": "Respond with a single complete, self-contained HTML document and nothing else. No markdown fences, no explanation. Inline all CSS and JavaScript. Do not reference any external resource — no CDN scripts, no external stylesheets, no remote fonts or images. The document must render correctly offline.",
  "messages": [
    {
      "role": "user",
      "content": "«REDACTED — 81 words, 504 chars»"
    }
  ],
  "maxOutputTokens": 32000,
  "gatewayStringId": "913c6230-cffd-4220-a05f-aa5c3bf66c4d"
}