/* Homepage-only sections, adapted from the supplied module and service references. */
.page-home {
  --home-section-space: clamp(38px, 4.8vw, 68px);
  --home-heading-gap: clamp(24px, 3vw, 42px);
  --home-label-gap: 12px;
  --home-body-leading: 1.65;
}
.page-home main > .section { padding-block: var(--home-section-space); }
.page-home main > :is(#built-in, #why-us) .section-top {
  gap: clamp(16px, 4vw, 56px);
  margin-bottom: var(--home-heading-gap);
}
.page-home main > :is(#built-in, #why-us) .section-top .eyebrow { margin-bottom: var(--home-label-gap); }
.page-home main > :is(#built-in, #why-us) .section-top > p,
.page-home main > :is(#built-in, #why-us) .section-top .intro-stack p {
  max-width: 54ch;
  margin-block: 0;
  font-size: 15px;
  line-height: var(--home-body-leading);
  text-wrap: pretty;
}
.page-home #why-us .site-card-grid { margin-top: var(--home-heading-gap); }
.page-home .home-trust .container { padding-block: clamp(16px, 1.45vw, 21px); }
.page-home .home-trust span { font-size: 12px; line-height: 1.45; }
.page-home .home-trust span svg { flex: none; }

.page-home :is(.home-modules,.home-services) > .container,
.page-home #expert > .container { width: min(1360px,calc(100% - 2 * var(--page-gutter))); }
.page-home .home-modules { background: var(--soft); }
.page-home .home-modules-heading { max-width: 780px; margin: 0 auto var(--home-heading-gap); text-align: center; }
.page-home .home-modules-heading .eyebrow { justify-content: center; margin-bottom: var(--home-label-gap); }
.page-home .home-modules-heading h2 { margin-inline: auto; }
.page-home .home-modules-heading > p { max-width: 640px; margin: 14px auto 0; font-size: 15px; line-height: var(--home-body-leading); text-wrap: balance; }
.page-home .home-module-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; }
.page-home .home-module-card { min-width: 0; display: flex; flex-direction: column; }
.page-home .home-module-heading h3 { margin-bottom: 10px; font-size: clamp(21px, 1.8vw, 24px); line-height: 1.25; }
.page-home .home-module-heading p { margin: 0; font-size: 15px; line-height: var(--home-body-leading); text-wrap: pretty; }
.page-home .home-module-media { display: block; margin: 20px 0 16px; overflow: hidden; border-radius: var(--radius); aspect-ratio: 2796 / 2022; }
.page-home .home-module-image { display: block; width: 100%; height: auto; }
.page-home .home-module-detail { margin: 0 0 14px; font-size: 14px; line-height: var(--home-body-leading); text-wrap: pretty; }
.page-home .home-module-card > .text-link { width: fit-content; margin-top: auto; min-height: 44px; align-self: start; }
.page-home main > .home-services { padding-block: clamp(32px, 4vw, 56px); }
.page-home .home-services-heading {
  max-width: 760px;
  margin: 0 auto clamp(22px, 2.6vw, 34px);
  text-align: center;
}
.page-home .home-services-heading .eyebrow { justify-content: center; margin: 0 0 12px; }
.page-home .home-services-heading h2 { margin: 0 auto 12px; }
.page-home .home-services-heading > p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  text-wrap: balance;
}
.page-home .home-services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.page-home .home-service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  min-width: 0;
  padding: clamp(14px, 1.3vw, 18px);
  border: 1px solid var(--line);
  border-radius: var(--banner-radius);
  background: var(--white);
}
.page-home .home-service-media {
  display: grid;
  place-items: center;
  aspect-ratio: 12 / 5;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--soft);
}
.page-home .home-service-media img {
  display: block;
  contain: size;
  min-width: 0;
  min-height: 0;
  width: 74%;
  height: 72%;
  object-fit: contain;
}
.page-home .home-service-card h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 1.65vw, 24px);
  line-height: 1.25;
  letter-spacing: -.02em;
}
.page-home .home-service-card > p {
  max-width: 62ch;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
}
.page-home .home-service-card > .button {
  justify-self: start;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  gap: 10px;
  font-size: 13px;
  text-align: start;
}
.page-home .home-service-card .icon { flex-shrink: 0; }
@media (min-width: 700px) {
  .page-home .home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1050px) {
  .page-home .home-service-card {
    grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    column-gap: clamp(16px, 1.6vw, 24px);
  }
  .page-home .home-service-media {
    grid-area: 1 / 1 / -1;
    align-self: center;
    aspect-ratio: 9 / 7;
    margin: 0;
  }
  .page-home .home-service-card h3 { grid-area: 1 / 2; }
  .page-home .home-service-card > p { grid-area: 2 / 2; }
  .page-home .home-service-card > .button { grid-area: 3 / 2; }
}
@media (min-width: 900px) {
  .page-home .home-module-grid { grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: clamp(24px,3vw,40px); row-gap: 0; }
  @supports (grid-template-rows: subgrid) {
    .page-home .home-module-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .page-home .home-service-card .button .icon { transition: transform 220ms ease; }
  .page-home .home-service-card .button:hover .icon { transform: translateX(3px); }
}

/* Reference layout, using the website's typography, CTA, spacing and corner tokens. */
.page-home .home-onboarding { padding: var(--banner-gutter) var(--page-gutter); background: var(--soft); }
.page-home .home-onboarding-panel { position: relative; isolation: isolate; overflow: hidden; max-width: 1360px; margin-inline: auto; border-radius: var(--banner-radius); background: #16202d; color: #fff; }
.page-home .home-onboarding-panel::before,
.page-home .home-onboarding-panel::after { content: ''; position: absolute; z-index: 0; pointer-events: none; }
.page-home .home-onboarding-panel::before { inset: -70% -45%; background: repeating-radial-gradient(ellipse at 12% 96%,transparent 0 108px,rgba(255,255,255,.075) 110px 112px,transparent 116px 165px); opacity: .6; }
.page-home .home-onboarding-panel::after { inset: -25% -60%; background: linear-gradient(112deg,transparent 38%,rgba(255,255,255,.025) 46%,rgba(255,255,255,.075) 50%,rgba(255,255,255,.025) 54%,transparent 62%); opacity: .6; }
.page-home .home-onboarding-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr); gap: 34px; width: min(1360px,calc(100% - 2 * var(--page-gutter))); padding-block: var(--home-section-space); }
.page-home .home-onboarding-layout > * { min-width: 0; }
.page-home .home-onboarding-copy .eyebrow { color: #ffc0b2; margin-bottom: var(--home-label-gap); }
.page-home .home-onboarding-copy h2 { max-width: 520px; color: #fff; }
.page-home .home-onboarding-copy > p { max-width: 51ch; color: #cbd5e1; margin: 16px 0 22px; font-size: 15px; line-height: var(--home-body-leading); text-wrap: pretty; }
.page-home .home-onboarding .onboarding-cta { max-width: 100%; }
.page-home .onboarding-steps { margin: 0; padding: 0; list-style: none; }
.page-home .onboarding-step { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr); column-gap: 16px; padding-bottom: 24px; }
.page-home .onboarding-step:last-child { padding-bottom: 0; }
.page-home .onboarding-step:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: #64748b; }
.page-home .onboarding-number { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #64748b; border-radius: 50%; background: #16202d; color: #fff; font-size: 21px; line-height: 1; font-weight: 400; }
.page-home .onboarding-step-copy h3 { color: #fff; font-size: clamp(19px, 1.6vw, 21px); line-height: 1.25; margin: 4px 0 8px; }
.page-home .onboarding-step-copy p { max-width: 46ch; color: #cbd5e1; font-size: 14px; line-height: var(--home-body-leading); text-wrap: pretty; }
@media (min-width: 900px) {
  .page-home .home-onboarding-layout { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: clamp(48px,6vw,100px); }
  .page-home .onboarding-steps { padding-top: 0; }
  .page-home .onboarding-step { grid-template-columns: 48px minmax(0,1fr); column-gap: 18px; padding-bottom: 28px; }
  .page-home .onboarding-step:last-child { padding-bottom: 0; }
  .page-home .onboarding-number { width: 48px; height: 48px; font-size: 23px; }
  .page-home .onboarding-step:not(:last-child)::before { left: 23px; top: 48px; }
}
@media (hover: hover) and (pointer: fine) {
  .page-home .onboarding-step:hover .onboarding-number { background: #fff; color: #16202d; border-color: #fff; }
  .page-home .onboarding-step:hover .onboarding-step-copy p { color: #e2e2e2; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .page-home .onboarding-number { transition: background 200ms ease,color 200ms ease,border-color 200ms ease; }
  .page-home .onboarding-step-copy { transition: transform 220ms ease; }
  .page-home .onboarding-step-copy p { transition: color 200ms ease; }
  .page-home .onboarding-cta .icon { transition: transform 220ms ease; }
  .page-home .onboarding-step:hover .onboarding-step-copy { transform: translateX(5px); }
  .page-home .onboarding-cta:hover .icon { transform: translateX(3px); }
}
@keyframes onboarding-wave-drift {
  from { transform: translate3d(-2%,-1%,0) rotate(-2deg); opacity: .35; }
  to { transform: translate3d(2%,1%,0) rotate(2deg); opacity: .65; }
}
@keyframes onboarding-sheen-drift {
  from { transform: translate3d(-24%,0,0); opacity: .35; }
  to { transform: translate3d(24%,0,0); opacity: .65; }
}
@media (prefers-reduced-motion: no-preference) {
  .page-home .home-onboarding-panel::before { animation: onboarding-wave-drift 14s ease-in-out infinite alternate; }
  .page-home .home-onboarding-panel::after { animation: onboarding-sheen-drift 18s ease-in-out infinite alternate-reverse; }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .onboarding-number, .page-home .onboarding-step-copy, .page-home .onboarding-step-copy p, .page-home .onboarding-cta .icon { transition: none; transform: none; }
}

/* Approved compact Japan ODC promo: content-sized, with a 20px border inset. */
#japan-odc .odc-promo{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:20px;padding:20px;border:1px solid var(--dc-border,#dce3ea);border-radius:24px;background:#fff;overflow:hidden}
#japan-odc .odc-promo-copy{min-width:0;padding:4px}
#japan-odc .odc-promo-copy .eyebrow{font-size:10px;line-height:1.6;letter-spacing:.12em;margin:0 0 var(--home-label-gap)}
#japan-odc .odc-promo-copy h2{max-width:none;font-size:clamp(28px,2.6vw,36px);line-height:1.18;letter-spacing:-.035em;margin:0 0 14px;text-wrap:balance}
#japan-odc .odc-promo-copy p{max-width:60ch;font-size:15px;line-height:var(--home-body-leading);margin:0;text-wrap:pretty}
#japan-odc .odc-promo-copy .button{max-width:100%;min-width:0;min-height:48px;margin-top:20px;padding:14px 18px;gap:12px;font-size:13px;line-height:1.4;letter-spacing:normal;white-space:normal;text-align:left}
#japan-odc .odc-promo-copy .button .icon{flex-shrink:0}
#japan-odc .odc-promo-visual{display:block;position:relative;min-width:0;min-height:0;width:100%;aspect-ratio:811/439;border-radius:16px;overflow:hidden}
#japan-odc .odc-promo-image{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;border-radius:0}
@media(min-width:900px){#japan-odc .odc-promo{grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:24px}#japan-odc .odc-promo-copy{padding:24px}#japan-odc .odc-promo-visual{aspect-ratio:auto}}
@media(max-width:480px){#japan-odc .odc-promo-copy .button{padding-inline:14px;gap:8px;font-size:12px}}

/* Homepage hero and carousel navigation. */
.page-home .home-carousel{max-width:none;overflow:hidden;isolation:isolate;--carousel-enter-x:-7%;--carousel-exit-x:7%}
.page-home .home-carousel[data-motion-direction=backward]{--carousel-enter-x:7%;--carousel-exit-x:-7%}
.page-home .home-carousel .carousel-slide{z-index:0}
.page-home .home-carousel .carousel-slide[aria-hidden=false]{z-index:1}
.page-home .home-carousel .carousel-slide.carousel-leaving{position:absolute;inset:0;z-index:0;pointer-events:none}
.page-home .home-carousel .carousel-slide .hero-copy{padding-bottom:84px}
.page-home .home-carousel .hero-copy > .eyebrow { margin-bottom: clamp(14px, 1.4vw, 20px); }
.page-home .home-carousel .hero-copy > .hero-intro { margin-top: clamp(14px, 1.4vw, 20px); line-height: var(--home-body-leading); text-wrap: pretty; }
.page-home .home-carousel .hero-copy > .hero-actions { margin-top: clamp(18px, 1.7vw, 24px); }
.page-home .home-carousel .carousel-controls{left:50%;bottom:16px;transform:translateX(-50%);gap:4px;padding:4px;border-radius:999px;background:#08121be6}
.page-home .home-carousel .carousel-controls button{width:44px;height:44px}
.page-home .home-carousel .carousel-dots button{background:transparent}
.page-home .home-carousel .carousel-dots button:hover span{background:#fff}
.page-home .home-carousel .carousel-controls button:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.page-home .home-carousel[data-motion=full] .carousel-entering{animation:home-hero-slide-in var(--carousel-transition-duration,650ms) cubic-bezier(.22,.61,.36,1) both!important}
.page-home .home-carousel[data-motion=full] .carousel-leaving{animation:home-hero-slide-out var(--carousel-transition-duration,650ms) cubic-bezier(.22,.61,.36,1) both!important}
/* Text motion measured from the reference hero: 720ms words, 55ms stagger. */
.page-home .home-carousel .home-reveal-visual{display:block}
.page-home .home-carousel .home-reveal-word{display:inline-block;max-inline-size:100%;overflow-wrap:anywhere}
.page-home .home-carousel[data-motion=full] .carousel-copy-enter .hero-copy>:is(h1,.slide-title),
.page-home .home-carousel[data-motion=full] .carousel-copy-enter .hero-actions>.button{animation:none!important}
.page-home .home-carousel[data-motion=full] .carousel-copy-enter .home-reveal-word{animation:home-reveal-word 720ms cubic-bezier(.22,1,.36,1) calc(var(--home-reveal-offset,0ms) + 90ms + var(--wi,0) * 55ms) both!important}
.page-home .home-carousel[data-motion=full] .carousel-copy-enter .hero-copy>.eyebrow{animation:home-reveal-up 620ms cubic-bezier(.22,1,.36,1) var(--home-reveal-offset,0ms) both!important}
.page-home .home-carousel[data-motion=full] .carousel-copy-enter .hero-copy>.hero-intro{animation:home-reveal-up 680ms cubic-bezier(.22,1,.36,1) calc(var(--home-reveal-offset,0ms) + 340ms) both!important}
.page-home .home-carousel[data-motion=full] .carousel-copy-enter .hero-actions{animation:home-reveal-up 680ms cubic-bezier(.22,1,.36,1) calc(var(--home-reveal-offset,0ms) + 440ms) both!important}
@keyframes home-hero-slide-in{from{opacity:0;transform:translateX(var(--carousel-enter-x))}to{opacity:1;transform:translateX(0)}}
@keyframes home-hero-slide-out{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(var(--carousel-exit-x))}}
@keyframes home-reveal-word{from{opacity:0;filter:blur(9px);transform:translateY(.55em)}to{opacity:1;filter:blur(0);transform:translateY(0)}}
@keyframes home-reveal-up{from{opacity:0;filter:blur(6px);transform:translateY(22px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}
/* Reduced motion blends the panels in place, with no sliding or blur. */
.page-home .home-carousel[data-motion=reduced] :is(.carousel-slide,.hero-copy>*,.hero-actions>.button,.home-reveal-word){animation:none!important;transform:none!important;filter:none!important;opacity:1}
.page-home .home-carousel[data-motion=reduced] .carousel-slide.carousel-entering{animation:home-slide-crossfade var(--carousel-transition-duration,650ms) ease-in-out both!important}
.page-home .home-carousel[data-motion=reduced] .carousel-leaving .hero-copy{animation:home-slide-crossfade 160ms ease-out reverse both!important}
@keyframes home-slide-crossfade{from{opacity:0}to{opacity:1}}
.page-home .home-carousel[data-motion=reduced] .carousel-copy-enter .hero-copy>:is(.eyebrow,h1,.slide-title,.hero-intro,.hero-actions){animation:home-copy-fade 450ms ease-out both!important}
.page-home .home-carousel[data-motion=reduced] .carousel-copy-enter .hero-copy>:is(h1,.slide-title){animation-delay:60ms!important}
.page-home .home-carousel[data-motion=reduced] .carousel-copy-enter .hero-copy>.hero-intro{animation-delay:130ms!important}
.page-home .home-carousel[data-motion=reduced] .carousel-copy-enter .hero-copy>.hero-actions{animation-delay:210ms!important}
.page-home .home-carousel[data-motion] .carousel-copy-enter .hero-copy>.hero-actions:focus-within{animation:none!important;opacity:1!important}
@keyframes home-copy-fade{from{opacity:.25}to{opacity:1}}
@media print{.page-home .home-carousel .carousel-controls{display:none}.page-home .home-carousel :is(.carousel-slide,.hero-copy>*,.hero-actions>.button,.home-reveal-word){animation:none!important;opacity:1!important;transform:none!important;filter:none!important}}

/* Homepage Expertise: alternating product details and dashboard previews. */
.page-home #expert .section-top{display:block;max-width:780px;margin:0 auto var(--home-heading-gap);text-align:center}
.page-home #expert .section-top .eyebrow{justify-content:center;margin-bottom:var(--home-label-gap)}
.page-home #expert .section-top h2{max-width:none;margin-inline:auto;text-wrap:balance}
.page-home #expert .section-top .intro-stack{max-width:620px;margin:14px auto 0;padding:0}
.page-home #expert .section-top .intro-stack p{margin:0;font-size:15px;line-height:var(--home-body-leading);text-wrap:balance}

.page-home #expert {
  background: #fff;
}

.page-home #expert .site-card-grid.count-4 {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 3.8vw, 48px);
  margin: var(--home-heading-gap) auto 0;
}

.page-home #expert .expert-card.expert-showcase-row {
  display: grid;
  grid-template-areas: 'copy' 'dashboard';
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.page-home #expert .expert-showcase-row .expert-card-body {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.page-home #expert .expert-showcase-row h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(20px, 1.9vw, 25px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
  text-transform: uppercase;
}

.page-home #expert .expert-showcase-row .expert-card-body > p {
  max-width: 68ch;
  margin: 0 0 14px;
  color: #526377;
  font-size: 15px;
  line-height: var(--home-body-leading);
  text-wrap: pretty;
}

.page-home #expert .expert-showcase-row .site-list {
  display: grid;
  gap: 8px clamp(24px, 3vw, 40px);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.page-home #expert .expert-showcase-row .site-list > li {
  margin: 0;
}

.page-home #expert .expert-showcase-row .card-links {
  margin: 16px 0 0;
}

.page-home #expert .expert-showcase-row .button {
  min-height: 46px;
  max-width: 100%;
  font-size: 13px;
  white-space: normal;
}

@media (min-width: 700px) {
  .page-home #expert .expert-showcase-row .site-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
  }
}

.page-home #expert .expert-dashboard {
  --dashboard-ink: #172637;
  --dashboard-muted: #526377;
  --dashboard-accent: #126c5e;
  --dashboard-tint: #e8f5f1;
  grid-area: dashboard;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  container-type: inline-size;
  aspect-ratio: 439 / 351;
  width: 100%;
  min-width: 0;
  max-width: 439px;
  min-height: 268px;
  margin: 0;
  padding: clamp(12px, 1.55vw, 20px);
  border: 1px solid #dbe4ee;
  border-radius: 16px;
  background: #f7f9fc;
  box-shadow: 0 4px 16px #263f5a0a;
}

@media (min-width: 900px) {
  .page-home #expert .expert-card.expert-showcase-row {
    grid-template-areas: 'copy dashboard';
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    align-items: stretch;
    gap: clamp(24px, 3vw, 40px);
  }

  .page-home #expert .expert-card.expert-showcase-row:nth-child(even) {
    grid-template-areas: 'dashboard copy';
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  }

  .page-home #expert .expert-dashboard {
    aspect-ratio: auto;
    max-width: none;
  }
}

