/* Signofile marketing r27: email signing section (ARS-576, Codex website-email-hero-design v1). Home: below the main hero;
   Features: the first feature. Scoped to main.aiw .ems; the CTA is the site's own .aiw-button (ARS-592 dark green). */
.aiw .ems{padding:72px 0;border-top:1px solid #dfe3e7}
.ems-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center}
.ems-badge{display:inline-block;background:#e8f1e4;color:#2f6b24;border-radius:5px;padding:3px 10px;font-size:14px;font-weight:700;line-height:1.5;margin-bottom:18px}
.aiw .ems-title{font-size:48px;line-height:1.12;letter-spacing:-.03em;font-weight:650;margin:0 0 24px}
[dir=rtl] .aiw .ems-title{letter-spacing:0}
.aiw .ems-subtitle{font-size:19px;line-height:1.6;color:#4c5965;margin:0 0 28px;max-width:60ch}
.aiw .ems-footnote{font-size:15px;line-height:1.6;color:#4c5965;margin:20px 0 0;max-width:530px}
.ems bdi{unicode-bidi:isolate;white-space:nowrap}
/* Illustration (not an app screenshot): EN/HE labelled, other locales a text-free field diagram. */
.ems-visual{margin:0;background:#f1f6ee;border-radius:24px;padding:30px}
.ems-mail,.ems-doc{background:#fff;border:1px solid #dfe3e7;border-radius:14px;padding:24px;box-shadow:0 8px 24px rgba(32,38,46,.03)}
.ems-mail{margin-bottom:18px}
.ems-meta{color:#66717d;font-size:13px;line-height:1.5;margin-bottom:12px}
.aiw .ems-mail p{font-size:16px;line-height:1.5;margin:0;color:#20262e}
.ems-file{display:inline-block;font-size:12px;line-height:1.5;margin-top:16px;padding:4px 10px;border:1px solid #dfe3e7;border-radius:5px;color:#20262e}
.aiw .ems-doc-title{font-size:16px;font-weight:700;line-height:1.4;margin:0 0 18px;color:#20262e}
.ems-parties{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ems-party{font-size:13px;line-height:1.5;color:#20262e}
.ems-field{display:block;padding:12px 8px;border:1px dashed #718c63;background:#f3f8ef;border-radius:6px;margin-top:10px}
.ems-party + .ems-party .ems-field{border-color:#7c83ad;background:#f5f5fb}
.aiw .ems-caption{font-size:12px;line-height:1.5;color:#66717d;margin:14px 0 0}
.ems-bar{display:block;height:8px;border-radius:4px;background:#e5e9ed;margin:10px 0}
.ems-bar.ems-strong{background:#c9d0d6;height:10px}
.ems-w40{width:40%}.ems-w45{width:45%}.ems-w55{width:55%}.ems-w60{width:60%}.ems-w70{width:70%}.ems-w85{width:85%}
.ems-mailhead{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.ems-mailhead .ems-bar{margin:0}
.ems-at{flex:none;width:22px;height:22px;border-radius:50%;background:#e8f1e4;border:2px solid var(--accent-ink,#236c13)}
.ems-plain .ems-file{display:flex;align-items:center;gap:8px;width:46%;padding:6px 10px}
.ems-plain .ems-file .ems-bar{flex:1;margin:0;height:6px}
.ems-fileicon{flex:none;width:14px;height:18px;border-radius:2px;border:2px solid #7c8792;border-start-end-radius:7px}
.ems-plain .ems-field{padding:6px 8px;height:48px;color:#3f6f33}
.ems-party + .ems-party .ems-sig{color:#5c628f}
.ems-sig{display:block;width:72%;max-width:96px;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* The three steps: the CTA's target (an ordered list, focusable by script). */
.ems-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin:64px 0 0;border-top:1px solid #dfe3e7;padding:36px 0 0;list-style:none}
.ems-steps li{margin:0}
.ems-num{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#edf5e8;color:var(--accent-ink,#236c13);font-size:15px;font-weight:700;line-height:1;margin-bottom:16px}
.aiw .ems-steps h3{font-size:22px;line-height:1.3;letter-spacing:-.02em;margin:0 0 12px}
[dir=rtl] .aiw .ems-steps h3{letter-spacing:0}
.aiw .ems-steps p{color:#4c5965;font-size:16px;line-height:1.65;margin:0}
.aiw #email-signing,.aiw #email-steps{scroll-margin-top:24px}
.ems-steps:focus{outline:none}
.ems-steps:focus-visible{outline:3px solid #286b98;outline-offset:8px;border-radius:4px}
@media(max-width:760px){
.aiw .ems{padding:40px 0}
.ems-hero{display:flex;flex-direction:column;gap:32px;align-items:stretch}
.aiw .ems-title{font-size:36px;line-height:1.15}
.aiw .ems-subtitle{font-size:17px}
.aiw .ems-footnote{font-size:14px}
.ems-visual{padding:16px;border-radius:18px}
.ems-mail,.ems-doc{padding:18px}
.ems-steps{display:block;margin-top:36px;padding-top:28px}
.ems-steps li{margin-bottom:32px}
.ems-steps li:last-child{margin-bottom:0}
}
