HTML
Copy
<div><span class="mb-3.5 block text-[.72rem] tracking-[.12em] text-[#5b6477] uppercase">Photo library with popular searches</span>
<section class="bg-mesh-photo relative overflow-hidden rounded-3xl px-[clamp(20px,5vw,56px)] py-[clamp(40px,7vw,76px)] text-center text-white" aria-labelledby="hr-photo-title">
<h2 class="mx-auto mb-2.5 max-w-[22ch] text-[clamp(1.6rem,4vw,2.5rem)] leading-[1.12] font-extrabold tracking-[-.025em]" id="hr-photo-title">38,000 free photos from independent photographers</h2>
<p class="mx-auto mb-7 max-w-[46ch] text-[clamp(.95rem,2vw,1.08rem)] text-[#e0e7ff]">Every image on Stillframe is free to use, with new sets added every Monday.</p>
<form class="relative mx-auto max-w-[620px] text-left" role="search" aria-label="Photos">
<label class="sr-only" for="hr-photos">Search photos</label>
<svg class="pointer-events-none absolute top-1/2 left-[22px] size-[22px] -translate-y-1/2 text-hr-muted max-[520px]:left-[18px]" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true" focusable="false"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg>
<input class="h-16 w-full appearance-none rounded-full border border-transparent bg-white pr-[138px] pl-[58px] text-[1.06rem] text-hr-ink shadow-[0_20px_50px_-18px_rgba(15,23,42,.45)] transition-shadow duration-200 placeholder:text-hr-muted focus:shadow-[0_0_0_4px_rgba(255,255,255,.55),0_20px_50px_-18px_rgba(15,23,42,.45)] focus:outline-none motion-reduce:transition-none max-[520px]:h-[58px] max-[520px]:pr-[66px] max-[520px]:pl-[50px]" id="hr-photos" type="search" name="q" placeholder="Try “foggy harbour”">
<button class="absolute top-2 right-2 inline-flex h-12 cursor-pointer items-center gap-2 rounded-full bg-hr-violet px-6 text-base font-bold text-white transition-colors duration-150 hover:bg-hr-violet-dark focus-visible:outline-3 focus-visible:outline-offset-2 focus-visible:outline-white motion-reduce:transition-none max-[520px]:top-[7px] max-[520px]:right-[7px] max-[520px]:size-11 max-[520px]:justify-center max-[520px]:p-0" type="submit"><svg class="size-[18px]" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" aria-hidden="true" focusable="false"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg><span class="max-[520px]:sr-only">Search</span></button>
</form>
<div class="mx-auto mt-5 flex max-w-[620px] flex-wrap items-center justify-center gap-2 text-[.88rem]">
<span class="font-semibold text-[#e0e7ff]" id="hr-popular">Popular:</span>
<ul class="flex flex-wrap justify-center gap-2" aria-labelledby="hr-popular">
<li><a class="inline-block rounded-full border border-white/28 bg-[rgba(15,12,50,.38)] px-[13px] py-[5px] text-white transition-colors duration-150 hover:bg-[rgba(15,12,50,.6)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-current motion-reduce:transition-none" href="?q=mountains">Mountains</a></li><li><a class="inline-block rounded-full border border-white/28 bg-[rgba(15,12,50,.38)] px-[13px] py-[5px] text-white transition-colors duration-150 hover:bg-[rgba(15,12,50,.6)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-current motion-reduce:transition-none" href="?q=coffee">Coffee</a></li><li><a class="inline-block rounded-full border border-white/28 bg-[rgba(15,12,50,.38)] px-[13px] py-[5px] text-white transition-colors duration-150 hover:bg-[rgba(15,12,50,.6)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-current motion-reduce:transition-none" href="?q=workspace">Workspace</a></li>
<li><a class="inline-block rounded-full border border-white/28 bg-[rgba(15,12,50,.38)] px-[13px] py-[5px] text-white transition-colors duration-150 hover:bg-[rgba(15,12,50,.6)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-current motion-reduce:transition-none" href="?q=autumn">Autumn</a></li><li><a class="inline-block rounded-full border border-white/28 bg-[rgba(15,12,50,.38)] px-[13px] py-[5px] text-white transition-colors duration-150 hover:bg-[rgba(15,12,50,.6)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-current motion-reduce:transition-none" href="?q=architecture">Architecture</a></li>
</ul>
</div>
</section></div>
<div><span class="mb-3.5 block text-[.72rem] tracking-[.12em] text-[#5b6477] uppercase">Help centre with top articles</span>
<section class="bg-mesh-help relative overflow-hidden rounded-3xl px-[clamp(20px,5vw,56px)] py-[clamp(40px,7vw,76px)] text-center text-hr-ink" aria-labelledby="hr-help-title">
<span class="mb-3 inline-block rounded-full bg-white px-3 py-1 text-[.8rem] font-bold tracking-[.02em] text-hr-green-dark">Ledgerly Help Centre</span>
<h2 class="mx-auto mb-2.5 max-w-[22ch] text-[clamp(1.6rem,4vw,2.5rem)] leading-[1.12] font-extrabold tracking-[-.025em]" id="hr-help-title">How can we help?</h2>
<p class="mx-auto mb-7 max-w-[46ch] text-[clamp(.95rem,2vw,1.08rem)] text-[#334155]">Search 240 articles on invoicing, payments and your account.</p>
<form class="relative mx-auto max-w-[620px] text-left" role="search" aria-label="Help articles">
<label class="sr-only" for="hr-help-q">Search help articles</label>
<svg class="pointer-events-none absolute top-1/2 left-[22px] size-[22px] -translate-y-1/2 text-hr-muted max-[520px]:left-[18px]" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true" focusable="false"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg>
<input class="h-16 w-full appearance-none rounded-full border border-[#6b8f80] bg-white pr-[138px] pl-[58px] text-[1.06rem] text-hr-ink shadow-[0_14px_34px_-18px_rgba(6,78,59,.35)] transition-shadow duration-200 placeholder:text-hr-muted focus:border-hr-green focus:shadow-[0_0_0_1px_var(--color-hr-green),0_0_0_5px_rgba(4,120,87,.2)] focus:outline-none motion-reduce:transition-none max-[520px]:h-[58px] max-[520px]:pr-[66px] max-[520px]:pl-[50px]" id="hr-help-q" type="search" name="q" placeholder="Ask a question">
<button class="absolute top-2 right-2 inline-flex h-12 cursor-pointer items-center gap-2 rounded-full bg-hr-green px-6 text-base font-bold text-white transition-colors duration-150 hover:bg-hr-green-dark focus-visible:outline-3 focus-visible:outline-offset-2 focus-visible:outline-hr-green motion-reduce:transition-none max-[520px]:top-[7px] max-[520px]:right-[7px] max-[520px]:size-11 max-[520px]:justify-center max-[520px]:p-0" type="submit"><svg class="size-[18px]" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" aria-hidden="true" focusable="false"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg><span class="max-[520px]:sr-only">Search</span></button>
</form>
<ul class="mx-auto mt-[22px] grid max-w-[620px] grid-cols-2 gap-2.5 text-left max-[520px]:grid-cols-1" aria-label="Top articles">
<li><a class="flex h-full items-center gap-2.5 rounded-xl border border-[#cfe3da] bg-white px-3.5 py-3 text-[.92rem] font-medium text-[#1f2937] transition-[border-color,box-shadow] duration-150 hover:border-hr-green hover:shadow-[0_6px_16px_-8px_rgba(6,78,59,.3)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-hr-green motion-reduce:transition-none" href="/help/billing-address"><svg class="size-[18px] flex-none text-hr-green" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8Z"/><path d="M14 3v5h5M9 13h6M9 17h4"/></svg>Change your billing address</a></li>
<li><a class="flex h-full items-center gap-2.5 rounded-xl border border-[#cfe3da] bg-white px-3.5 py-3 text-[.92rem] font-medium text-[#1f2937] transition-[border-color,box-shadow] duration-150 hover:border-hr-green hover:shadow-[0_6px_16px_-8px_rgba(6,78,59,.3)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-hr-green motion-reduce:transition-none" href="/help/export-csv"><svg class="size-[18px] flex-none text-hr-green" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8Z"/><path d="M14 3v5h5M9 13h6M9 17h4"/></svg>Export invoices to CSV</a></li>
<li><a class="flex h-full items-center gap-2.5 rounded-xl border border-[#cfe3da] bg-white px-3.5 py-3 text-[.92rem] font-medium text-[#1f2937] transition-[border-color,box-shadow] duration-150 hover:border-hr-green hover:shadow-[0_6px_16px_-8px_rgba(6,78,59,.3)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-hr-green motion-reduce:transition-none" href="/help/team-members"><svg class="size-[18px] flex-none text-hr-green" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8Z"/><path d="M14 3v5h5M9 13h6M9 17h4"/></svg>Add a team member</a></li>
<li><a class="flex h-full items-center gap-2.5 rounded-xl border border-[#cfe3da] bg-white px-3.5 py-3 text-[.92rem] font-medium text-[#1f2937] transition-[border-color,box-shadow] duration-150 hover:border-hr-green hover:shadow-[0_6px_16px_-8px_rgba(6,78,59,.3)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-hr-green motion-reduce:transition-none" href="/help/recurring-invoices"><svg class="size-[18px] flex-none text-hr-green" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8Z"/><path d="M14 3v5h5M9 13h6M9 17h4"/></svg>Set up recurring invoices</a></li>
</ul>
</section></div>
CSS
Copy
@theme {
--color-hr-ink: #0f172a;
--color-hr-muted: #64748b;
--color-hr-violet: #6d28d9;
--color-hr-violet-dark: #5b21b6;
--color-hr-green: #047857;
--color-hr-green-dark: #065f46;
}
@utility bg-mesh-photo {
background-color: #1e1b4b;
background-image: radial-gradient(60% 80% at 12% 10%, #7c3aed 0, transparent 60%), radial-gradient(50% 70% at 92% 90%, #db2777 0, transparent 60%),
radial-gradient(40% 60% at 80% 0, #2563eb 0, transparent 60%);
}
@utility bg-mesh-help {
background-color: #ecfdf5;
background-image: radial-gradient(70% 90% at 50% 0, #d1fae5 0, transparent 70%);
}