.page-home #expert .expert-showcase-row:has(.card-links .button:focus-visible) .expert-dashboard {
  border-color: color-mix(in srgb, var(--dashboard-accent) 35%, #dbe4ee);
  box-shadow: 0 8px 22px #263f5a14;
}

@media (hover: hover) and (pointer: fine) {
  .page-home #expert .expert-showcase-row:hover .expert-dashboard {
    border-color: color-mix(in srgb, var(--dashboard-accent) 35%, #dbe4ee);
    box-shadow: 0 8px 22px #263f5a14;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-home #expert .expert-dashboard {
    transition:
      border-color var(--ui-control, 160ms) var(--ui-ease, ease-out),
      box-shadow var(--ui-popup, 200ms) var(--ui-ease, ease-out),
      transform var(--ui-dialog, 240ms) var(--ui-ease, ease-out);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .page-home #expert .expert-showcase-row:hover .expert-dashboard {
    transform: translateY(-3px);
  }
}

.page-home #expert .expert-dashboard--payroll {
  --dashboard-accent: #4654a0;
  --dashboard-tint: #edf0ff;
}

.page-home #expert .expert-dashboard--hrms {
  --dashboard-accent: #186380;
  --dashboard-tint: #e8f5fb;
}

.page-home #expert .expert-dashboard--statutory {
  --dashboard-accent: #656328;
  --dashboard-tint: #f1f3e4;
}

