/* Figma: 233:20 (1440 px), 1:982 (400 px), 257:6493 (1920 px).
   Shared content, header and footer containers are capped at 1920 px, including side gutters. */
@font-face {
  font-family: Inter;
  src: url('../assets/Fonts/InterVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url('../assets/Fonts/Roboto-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url('../assets/Fonts/Roboto-Latin.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
:root {
  --navy: #000e38;
  --blue: #008cff;
  --text: #62677a;
  --pale-blue: #d7eafc;
  --button-blue: #c1e1fc;
  --soft-gray: #f6f6f7;
  --white: #fff;
  --radius: 24px;
  --gutter: 64px;
  --page-width: 1920px;
  --shadow: 0 0 16px rgb(0 14 56 / 6%);
  --button-gradient: linear-gradient(78deg, #008cff 20.39%, #000e38 167.44%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--navy); background: var(--white); font: 500 18px/1.5 Inter, Arial, sans-serif; font-optical-sizing: none; }
body, button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, blockquote, ul { margin: 0; }
h1, h2, h3 { font-weight: 700; }
h2 { font-size: 40px; line-height: 1.15; text-align: center; }
h3 { font-size: 24px; line-height: 1.25; }
p { color: var(--text); }
/* Homepage body copy; other text styles and subpages keep their weights. */
.home-page :where(.hero-lead, .trust-card p, .feature-copy p,
  .benefit-card p, .faq-answer p, .final-cta > .container > p) { font-weight: 450; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
button img, .trial-benefits img, .check-list img, address img { flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 20px; color: white; background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.container { width: 100%; max-width: var(--page-width); padding-inline: var(--gutter); margin-inline: auto; }
.container-narrow { width: min(1090px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: 96px; }
.trimmed { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
.mobile-only, .mobile-hyphen { display: none; }

/* Header and touch navigation */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 85%); backdrop-filter: blur(5px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 40px; }
.brand { display: block; flex: none; width: 323px; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: space-between; width: 60%; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { font-size: 16px; font-weight: 600; transition: color 180ms; }
.nav-actions { display: flex; gap: 8px; }
.button { display: inline-flex; min-height: 48px; padding: 11px 24px; align-items: center; justify-content: center; border: 0; border-radius: 64px; color: var(--white); background: var(--button-gradient); font-size: 16px; line-height: 1.25; font-weight: 600; white-space: nowrap; transition: filter 180ms, box-shadow 180ms, transform 180ms; }
.button-large { min-height: 64px; padding-inline: 40px; }
.button-secondary { color: var(--navy); background: var(--button-blue); }
.button:active { transform: translateY(1px); }
.menu-toggle { display: none; }

/* Homepage desktop actions keep their full width, so the rest of the header never moves. */
@media (min-width: 1024px) {
  .home-page .nav-actions {
    flex-direction: row-reverse;
    overflow: clip;
    overflow-clip-margin: 8px;
  }
  .home-page .nav-actions > .button-secondary { translate: 0; }
  .home-page .nav-actions > .button:not(.button-secondary) {
    translate: var(--nav-hidden-step, 100%) 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .home-page .nav-actions.is-hero-cta-passed { --nav-visibility-delay: 0s; }
  .home-page .nav-actions.is-hero-cta-passed > .button-secondary {
    translate: calc(-1 * var(--nav-trial-step)) 0;
  }
  .home-page .nav-actions.is-hero-cta-passed > .button:not(.button-secondary) {
    translate: var(--nav-login-step) 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .home-page .nav-actions.is-cta-ready > .button {
    transition: filter 180ms, box-shadow 180ms, transform 180ms,
      translate 300ms cubic-bezier(.2, .7, .2, 1),
      opacity 300ms cubic-bezier(.2, .7, .2, 1),
      visibility 0s var(--nav-visibility-delay, 300ms);
  }
}

/* Mobile floating CTA from Figma 310:861; never participates in page layout. */
.home-page > .mobile-trial-cta { display: none; }
@media screen and (max-width: 767px) {
  .home-page > .mobile-trial-cta {
    display: inline-flex;
    position: fixed;
    z-index: 19;
    /* The 400 px reference places the button center 13 px right of center. */
    left: calc(50% + 13px);
    bottom: calc(32px + env(safe-area-inset-bottom, 0px));
    max-width: calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    font-variation-settings: "opsz" 24;
    translate: -50% 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: filter 180ms, box-shadow 180ms, transform 180ms,
      translate 240ms ease-out, opacity 240ms ease-out, visibility 0s 240ms;
  }
  .home-page > .mobile-trial-cta.is-visible {
    translate: -50% 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
}

/* Hero */
.hero { padding: 72px var(--gutter) 96px; overflow: clip; }
.hero-copy { min-height: 440px; display: flex; flex-direction: column; align-items: center; gap: 54px; width: min(866px, 100%); margin-inline: auto; }
.hero-heading { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 10px; text-align: center; }
h1 { font-size: 64px; line-height: 1.15; }
.hero-lead { max-width: 644px; font-size: 22px; line-height: 1.4; }
.cta-group { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.trial-benefits { display: flex; align-items: center; justify-content: center; gap: 24px; color: var(--text); font-size: 14px; line-height: 20px; }
.trial-benefits li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-image { position: relative; aspect-ratio: 1090 / 612; width: min(1090px, 100%); margin: 96px auto 0; border-radius: var(--radius); overflow: hidden; background: rgb(215 234 252 / 75%); }
.hero-image .hero-background { width: 100%; height: 100%; object-fit: cover; }
/* Position the supplied transparent export within the existing 1090 x 612 frame. */
.hero-image .hero-tool { position: absolute; top: 9.1095%; left: 10.2294%; width: 79.5413%; height: auto; }

/* Full images remain accessible and provide the no-JS, reduced-motion and print fallback.
   Separate decorative frames keep the existing animation observers and image decoding intact. */
.animation-image { position: relative; }
.animation-fallback, .animation-image > .animation-layers { position: absolute; inset: 0; width: 100%; height: 100%; }
.animation-fallback { object-fit: cover; border-radius: inherit; }
.animation-image > .animation-layers { visibility: hidden; border-radius: inherit; }
@media screen and (prefers-reduced-motion: no-preference) {
  .js .animation-image > .animation-fallback,
  .hero-motion-pending .hero-image > .animation-fallback { opacity: 0; pointer-events: none; }
  .js .animation-image > .animation-layers,
  .hero-motion-pending .hero-image > .animation-layers { visibility: visible; }
}

/* Keep the background still; animate only the transparent tool layer. */
@media (prefers-reduced-motion: no-preference) {
  .hero-motion-pending .hero-tool {
    opacity: 0;
    transform: translateY(20px);
  }
  .hero-motion-pending.hero-motion-ready .hero-tool {
    animation: hero-graphic-in 800ms ease-out 500ms both;
  }
  @keyframes hero-graphic-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Trust */
.trust { background: var(--soft-gray); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 72px; }
.trust-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust-icon { display: grid; place-items: center; width: 120px; height: 120px; margin-bottom: 32px; border-radius: 50%; background: white; box-shadow: var(--shadow); }
.trust-icon img { width: 60px; height: 60px; }
.trust-card h3 { width: min(100%, 398px); padding-inline: 20px; }
.trust-card p { max-width: 386px; margin-top: 16px; padding-inline: 15px; line-height: 1.5; }
.trust-card:last-child h3 { max-width: 390px; }
.trust-card:last-child p { padding-inline: 0; }

/* Alternating feature rows share the twelve-column Figma grid. */
.feature-list { display: flex; flex-direction: column; gap: 96px; margin-top: 96px; }
.feature-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: 24px; }
.feature-copy { grid-column: 2 / 6; grid-row: 1; }
.feature-copy h3 { font-size: 30px; line-height: 1.15; }
.feature-copy p { margin-top: 16px; line-height: 26px; }
.feature-row:first-child .feature-copy p { margin-top: 30px; }
.feature-image { grid-column: 7 / 13; grid-row: 1; width: 100%; height: auto; aspect-ratio: 644 / 440; border-radius: var(--radius); object-fit: cover; }
.feature-row-reverse .feature-image { grid-column: 1 / 7; }
.feature-row-reverse .feature-copy { grid-column: 8 / 12; }
/* Full-canvas layers preserve the original clock graphic's size and alignment. */
.time-clock-image { position: relative; overflow: hidden; }
.time-clock-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The absence layers share the existing feature image's reserved canvas. */
.absence-image { position: relative; overflow: hidden; }
.absence-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .time-clock-image.is-pending .time-clock-button { opacity: 0; transform: translateY(20px); }
  .time-clock-image.is-pending.is-revealed .time-clock-button { animation: time-proof-in 1040ms cubic-bezier(.2, .7, .2, 1) 0ms both, feature-slide-in 880ms cubic-bezier(.2, .7, .2, 1) 0ms both; }
  .time-clock-image.is-pending.is-revealed .time-clock-go { animation-delay: 120ms; }
  .absence-image.is-pending .absence-item { opacity: 0; transform: translateY(20px); }
  .absence-image.is-pending.is-revealed .absence-item { animation: time-proof-in 1040ms cubic-bezier(.2, .7, .2, 1) 0ms both, feature-slide-in 880ms cubic-bezier(.2, .7, .2, 1) 0ms both; }
  .absence-image.is-pending.is-revealed .absence-homeoffice { animation-delay: 120ms; }
  .absence-image.is-pending.is-revealed .absence-holiday { animation-delay: 240ms; }
  @keyframes time-proof-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes feature-slide-in {
    from { transform: translateY(20px); }
    to { transform: translateY(0); }
  }
}
.feature-cta { padding: 54px var(--gutter) 94px; }

/* Six feature cards */
.benefits { background: var(--pale-blue); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.benefit-card { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 360.5px; padding: 40px; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.benefit-card > img { width: 60px; height: 60px; }
.benefit-card h3 { line-height: 29px; }
.benefit-card p { margin-top: 16px; font-size: 18px; line-height: 25px; }

/* JavaScript opts benefit cards into one-time scroll reveals. */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .scroll-reveal.is-revealed {
    animation: reveal-up 650ms cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms) both;
  }
  @keyframes reveal-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
  }
}

/* Pricing */
.price-card { display: flex; flex-direction: column; gap: 48px; width: min(421px, 100%); margin: 64px auto 0; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow), 4px 4px 4px rgb(0 14 56 / 6%); }
.price-selector { display: flex; gap: 4px; width: 100%; padding: 2px; align-items: center; }
.employee-count { display: flex; align-items: center; justify-content: center; flex: 1; min-width: 0; height: 48px; padding-inline: 8px; border-radius: 64px; background: var(--soft-gray); font-size: 16px; white-space: nowrap; }
.round-button { display: grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 8px; border-radius: 50%; background: var(--button-blue); transition: background 180ms, opacity 180ms; }
.round-button img { width: 18px; height: 18px; object-fit: contain; }
.round-button:disabled { cursor: default; opacity: .35; }
.price-output { padding-top: 8px; text-align: center; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 4px; color: var(--navy); line-height: 1.15; }
#price-amount { font-size: 64px; font-weight: 700; text-box-trim: trim-both; text-box-edge: cap alphabetic; }
.price-period { font-size: 18px; text-box-trim: trim-both; text-box-edge: cap alphabetic; }
.tax-note { margin-top: 24px; font-size: 14px; font-weight: 400; line-height: 1.15; }
.price-inclusions { display: flex; flex-direction: column; gap: 32px; }
.check-list { display: flex; flex-direction: column; gap: 8px; padding-inline: 8px; font-size: 14px; line-height: 20px; color: var(--text); }
.check-list li { display: flex; align-items: center; gap: 8px; }

/* Customer tabs */
.testimonials { background: var(--pale-blue) url('../assets/Images/webp/AZE-Client-Section-Gradient.webp') center / cover no-repeat; }
.customer-tabs { display: flex; width: max-content; max-width: 100%; margin: 64px auto 32px; padding: 2px; border-radius: 48px; background: white; overflow-x: auto; scrollbar-width: none; }
.customer-tabs button { padding: 11px 24px; min-height: 48px; border-radius: 64px; background: transparent; font-size: 16px; line-height: 1.25; font-weight: 600; transition: background 180ms; }
.customer-tabs [aria-selected="true"] { background: var(--button-blue); }
.testimonial-panels { width: min(1090px, 100%); margin-inline: auto; }
/* Reserve one shared row so different quote lengths never shift the page. */
.js .testimonial-panels { display: grid; grid-template-columns: minmax(0, 1fr); background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.js .testimonial-panels > .testimonial-card { grid-area: 1 / 1; background: transparent; box-shadow: none; }
.js .testimonial-panels > .testimonial-card[hidden] { display: flex !important; visibility: hidden; pointer-events: none; }
/* Transparent content layers crossfade over one stationary white card. */
.js .testimonial-panels > .testimonial-card[hidden].is-fading-out { visibility: visible; }
.testimonial-card { display: flex; flex-direction: column; gap: 56px; min-height: 666px; padding: 56px 80px; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.customer-logo { display: flex; align-items: center; width: 190px; height: 88px; flex: none; }
.customer-logo img { width: 190px; height: 89px; object-fit: contain; }
.customer-name { width: auto; font-size: 28px; font-weight: 700; }
.testimonial-card blockquote { flex: 1; }
.testimonial-card blockquote p { color: var(--navy); font-size: 30px; line-height: 1.4; }
.customer-person { display: flex; align-items: center; gap: 16px; min-height: 80px; }
.customer-person > img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: center; flex: none; }
.customer-avatar-placeholder { display: grid; place-items: center; flex: none; width: 80px; height: 80px; border-radius: 50%; background: var(--soft-gray); color: var(--text); font-size: 22px; font-weight: 600; }
.customer-person p { color: var(--navy); font-weight: 400; line-height: 1.4; }
.customer-person strong, .customer-person p span, .founder-name strong, .founder-name span { display: block; }

/* Fotos vorerst ausblenden. Zum Reaktivieren testimonials--without-photos in kundenmeinungen.php entfernen. */
.testimonials--without-photos .customer-person { min-height: 0; gap: 0; }
.testimonials--without-photos .customer-person > img,
.testimonials--without-photos .customer-person > .customer-avatar-placeholder { display: none; }

/* Native details remain usable without JavaScript. Answer padding preserves the open-state gap. */
.faq h2 { max-width: 870px; margin-inline: auto; }
.faq-list { max-width: 1090px; margin: 64px auto 0; }
.faq details + details { margin-top: 32px; }
.faq details:not(:last-child) .faq-answer { padding-bottom: 22px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; list-style: none; font-size: 24px; line-height: 1.2; font-weight: 600; cursor: pointer; }
.faq summary > span { min-width: 0; overflow-wrap: anywhere; }
.faq details:first-child summary > span { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary img { flex: none; width: 26px; height: 16px; object-fit: cover; transform: rotate(180deg); transition: transform 350ms cubic-bezier(.4, 0, .2, 1); }
.faq details[open]:not(.is-closing) summary img { transform: none; }
.faq-answer { max-width: 866px; padding-top: 24px; font-size: 18px; line-height: 1.5; }
.faq-answer a { text-decoration: underline; text-underline-offset: 3px; }

/* Founder and final call to action */
.founder { background: var(--pale-blue); }
.founder-inner { display: flex; gap: 69px; align-items: center; }
.founder-portrait { flex: none; width: 266px; height: 266px; border-radius: var(--radius); object-fit: cover; }
.founder-copy { flex: 1; min-width: 0; }
.founder blockquote p { color: var(--navy); font-size: 30px; line-height: 1.4; }
.founder-name { margin-top: 40px; color: var(--navy); line-height: 1.4; }
.final-cta { text-align: center; }
.final-cta > .container > p { max-width: 644px; margin: 32px auto 0; line-height: 1.4; }
.final-cta .cta-group { margin-top: 56px; }

/* Footer */
.site-footer { color: white; background: var(--navy); }
.footer-main { display: flex; justify-content: space-between; gap: 64px; padding-top: 96px; padding-bottom: 60px; }
.footer-brand { width: 308px; flex: none; }
.brand-light { width: 308px; }
.brand-light img { width: 100%; height: auto; }
.brand-description { font-family: Roboto, Arial, sans-serif; margin-top: 13px; font-size: 14px; font-weight: 400; line-height: 1.4; color: white; }
.footer-brand address { font-family: Roboto, Arial, sans-serif; display: flex; flex-direction: column; gap: 12px; margin-top: 40px; font-style: normal; font-size: 16px; line-height: 19px; }
.footer-brand address a { display: flex; align-items: center; gap: 12px; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; width: 868px; max-width: 100%; }
.footer-nav h2 { font-size: 18px; line-height: 1.3; text-align: left; }
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; font-size: 14px; font-weight: 400; line-height: 1.4; }
.footer-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 32px; padding-bottom: 40px; }
.copyright { font-family: Roboto, Arial, sans-serif; color: #f0efee; font-size: 16px; font-weight: 400; }
.social-links { display: flex; gap: 20px; }
.social-links a { display: block; border-radius: 50%; background: #1f2b50; transition: transform 180ms, filter 180ms; }
.social-links img { width: 46px; height: 46px; }

/* Hover treatments supplement the static Figma frames. */
@media (hover: hover) {
  .nav-links a:hover, .faq summary:hover { color: #006fca; }
  .button:hover { filter: brightness(.94); box-shadow: 0 4px 14px rgb(0 84 159 / 16%); }
  :is(.home-page, .site-header) .button[href="https://arbeitszeiterfassung.com/konto-erstellen"]:hover,
  :is(#popup_frontend, #converter-review, #vorlage_bewerten_innen) .popup-promotion-link:hover { background: linear-gradient(90deg, #0162B2 0%, #01366C 100%); filter: none; box-shadow: none; }
  :is(.home-page, .site-header) .button[href="https://arbeitszeiterfassung.com/anmelden"]:hover { background: #9AD0FD; filter: none; box-shadow: none; }
  .round-button:not(:disabled):hover, .customer-tabs button:hover { background: #a9d5fb; }
  .footer-nav a:hover, address a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .site-footer a:hover { color: #008CFF; text-decoration: none; }
  .social-links a:hover { filter: brightness(1.3); transform: translateY(-2px); }
}

/* Existing spacing variant for wide viewports; backgrounds stay full width. */
@media (min-width: 1600px) {
  .benefits-grid { margin-top: 91px; }
  .benefit-card { min-height: 343.5px; }
}

@media (min-width: 1200px) {
  .footer-main { min-height: 395px; }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .benefits { padding-bottom: 89px; }
}

/* Intermediate breakpoints interpolate between the supplied 400/1440 layouts. */
@media (max-width: 1199px) {
  :root { --gutter: 32px; }
  .header-inner { gap: 24px; }
  .brand { width: 273px; }
  .main-nav { flex: 1; width: auto; gap: 24px; }
  .nav-links { gap: 24px; }
  .nav-actions .button { padding-inline: 18px; }
  .feature-copy { grid-column: 1 / 6; }
  .feature-row-reverse .feature-copy { grid-column: 8 / 13; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-card { min-height: 330px; }
  .footer-main { flex-direction: column; }
  .footer-nav { width: 100%; }
  .founder-inner { gap: 40px; }
  .founder blockquote p { font-size: 26px; }
}

@media (max-width: 1023px) {
  .header-inner { position: relative; }
  .menu-toggle { display: grid; place-items: center; position: relative; width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--button-blue); flex: none; }
  .menu-toggle img { width: 24px; height: 24px; }
  .menu-toggle img, .menu-toggle::after { transition: opacity 240ms cubic-bezier(.2, .7, .2, 1), transform 240ms cubic-bezier(.2, .7, .2, 1); }
  .menu-toggle::after { content: ""; position: absolute; inset: 0; background: url('../assets/Icons/svg/Burger-close.svg') center / contain no-repeat; opacity: 0; transform: rotate(-12deg) scale(.94); pointer-events: none; }
  .menu-toggle[aria-expanded="true"] img { opacity: 0; transform: rotate(12deg) scale(.94); }
  .menu-toggle[aria-expanded="true"]::after { opacity: 1; transform: rotate(0deg) scale(1); }
  .main-nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; width: 100%; gap: 24px; padding: 24px var(--gutter) 32px; background: white; box-shadow: 0 14px 16px rgb(0 14 56 / 6%); }
  .js .main-nav:not(.is-open) { display: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding-block: 14px; }
  .nav-actions > a { flex: 1; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { gap: 20px; }
  .trust-card h3 { padding-inline: 0; font-size: 22px; }
  .trust-card p { padding-inline: 0; font-size: 16px; }
  .testimonial-card { padding: 48px; }
  .testimonial-card blockquote p { font-size: 26px; }
}

/* Mobile reference: 400 px frame, 16 px gutters, 96 px section spacing. */
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 112px; }
  h2 { font-size: 32px; }
  .header-inner { height: 88px; gap: 20px; }
  .brand { width: min(273px, calc(100% - 76px)); }
  .mobile-only, .mobile-hyphen { display: inline; }
  .hero { padding-top: 54px; }
  .hero-copy { min-height: 0; width: 100%; gap: 54px; padding-block: 4px; }
  .hero-heading { padding: 0; width: 100%; }
  h1 { font-size: 44px; }
  .hero-lead { max-width: 364px; font-size: 18px; }
  .hero .button-large { min-height: 54px; padding-inline: 24px; }
  .trial-benefits { gap: 18px; font-size: 14px; }
  .trial-benefits li { gap: 6px; }
  .hero-image { aspect-ratio: 1090 / 612; width: 465px; max-width: none; margin-top: 54px; margin-left: calc(50% - 232.5px); border-radius: 10px; }
  .trust-grid { grid-template-columns: 1fr; gap: 74px; margin-top: 54px; }
  .trust-card { min-height: 293px; }
  .trust-card h3 { max-width: 368px; font-size: 24px; text-box-trim: trim-both; text-box-edge: cap alphabetic; }
  .trust-card:last-child h3 { max-width: 304px; }
  .trust-card p { max-width: 368px; margin-top: 24px; font-size: 18px; text-box-trim: trim-both; text-box-edge: cap alphabetic; }
  .trust-card:nth-child(2) p { max-width: 338px; }
  .features h2 { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
  .feature-list { gap: 94px; margin-top: 54px; }
  .feature-row { display: flex; flex-direction: column; align-items: stretch; gap: 34px; }
  .feature-image { order: -1; }
  .feature-copy h3 { font-size: 26px; }
  .feature-row:nth-child(2) h3 { max-width: 305px; }
  .feature-copy p, .feature-row:first-child .feature-copy p { margin-top: 20px; font-size: 16px; line-height: 1.4; }
  .feature-row:not(:nth-child(2)) .feature-copy p { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
  .feature-cta { display: none; }
  .benefits h2 { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
  .benefits-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 54px; }
  .benefit-card { min-height: 302px; padding: 24px; gap: 48px; }
  .benefit-card h3 { font-size: 22px; line-height: 26px; }
  .benefit-card p { margin-top: 10px; font-size: 16px; line-height: 22px; }
  .pricing h2 { max-width: 440px; margin-inline: auto; }
  .price-card { width: min(368px, 100%); padding: 24px; margin-top: 54px; gap: 40px; }
  .employee-count { font-weight: 600; }
  #price-amount { font-size: 54px; }
  .price-period { font-size: 16px; }
  .price-inclusions { gap: 24px; }
  .testimonials h2 { max-width: 320px; margin-inline: auto; }
  .customer-tabs { margin-top: 54px; margin-bottom: 14px; }
  .testimonial-card { gap: 40px; min-height: 675px; padding: 24px 26px; }
  .testimonial-card blockquote p { font-size: 20px; }
  .customer-person p { font-size: 16px; }
  .faq h2 { text-align: left; }
  .faq-list { margin-top: 54px; }
  .faq summary { font-size: 22px; gap: 12px; }
  .faq details + details summary { min-height: 58px; }
  .faq summary img { width: 20px; height: 14px; }
  .faq details + details { margin-top: 24px; }
  .faq details:not(:last-child) .faq-answer { padding-bottom: 30px; }
  .founder-inner { flex-direction: column; align-items: flex-start; gap: 40px; }
  .founder-portrait { width: 176px; height: 176px; }
  .founder blockquote p { font-size: 20px; line-height: 1.3; }
  .founder-name { font-size: 16px; }
  .final-cta .cta-group { margin-top: 54px; }
  .footer-main { gap: 54px; padding-bottom: 54px; }
  .footer-brand { width: 100%; }
  .brand-light { width: min(323px, 100%); }
  .brand-description { font-family: Inter, Arial, sans-serif; max-width: 306px; margin-top: 24px; font-size: 16px; font-weight: 500; line-height: 1.5; }
  .footer-brand address { margin-top: 24px; }
  .footer-nav { grid-template-columns: 1fr; gap: 34px; }
  .footer-nav ul { font-size: 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 92px; padding-top: 0; }
  .copyright { font-family: Inter, Arial, sans-serif; color: var(--pale-blue); font-size: 14px; }
  .social-links { margin-left: 50px; }
}

@media (max-width: 539px) {
  .customer-tabs { width: 100%; }
  .customer-tabs button { flex: 1; padding-inline: 7px; }
}

@media (max-width: 374px) {
  h2 { font-size: 28px; overflow-wrap: anywhere; }
  .header-inner { gap: 12px; }
  .brand { width: calc(100% - 68px); }
  .trial-benefits { flex-wrap: wrap; row-gap: 8px; column-gap: 12px; font-size: 12px; }
  .trial-benefits li { gap: 3px; }
  .price-card { padding: 20px 16px; }
  .employee-count { font-size: 14px; }
  .round-button { width: 42px; height: 42px; }
  .customer-tabs { width: 100%; }
  .customer-tabs button { flex: 1; padding-inline: 5px; font-size: 14px; }
  .testimonial-card { padding-inline: 20px; }
  .customer-person > img, .customer-avatar-placeholder { width: 60px; height: 60px; }
  .customer-person p { font-size: 14px; }
  .social-links { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .hero-motion-pending .hero-tool,
  .hero-motion-pending.hero-motion-ready .hero-tool,
  .time-clock-image.is-pending .time-clock-button,
  .time-clock-image.is-pending.is-revealed .time-clock-button,
  .absence-image.is-pending .absence-item,
  .absence-image.is-pending.is-revealed .absence-item,
  .scroll-reveal, .scroll-reveal.is-revealed { opacity: 1; transform: none; animation: none; }
  .site-header { position: static; }
  .nav-actions, .menu-toggle, .feature-cta, .social-links { display: none; }
  .section { padding-block: 32px; }
  .feature-list { gap: 32px; }
  .feature-row, .benefit-card, .price-card, .testimonial-card { break-inside: avoid; }
}

