:root {
    --midnight: #0F172A;
    --primary: #15803d;
    --primary-dark: #166534;
    --primary-light: #DCFCE7;
    --cloud: #F8FAFC;
    --slate: #64748B;
    --slate-light: #E2E8F0;
    --error: #B91C1C;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--cloud); color: var(--midnight); line-height: 1.7; }
.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.btn { padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; border: none; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn-primary { background: var(--primary); color: var(--midnight); }
.btn-primary:hover { background: #4ADE80; }
.btn-primary:disabled { opacity: 0.6; cursor: wait; }
.btn-secondary { background: white; color: var(--midnight); border: 1px solid var(--slate-light); }
.btn-secondary:hover { background: var(--cloud); }
.breadcrumb { padding: 24px 0; font-size: 14px; color: var(--slate); }
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-dark); }
article { background: white; border-radius: 12px; border: 1px solid var(--slate-light); padding: 48px; margin-bottom: 48px; }
h1 { font-size: 40px; font-weight: 700; line-height: 1.2; margin-bottom: 24px; }
.lead { font-size: 20px; color: var(--slate); margin-bottom: 32px; }
h2 { font-size: 28px; font-weight: 700; margin-top: 48px; margin-bottom: 16px; line-height: 1.3; }
h3 { font-size: 20px; font-weight: 600; margin-top: 32px; margin-bottom: 12px; }
p { margin-bottom: 16px; }
ul, ol { margin-bottom: 16px; padding-left: 24px; }
li { margin-bottom: 12px; }
a { color: var(--primary-dark); }
.updated { font-size: 14px; color: var(--slate); margin-top: -16px; margin-bottom: 24px; }

/* Free generator on the page */
.widget { background: var(--cloud); border: 1px solid var(--slate-light); border-radius: 12px; padding: 28px; margin: 32px 0; }
.widget h2 { margin-top: 0; font-size: 24px; }
.widget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.widget-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.widget-field.wide { grid-column: 1 / -1; }
.widget-field label { font-size: 14px; font-weight: 600; }
.widget-field input { font: inherit; padding: 12px 14px; border: 1px solid #94A3B8; border-radius: 8px; background: white; color: var(--midnight); min-width: 0; }
.widget-field select { font: inherit; padding: 12px 14px; border: 1px solid #94A3B8; border-radius: 8px; background: white; color: var(--midnight); min-width: 0; }
.widget-field input:disabled { background: var(--slate-light); cursor: not-allowed; }
.widget-check { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 15px; }
.widget-check input { width: 20px; height: 20px; flex: none; accent-color: var(--primary-dark); }
.widget-field input:focus-visible, .widget-field select:focus-visible, .widget-check input:focus-visible, .btn:focus-visible, a:focus-visible { outline: 3px solid #1D4ED8; outline-offset: 2px; }
.field-hint { font-size: 13px; color: var(--slate); margin: 0; }
.widget-error { color: var(--error); font-weight: 600; margin-top: 12px; margin-bottom: 0; }
.widget-result { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--slate-light); }
.widget-result[hidden], .widget-error[hidden], .claim-box[hidden], .short-link[hidden] { display: none; }
.widget-qr { width: 220px; height: 220px; border-radius: 8px; border: 1px solid var(--slate-light); background: white; }
.widget-actions { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 220px; }
.widget-actions .row { display: flex; gap: 10px; flex-wrap: wrap; }
.short-link { font-size: 14px; word-break: break-all; margin: 0; }
.claim-box { background: white; border: 1px solid var(--slate-light); border-radius: 8px; padding: 16px; }
.claim-box label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.claim-box .claim-row { display: flex; gap: 8px; flex-wrap: wrap; }
.claim-box input { font: inherit; padding: 10px 12px; border: 1px solid #94A3B8; border-radius: 8px; flex: 1; min-width: 160px; }
.claim-status { font-size: 13px; color: var(--slate); margin: 8px 0 0; }
.widget-note { font-size: 13px; color: var(--slate); margin: 16px 0 0; }

.callout { background: var(--primary-light); border-radius: 12px; padding: 24px; margin: 24px 0; }
.callout p:last-child { margin-bottom: 0; }
.callout .callout-title { font-weight: 700; margin-bottom: 8px; }
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; min-height: 40px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--midnight); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.faq { margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--slate-light); padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { margin: 0 0 8px; font-size: 17px; }
.faq-item p { margin: 0; color: var(--slate); }
.sources { font-size: 14px; color: var(--slate); }
.internal-links { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--slate-light); }
.internal-links h2 { margin-top: 0; font-size: 22px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }
.related-card { background: var(--cloud); padding: 16px; border-radius: 8px; text-decoration: none; color: var(--midnight); display: block; }
.related-card:hover { background: var(--slate-light); }
.related-card small { color: var(--slate); }
footer { border-top: 1px solid var(--slate-light); padding: 48px 24px; text-align: center; color: var(--slate); }
footer a { color: var(--slate); text-decoration: none; margin: 0 12px; display: inline-block; padding: 4px 0; }
footer a:hover { color: #22C55E; }
@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 24px; }
    article { padding: 24px; }
    .widget { padding: 20px; }
    .widget-grid { grid-template-columns: 1fr; }
}
