/* Newsletter — box with title + text and the HubSpot form (created without HubSpot's CSS, styled here). */
html:not(#syn#syn) .syn-nl{padding:var(--nl-pt,48px) 0 var(--nl-pb,48px)}
html:not(#syn#syn) .syn-nl__box{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px 64px;padding:64px 56px;border-radius:16px;overflow:hidden;background-size:cover;background-repeat:no-repeat;--nl-ink:#fff;--nl-field:#fff;--nl-field-ink:var(--syn-ink);--nl-muted:rgba(255,255,255,.82)}
html:not(#syn#syn) .syn-nl__box.is-light{color:var(--syn-ink);--nl-ink:var(--syn-ink);--nl-field:#fff;--nl-muted:rgba(22,21,19,.68)}
html:not(#syn#syn) .syn-nl__box.has-image::before{content:"";position:absolute;inset:0;z-index:-1;background:#000;opacity:var(--nl-overlay,0);pointer-events:none}
html:not(#syn#syn) .syn-nl__box > :only-child{grid-column:1 / -1}

/* copy */
html:not(#syn#syn) .syn-nl__copy{min-width:0;max-width:480px}
html:not(#syn#syn) .syn .syn-nl__eyebrow{margin:0 0 16px;font-family:var(--syn-mono);font-size:13px;line-height:1.4;letter-spacing:.06em;text-transform:uppercase;color:inherit;opacity:.72}
html:not(#syn#syn) .syn .syn-nl__eyebrow.syn-rv:not(.is-in){opacity:0}
html:not(#syn#syn) .syn .syn-nl__title{margin:0;font-family:var(--syn-serif);font-size:clamp(30px,3vw,42px);font-weight:400;line-height:1.08;letter-spacing:-.025em;color:inherit;text-transform:none;text-wrap:balance}
html:not(#syn#syn) .syn .syn-nl__text{margin:24px 0 0;font-family:var(--syn-sans);font-size:15px;line-height:1.5;color:var(--nl-muted)}

/* ---------- HubSpot form ---------- */
html:not(#syn#syn) .syn-nl__form{min-width:0;width:100%;max-width:520px;justify-self:end}
html:not(#syn#syn) .syn-nl__hs{position:relative;min-height:48px}
/* placeholder while HubSpot loads: an empty field and a button */
html:not(#syn#syn) .syn-nl__hs.is-loading::before,html:not(#syn#syn) .syn-nl__hs.is-loading::after{content:"";position:absolute;top:0;height:48px;border-radius:999px;background:var(--nl-field);opacity:.18}
html:not(#syn#syn) .syn-nl__hs.is-loading::before{left:0;right:132px}
html:not(#syn#syn) .syn-nl__hs.is-loading::after{right:0;width:122px}
html:not(#syn#syn) .syn-nl .hs-form{display:flex;flex-wrap:wrap;gap:10px;margin:0;font-family:var(--syn-sans);color:var(--nl-ink)}
html:not(#syn#syn) .syn-nl .hs-form fieldset{display:contents;max-width:none!important;border:0;margin:0;padding:0}
html:not(#syn#syn) .syn-nl .hs-form .hs-form-field{flex:1 1 100%;min-width:0;margin:0}
/* Layout in CSS only: HubSpot renders the form with React, and moving its nodes breaks the form when it re-renders (e.g. to show errors). */
html:not(#syn#syn) .syn-nl .hs-form{align-items:flex-start}
/* hidden fields (UTM, ids...) take no room */
html:not(#syn#syn) .syn-nl .hs-form .hs-form-field:not(:has(input:not([type="hidden"]),select,textarea)),html:not(#syn#syn) .syn-nl .hs-form .hs_recaptcha:empty{display:none}
/* first / last name side by side */
/* HubSpot's own column styles (50% widths, 15px padding, 8px margins) would break the even 10px spacing. */
html:not(#syn#syn) .syn-nl .hs-form .hs-form-field{float:none!important;width:auto!important;padding:0!important}
html:not(#syn#syn) .syn-nl .hs-form .hs-form-field .input{width:auto!important}
/* first / last name side by side, above the email + button row (the order set in HubSpot) */
html:not(#syn#syn) .syn-nl .hs-form .hs_firstname,html:not(#syn#syn) .syn-nl .hs-form .hs_lastname{flex:1 1 calc(50% - 5px)}
html:not(#syn#syn) .syn-nl.is-revealing .hs-form .hs-form-field:not(.hs_email){animation:syn-nl-in .45s var(--syn-ease)}
@keyframes syn-nl-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
/* labels: kept for screen readers (the placeholders say what goes in) */
html:not(#syn#syn) .syn-nl .hs-form .hs-form-field > label{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
html:not(#syn#syn) .syn-nl .hs-form .hs-field-desc{margin:0 0 6px;font-size:13px;color:var(--nl-muted)}
html:not(#syn#syn) .syn-nl .hs-form .input{margin:0!important}
/* email and button on one row: the button comes right after the email (hidden fields in between take no room) */
html:not(#syn#syn) .syn-nl .hs-form .hs-form-field.hs_email{flex:1 1 160px}
html:not(#syn#syn) .syn.syn-nl .hs-form .hs-input:not([type="checkbox"]):not([type="radio"]){display:block;width:100%!important;max-width:none;height:48px;margin:0;padding:0 22px;border:1px solid transparent;border-radius:999px;background:var(--nl-field);box-shadow:none;color:var(--nl-field-ink);font-family:var(--syn-sans);font-size:15px;line-height:1.2;-webkit-appearance:none;appearance:none;transition:border-color .2s ease,box-shadow .2s ease}
html:not(#syn#syn) .syn.syn-nl .hs-form select.hs-input{padding-right:40px;background:var(--nl-field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23161513' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center/16px no-repeat}
html:not(#syn#syn) .syn.syn-nl .hs-form .hs-input::placeholder{color:rgba(22,21,19,.5);opacity:1}
/* Focus: the theme's hubspot-forms.css sets a 5px radius, teal border and outline with !important. */
html:not(#syn#syn) .syn.syn-nl .hs-form .hs-input:focus,html:not(#syn#syn) .syn.syn-nl .hs-form .hs-input:focus-visible{border-radius:999px!important;border:1px solid transparent!important;outline:2px solid var(--nl-ink)!important;outline-offset:2px!important;box-shadow:none!important}
html:not(#syn#syn) .syn.syn-nl .hs-form textarea.hs-input:focus,html:not(#syn#syn) .syn.syn-nl .hs-form textarea.hs-input:focus-visible{border-radius:20px!important}
html:not(#syn#syn) .syn.syn-nl .hs-form .input:focus-visible{outline:0!important;border:0!important}
html:not(#syn#syn) .syn.syn-nl .hs-form .hs-input.invalid.error{border-color:#E0484D}
html:not(#syn#syn) .syn.syn-nl .hs-form textarea.hs-input{height:auto;min-height:110px;padding:14px 22px;border-radius:20px}
/* button */
html:not(#syn#syn) .syn-nl .hs-form .hs_submit{flex:0 0 auto;margin:0}
html:not(#syn#syn) .syn-nl .hs-form .hs_submit .actions{margin:0;padding:0}
html:not(#syn#syn) .syn.syn-nl .hs-form .hs-button{display:inline-flex;align-items:center;justify-content:center;height:48px;margin:0;padding:0 26px;border:0;border-radius:999px;background:var(--nl-btn,var(--syn-volt));color:var(--nl-btn-ink,var(--syn-ink));font-family:var(--syn-sans);font-size:15px;font-weight:500;line-height:1;letter-spacing:-.01em;text-transform:none;white-space:nowrap;box-shadow:none;cursor:pointer;-webkit-appearance:none;appearance:none;transition:background-color .3s var(--syn-ease),color .3s ease}
html:not(#syn#syn) .syn.syn-nl .hs-form .hs-button:hover{background:var(--nl-btn-hover,#fff);color:var(--nl-btn-hover-ink,var(--syn-ink))}
html:not(#syn#syn) .syn.syn-nl .is-light .hs-form .hs-button:hover{background:var(--nl-btn-hover,var(--syn-ink));color:var(--nl-btn-hover-ink,#fff)}
html:not(#syn#syn) .syn.syn-nl .hs-form .hs-button:focus-visible{outline:2px solid var(--nl-ink);outline-offset:2px}
/* errors, consent, thank-you message */
html:not(#syn#syn) .syn-nl .hs-form .hs-error-msgs{list-style:none;margin:8px 0 0;padding:0 0 0 22px}
html:not(#syn#syn) .syn-nl .hs-form .hs-error-msgs li{margin:0;padding:0;list-style:none}
html:not(#syn#syn) .syn-nl .hs-form .hs-error-msgs li::before{content:none}
html:not(#syn#syn) .syn.syn-nl .hs-form .hs-error-msg,html:not(#syn#syn) .syn.syn-nl .hs-form .hs-error-msgs label{position:static!important;width:auto!important;height:auto!important;margin:0!important;clip:auto!important;font-size:13px;font-weight:500;line-height:1.4;color:var(--nl-ink)}
html:not(#syn#syn) .syn-nl .hs-form .hs_error_rollup{display:none}
html:not(#syn#syn) .syn-nl .hs-form .legal-consent-container{flex:1 1 100%;font-size:12.5px;line-height:1.45;color:var(--nl-muted)}
html:not(#syn#syn) .syn-nl .hs-form .legal-consent-container p{margin:0 0 6px;font-size:inherit!important}
html:not(#syn#syn) .syn-nl .hs-form .legal-consent-container a{color:inherit;text-decoration:underline}
html:not(#syn#syn) .syn-nl .hs-form .inputs-list{list-style:none;margin:0;padding:0}
/* success: the HubSpot thank-you message, with a check badge (button colours); the theme's HubSpot CSS
   makes it teal and centred, so the colour, size and alignment need !important */
html:not(#syn#syn) .syn.syn-nl .submitted-message{display:flex;align-items:center;gap:16px;margin:0;padding:0;font-family:var(--syn-sans)!important;font-size:20px!important;font-weight:500;line-height:1.35!important;letter-spacing:-.01em;color:var(--nl-ink)!important;text-align:left!important;animation:syn-nl-in .5s var(--syn-ease)}
html:not(#syn#syn) .syn.syn-nl .submitted-message::before{content:"";flex:none;width:48px;height:48px;border-radius:50%;background:var(--nl-btn,var(--syn-volt)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23161513' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat}
html:not(#syn#syn) .syn.syn-nl .submitted-message *{margin:0!important;font:inherit!important;color:inherit!important;text-align:left!important}
html:not(#syn#syn) .syn.syn-nl .submitted-message a{text-decoration:underline!important}

/* ---------- tablet ---------- */
@media (max-width:992px){
  html:not(#syn#syn) .syn-nl{padding:var(--nl-pt-md,40px) 0 var(--nl-pb-md,40px)}
  html:not(#syn#syn) .syn-nl__box{grid-template-columns:minmax(0,1fr);gap:32px;padding:48px 40px}
  html:not(#syn#syn) .syn-nl__copy{max-width:640px}
  html:not(#syn#syn) .syn-nl__form{justify-self:start;max-width:560px}
}
/* ---------- phone ---------- */
@media (max-width:768px){
  html:not(#syn#syn) .syn-nl{padding:var(--nl-pt-sm,32px) 0 var(--nl-pb-sm,32px)}
  html:not(#syn#syn) .syn-nl__box{gap:28px;padding:36px 24px}
  html:not(#syn#syn) .syn .syn-nl__title{font-size:clamp(26px,7vw,32px)}
  html:not(#syn#syn) .syn .syn-nl__text{margin-top:16px;font-size:14px}
  html:not(#syn#syn) .syn.syn-nl .submitted-message{gap:14px;font-size:18px!important}
  html:not(#syn#syn) .syn.syn-nl .submitted-message::before{width:40px;height:40px;background-size:18px}
  /* the button goes below the email, full width */
  html:not(#syn#syn) .syn-nl .hs-form .hs-form-field.hs_email,html:not(#syn#syn) .syn-nl .hs-form .hs_submit{flex:1 1 100%}
  html:not(#syn#syn) .syn.syn-nl .hs-form .hs-button{width:100%}
  html:not(#syn#syn) .syn-nl__hs.is-loading{min-height:106px}
  html:not(#syn#syn) .syn-nl__hs.is-loading::before{right:0}
  html:not(#syn#syn) .syn-nl__hs.is-loading::after{top:58px;left:0;width:auto}
}
@media (prefers-reduced-motion:reduce){
  html:not(#syn#syn) .syn-nl.is-revealing .hs-form .hs-form-field:not(.hs_email){animation:none}
}
