/* Snow Technology homepage
   Upload to: /wp-content/uploads/stw/css/homepage.css
   Bump the ?v= number in the homepage's <link> tag whenever you edit this file.
   v52, 17 Nov 2026: moved out of the page into this file; mobile pass (see bottom). */

/* Hide the theme's page title on the homepage (this file only loads there) */
.entry-title,.entry-header{display:none}

/* ==========================================================================
   Snow Technology homepage: scoped styles  (v51, 25 Sep 2026: resources pull the three latest blog posts automatically, any category. v50, 25 Sep 2026: resources show the brochure plus the three latest blog posts. v49, 25 Sep 2026: sector images back in the normal flow, sized by the photo's own 3:2 ratio. v48, 25 Sep 2026: sector images locked to the same 3:2 size on every card; H1 span closed. v47, 25 Sep 2026: intro ends 'from clock-in to payslip'. v46, 25 Sep 2026: hero intro opens with Snow Technology. v45, 25 Sep 2026: shorter hero intro. v44, 25 Sep 2026: second keyword switched from 'workforce management software' to 'time and attendance software'. v43, 25 Sep 2026: target keywords switched to 'payroll software' and 'workforce management software' across the H1, intro, product heading and card, FAQ, alt text and demo copy. v42, 25 Sep 2026: H1 holds both exact keywords in two parallel sentences. v41, 25 Sep 2026: FAQ heading covers payroll and time and attendance; FAQ heading and list centred; client logo boxes about 17% smaller. v40, 25 Sep 2026: H1 now covers payroll and time and attendance; intro sentence carries 'payroll software Ireland'. v39, 25 Sep 2026: target keywords are now 'payroll software Ireland' and 'time and attendance software Ireland': H1, T&A card, FAQ heading, demo copy and two image alts updated. v38, 25 Sep 2026: SEO pass. Products H2 names payroll software and time and attendance, T&A card uses the exact phrase, sector and article images have descriptive alt text, new FAQ section between the testimonials and resources. v37, 21 Sep 2026: video src updated to the -8-1 filename WordPress actually saved. v36: hero video now ends with the 'It's Snow' brand sting, new video file. v35: H1 back to 'trusted for 25 years'. v34: H1 ended 'you can rely on'. v33: testimonial tags describe the topic of each quote. v32: smaller gap before 'Made'; tagline can't wrap or overflow. v31: rolling word sized by the browser (no width estimates), so it can never overlap 'Made'. v30: extra space before 'Made'; Payroll, Workforce and Time in white. v29: sector cards in 2 rows of 3. v28: rolling word is pure CSS (no script needed); rating stars drawn and baseline-aligned. v27: rating always on one line; rolling word limited to Payroll, Workforce, Time. v26: H1 restored with 'trusted for 25 years'; tagline is 'Complex Needs Made Simple' with a rolling word. v25: H1 shortened to 'Irish payroll and workforce software'. v24: tagline reworded, arrow starts at the middle of the paragraph, rating stars use the star character in brand teal. v23: arrow rebuilt in pure CSS (no script), anchored from the C to the Book a demo button. v22: Google rating links to the reviews; visible focus ring on hero links. v21: Google rating added under the hero buttons. v20: hand-drawn arrow now runs from the C in 'Complex needs made simple' down to the Book a demo button. v19: H1 keeps 'workforce software,' on one line, fourth trust point reworded. v18: hand-drawn arrow pointing at the Book a demo button. v17: fourth hero trust point, 2 x 2 layout. v16: hero video top aligned with the H1, new video file. v15: new H1 wording. v14: hero video now 5:4 to fill the hero card. v13: fixed stray box behind the form Submit button (reCAPTCHA field). v12: hero mock-up replaced by overview video with pause button. Earlier: v11, 18 Sep 2026: scroller, unique ids, theme font, theme footer, restyled demo form, looping grey logos, resource and sector images)
   Everything is scoped to .snow-hp so it can't leak into the theme.
   Brand values sampled from the live homepage. Change them here only.
   Tip: this block can also live in Appearance > Customise > Additional CSS.
   ========================================================================== */