.expert-dashboard-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin: 0 0 12px;
  color: var(--dashboard-ink);
}

.expert-dashboard-icon {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: var(--dashboard-accent);
  background: var(--dashboard-tint);
}

.expert-dashboard-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.expert-dashboard-demo {
  flex: none;
  padding: 3px 7px;
  border: 1px solid #dbe4ee;
  border-radius: 999px;
  color: var(--dashboard-muted);
  background: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.expert-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(118px, 1fr) auto;
  gap: 8px;
  margin: 0;
}

.expert-metric {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  min-height: 74px;
  padding: 10px;
  border: 1px solid #e1e8ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 3px #263f5a07;
}

.expert-metric dt {
  color: var(--dashboard-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.expert-metric dd {
  margin: 0;
  color: var(--dashboard-ink);
  font-size: clamp(16px, 5.2cqw, 23px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.expert-metric-lead {
  position: relative;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 39%);
  grid-template-rows: min-content min-content;
  align-content: center;
  column-gap: 10px;
  min-height: 118px;
  padding: 13px 15px;
  background: linear-gradient(117deg, #fff 22%, var(--dashboard-tint) 100%);
}

.expert-metric-lead dt {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  color: var(--dashboard-accent);
  font-size: 13px;
}

.expert-metric-lead dd {
  grid-column: 1;
  grid-row: 2;
  font-size: clamp(29px, 9cqw, 44px);
  letter-spacing: -.045em;
}

.page-home #expert .expert-dashboard-chart {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 152px;
  height: auto;
}

@container (max-width: 300px) {
  .expert-dashboard-grid { grid-template-rows: minmax(105px, 1fr) auto; }

  .expert-metric {
    min-height: 68px;
    padding: 8px;
  }

  .expert-metric:not(.expert-metric-lead) dt { font-size: 11px; }
  .expert-metric-lead { min-height: 105px; padding: 11px 12px; }
}

@container (max-width: 216px) {
  .expert-dashboard-caption { gap: 6px; }
  .expert-dashboard-title { font-size: 11px; }
  .expert-dashboard-demo { padding-inline: 5px; font-size: 9px; }
  .expert-dashboard-grid { gap: 6px; }
  .expert-metric:not(.expert-metric-lead) { padding-inline: 6px; }
}

/* Homepage Why Datacore feature cards. */
.page-home #why-us .why-platform-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:20px;min-height:242px;padding:28px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(140deg,#eaf0f6 0%,#f3f6fa 46%,#fff 100%)}
.page-home #why-us .why-platform-card img{display:block;width:148px;max-width:65%;height:108px;object-fit:contain;object-position:left center}
.page-home #why-us .why-platform-card h3{font-size:20px;line-height:1.35;letter-spacing:-.02em;margin:0;max-width:24ch;text-wrap:balance}
@media(hover:hover) and (pointer:fine){.page-home #why-us .why-platform-card:hover{border-color:#cbd5e1;box-shadow:0 14px 32px #16202d12}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .page-home #why-us .why-platform-card{transition:transform 240ms ease,box-shadow 240ms ease,border-color 240ms ease}
 .page-home #why-us .why-platform-card img{transition:transform 320ms cubic-bezier(.2,.7,.25,1)}
 .page-home #why-us .why-platform-card:hover{transform:translateY(-4px)}
 .page-home #why-us .why-platform-card:hover img{transform:translateX(3px) scale(1.025)}
}
@media(max-width:760px){.page-home #why-us .why-platform-card{padding:24px;min-height:230px}}
@media(max-width:480px){.page-home #why-us .why-platform-card h3{font-size:20px}}
@media(prefers-reduced-motion:reduce){.page-home #why-us .why-platform-card,.page-home #why-us .why-platform-card img{transition:none;transform:none}}

/* Homepage Built-In Capabilities: Figma 2856:4344, using existing site tokens. */
.page-home #built-in{--capability-amber:#ffbf00;--capability-pink:#ff8eed;--capability-mint:#00ddb3;--capability-blue:#3a86ff}
.page-home #built-in .capability-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(14px,1.5vw,22px);list-style:none;padding:0;margin:0}
.page-home #built-in .capability-tile{display:flex;align-items:center;gap:14px;min-width:0;min-height:96px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fafafa;box-shadow:0 0 1.2px #16202d20}
.page-home #built-in .capability-icon{display:flex;align-items:center;justify-content:center;position:relative;isolation:isolate;overflow:hidden;flex:0 0 48px;width:48px;height:48px;border:1px solid #ffffff52;border-radius:8px;color:#fff;background:linear-gradient(145deg,#ffffff2e 0%,#ffffff08 45%,#ffffff00 70%),linear-gradient(145deg,var(--capability-icon-light),var(--capability-icon-mid) 55%,var(--capability-icon-deep));box-shadow:inset 0 1px 2px #ffffff73,inset 0 -1px 2px #16202d14,0 4px 9px var(--capability-icon-shadow)}
.page-home #built-in .capability-icon::before{content:"";position:absolute;z-index:0;inset:1px 1px 50%;border-radius:6px 6px 14px 14px;background:linear-gradient(180deg,#ffffff40,#ffffff05);pointer-events:none}
.page-home #built-in .capability-icon .icon{position:relative;z-index:1;flex:none;color:inherit;filter:drop-shadow(0 1px 1px #16202d24)}
.page-home #built-in .capability-icon--amber{--capability-icon-light:#f1b732;--capability-icon-mid:#cc8a0b;--capability-icon-deep:#9e6200;--capability-icon-shadow:#cc8a0b33}
.page-home #built-in .capability-icon--pink{--capability-icon-light:#eb8adf;--capability-icon-mid:#c74bb6;--capability-icon-deep:#96318e;--capability-icon-shadow:#c74bb633}
.page-home #built-in .capability-icon--mint{--capability-icon-light:#40d0b6;--capability-icon-mid:#07977f;--capability-icon-deep:#05705e;--capability-icon-shadow:#07977f33}
.page-home #built-in .capability-icon--blue{--capability-icon-light:#6daaff;--capability-icon-mid:#317ae5;--capability-icon-deep:#1d50ad;--capability-icon-shadow:#317ae533}
.page-home #built-in .capability-copy{min-width:0}
.page-home #built-in .capability-copy h3{margin:0;font-size:16px;font-weight:600;line-height:1.35;letter-spacing:-.01em;color:var(--ink)}
.page-home #built-in .capability-copy p{margin:4px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
@media(min-width:640px){.page-home #built-in .capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.page-home #built-in .capability-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(hover:hover) and (pointer:fine){.page-home #built-in .capability-tile:hover{border-color:#cbd5e1;box-shadow:0 5px 16px #16202d0a}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.page-home #built-in .capability-tile{transition:border-color 180ms ease,box-shadow 180ms ease}}

/* Why Datacore: six coordinated pastel surfaces and native gradient SVGs. */
.page-home #why-us .why-platform-card{border:0;border-radius:20px;box-shadow:none;background:linear-gradient(135deg,var(--why-pastel-start),var(--why-pastel-end))}
.page-home #why-us .why-card--platform{--why-pastel-start:#eee8fc;--why-pastel-end:#faf8ff}
.page-home #why-us .why-card--recruitment{--why-pastel-start:#e3f5ec;--why-pastel-end:#f7fcf9}
.page-home #why-us .why-card--compliance{--why-pastel-start:#ffeddf;--why-pastel-end:#fffaf6}
.page-home #why-us .why-card--integrations{--why-pastel-start:#e5f0ff;--why-pastel-end:#f7fbff}
.page-home #why-us .why-card--growth{--why-pastel-start:#fbe7f0;--why-pastel-end:#fff9fc}
.page-home #why-us .why-card--support{--why-pastel-start:#fff5ce;--why-pastel-end:#fffdf3}
.page-home #why-us .why-platform-card:hover{border:0;box-shadow:none}

/* Why Datacore — Figma 2866:4505: type and copy above generous editorial art. */
@font-face{font-family:WhyInter;font-style:normal;font-weight:400;font-display:swap;src:url('/site-assets/home-why-inter-400.woff2') format('woff2')}
@font-face{font-family:WhyInter;font-style:normal;font-weight:600;font-display:swap;src:url('/site-assets/home-why-inter-600.woff2') format('woff2')}
.page-home #why-us .site-card-grid{gap:clamp(16px,1.7vw,24px)}
.page-home #why-us .why-platform-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;min-height:0;padding:clamp(18px,1.7vw,24px);border:0;border-radius:16px;box-shadow:none;overflow:hidden;font-family:WhyInter,Arial,sans-serif;background:linear-gradient(180deg,var(--why-pastel-start),var(--why-pastel-end))}
.page-home #why-us .why-card--platform{--why-pastel-start:#b0e8fd;--why-pastel-end:#d7f3fe}
.page-home #why-us .why-card--recruitment{--why-pastel-start:#ffccfa;--why-pastel-end:#ffe6fd}
.page-home #why-us .why-card--compliance{--why-pastel-start:#c4e9c4;--why-pastel-end:#e1f4e1}
.page-home #why-us .why-card--integrations{--why-pastel-start:#ffebae;--why-pastel-end:#fff5d7}
.page-home #why-us .why-card--growth{--why-pastel-start:#e0cdff;--why-pastel-end:#f0e6ff}
.page-home #why-us .why-card--support{--why-pastel-start:#ffd7c1;--why-pastel-end:#ffede4}
.page-home #why-us .why-platform-card h3{max-width:none;min-height:2lh;font-family:inherit;font-size:20px;font-weight:600;line-height:1.3;letter-spacing:0;text-wrap:balance;color:#09090b;margin:0}
.page-home #why-us .why-platform-card .why-card-description{font-family:inherit;font-size:14px;font-weight:400;line-height:1.55;color:#09090b;margin:8px 0 0;max-width:38ch;min-height:3lh;text-wrap:pretty}
.page-home #why-us .why-card-art{display:flex;justify-content:center;align-items:center;margin-top:auto;padding-top:clamp(14px,1.5vw,20px);min-width:0}
.page-home #why-us .why-card-art img{display:block;width:272px;max-width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;object-position:center}
.page-home #why-us .why-platform-card:hover{border:0;box-shadow:none}
html[lang=ja] .page-home #why-us .why-platform-card{font-family:WhyInter,"Yu Gothic",Meiryo,"Hiragino Kaku Gothic ProN",sans-serif}
@media(max-width:480px){.page-home #why-us .why-platform-card :is(h3,.why-card-description){min-height:0}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.page-home #why-us .why-platform-card:hover img{transform:translateY(-5px) rotate(-1deg)}}

.page-home #get-started > .container { padding: clamp(22px, 3.5vw, 48px); }
.page-home #get-started .section-top { gap: clamp(16px, 4vw, 56px); margin-bottom: 20px; }
.page-home #get-started .section-top .eyebrow { margin-bottom: var(--home-label-gap); }
.page-home #get-started .intro-stack p { margin-block: 0; line-height: var(--home-body-leading); text-wrap: pretty; }
.page-home #get-started .section-end { margin-top: 20px; }
