Webinar registration hero
A headline and watch-video button on the left, a white sign-up card with email and name fields on the right, under a contact bar with a trust seal.
snippet.html153 lines
<section class="wfh">
<header class="wfh__bar" data-block="Navigation">
<a class="wfh__logo" href="#">Ledger<b>lane</b></a>
<div class="wfh__contact">
<a class="wfh__link" href="#">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16v14H4z" fill="none" stroke="currentColor" stroke-width="2"/><path d="m4 6 8 7 8-7" fill="none" stroke="currentColor" stroke-width="2"/></svg>
<span>events@ledgerlane.com</span>
</a>
<a class="wfh__link" href="#">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z" fill="currentColor"/></svg>
<span>1-800-555-0172</span>
</a>
<span class="wfh__seal">
<span><small>Ledgerlane</small>Secure</span>
<i aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5z" fill="currentColor"/><path d="m8.5 12 2.5 2.5 4.5-5" fill="none" stroke="#111111" stroke-width="2.2"/></svg></i>
</span>
</div>
</header>
<div class="wfh__body">
<div class="wfh__copy">
<h1 class="wfh__title" data-block="Title">A free hour on freelance taxes</h1>
<p class="wfh__text" data-block="Text">Two of our CPAs go live on Thursday, December 3 at 1:00 PM ET. They cover quarterly estimates, the home office deduction and what to hand your accountant in January, then answer questions for 15 minutes.</p>
<a class="wfh__btn" href="#" data-block="CTA">
<span class="wfh__play" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M9 6.5v11l9-5.5z" fill="currentColor"/></svg></span>
Watch last year's session
</a>
</div>
<form class="wfh__card" action="#" method="post" data-block="Form">
<h2 class="wfh__ctitle">Register now</h2>
<p class="wfh__when">Thursday, Dec 3 · 1:00 PM ET · 60 min</p>
<div class="wfh__field">
<label class="wfh__sr" for="wfh-email">Email address</label>
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 5h18v14H3z" fill="currentColor"/><path d="m3.5 6.5 8.5 6.5 8.5-6.5" fill="none" stroke="#fff" stroke-width="1.8"/></svg>
<input id="wfh-email" name="email" type="email" autocomplete="email" placeholder="Email address" required>
</div>
<div class="wfh__field">
<label class="wfh__sr" for="wfh-name">Full name</label>
<svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="8" r="4.2" fill="currentColor"/><path d="M3.8 21c.6-4.4 4-7 8.2-7s7.6 2.6 8.2 7z" fill="currentColor"/></svg>
<input id="wfh-name" name="name" type="text" autocomplete="name" placeholder="Full name" required>
</div>
<button class="wfh__submit" type="submit">Save my seat</button>
<p class="wfh__safe">
<svg viewBox="0 0 24 24" aria-hidden="true"><rect x="4.5" y="10" width="15" height="11" rx="2" fill="currentColor"/><path d="M8 10V7.5a4 4 0 0 1 8 0V10" fill="none" stroke="currentColor" stroke-width="2"/></svg>
<span>Sent over an encrypted connection. We only email you the join link and the recording.</span>
</p>
</form>
</div>
</section>
<style>
.wfh {
--wfh-bg: #ffffff;
--wfh-brand: #111111;
--wfh-brand-dark: #000000;
--wfh-tint: #f2f2f2;
--wfh-line: #d4d4d4;
--wfh-surface: #ffffff;
min-height: 100vh;
box-sizing: border-box;
display: flex;
flex-direction: column;
background: var(--wfh-bg);
color: var(--wfh-brand);
font-family: Montserrat, "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}
.wfh *, .wfh *::before, .wfh *::after { box-sizing: border-box; }
.wfh a { color: inherit; text-decoration: none; }
.wfh a:focus-visible, .wfh button:focus-visible { outline: 2px solid var(--wfh-brand-dark); outline-offset: 3px; border-radius: 4px; }
.wfh__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px; padding: 0 clamp(1rem, 3.4vw, 3rem); }
.wfh__logo { font-size: 1.75rem; font-weight: 400; letter-spacing: -0.01em; }
.wfh__logo b { font-weight: 700; }
.wfh__contact { display: flex; align-items: center; gap: clamp(1rem, 3.5vw, 3.5rem); }
.wfh__link { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; }
.wfh__link svg { width: 20px; height: 20px; color: var(--wfh-brand-dark); flex: none; }
.wfh__link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.wfh__seal { display: inline-flex; align-items: center; gap: 0.5rem; height: 40px; padding-left: 0.6rem; border: 1px solid var(--wfh-brand); border-radius: 20px 20px 20px 8px; font-weight: 700; font-size: 0.875rem; text-transform: uppercase; line-height: 1; }
.wfh__seal small { display: block; font-size: 0.6rem; letter-spacing: 0.02em; }
.wfh__seal i { display: grid; place-items: center; width: 40px; height: 40px; margin: -1px -1px -1px 0; border-radius: 50%; background: var(--wfh-brand); color: #fff; }
.wfh__seal svg { width: 22px; height: 22px; }
.wfh__body {
flex: 1;
display: grid;
grid-template-columns: minmax(0, 455px) minmax(0, 360px);
justify-content: space-between;
align-items: center;
gap: clamp(2rem, 6vw, 7.5rem);
width: 100%;
max-width: calc(936px + 4rem);
margin: 0 auto;
padding: clamp(3rem, 10vh, 8rem) clamp(1rem, 4vw, 2rem);
}
.wfh__title { margin: 0; font-size: clamp(2.25rem, 4.2vw, 3.125rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.wfh__text { margin: 1rem 0 2rem; font-size: 1rem; line-height: 1.5; }
.wfh__btn {
display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
min-height: 48px; padding: 0 2rem;
border: 1px solid var(--wfh-brand); border-radius: 4px;
font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em;
transition: background-color 0.15s;
}
.wfh__btn:hover { background: var(--wfh-tint); }
.wfh__play { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--wfh-brand-dark); color: #fff; }
.wfh__play svg { width: 14px; height: 14px; margin-left: 1px; }
.wfh__card { margin: 0; padding: 3rem 1.5rem 2.5rem; border: 1px solid var(--wfh-brand); border-radius: 8px; background: var(--wfh-surface); }
.wfh__ctitle { margin: 0; text-align: center; font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
.wfh__when { margin: 0.75rem 0 2rem; text-align: center; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; color: var(--wfh-brand-dark); }
.wfh__field { position: relative; margin-bottom: 1rem; }
.wfh__field svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--wfh-brand-dark); pointer-events: none; }
.wfh__field input {
display: block; width: 100%; height: 48px; padding: 0 1rem 0 3rem;
border: 1px solid var(--wfh-brand); border-radius: 4px; background: var(--wfh-surface);
color: var(--wfh-brand-dark); font: inherit; font-size: 0.9375rem;
transition: box-shadow 0.15s;
}
.wfh__field input::placeholder { color: var(--wfh-brand); opacity: 0.75; }
.wfh__field input:hover { background: var(--wfh-bg); }
.wfh__field input:focus { outline: none; }
.wfh__field input:focus-visible { border-color: var(--wfh-brand-dark); box-shadow: 0 0 0 3px rgb(0 0 0 / 0.1); }
.wfh__submit {
display: block; width: 100%; height: 48px;
border: 0; border-radius: 4px; background: var(--wfh-brand); color: #fff; cursor: pointer;
font: inherit; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em;
transition: background-color 0.15s;
}
.wfh__submit:hover { background: var(--wfh-brand-dark); }
.wfh__safe { display: flex; align-items: center; gap: 1rem; margin: 3.25rem 0 0; font-size: 0.75rem; line-height: 1.6; text-align: right; }
.wfh__safe svg { width: 22px; height: 22px; flex: none; color: var(--wfh-brand-dark); }
.wfh__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
.wfh__body { grid-template-columns: 1fr; justify-content: stretch; justify-items: start; }
.wfh__copy { max-width: 560px; }
.wfh__card { width: 100%; max-width: 420px; }
}
@media (max-width: 720px) {
.wfh__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 420px) {
.wfh__seal { display: none; }
.wfh__logo { font-size: 1.5rem; }
.wfh__btn { width: 100%; padding: 0 1rem; }
.wfh__card { padding: 2rem 1rem 1.5rem; }
.wfh__safe { margin-top: 1.5rem; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
.wfh__btn, .wfh__submit, .wfh__field input { transition: none; }
}
</style>