.snow-hp{
  --sn-navy:#313B5D;      /* primary: nav, buttons, text, footer */
  --sn-navy-mid:#5A627E;  /* lighter navy: hover, borders on navy */
  --sn-teal:#4DE6DF;      /* accent: tagline, highlights, testimonial band */
  --sn-tint:#DBFAF9;      /* light teal tint for tags and avatars */
  --sn-grey:#ECECEC;      /* light section background */
  --sn-line:#D5D8E0;      /* borders on white */
  --sn-soft:#4A5270;      /* secondary text on light backgrounds */
  --sn-on-navy:#DCE0EA;   /* body text on navy */
  /* FONT: this page inherits the theme's font (the one used by the nav and footer), so it always matches.
     To force a specific font instead, replace `inherit` in the font-family line below with the font's name. */
  --sn-max:1200px;
  --sn-gutter:clamp(20px,5vw,60px);
  position:relative;
  /* Full-bleed. Delete these three lines if your page template is already full width. */
  width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  font-family:inherit;font-size:16px;line-height:1.5;color:var(--sn-navy);
  -webkit-font-smoothing:antialiased;
}
.snow-hp *,.snow-hp *::before,.snow-hp *::after{box-sizing:border-box}
.snow-hp h1,.snow-hp h2,.snow-hp h3,.snow-hp p,.snow-hp ul,.snow-hp li,.snow-hp figure,.snow-hp blockquote{margin:0;padding:0;border:0}
.snow-hp ul{list-style:none}
.snow-hp :is(h1,h2,h3,h4,p,ul,li,figure,blockquote,figcaption,address,small,strong,span,a,button,input,select,textarea,summary){font-family:inherit}
.snow-hp a{color:inherit;text-decoration:none}
.snow-hp img{display:block;max-width:100%}
.snow-hp .sn-wrap{width:min(100% - 2 * var(--sn-gutter),var(--sn-max));margin-inline:auto}
.snow-hp.sn-section{padding-block:clamp(56px,8vw,96px)}

/* focus */
.snow-hp a:focus-visible,.snow-hp button:focus-visible,.snow-hp input:focus-visible,.snow-hp select:focus-visible,.snow-hp textarea:focus-visible,.snow-hp summary:focus-visible{outline:3px solid var(--sn-navy);outline-offset:3px}
.snow-hp.sn-hero a:focus-visible{outline-color:var(--sn-teal)}

