/* Alma Labs – contact page. Same tokens as the home page; the HubSpot form is restyled to match the site's forms. */
.ct-hero{padding:64px 0 24px;display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:start}
.ct-hero h1{font-family:"Instrument Serif",Georgia,serif;font-weight:400;font-size:clamp(44px,6vw,80px);line-height:.98;letter-spacing:-.01em;color:var(--pp-navy);margin:0 0 20px}
.ct-hero h1 em{font-style:italic;color:#2F6FB3}
.ct-lead{font-size:20px;line-height:1.45;color:var(--pp-ink);margin:0 0 14px;font-weight:500}
.ct-sub{font-size:16px;color:var(--pp-grey);margin:0 0 28px}
.ct-alt{padding-top:8px;display:grid;gap:14px;font-size:15px}
.ct-alt dt{font-family:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--pp-grey);margin:0 0 4px}
.ct-alt dd{margin:0}
.ct-alt a{color:var(--pp-navy);font-weight:600;text-decoration:none;border-bottom:1px solid var(--pp-navy)}
.ct-alt a:hover{color:#2F6FB3;border-color:#2F6FB3}
.ct-card{background:#fff;border:1px solid var(--pp-line);border-radius:20px;padding:28px;box-shadow:0 10px 40px rgba(14,26,54,.06)}
.ct-card h2{font-family:var(--pp-head);font-weight:600;font-size:18px;margin:0 0 4px;color:var(--pp-navy)}
.ct-card .ct-hint{font-size:14px;color:var(--pp-grey);margin:0 0 18px}

/* HubSpot form */
.ct-card .hs-form fieldset{max-width:none;margin:0;padding:0;border:0;min-width:0}
.ct-card .hs-form fieldset.form-columns-2{display:flex;gap:12px}
.ct-card .hs-form fieldset.form-columns-2 .hs-form-field{width:50%;float:none}
.ct-card .hs-form fieldset.form-columns-1 .hs-form-field{width:100%;float:none}
.ct-card .hs-form-field{margin:0 0 16px;padding:0;box-sizing:border-box}
.ct-card .hs-form-field > label{display:block;font-family:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--pp-grey);margin:0 0 6px}
.ct-card .hs-form-required{color:#2F6FB3;margin-inline-start:2px}
.ct-card .hs-input{width:100%!important;font-family:var(--pp-body);font-size:16px;color:var(--pp-ink);background:#F2F0EC;border:1px solid transparent;border-radius:10px;padding:12px 14px;box-sizing:border-box;transition:border-color 120ms ease,background 120ms ease}
.ct-card .hs-input:focus{outline:none;border-color:#2F6FB3;background:#fff;box-shadow:0 0 0 3px rgba(47,111,179,.18)}
.ct-card textarea.hs-input{min-height:140px;resize:vertical}
.ct-card select.hs-input{appearance:none;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23121417' stroke-width='1.8'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-inline-end:40px}
.ct-card .hs-error-msgs{list-style:none;margin:6px 0 0;padding:0}
.ct-card .hs-error-msg{display:block;font-size:13px;color:#B3261E;font-weight:500}
.ct-card .hs-input.invalid,.ct-card .hs-input.error{border-color:#B3261E}
.ct-card .hs-richtext{font-size:12.5px;color:var(--pp-grey);line-height:1.5;margin:4px 0 12px}
.ct-card .hs-richtext a{color:var(--pp-navy)}
.ct-card .hs-submit{padding:0}
.ct-card .hs-button{appearance:none;cursor:pointer;font-family:var(--pp-body);font-weight:600;font-size:15px;color:#fff;background:var(--pp-navy);border:0;border-radius:999px;padding:14px 26px;transition:background 120ms ease,transform 120ms ease}
.ct-card .hs-button:hover{background:#1A2A4F}
.ct-card .hs-button:active{transform:scale(.98)}
.ct-card .hs-button:focus-visible{outline:3px solid #2F6FB3;outline-offset:3px}
.ct-card .submitted-message{font-size:17px;color:var(--pp-ink);padding:12px 6px;line-height:1.5}
.ct-card .hs-form fieldset .input{margin-inline-end:0!important}
.ct-card .legal-consent-container{font-size:12.5px;color:var(--pp-grey)}
@media (max-width:860px){.ct-hero{grid-template-columns:1fr;gap:28px;padding-top:40px}.ct-card{padding:20px}.ct-card .hs-form fieldset.form-columns-2{flex-direction:column;gap:0}.ct-card .hs-form fieldset.form-columns-2 .hs-form-field{width:100%}}

/* 6 Nov 2026: forms made in HubSpot's newer editor ignore the .hs-form rules above and take these variables instead
   (declared on :root per HubSpot's docs), so the contact and resource forms match the site either way */
:root{--hsf-global__font-family:"Geist",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--hsf-global__font-size:16px;--hsf-global__color:#121417;--hsf-global-error__color:#B3261E;
  --hsf-row__horizontal-spacing:12px;--hsf-row__vertical-spacing:16px;--hsf-module__vertical-spacing:16px;
  --hsf-background__background-color:transparent;--hsf-background__padding:0;--hsf-background__border-width:0;
  --hsf-field-label__font-family:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;--hsf-field-label__font-size:12px;--hsf-field-label__color:#6E6C64;--hsf-field-label-requiredindicator__color:#2F6FB3;
  --hsf-field-description__font-family:"Geist",sans-serif;--hsf-field-description__color:#6E6C64;--hsf-field-footer__font-family:"Geist",sans-serif;--hsf-field-footer__color:#6E6C64;
  --hsf-field-input__font-family:"Geist",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--hsf-field-input__color:#121417;--hsf-field-input__background-color:#F2F0EC;--hsf-field-input__placeholder-color:#9A978F;--hsf-field-input__border-color:#F2F0EC;--hsf-field-input__border-width:1px;--hsf-field-input__border-style:solid;--hsf-field-input__border-radius:10px;--hsf-field-input__padding:12px 14px;
  --hsf-field-textarea__font-family:"Geist",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--hsf-field-textarea__color:#121417;--hsf-field-textarea__background-color:#F2F0EC;--hsf-field-textarea__placeholder-color:#9A978F;--hsf-field-textarea__border-color:#F2F0EC;--hsf-field-textarea__border-width:1px;--hsf-field-textarea__border-style:solid;--hsf-field-textarea__border-radius:10px;--hsf-field-textarea__padding:12px 14px;
  --hsf-field-checkbox__border-color:#DADAD3;--hsf-field-checkbox__background-color:#fff;--hsf-field-checkbox__color:#0E1A36;--hsf-field-radio__border-color:#DADAD3;--hsf-field-radio__background-color:#fff;--hsf-field-radio__color:#0E1A36;
  --hsf-richtext__font-family:"Geist",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--hsf-richtext__font-size:12.5px;--hsf-richtext__color:#6E6C64;
  --hsf-button__font-family:"Geist",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--hsf-button__font-size:15px;--hsf-button__color:#fff;--hsf-button__background-color:#0E1A36;--hsf-button__background-image:none;--hsf-button__border-radius:999px;--hsf-button__padding:14px 26px;--hsf-button__box-shadow:none;
  --hsf-erroralert__font-family:"Geist",sans-serif;--hsf-erroralert__font-size:13px;--hsf-erroralert__color:#B3261E;--hsf-infoalert__font-family:"Geist",sans-serif;--hsf-infoalert__font-size:14px;--hsf-infoalert__color:#121417}