/* Signora — design tokens */
:root{
  --bg:#fbfaf7;--surface:#fff;--sunken:#f3f1ec;
  --ink:#14161c;--ink-2:#3d4151;--muted:#5c6070;
  --line:#e7e5de;--line-strong:#d6d3ca;
  --accent:#0f7a4d;--accent-hover:#0a6540;--accent-soft:#e2f4ea;--accent-ink:#0a5c3a;
  --coral:#ff6b4a;--mint:#0f8a68;--mint-soft:#e3f5ee;--gold:#8a5a12;--gold-soft:#fbefd6;
  --dark:#0f1015;--dark-2:#1a1c25;--on-dark:#f4f4f8;--on-dark-muted:#b6b9c9;
  --display:'Bricolage Grotesque','DM Sans',Arial,sans-serif;--sans:'DM Sans',Arial,sans-serif;
  --ease:cubic-bezier(.22,1,.36,1);
  --r-sm:8px;--r-md:12px;--r-lg:20px;--r-xl:28px;
  --shadow-sm:0 1px 2px rgba(20,22,28,.05),0 2px 8px rgba(20,22,28,.04);
  --shadow-md:0 8px 28px rgba(20,22,28,.08);
  --shadow-lg:0 24px 60px rgba(10,70,45,.16);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,p{margin-top:0}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:6px}