/* type */
.snow-hp .sn-h1{font-size:clamp(2rem,4.2vw,3.25rem);font-weight:600;line-height:1.08;letter-spacing:-.015em;color:#fff;text-transform:none}
.snow-hp .sn-h2{font-size:clamp(1.75rem,3vw,2.25rem);font-weight:600;line-height:1.15;letter-spacing:-.01em;color:var(--sn-navy);text-transform:none}
.snow-hp .sn-h2--xl{font-size:clamp(2rem,4vw,2.75rem);line-height:1.12}
.snow-hp .sn-sub{font-size:1.125rem;line-height:1.55;color:var(--sn-soft);max-width:44em}
.snow-hp .sn-head{display:flex;flex-direction:column;gap:14px;margin-bottom:48px;max-width:820px}
.snow-hp .sn-head--row{max-width:none;flex-direction:row;justify-content:space-between;align-items:flex-end;flex-wrap:wrap}
.snow-hp .sn-link{display:inline-block;padding:10px 0;font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* buttons */
.snow-hp .sn-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border:2px solid transparent;border-radius:4px;font-size:1rem;font-weight:700;line-height:1.2;text-align:center;transition:background-color .15s,color .15s,border-color .15s}
.snow-hp .sn-btn--teal{background:var(--sn-teal);color:var(--sn-navy)}
.snow-hp .sn-btn--teal:hover{background:#fff}
.snow-hp .sn-btn--ghost{border-color:#fff;color:#fff}
.snow-hp .sn-btn--ghost:hover{background:#fff;color:var(--sn-navy)}
.snow-hp .sn-btn--navy{background:var(--sn-navy);color:#fff}
.snow-hp .sn-btn--navy:hover{background:var(--sn-navy-mid)}

/* check-mark lists */
.snow-hp .sn-checks{display:flex;flex-direction:column;gap:12px}
.snow-hp .sn-checks li,.snow-hp .sn-trust li,.snow-hp .sn-iso{position:relative;padding-left:28px}
.snow-hp .sn-checks li::before,.snow-hp .sn-trust li::before,.snow-hp .sn-iso::before{content:"";position:absolute;left:0;top:.22em;width:18px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23313B5D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center/contain}
.snow-hp .sn-trust li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234DE6DF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}

/* hero */
.snow-hp .sn-hero__copy{container-type:inline-size}
/* Hand-drawn arrow from the middle of the paragraph down to the Book a demo button. Pure CSS: the arrow sits inside the paragraph, starts at its vertical middle (top:50%) and is stretched down to the middle of the button (half the paragraph + the 20px gap + half the 56px button), so it can't drift. Hidden under 1160px wide (no room in the margin, and the buttons can wrap). Recolour with stroke. */
.snow-hp .sn-flow-arrow{position:absolute;left:-52px;width:46px;top:50%;height:calc(50% + 48px);pointer-events:none}
.snow-hp .sn-flow-arrow svg{position:absolute;overflow:visible;fill:none;stroke:var(--sn-teal);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.snow-hp .sn-flow-arrow .sn-curve{left:0;top:0;width:100%;height:100%}
.snow-hp .sn-flow-arrow .sn-curve path,.snow-hp .sn-flow-arrow .sn-tip path{vector-effect:non-scaling-stroke}
.snow-hp .sn-flow-arrow .sn-tip{right:-3px;bottom:-9px;width:16px;height:18px}
@media (prefers-reduced-motion:no-preference){
  .snow-hp .sn-flow-arrow{clip-path:inset(0 0 100% 0);animation:sn-reveal 1.2s ease-in-out .5s forwards}
}
@keyframes sn-reveal{to{clip-path:inset(-20px)}}
@media (max-width:1159px){.snow-hp .sn-flow-arrow{display:none}}
/* the H1 scales with its own column so 'workforce software,' always fits on one line (the .sn-nb span). Older browsers use the vw size above. */
@supports (font-size:1cqw){.snow-hp .sn-hero__copy .sn-h1{font-size:clamp(1.75rem,9cqw,3.25rem)}}
@media (min-width:901px){.snow-hp .sn-nb{white-space:nowrap}}
/* second sentence of the H1 starts on its own line */
.snow-hp .sn-h1__line{display:block}
.snow-hp.sn-hero{isolation:isolate;padding-block:clamp(56px,8vw,96px) clamp(96px,11vw,150px);background:var(--sn-navy) url(/wp-content/uploads/2026/09/employer-branding-1.webp) center/cover no-repeat;clip-path:polygon(0 0,100% 0,100% calc(100% - clamp(32px,5vw,64px)),0 100%)}
.snow-hp.sn-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(49,59,93,.7)}
/* video column is slightly wider than the copy column so the video stays as legible as possible */
.snow-hp .sn-hero__grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(32px,5vw,72px);align-items:start}
.snow-hp .sn-hero__copy{display:flex;flex-direction:column;gap:20px}
.snow-hp .sn-tagline{font-size:clamp(1.25rem,2.2vw,1.75rem);font-weight:600;line-height:1.3;color:var(--sn-teal);white-space:nowrap}
@supports (font-size:1cqw){.snow-hp .sn-hero__copy .sn-tagline{font-size:max(1rem,min(clamp(1.25rem,2.2vw,1.75rem),5.8cqw))}}
.snow-hp .sn-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Rolling word in the tagline. Pure CSS, no width estimates: the four words share one grid cell and only the word that is showing (plus the one leaving or arriving) is displayed, so the browser sizes the gap to the real width of the word, in any font. Four words, 9.6s per loop, three loops, then it rests on "Needs". Older browsers and reduced motion: stays on "Needs". */
.snow-hp .sn-roll{display:inline-grid;grid-template-rows:1.3em;vertical-align:bottom;padding-bottom:.14em;margin-bottom:-.14em;margin-right:.06em;clip-path:inset(0 -1em)}
.snow-hp .sn-roll__w{grid-area:1/1;align-self:start;white-space:nowrap;line-height:1.3}
.snow-hp .sn-roll__w:nth-child(n+2){display:none;opacity:0;transform:translateY(100%);color:#fff}
@media (prefers-reduced-motion:no-preference){
  @supports (transition-behavior:allow-discrete){
    .snow-hp .sn-roll__w{animation:9.6s ease-in-out 1.5s 3 both}
    .snow-hp .sn-roll__w:nth-child(n+2){display:block}
    .snow-hp .sn-roll__w:nth-child(1){animation-name:sn-r0}
    .snow-hp .sn-roll__w:nth-child(2){animation-name:sn-r1}
    .snow-hp .sn-roll__w:nth-child(3){animation-name:sn-r2}
    .snow-hp .sn-roll__w:nth-child(4){animation-name:sn-r3}
  }
}
@keyframes sn-r0{0%,19%{display:block;opacity:1;transform:none}25%{display:block;opacity:0;transform:translateY(-100%)}25.01%,93.99%{display:none;opacity:0;transform:translateY(100%)}94%{display:block;opacity:0;transform:translateY(100%)}100%{display:block;opacity:1;transform:none}}
@keyframes sn-r1{0%,18.99%{display:none;opacity:0;transform:translateY(100%)}19%{display:block;opacity:0;transform:translateY(100%)}25%,44%{display:block;opacity:1;transform:none}50%{display:block;opacity:0;transform:translateY(-100%)}50.01%,100%{display:none;opacity:0;transform:translateY(100%)}}
@keyframes sn-r2{0%,43.99%{display:none;opacity:0;transform:translateY(100%)}44%{display:block;opacity:0;transform:translateY(100%)}50%,69%{display:block;opacity:1;transform:none}75%{display:block;opacity:0;transform:translateY(-100%)}75.01%,100%{display:none;opacity:0;transform:translateY(100%)}}
@keyframes sn-r3{0%,68.99%{display:none;opacity:0;transform:translateY(100%)}69%{display:block;opacity:0;transform:translateY(100%)}75%,94%{display:block;opacity:1;transform:none}100%{display:block;opacity:0;transform:translateY(-100%)}}
.snow-hp .sn-lead{position:relative;max-width:34em;font-size:1.1875rem;line-height:1.55;color:var(--sn-on-navy)}
.snow-hp .sn-cta-row{display:flex;flex-wrap:wrap;gap:16px;align-items:center}

.snow-hp .sn-cta-row .sn-btn{min-height:56px;font-size:1.0625rem}
.snow-hp .sn-rating{display:flex;flex-wrap:nowrap;align-items:baseline;gap:0 10px;font-size:1rem;white-space:nowrap;color:var(--sn-on-navy)}
.snow-hp .sn-rating__score{font-size:1.25rem;font-weight:700;color:#fff}
.snow-hp .sn-rating__stars{flex:none;display:block;height:.88em;width:auto;aspect-ratio:116/21;fill:var(--sn-teal)}
.snow-hp .sn-rating__count{font-weight:500}
.snow-hp .sn-rating__src{font-weight:500;text-decoration:underline;text-decoration-color:rgba(220,224,234,.4);text-underline-offset:3px}
.snow-hp .sn-rating:hover .sn-rating__src{text-decoration-color:var(--sn-teal)}
.snow-hp .sn-trust{display:grid;grid-template-columns:repeat(2,max-content);justify-content:start;gap:12px 32px;font-size:.875rem;font-weight:500;color:var(--sn-on-navy)}

/* hero video (replaces the old drawn mock-up). Top-aligned with the H1: the margin equals the small gap above the H1's capital letters */
.snow-hp .sn-hero__visual{margin-top:calc(clamp(1.75rem,3.9vw,3.25rem) * .17)}
.snow-hp .sn-video{position:relative;aspect-ratio:5/4;overflow:hidden;background:#fff;border:1px solid var(--sn-line);border-radius:8px;box-shadow:0 24px 56px rgba(15,20,40,.35)}
.snow-hp .sn-video video{display:block;width:100%;height:100%;object-fit:cover}
.snow-hp .sn-vpause{display:none;position:absolute;right:12px;bottom:12px;align-items:center;justify-content:center;width:44px;height:44px;padding:0;background:#fff;border:1px solid var(--sn-line);border-radius:4px;color:var(--sn-navy);cursor:pointer}
.snow-hp.sn-js .sn-vpause{display:inline-flex}
.snow-hp .sn-vpause .sn-i-play{display:none}
.snow-hp .sn-vpause[aria-pressed=true] .sn-i-play{display:block}
.snow-hp .sn-vpause[aria-pressed=true] .sn-i-pause{display:none}

/* client logos: grey, 112px tall, looping to the right with a fade on the right edge */
.snow-hp.sn-proof{background:#fff;padding-block:48px}
.snow-hp .sn-proof__head{display:flex;justify-content:space-between;align-items:center;gap:8px 24px;flex-wrap:wrap;margin-bottom:24px}
.snow-hp .sn-proof__title{font-size:1.25rem;font-weight:700;color:var(--sn-navy)}
.snow-hp .sn-proof__actions{display:flex;align-items:center;gap:16px}
.snow-hp .sn-pause{display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;background:#fff;border:1px solid var(--sn-line);border-radius:4px;color:var(--sn-navy);cursor:pointer}
.snow-hp.sn-js .sn-pause{display:inline-flex}
.snow-hp .sn-pause .sn-i-play{display:none}
.snow-hp .sn-pause[aria-pressed=true] .sn-i-play{display:block}
.snow-hp .sn-pause[aria-pressed=true] .sn-i-pause{display:none}
.snow-hp .sn-logos-scroll{overflow-x:auto;padding-bottom:12px;scrollbar-width:thin;scrollbar-color:#B9BDCB transparent;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 160px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 160px),transparent)}
.snow-hp .sn-logos-scroll.is-end{-webkit-mask-image:none;mask-image:none}
.snow-hp .sn-logos{--sn-marquee:50s;display:flex;width:max-content}
.snow-hp .sn-logos li{flex:0 0 200px;display:flex;align-items:center;justify-content:center;height:112px;margin-right:16px;padding:14px 22px;background:#fff;border:1px solid var(--sn-line);border-radius:6px}
.snow-hp .sn-logos img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;filter:grayscale(1);opacity:.72}
/* the loop starts only when JavaScript runs and the visitor has not asked for reduced motion */
.snow-hp .sn-logos-scroll.is-looping{overflow:hidden;padding-bottom:0}
.snow-hp .sn-logos-scroll.is-looping .sn-logos{animation:sn-marquee var(--sn-marquee) linear infinite}
.snow-hp .sn-logos-scroll.is-looping .sn-logos-left{animation-direction:reverse}
.snow-hp .sn-logos-scroll.is-looping:hover .sn-logos,.snow-hp .sn-logos-scroll.is-looping:focus-within .sn-logos,.snow-hp.is-paused .sn-logos-scroll .sn-logos{animation-play-state:paused}
@keyframes sn-marquee{from{transform:translateX(-50%)}to{transform:translateX(0)}}

/* product cards */
.snow-hp.sn-products{background:var(--sn-grey)}
.snow-hp .sn-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.snow-hp .sn-card{display:flex;flex-direction:column;gap:14px;padding:32px;background:#fff;border:1px solid var(--sn-line);border-radius:8px}
.snow-hp .sn-card h3{font-size:1.75rem;font-weight:600;line-height:1.15;color:var(--sn-navy)}
.snow-hp .sn-tag{align-self:flex-start;padding:4px 12px;background:var(--sn-tint);border-radius:6px;font-size:.8125rem;font-weight:700;color:var(--sn-navy)}
.snow-hp .sn-card .sn-for{font-size:.875rem;font-weight:700;color:var(--sn-navy)}
.snow-hp .sn-card p{color:var(--sn-soft)}
.snow-hp .sn-card .sn-checks li{font-size:.9375rem}
.snow-hp .sn-includes{padding-top:16px;border-top:1px solid #E6E8EE;font-size:.875rem;line-height:1.55;color:var(--sn-soft)}
.snow-hp .sn-includes strong{color:var(--sn-navy)}
.snow-hp .sn-card .sn-btn{margin-top:auto}

/* sectors */
.snow-hp.sn-sectors-wrap{background:#fff}
.snow-hp .sn-sectors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.snow-hp .sn-sector{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--sn-line);border-radius:6px;background:#fff}
/* the photo itself is fixed at 3:2 and cropped to fill, and its box never stretches, so every card's image is the same size whatever the number of links */
.snow-hp .sn-sector__img{flex:none;display:block;overflow:hidden;background:#DCDDE4}
.snow-hp .sn-sector__img img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.snow-hp .sn-sector__body{display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:16px;padding:22px 26px 24px}
.snow-hp .sn-sector h3{font-size:1.5rem;font-weight:600;line-height:1.2;color:var(--sn-navy)}
.snow-hp .sn-sector ul{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.snow-hp .sn-sector__body a{display:inline-block;padding:4px 0;font-size:.9375rem;font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* testimonials scroller */
.snow-hp.sn-testimonials{background:var(--sn-teal)}
.snow-hp .sn-t-controls{display:flex;align-items:center;gap:12px}
.snow-hp .sn-t-controls .sn-link{margin-right:12px}
.snow-hp .sn-arrow{display:none;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;border-radius:4px;background:var(--sn-navy);color:#fff;cursor:pointer;transition:background-color .15s,opacity .15s}
.snow-hp.sn-js .sn-arrow{display:inline-flex}
.snow-hp .sn-arrow:hover:not(:disabled){background:var(--sn-navy-mid)}
.snow-hp .sn-arrow:disabled{opacity:.4;cursor:default}
.snow-hp .sn-t-scroll{--sn-edge:max(var(--sn-gutter),calc((100% - var(--sn-max)) / 2));overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:0 var(--sn-edge) 16px;scroll-padding-inline:var(--sn-edge);scrollbar-width:thin;scrollbar-color:var(--sn-navy) transparent}
.snow-hp .sn-t-track{display:flex;gap:24px}
.snow-hp .sn-t-track>li{flex:0 0 min(384px,82vw);scroll-snap-align:start}
.snow-hp .sn-t-card{display:flex;flex-direction:column;gap:20px;height:100%;min-height:300px;padding:32px;background:#fff;border-radius:8px}
.snow-hp .sn-t-card.is-empty{border:2px dashed var(--sn-navy-mid)}
.snow-hp .sn-quote{font-size:1.375rem;font-weight:500;line-height:1.4;color:var(--sn-navy)}
.snow-hp .sn-person{display:flex;align-items:center;gap:14px;margin-top:auto}
.snow-hp .sn-avatar{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--sn-tint);font-weight:700;color:var(--sn-navy)}
.snow-hp .sn-person strong{display:block;font-size:1rem}
.snow-hp .sn-person small{display:block;font-size:.875rem;color:var(--sn-soft)}

/* FAQ. Native <details>, so it opens and closes without JavaScript and the answers are always in the page for search engines. */
.snow-hp.sn-faq{background:var(--sn-grey)}
.snow-hp.sn-faq .sn-head{margin-inline:auto;align-items:center;text-align:center}
.snow-hp .sn-faq__list{display:flex;flex-direction:column;gap:12px;max-width:880px;margin-inline:auto}
.snow-hp .sn-faq__item{background:#fff;border:1px solid var(--sn-line);border-radius:6px}
.snow-hp .sn-faq__item summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;font-size:1.125rem;font-weight:700;line-height:1.35;color:var(--sn-navy);cursor:pointer;list-style:none}
.snow-hp .sn-faq__item summary::-webkit-details-marker{display:none}
.snow-hp .sn-faq__item summary::after{content:"";flex:none;width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23313B5D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E") no-repeat center/contain;transition:transform .15s}
.snow-hp .sn-faq__item[open] summary::after{transform:rotate(180deg)}
.snow-hp .sn-faq__a{padding:0 24px 22px;max-width:48em;color:var(--sn-soft)}
.snow-hp .sn-faq__a a{font-weight:700;color:var(--sn-navy);text-decoration:underline;text-underline-offset:3px}

/* resources */
.snow-hp.sn-resources{background:#fff}
.snow-hp .sn-head__text{display:flex;flex-direction:column;gap:14px}
.snow-hp .sn-r-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.snow-hp .sn-r-card{display:flex;flex-direction:column;overflow:hidden;background:var(--sn-grey);border-radius:6px}
.snow-hp .sn-r-img{display:block;aspect-ratio:3/2;overflow:hidden;background:#DCDDE4}
.snow-hp .sn-r-img img{width:100%;height:100%;object-fit:cover}
.snow-hp .sn-r-img--brand{display:flex;align-items:center;justify-content:center;background:var(--sn-navy)}
.snow-hp .sn-r-img--brand img{width:52%;height:auto;object-fit:contain}
.snow-hp .sn-r-body{display:flex;flex:1;flex-direction:column;gap:12px;padding:24px 28px 20px}
.snow-hp .sn-r-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;font-size:1.25rem;font-weight:600;line-height:1.3;color:var(--sn-navy)}
.snow-hp .sn-r-card .sn-link{margin-top:auto}

/* demo */
/* Photo background with a brand-teal overlay, angled top edge mirroring the hero's angled bottom.
   Text is navy on teal for contrast. To change the strength of the teal, edit the .88 in ::before. */
.snow-hp.sn-demo{--sn-angle:clamp(32px,5vw,64px);isolation:isolate;background:var(--sn-teal) url(https://snowtechnology.ie/wp-content/uploads/2026/09/timeandattendance.jpg) center/cover no-repeat;clip-path:polygon(0 var(--sn-angle),100% 0,100% 100%,0 100%);padding-top:calc(clamp(56px,8vw,96px) + var(--sn-angle))}
.snow-hp.sn-demo::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(77,230,223,.88)}
.snow-hp.sn-demo .sn-h2,.snow-hp.sn-demo .sn-phone,.snow-hp.sn-demo .sn-iso{color:var(--sn-navy)}
.snow-hp.sn-demo .sn-sub{color:var(--sn-navy)}
.snow-hp.sn-demo .sn-form{box-shadow:0 24px 56px rgba(15,20,40,.22)}
.snow-hp .sn-demo__grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(32px,6vw,80px);align-items:start}
.snow-hp .sn-demo__copy{display:flex;flex-direction:column;gap:24px}
.snow-hp .sn-phone{display:inline-block;padding:6px 0;font-size:clamp(1.5rem,3vw,1.875rem);font-weight:600}
.snow-hp .sn-iso{font-size:.875rem;font-weight:700}
.snow-hp .sn-form{padding:clamp(24px,4vw,40px);background:#fff;border-radius:8px}
/* ==== START FORM STYLES (Gravity Forms demo form, ID 26) ====
   Brand styling for form 26 in the homepage demo section AND the footer: labels above, bordered fields,
   option cards, full-width navy button. Layout follows the form's own field order: every field full
   width, except First/Last Name side by side. The demo card hides the form title; the footer keeps it.
   This file only loads on the homepage. To style the footer form the same on every page, copy
   everything between START and END into Appearance > Customise > Additional CSS. */
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26),:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) *,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) *::before,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) *::after{box-sizing:border-box!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26){margin:0!important;max-width:none!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
.snow-hp .sn-form .gform_wrapper .gform_heading{display:none!important}
#gform_wrapper_26 .gform_heading{margin:0 0 20px!important}
#gform_wrapper_26 .gform_title{margin:0!important;font-size:1.5rem!important;font-weight:700!important;line-height:1.2!important;color:#313B5D!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gform_fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;margin:0!important;padding:0!important;list-style:none!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield{grid-column:1 / -1!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;position:static!important}
/* field order/layout follows the form: everything full width, except fields set to half width in Gravity Forms */
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield.gfield--width-half{grid-column:span 1!important}
/* Name field: First and Last side by side */
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_complex.ginput_container--name,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield--type-name .ginput_complex{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;width:100%!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_complex > span{width:auto!important;margin:0!important;padding:0!important;float:none!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_complex label{display:block!important;margin:6px 0 0!important;font-size:13px!important;font-weight:400!important;color:#4A5270!important}
/* labels: always visible, above the field */
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_label,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) legend.gfield_label{display:block!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important;overflow:visible!important;margin:0 0 6px!important;padding:0!important;font-size:14px!important;font-weight:700!important;line-height:1.4!important;text-transform:none!important;color:#313B5D!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_required,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_required_text{margin-left:4px!important;font-size:14px!important;font-weight:400!important;font-style:normal!important;color:#4A5270!important}
/* text, email, phone, select, textarea */
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_container input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=hidden]),:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_container select,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_container textarea{display:block!important;width:100%!important;max-width:none!important;height:48px!important;min-height:48px!important;padding:0 14px!important;border:1px solid #7A819A!important;border-radius:4px!important;background-color:#fff!important;box-shadow:none!important;font:inherit!important;font-size:16px!important;line-height:1.4!important;color:#313B5D!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_container textarea{height:120px!important;min-height:120px!important;padding:12px 14px!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_container input::placeholder,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_container textarea::placeholder{color:#7A819A!important;opacity:1!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) input:focus,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) select:focus,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) textarea:focus{outline:3px solid #313B5D!important;outline-offset:2px!important}
/* "I am interested in" option cards */
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_radio{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin:0!important;padding:0!important;list-style:none!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_radio .gchoice,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_radio li{flex:1 1 0!important;min-width:150px!important;display:flex!important;align-items:center!important;gap:10px!important;min-height:48px!important;margin:0!important;padding:0 14px!important;border:1px solid #7A819A!important;border-radius:4px!important;background:#fff!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_radio label{margin:0!important;font-size:15px!important;font-weight:500!important;line-height:1.3!important;text-transform:none!important;color:#313B5D!important;cursor:pointer}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_radio input[type=radio]{flex:none!important;width:18px!important;height:18px!important;min-height:0!important;margin:0!important;accent-color:#313B5D}
/* consent checkbox and privacy text */
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_checkbox,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_container_consent{margin:0!important;padding:0!important;list-style:none!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_checkbox .gchoice,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_checkbox li,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_container_consent{display:flex!important;align-items:flex-start!important;gap:12px!important;margin:0!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_checkbox input[type=checkbox],:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_container_consent input[type=checkbox]{flex:none!important;width:20px!important;height:20px!important;min-height:0!important;margin:2px 0 0!important;accent-color:#313B5D}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_checkbox label,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_container_consent label,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_html,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield--type-html{font-size:14px!important;font-weight:400!important;line-height:1.5!important;text-transform:none!important;color:#4A5270!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_checkbox a,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_container_consent a,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield--type-html a{color:#313B5D!important;text-decoration:underline!important}
/* submit */
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gform_footer,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gform_page_footer{margin:20px 0 0!important;padding:0!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gform_footer input[type=submit],:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gform_footer button,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gform_button{display:block!important;width:100%!important;min-height:56px!important;margin:0!important;padding:0 32px!important;border:0!important;border-radius:4px!important;background:#313B5D!important;box-shadow:none!important;font:inherit!important;font-size:17px!important;font-weight:700!important;text-transform:none!important;color:#fff!important;cursor:pointer}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gform_footer input[type=submit]:hover,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gform_footer button:hover,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gform_button:hover{background:#5A627E!important}
/* reCAPTCHA response field and honeypot: keep them hidden (the rules above must not reveal them) */
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_container textarea.g-recaptcha-response,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_container textarea[name="g-recaptcha-response"],:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .ginput_recaptcha textarea{display:none!important;width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gform_validation_container{display:none!important}
/* errors */
:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_validation_message,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .validation_message{margin-top:6px!important;font-size:14px!important;color:#B3261E!important}
@media (max-width:640px){
  :is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gform_fields{grid-template-columns:1fr!important}
  :is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield.gfield--width-half{grid-column:1 / -1!important}
}
/* ==== END FORM STYLES ==== */

/* responsive */
@media (max-width:980px){
  .snow-hp .sn-cards{grid-template-columns:1fr}
}
@media (max-width:900px){
  .snow-hp .sn-hero__grid,.snow-hp .sn-demo__grid{grid-template-columns:1fr}
  .snow-hp .sn-hero__visual{display:none}
}
@media (max-width:380px){
  .snow-hp .sn-rating{font-size:.8125rem;gap:0 6px}
  .snow-hp .sn-rating__score{font-size:1.0625rem}
}
@media (max-width:560px){
  .snow-hp .sn-trust{grid-template-columns:1fr}
  .snow-hp .sn-sectors{grid-template-columns:repeat(2,minmax(0,1fr))}
  .snow-hp .sn-logos li{flex-basis:150px;height:84px;padding:10px 14px}
  .snow-hp .sn-cta-row .sn-btn{width:100%}
  .snow-hp .sn-faq__item summary{padding:18px 18px;font-size:1rem}
  .snow-hp .sn-faq__a{padding:0 18px 20px}
}
@media (prefers-reduced-motion:reduce){
  .snow-hp *{transition:none!important}
}

/* ==========================================================================
   MOBILE PASS (v52)
   ========================================================================== */
/* tablets: sectors 2-up so cards don't get cramped */
@media (max-width:900px){
  .snow-hp .sn-sectors{grid-template-columns:repeat(2,minmax(0,1fr))}
  .snow-hp .sn-head{margin-bottom:32px}
}
@media (max-width:640px){
  /* tighter rhythm */
  .snow-hp.sn-section{padding-block:44px}
  .snow-hp.sn-hero{padding-block:36px 72px}
  .snow-hp .sn-hero__copy{gap:16px}
  .snow-hp .sn-lead{font-size:1.0625rem}
  .snow-hp .sn-sub{font-size:1rem}
  .snow-hp .sn-head{margin-bottom:24px;gap:10px}
  .snow-hp.sn-proof{padding-block:32px}
  .snow-hp .sn-proof__title{font-size:1.0625rem}

  /* products: drop the "Includes" lines, full-width buttons */
  .snow-hp .sn-cards{gap:14px}
  .snow-hp .sn-card{padding:22px;gap:12px}
  .snow-hp .sn-card h3{font-size:1.375rem}
  .snow-hp .sn-includes{display:none}
  .snow-hp .sn-card .sn-btn{width:100%}

  /* sectors: compact 2-up cards */
  .snow-hp .sn-sectors{gap:12px}
  .snow-hp .sn-sector__body{padding:12px 14px 14px;gap:6px}
  .snow-hp .sn-sector h3{font-size:1.0625rem}
  .snow-hp .sn-sector__body a{padding:6px 0;font-size:.875rem}

  /* testimonials: swipe only (arrow buttons hidden), shorter cards */
  .snow-hp.sn-testimonials.sn-js .sn-arrow{display:none}
  .snow-hp .sn-t-track{gap:12px}
  .snow-hp .sn-t-card{min-height:0;padding:22px;gap:16px}
  .snow-hp .sn-quote{font-size:1.125rem}

  /* resources: swipeable row instead of four tall stacked cards */
  .snow-hp .sn-r-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(-1 * var(--sn-gutter));padding:0 var(--sn-gutter) 8px;scroll-padding-inline:var(--sn-gutter);scrollbar-width:none}
  .snow-hp .sn-r-grid::-webkit-scrollbar{display:none}
  .snow-hp .sn-r-card{flex:0 0 78%;scroll-snap-align:start}
  .snow-hp .sn-r-body{padding:18px 18px 14px}
  .snow-hp .sn-r-card h3{font-size:1.0625rem;-webkit-line-clamp:3}

  /* demo: room under the form for the sticky bar */
  .snow-hp.sn-demo{padding-top:calc(44px + var(--sn-angle));padding-bottom:96px}
  .snow-hp .sn-demo__copy{gap:14px}
  .snow-hp .sn-form{padding:20px 16px}
  :is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_radio{flex-direction:column!important;gap:8px!important}
  :is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_radio .gchoice,:is(.snow-hp .sn-form .gform_wrapper,#gform_wrapper_26) .gfield_radio li{flex:none!important;min-width:0!important;width:100%!important}
}

/* sticky "Book a free demo" bar on phones and small tablets (shown by homepage.js) */
.sn-sticky-cta{display:none}
@media (max-width:900px){
  .sn-sticky-cta{display:block;position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:999;padding:15px;border-radius:6px;background:#4DE6DF;color:#313B5D!important;font-family:inherit;font-size:16px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none!important;box-shadow:0 8px 24px rgba(15,20,40,.3);transform:translateY(160%);visibility:hidden;transition:transform .25s ease,visibility .25s}
  .sn-sticky-cta.is-visible{transform:none;visibility:visible}
}
@media (prefers-reduced-motion:reduce){.sn-sticky-cta{transition:none}}
