<style nonce="{{ csp_nonce }}">
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
        --bg: #f5f5f5;
        --bg-card: #fff;
        --bg-elevated: #f9f9f9;
        --text: #1a1a2e;
        --text-muted: #666;
        --text-dim: #6b6b6b;
        --accent: #10b981;
        --accent-bright: #059669;
        --accent-dim: rgba(16, 185, 129, 0.08);
        --accent-glow: rgba(16, 185, 129, 0.15);
        --border: #e5e7eb;
        --border-light: #ddd;
        --success: #22c55e;
        --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        --mono: 'SF Mono', 'Cascadia Code', 'Fira Code', Consolas, monospace;
    }

    html { scroll-behavior: smooth; }

    body {
        font-family: var(--font);
        font-size: 15px;
        background: var(--bg);
        color: var(--text);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
    }

    .container { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

    /* BUTTONS */
    .btn {
        display: inline-flex; align-items: center; justify-content: center; gap: 6px;
        padding: 11px 24px;
        background: var(--accent);
        color: #fff;
        text-decoration: none; border-radius: 6px; font-size: 14px;
        font-weight: 600; border: none; cursor: pointer;
        transition: background 0.15s, box-shadow 0.15s;
        font-family: var(--font);
        box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    }
    .btn:hover {
        background: var(--accent-bright);
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    }
    .btn-outline {
        background: transparent;
        border: 1.5px solid var(--border-light);
        color: var(--text);
        box-shadow: none;
    }
    .btn-outline:hover {
        border-color: #bbb;
        color: var(--text);
        background: rgba(0,0,0,0.02);
    }

    /* SMALL BUTTON */
    .btn-sm {
        padding: 6px 14px;
        font-size: 13px;
        line-height: 1.4;
    }

    /* FORM INPUTS — unified styling for all input types */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="url"],
    input[type="date"],
    input[type="search"],
    input[type="tel"],
    input[type="time"],
    input[type="datetime-local"],
    input[type="month"],
    input[type="week"],
    select,
    textarea,
    .form-control {
        margin: 0;
        padding: 10px 14px;
        border: 1.5px solid var(--border);
        border-radius: 6px;
        font-size: 14px;
        line-height: 1.4;
        background: #fafafa;
        color: var(--text);
        transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
        min-height: 42px;
        box-sizing: border-box;
        font-family: var(--font);
        width: 100%;
    }
    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="password"]:focus,
    input[type="number"]:focus,
    input[type="url"]:focus,
    input[type="date"]:focus,
    input[type="search"]:focus,
    input[type="tel"]:focus,
    input[type="time"]:focus,
    input[type="datetime-local"]:focus,
    input[type="month"]:focus,
    input[type="week"]:focus,
    select:focus,
    textarea:focus,
    .form-control:focus {
        outline: none;
        border-color: var(--accent);
        background: #fff;
        box-shadow: 0 0 0 3px var(--accent-glow);
    }
    input[type="text"]::placeholder,
    input[type="email"]::placeholder,
    input[type="password"]::placeholder,
    input[type="number"]::placeholder,
    input[type="url"]::placeholder,
    input[type="date"]::placeholder,
    input[type="search"]::placeholder,
    input[type="tel"]::placeholder,
    input[type="time"]::placeholder,
    input[type="datetime-local"]::placeholder,
    input[type="month"]::placeholder,
    input[type="week"]::placeholder,
    textarea::placeholder,
    .form-control::placeholder {
        color: var(--text-dim);
        opacity: 1;
    }

    /* Color input — special handling */
    input[type="color"] {
        padding: 2px;
        height: 42px;
        width: 42px;
        cursor: pointer;
        border-radius: 6px;
    }

    /* File input */
    input[type="file"] {
        padding: 8px 12px;
        font-size: 14px;
        font-family: var(--font);
        border: 1.5px dashed var(--border);
        border-radius: 6px;
        background: #fafafa;
        min-height: 42px;
        cursor: pointer;
    }
    input[type="file"]:hover {
        border-color: var(--accent);
        background: var(--accent-dim);
    }

    /* Range input */
    input[type="range"] {
        width: 100%;
        height: 6px;
        -webkit-appearance: none;
        appearance: none;
        background: var(--border);
        border-radius: 3px;
        outline: none;
    }
    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--accent);
        cursor: pointer;
        border: 2px solid #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    }

    /* Disabled inputs */
    input:disabled,
    select:disabled,
    textarea:disabled,
    input[readonly] {
        opacity: 0.5;
        cursor: not-allowed;
        background: #f3f4f6;
    }

    /* Checkbox + Radio */
    input[type="checkbox"],
    input[type="radio"] {
        width: 18px;
        height: 18px;
        margin: 0;
        cursor: pointer;
        accent-color: var(--accent);
        flex-shrink: 0;
    }

    /* Select — arrow styling */
    select {
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.5L1 3.5h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 36px;
    }

    /* Textarea */
    textarea {
        min-height: 80px;
        resize: vertical;
    }

    /* Form group — label + input pairing */
    label {
        display: block;
        font-size: 13px;
        font-weight: 500;
        color: var(--text);
        margin-bottom: 6px;
        cursor: pointer;
    }
    .form-group {
        margin-bottom: 16px;
    }
    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 500;
        color: var(--text);
        margin-bottom: 6px;
    }
    .form-group .form-hint {
        font-size: 12px;
        color: var(--text-dim);
        margin-top: 4px;
    }

    /* Inline form — inputs in a row */
    .form-inline {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .form-inline .form-group {
        margin-bottom: 0;
        flex: 1;
    }

    /* SECTION */
    section { padding: 80px 0; }
    .section-label {
        display: inline-flex; align-items: center; gap: 8px;
        font-size: 11px; font-weight: 600; text-transform: uppercase;
        letter-spacing: 0.12em; color: var(--text-dim);
        margin-bottom: 16px;
        font-family: var(--font);
    }
    .section-label::before {
        content: '';
        width: 8px; height: 8px;
        background: var(--accent);
        border-radius: 2px;
        opacity: 0.5;
    }
    .section-title {
        font-size: clamp(24px, 3.5vw, 36px);
        font-weight: 700; letter-spacing: -0.02em;
        color: var(--text); margin-bottom: 12px; line-height: 1.15;
    }
    .section-sub {
        font-size: 17px; color: var(--text-muted); max-width: 520px; line-height: 1.5;
    }
    .section-header { margin-bottom: 48px; }
    .section-header.center { text-align: center; }
    .section-header.center .section-label {
        justify-content: center;
    }
    .section-header.center .section-sub { margin: 0 auto; }

    /* FEATURES GRID */
    .features-grid {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    }
    .feature {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 28px 24px;
        transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .feature:hover {
        border-color: var(--border-light);
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
        transform: translateY(-2px);
    }
    .feature-icon {
        width: 44px; height: 44px; border-radius: 10px;
        background: var(--accent-dim);
        display: flex; align-items: center;
        justify-content: center; margin-bottom: 16px;
        font-size: 18px; color: var(--accent);
    }
    .feature h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
    .feature p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

    /* CODE BLOCK */
    .code-section { padding: 60px 0; }
    .code-block {
        background: #1e1e2e;
        border: 1px solid #313244;
        border-radius: 10px;
        overflow: hidden;
        max-width: 640px; margin: 0 auto;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    }
    .code-header {
        display: flex; align-items: center; gap: 8px;
        padding: 10px 20px;
        border-bottom: 1px solid #313244;
        background: #181825;
    }
    .code-lang {
        font-size: 12px; color: #89b4fa;
        font-family: var(--mono);
        font-weight: 500;
    }
    pre {
        padding: 24px; overflow-x: auto; font-family: var(--mono);
        font-size: 13.5px; line-height: 1.65; color: #cdd6f4;
    }
    pre .kw { color: #cba6f7; }
    pre .str { color: #a6e3a1; }
    pre .cm { color: #6c7086; }
    pre .fn { color: #89b4fa; }
    pre .num { color: #f9e2af; }

 

    /* PRICING GRID */
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
    .pricing-grid .feature {
        text-align: center;
    }
    .pricing-grid .feature h3 {
        font-size: 13px;
        text-transform: none;
        letter-spacing: 0;
        margin-bottom: 8px;
        font-family: var(--font);
    }

    /* STICKY FOOTER LAYOUT */
    html, body { height: 100%; }
    body { display: flex; flex-direction: column; min-height: 100vh; }
    .main-wrapper { flex: 1 0 auto; }

    /* FOOTER */
    footer {
        border-top: 1px solid var(--border);
        padding: 32px 0;
        flex-shrink: 0;
    }
    .footer-inner {
        display: flex; align-items: center; justify-content: space-between;
    }
    .footer-copy { font-size: 13px; color: var(--text-dim); }
    .footer-links { display: flex; gap: 20px; }
    .footer-links a { font-size: 13px; color: var(--text-dim); text-decoration: none; }
    .footer-links a:hover { color: var(--text-muted); }


    /* MOBILE */
    @media (max-width: 768px) {
        .nav-links { gap: 16px; }
        .nav-links a.hide-mobile { display: none; }
        .steps { grid-template-columns: 1fr; gap: 16px; }
        .features-grid { grid-template-columns: 1fr; }
        .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    }

    @media (max-width: 480px) {
        .nav-links .btn { padding: 7px 14px; font-size: 13px; }
        .pricing-grid { grid-template-columns: 1fr; }
    }
</style>