.skip-link{position:absolute;left:12px;top:-60px;background:var(--ink);color:#fff;padding:10px 16px;border-radius:var(--r-sm);z-index:100;transition:top .2s var(--ease)}
.skip-link:focus{top:12px}
.container{max-width:1200px;margin:0 auto;padding:0 28px}
.ico{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Motion initial states: only hidden when JS + motion are enabled (reduced-motion users never get .motion) */
.motion [data-hero],.motion [data-reveal],.motion [data-stagger]>*{opacity:0}

/* Announcement */
.announcement{min-height:40px;background:var(--dark);color:var(--on-dark);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 12px;padding:6px 20px;font-size:13px;text-align:center}
.announcement-dot{width:7px;height:7px;border-radius:50%;background:var(--coral)}
.announcement-sep{opacity:.5}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(251,250,247,.86);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--line)}
.nav-row{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:inline-flex;align-items:center;gap:10px;font-family:var(--display);font-size:25px;font-weight:700;letter-spacing:-.04em}
.brand-mark{width:32px;height:32px;border-radius:10px;background:var(--accent);display:grid;place-items:center}
.brand-mark svg{width:18px;height:18px;fill:#fff}
#site-nav{display:flex;gap:6px}
#site-nav a{padding:10px 14px;border-radius:999px;font-size:15px;font-weight:500;color:var(--ink-2);transition:background .2s var(--ease),color .2s var(--ease)}
#site-nav a:hover{background:var(--sunken);color:var(--ink)}
.nav-actions{display:flex;align-items:center;gap:8px}
.nav-toggle{display:none;width:44px;height:44px;border:1px solid var(--line-strong);border-radius:var(--r-sm);background:var(--surface);align-items:center;justify-content:center}
.nav-toggle .ico{width:22px;height:22px}

/* Buttons */
.btn{min-height:48px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;font-weight:600;font-size:15px;border:1px solid transparent;cursor:pointer;transition:transform .25s var(--ease),background-color .2s var(--ease),border-color .2s var(--ease),box-shadow .2s var(--ease);touch-action:manipulation}
.btn:hover{transform:scale(1.01)}
.btn:active{transform:scale(.99)}
.btn-small{min-height:44px;padding:0 18px;font-size:14px}
.btn-primary{background:var(--accent);color:#fff;box-shadow:0 6px 18px rgba(15,122,77,.28)}
.btn-primary:hover{background:var(--accent-hover)}
.btn-ghost{background:transparent;border-color:var(--line-strong);color:var(--ink)}
.btn-ghost:hover{background:var(--surface);border-color:var(--ink)}
.btn-white{background:var(--surface);border-color:var(--line-strong);color:var(--ink)}
.btn-white:hover{border-color:var(--ink)}
.btn-light{background:#fff;color:var(--dark)}
.btn-light:hover{background:var(--accent-soft)}

/* Type */
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;font-size:12px;color:var(--accent-ink)}
.eyebrow-dot{width:8px;height:8px;border-radius:50%;background:var(--coral)}
h1,h2{font-family:var(--display);font-weight:700;letter-spacing:-.035em;text-wrap:balance}
h1 em,h2 em{font-style:normal;color:var(--accent)}

/* Hero */
.hero{position:relative;overflow:hidden;padding:64px 0 80px}
.hero-bg{position:absolute;inset:0;pointer-events:none;background:
  radial-gradient(620px 420px at 82% 18%,rgba(15,122,77,.14),transparent 70%),
  radial-gradient(520px 360px at 8% 92%,rgba(255,107,74,.12),transparent 70%),
  radial-gradient(rgba(20,22,28,.07) 1px,transparent 1px) 0 0/22px 22px;
  -webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}
.hero-grid{position:relative;display:grid;grid-template-columns:1.02fr .98fr;gap:56px;align-items:center}
h1{font-size:clamp(46px,6vw,84px);line-height:1.02;margin:22px 0 22px}
.hero-description{max-width:480px;font-size:18px;line-height:1.7;color:var(--muted);margin-bottom:32px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.hero-points{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:34px;font-size:14px;font-weight:500;color:var(--ink-2)}
.hero-points li{display:flex;align-items:center;gap:8px}
.hero-points .ico{color:var(--mint);width:18px;height:18px}
.hero-visual{min-width:0}
.hero-stage{position:relative;background:linear-gradient(155deg,#cfeedd,#f3e5dc 78%);border-radius:var(--r-xl);padding:56px 32px;display:flex;align-items:center;justify-content:center;min-height:500px;box-shadow:var(--shadow-lg);overflow:hidden}
.mail-window{width:100%;max-width:470px;background:#fff;border:1px solid rgba(20,22,28,.08);border-radius:var(--r-md);box-shadow:0 24px 50px rgba(10,60,40,.2);transform:rotate(-2deg)}
.mail-header{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid #eeede8;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.mail-dots{display:flex;gap:5px}.mail-dots span{width:9px;height:9px;border-radius:50%;background:#dcdad3}
.mail-send{background:var(--accent);color:#fff;padding:4px 12px;border-radius:999px;letter-spacing:0;text-transform:none}
.mail-fields{padding:6px 20px;font-size:13px;color:var(--ink-2);border-bottom:1px solid #eeede8}
.mail-fields div{padding:8px 0}.mail-fields div+div{border-top:1px solid #f3f2ee}
.mail-fields span{display:inline-block;width:62px;color:var(--muted)}
.mail-body{padding:20px 22px 24px;font-size:14px;color:var(--ink-2);line-height:1.65}
.mail-body p{margin:0 0 12px}
.hero-signature{border-top:1px solid #eeede8;padding-top:16px;margin-top:16px;overflow:hidden}
.hero-signature .signature-render{transform:scale(.88);transform-origin:left top;width:114%}
.float-chip{position:absolute;display:inline-flex;align-items:center;gap:8px;background:#fff;box-shadow:var(--shadow-md);padding:10px 16px;border-radius:999px;font-size:13px;font-weight:600;z-index:2}
.float-chip .ico{color:var(--accent);width:16px;height:16px}
.chip-top{top:24px;right:20px}
.chip-bottom{bottom:24px;left:20px}.chip-bottom .ico{color:var(--mint)}

/* Trust strip */
.trust-strip{border-block:1px solid var(--line);background:var(--surface)}
.trust-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.trust-inner>span{font-size:12px;letter-spacing:.1em;font-weight:700;color:var(--muted);text-transform:uppercase}
.trust-names{display:flex;gap:48px;font-family:var(--display);font-size:20px;font-weight:700;color:var(--ink-2);letter-spacing:-.02em}

/* Sections */
.section{padding-top:96px;padding-bottom:96px}
.section-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;margin-bottom:40px}
.section-intro h2,.perks-section h2,.footer-cta h2{font-size:clamp(34px,4.4vw,56px);line-height:1.08;margin:14px 0 0}
.section-intro>p{max-width:340px;margin:0 0 6px;font-size:16px;line-height:1.7;color:var(--muted)}

/* Templates */
.filter-bar{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-bottom:24px}
.template-count{font-size:14px;color:var(--muted)}
.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.template-card{border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:var(--surface);transition:box-shadow .3s var(--ease),border-color .3s var(--ease)}
.template-card:hover{box-shadow:var(--shadow-md);border-color:var(--line-strong)}
.template-card.selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}
.template-art{height:214px;padding:14px;display:flex;align-items:center;justify-content:center;background:var(--sunken)}
.template-card:nth-child(3n+2) .template-art{background:#e8f3ec}
.template-card:nth-child(3n+3) .template-art{background:#faeee8}
.template-art-content{background:#fff;border-radius:var(--r-sm);box-shadow:var(--shadow-sm);width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:8px}
.template-art-content .signature-render{transform:scale(.68);transform-origin:center;flex:none;width:max-content;max-width:none}
.template-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px}
.template-card-bottom strong{display:block;font-size:16px}
.template-card-bottom small{display:block;margin-top:2px;color:var(--muted);font-size:13px}
.template-card button{min-height:44px;display:inline-flex;align-items:center;gap:8px;background:var(--sunken);border:1px solid var(--line);color:var(--ink);padding:0 16px;border-radius:999px;font-weight:600;font-size:14px;white-space:nowrap;transition:transform .25s var(--ease),background-color .2s var(--ease),color .2s var(--ease)}
.template-card button:hover{background:var(--ink);color:#fff;transform:scale(1.01)}
.template-card button:active{transform:scale(.99)}

/* Builder */
.builder-band{padding:96px 0;background:var(--sunken);border-block:1px solid var(--line)}
.builder-layout{display:grid;grid-template-columns:1.04fr .96fr;gap:20px;align-items:start}
.editor-panel,.preview-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);overflow:hidden}
.preview-panel{position:sticky;top:92px}
.panel-header{min-height:68px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 26px}
.panel-header>div{display:flex;align-items:center;gap:12px}
.panel-header strong{font-size:16px}
.panel-step{font-size:12px;color:var(--accent-ink);font-weight:700;background:var(--accent-soft);padding:3px 9px;border-radius:999px}
.save-indicator,.preview-live{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.status-dot{width:8px;height:8px;border-radius:50%;background:var(--mint)}
form{padding:26px}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 14px}
.field-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;color:var(--ink-2);min-width:0}
.field-grid input:not([type=color]){width:100%;height:46px;border:1px solid var(--line-strong);border-radius:var(--r-sm);padding:0 14px;background:var(--bg);color:var(--ink);font-size:15px;min-width:0;transition:border-color .2s var(--ease),box-shadow .2s var(--ease)}
.field-grid input::placeholder{color:#8a8d9b}
.field-grid input:hover{border-color:var(--muted)}
.field-grid input:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 4px rgba(15,122,77,.18)}
.form-divider{height:1px;background:var(--line);margin:26px 0 22px}
.form-subheading{display:flex;justify-content:space-between;margin-bottom:18px;font-size:15px}
.form-subheading span{font-size:13px;color:var(--muted)}
.color-control{display:flex;align-items:center;height:46px;gap:10px;border:1px solid var(--line-strong);border-radius:var(--r-sm);padding:0 10px;background:var(--bg);color:var(--ink-2);font-weight:500;font-size:14px}
.color-control input{border:0;width:30px;height:30px;background:transparent;padding:0;cursor:pointer}
.field-note{font-size:13px;line-height:1.6;color:var(--muted);margin:18px 0 0}
.preview-body{padding:24px 26px}
.preview-context{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted)}
.preview-context span:first-child{letter-spacing:.08em;font-weight:700;text-transform:uppercase;font-size:12px}
.signature-stage{background:#fff;background-image:radial-gradient(rgba(20,22,28,.08) 1px,transparent 1px);background-size:18px 18px;border:1px dashed var(--line-strong);border-radius:var(--r-md);min-height:280px;display:flex;align-items:center;justify-content:center;padding:24px 16px;margin-top:16px;overflow-x:auto}
.signature-stage>div{background:#fff;padding:14px;border-radius:var(--r-sm);max-width:100%}
.signature-render{max-width:100%}
.signature-stage table{max-width:100%}
.preview-hint{font-size:13px;color:var(--muted);line-height:1.6;margin-top:14px}
.export-area{border-top:1px solid var(--line);padding:22px 26px}
.export-label{font-size:15px;font-weight:700;margin-bottom:14px}
.export-buttons{display:flex;flex-wrap:wrap;gap:8px}
.export-buttons .btn{min-height:44px;padding:0 18px;font-size:14px}
#export-feedback{font-size:14px;color:#0b6b51;min-height:20px;margin:12px 0 0}

/* Steps */
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.steps-grid article{padding:32px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);min-height:240px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto 1fr;column-gap:14px;align-items:center}
.step-number{grid-column:1/-1;font-family:var(--display);font-size:14px;font-weight:700;letter-spacing:.08em;color:var(--muted);margin-bottom:28px}
.step-icon{color:var(--accent);display:grid;place-items:center}
.step-icon .ico{width:28px;height:28px}
.steps-grid h3{font-family:var(--display);font-size:22px;letter-spacing:-.02em;margin:0}
.steps-grid p{grid-column:1/-1;align-self:start;font-size:15px;line-height:1.7;color:var(--muted);max-width:290px;margin:14px 0 0}

/* Perks */
.perks-section{background:var(--dark);color:var(--on-dark);position:relative;overflow:hidden}
.perks-section::before{content:"";position:absolute;width:640px;height:640px;right:-160px;top:-260px;border-radius:50%;background:radial-gradient(circle,rgba(15,122,77,.5),transparent 68%);pointer-events:none}
.perks-inner{position:relative;min-height:420px;display:flex;align-items:center;justify-content:space-between;gap:56px;padding-top:72px;padding-bottom:72px}
.perks-copy{max-width:540px}
.perks-section .eyebrow{color:#ffb4a2}
.perks-section h2{color:#fff}
.perks-section h2 em{color:#7ee0b9}
.perks-copy p{max-width:440px;color:var(--on-dark-muted);font-size:17px;line-height:1.7;margin:20px 0 28px}
.perks-copy small{display:block;color:var(--on-dark-muted);margin-top:16px;font-size:13px}
.perks-list{display:grid;gap:12px;width:min(100%,400px);flex:none}
.perks-list li{display:flex;gap:14px;align-items:flex-start;background:var(--dark-2);border:1px solid rgba(255,255,255,.1);border-radius:var(--r-md);padding:18px 20px}
.perks-list .ico{color:#7ee0b9;width:22px;height:22px;margin-top:2px}
.perks-list strong{display:block;font-size:16px;color:#fff}
.perks-list span{display:block;font-size:14px;color:var(--on-dark-muted);line-height:1.5;margin-top:2px}

/* SEO / FAQ */
.seo-section{padding-bottom:64px}
.seo-copy{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.seo-copy p{line-height:1.8;color:var(--muted);margin:0;max-width:60ch}
.seo-copy strong{color:var(--ink)}
.faq-section{padding-top:48px}
.faq-list{border-top:1px solid var(--line)}
details{border-bottom:1px solid var(--line)}
summary{min-height:64px;padding:18px 4px;font-weight:600;font-size:17px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px}
summary::-webkit-details-marker{display:none}
summary::after{content:'+';font-size:26px;line-height:1;font-weight:400;color:var(--accent);flex:none;transition:transform .25s var(--ease)}
details[open] summary::after{transform:rotate(45deg)}
summary:hover{color:var(--accent-ink)}
details p{max-width:760px;color:var(--muted);font-size:16px;line-height:1.75;margin:0 0 22px;padding:0 4px}
.footer-cta-wrap{padding-bottom:96px}
.footer-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;background:var(--accent);color:#fff;border-radius:var(--r-xl);padding:56px 56px}
.footer-cta .eyebrow{color:#fff}
.footer-cta h2{color:#fff}
.footer-cta h2 em{color:#ffd0c4}
.footer-cta .btn-primary{background:#fff;color:var(--accent-ink);box-shadow:none;flex:none}
.footer-cta .btn-primary:hover{background:var(--accent-soft)}

/* Footer */
.footer{background:var(--dark);color:var(--on-dark)}
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:104px;flex-wrap:wrap}
.footer .brand{color:#fff}
.footer-row p{margin:0;color:var(--on-dark-muted);font-size:14px}
.copyright{color:var(--on-dark-muted);font-size:13px}
.copyright a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.copyright a:hover{color:#7ee0b9}

/* Responsive */
@media(max-width:1000px){
  .hero-grid{grid-template-columns:1fr;gap:40px}
  .hero-stage{min-height:460px}
  .template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .builder-layout{grid-template-columns:1fr}
  .preview-panel{position:static}
  .perks-inner{flex-direction:column;align-items:flex-start}
  .perks-list{width:100%}
  .section{padding-top:72px;padding-bottom:72px}
}
@media(max-width:820px){
  .nav-toggle{display:inline-flex}
  .nav-actions .btn{display:none}
  #site-nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;gap:2px;background:var(--bg);border-bottom:1px solid var(--line);padding:10px 20px 16px;box-shadow:var(--shadow-md)}
  #site-nav.open{display:flex}
  #site-nav a{padding:14px 12px;font-size:17px}
  .trust-inner{flex-direction:column;gap:14px;padding-block:22px}
  .trust-names{gap:28px;flex-wrap:wrap;justify-content:center}
  .section-intro{display:block}
  .section-intro>p{margin-top:18px;max-width:none}
}
@media(max-width:650px){
  .container{padding:0 20px}
  .nav-row{height:64px}
  .brand{font-size:22px}
  .hero{padding:40px 0 56px}
  .hero-description{font-size:16px}
  .hero-actions .btn{flex:1 1 100%}
  .hero-stage{padding:64px 14px;min-height:0}
  .chip-top{top:14px;right:12px}.chip-bottom{bottom:14px;left:12px}
  .mail-window{transform:none}
  .template-grid,.steps-grid,.seo-copy{grid-template-columns:1fr}
  .template-count{display:none}
  .field-grid{grid-template-columns:1fr}
  .panel-header,form,.preview-body,.export-area{padding-left:18px;padding-right:18px}
  .save-indicator{font-size:12px}
  .signature-stage{min-height:240px;padding:14px 10px}
  .footer-cta{flex-direction:column;align-items:flex-start;padding:36px 24px}
  .footer-cta .btn{width:100%}
  .perks-inner{padding-top:56px;padding-bottom:56px}
  .footer-row{flex-direction:column;text-align:center;padding-block:28px}
  .export-buttons .btn{flex:1 1 100%}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn,.template-card,.template-card button,  .btn:hover,.btn:active,.template-card button:hover,.template-card button:active,}
