:root { --accent:#4f46e5; --accent-dark:#3730a3; --accent-soft:#eef2ff; --ink:#20202a; --muted:#686879; --line:#e7e7ef; --page:#f8f8fb; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
body { margin:0; background:var(--page); color:var(--ink); font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
a { color:var(--accent-dark); } button,input { font:inherit; } button { cursor:pointer; } button:disabled { cursor:not-allowed; opacity:.55; }
:focus-visible { outline:3px solid #958cf6; outline-offset:4px; }
.container { width:min(1100px,calc(100% - 2rem)); margin-inline:auto; }
.skip-link { position:absolute; top:-100px; padding:12px; background:white; z-index:10; }.skip-link:focus { top:0; }
.site-header { background:white; border-bottom:1px solid var(--line); }.header-inner { display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; padding-block:18px; }
.brand { color:var(--ink); text-decoration:none; font-size:1rem; font-weight:800; }.brand-mark { color:var(--accent); }
.header-nav { display:flex; flex-wrap:wrap; gap:1.1rem; }.header-nav a { color:var(--ink); font-size:.84rem; font-weight:700; text-decoration:none; }.header-nav [aria-current] { color:var(--accent); }
.breadcrumb { margin-top:18px; color:var(--muted); font-size:.8rem; }.breadcrumb ol { display:flex; flex-wrap:wrap; gap:8px; padding:0; list-style:none; }.breadcrumb li+li:before { content:'/'; margin-right:8px; }
.hero { text-align:center; margin:24px auto; }.eyebrow { color:var(--accent); font-size:.72rem; letter-spacing:.13em; font-weight:800; text-transform:uppercase; }
h1 { font-size:clamp(2rem,4.5vw,3.2rem); line-height:1.12; letter-spacing:-.04em; margin:12px 0; }.hero p:last-child { color:var(--muted); max-width:680px; margin:0 auto; }
.tool { background:white; border:1px solid var(--line); border-radius:18px; padding:24px; box-shadow:0 12px 32px #231f4e0b; }
label,.field-label { display:block; font-size:.84rem; font-weight:700; margin-bottom:7px; }#signature-name { width:100%; min-height:50px; padding:10px 14px; border:2px solid #d7d4ea; border-radius:10px; font-size:1.05rem; }
.hint { font-size:.78rem; color:var(--muted); margin:8px 0 20px; }.workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:24px; }
.font-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }.font-choice { text-align:left; min-width:0; padding:10px 12px; border:1px solid var(--line); border-radius:11px; background:#fcfcfe; color:var(--ink); }.font-choice[aria-pressed=true] { border:2px solid var(--accent); padding:9px 11px; background:var(--accent-soft); }.font-choice:hover { background:var(--accent-soft); }
.font-title { display:block; font-size:.72rem; font-weight:700; }.font-sample { display:block; font-size:29px; line-height:1.65; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.preview-pane { min-width:0; }.preview-label { display:flex; justify-content:space-between; gap:1rem; align-items:center; }.preview-label span:last-child { font-size:.73rem; color:var(--muted); }
.preview { min-height:205px; display:flex; align-items:center; justify-content:center; overflow:hidden; padding:20px; border:1px solid var(--line); border-radius:12px; background-color:white; background-image:linear-gradient(45deg,#eeeef3 25%,transparent 25%),linear-gradient(-45deg,#eeeef3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eeeef3 75%),linear-gradient(-45deg,transparent 75%,#eeeef3 75%); background-size:20px 20px; background-position:0 0,0 10px,10px -10px,-10px 0; }
canvas { display:block; max-width:100%; max-height:190px; width:auto; height:auto; object-fit:contain; }#dimensions { min-height:22px; margin:8px 0; color:var(--muted); font-size:.74rem; text-align:right; }
.controls { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:15px; }.controls label { display:flex; justify-content:space-between; gap:8px; }.controls output { color:var(--muted); font-weight:400; }input[type=range] { width:100%; accent-color:var(--accent); }input[type=color] { width:56px; height:38px; border:1px solid var(--line); border-radius:6px; background:white; padding:3px; }
.bottom-controls { display:flex; align-items:end; justify-content:space-between; gap:12px; margin:12px 0; }.reset { padding:8px 12px; background:white; color:var(--muted); border:1px solid var(--line); border-radius:8px; }.download { width:100%; min-height:48px; background:var(--accent); color:white; font-weight:750; border:0; border-radius:10px; }.download:hover:enabled { background:var(--accent-dark); }
#status { color:var(--muted); font-size:.78rem; min-height:40px; margin:10px 0 0; }.privacy-note { text-align:center; color:var(--muted); font-size:.78rem; margin:16px 0 0; }
.content-section { margin:58px 0; }.section-heading { text-align:center; margin-bottom:24px; }h2 { font-size:clamp(1.5rem,3vw,2rem); letter-spacing:-.025em; line-height:1.2; margin:0 0 10px; }.section-heading p { color:var(--muted); }.copy-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }.copy-block { background:white; border:1px solid var(--line); border-radius:14px; padding:22px; }h3 { font-size:1rem; margin:0 0 8px; }.copy-block p { color:var(--muted); font-size:.91rem; margin:0; }.steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; padding:0; list-style:none; }.step-number { color:var(--accent); font-weight:800; font-size:.78rem; display:block; margin-bottom:10px; }
.faq-list { max-width:850px; margin:auto; display:grid; gap:12px; }.related { text-align:center; }.site-footer { padding:28px 0; background:white; border-top:1px solid var(--line); color:var(--muted); font-size:.8rem; }.footer-inner { display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px; }.footer-nav { display:flex; flex-wrap:wrap; gap:16px; }
@media(max-width:760px) { .workspace { grid-template-columns:1fr; }.preview-pane { grid-row:1; }.copy-grid,.steps { grid-template-columns:1fr; }.header-inner { justify-content:center; }.header-nav { justify-content:center; gap:.8rem; }.header-nav a { font-size:.74rem; }.tool { padding:16px; }.hero { margin:20px auto; }.hero p:last-child { font-size:.9rem; }.preview { min-height:160px; }.font-grid { margin-top:8px; }.content-section { margin:40px 0; } }
@media(prefers-reduced-motion:no-preference) { button { transition:background .15s,border-color .15s; } }
