/*
 * The public home page (D-166, owner: "custom, warm and exciting"; blue-led palette D-168).
 * The palette, the display face (Fraunces), grain, glows, the seal mark and the tape come from shared/theme/public.css
 * (the root carries `pvPublic`); this file lays out the home page itself. Decorative shapes are SVG masks in
 * shared/img/public filled with tokens, so no colour lives here. Motion: a short staged entrance, a slowly floating
 * certificate, sections that fade in as they scroll into view (CSS scroll-driven animations where supported) —
 * all of it switched off for people who prefer reduced motion.
 */

/* ================================================================ page frame */
.pvHome,
.pvHome *,
.pvHome *::before,
.pvHome *::after {
  box-sizing: border-box;
}

.pvHome {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip; /* glows, confetti and the tilted certificate never cause sideways scrolling */
}

/* ================================================================ top bar */
.pvHome__top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pv-space-4);
  min-height: 68px;
  padding: var(--pv-space-2) max(var(--pv-space-5), calc((100% - 76rem) / 2));
  background: color-mix(in srgb, var(--pv-public-paper) 82%, transparent);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--pv-public-line) 70%, transparent);
}

.pvHome__brand,
.pvHome__footerBrand {
  display: flex;
  align-items: center;
  gap: var(--pv-space-2);
  min-width: 0;
}

.pvHome__brand:has(img) .pvPublic__mark {
  display: none;
}

html .pvHome__logo img,
html img.pvHome__logo {
  max-height: 42px;
  max-width: 200px;
  object-fit: contain;
}

html .pvHome__orgName.sapMText,
html .pvHome__footerOrg.sapMText {
  font-family: var(--pv-public-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pvHome__topActions {
  display: flex;
  align-items: center;
  gap: var(--pv-space-2);
}

html .pvHome__topLink.sapMLnk {
  padding: var(--pv-space-2) var(--pv-space-3);
  border-radius: 999px;
  color: var(--pv-public-ink-soft);
  font-weight: var(--pv-fw-semibold);
  text-decoration: none;
  transition: color var(--pv-dur-fast), background-color var(--pv-dur-fast);
}

html .pvHome__topLink.sapMLnk:hover {
  color: var(--pv-public-ink);
  text-decoration: none;
  background: color-mix(in srgb, var(--pv-public-accent-soft) 80%, transparent);
}

html .pvHome__topLink.sapMLnk:focus-visible {
  outline: 2px solid var(--pv-public-primary);
  outline-offset: 2px;
}

html .pvHome__topVerify.sapMBtn {
  --sapButton_Lite_TextColor: var(--pv-public-ink-soft);
  --sapButton_Lite_Hover_Background: var(--pv-public-accent-soft);
  --sapButton_Lite_Hover_TextColor: var(--pv-public-ink);
}

html .pvHome__topVerify.sapMBtn .sapMBtnInner,
html .pvHome__topVerify.sapMBtn .sapMBtnIcon {
  color: var(--pv-public-ink-soft);
  font-weight: var(--pv-fw-semibold);
}

html .pvHome__top .sapMBtn .sapMBtnIcon,
html .pvHome__ctaButton.sapMBtn .sapMBtnIcon {
  margin-inline-end: var(--pv-space-2);
}

html .pvHome__top .sapMBtn .sapMBtnIcon.sapMBtnIconLast,
html .pvHome__top .sapMBtn .sapMBtnIconLast {
  margin-inline: var(--pv-space-2) 0;
}

/* ================================================================ hero */
.pvHome__hero {
  position: relative;
  isolation: isolate;
  padding: var(--pv-space-12) var(--pv-space-5) calc(var(--pv-space-12) + var(--pv-space-8));
}

.pvHome__heroInner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--pv-space-12);
  max-width: 76rem;
  margin: 0 auto;
}

.pvHome__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--pv-space-6);
}

.pvHome__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--pv-space-2);
  max-width: 100%;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--pv-public-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--pv-public-card) 75%, transparent);
  box-shadow: var(--pv-public-shadow-soft);
}

html .pvHome__pillText.sapMText {
  color: var(--pv-public-ink-soft);
  font-size: var(--pv-fs-sm);
  font-weight: var(--pv-fw-semibold);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* A gently breathing "we're open" dot. */
.pvHome__pulse {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pv-public-teal);
}

.pvHome__pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--pv-public-teal);
  opacity: .35;
  animation: pvHomePing 2.4s ease-out infinite;
}

.pvHome__headline {
  display: flex;
  flex-direction: column;
}

html .pvHome__headline1.sapMTitle,
html .pvHome__accentText.sapMText {
  font-family: var(--pv-public-display);
  font-size: clamp(2.5rem, 1.4rem + 3.3vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  word-spacing: .04em;
}

html .pvHome__headline1.sapMTitle {
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  color: var(--pv-public-ink);
}

.pvHome__headline2 {
  position: relative;
  align-self: flex-start;
  padding-bottom: .12em;
}

html .pvHome__accentText.sapMText {
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--pv-public-primary);
}

/* The hand-drawn underline: drawn in from left to right. */
.pvHome__underline {
  position: absolute;
  left: -2%;
  right: -4%;
  bottom: -.14em;
  height: .4em;
  background: var(--pv-public-accent);
  -webkit-mask: url("../../shared/img/public/underline.svg") center / 100% 100% no-repeat;
  mask: url("../../shared/img/public/underline.svg") center / 100% 100% no-repeat;
  clip-path: inset(0 0 0 0);
  animation: pvHomeDraw 900ms cubic-bezier(.65, 0, .35, 1) 650ms both;
}

html .pvHome__lead.sapMText {
  max-width: 33rem;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--pv-public-ink-soft);
}

.pvHome__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pv-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pvHome__chip {
  --tone: var(--pv-public-primary);
  --tone-soft: var(--pv-public-primary-soft);
  display: inline-flex;
  align-items: center;
  gap: var(--pv-space-2);
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--pv-public-line);
  border-radius: 999px;
  background: var(--pv-public-card);
  box-shadow: var(--pv-public-shadow-soft);
  font-weight: var(--pv-fw-semibold);
}

.pvHome__chip--accent { --tone: var(--pv-public-primary); --tone-soft: var(--pv-public-accent-soft); }
.pvHome__chip--teal { --tone: var(--pv-public-teal); --tone-soft: var(--pv-public-teal-soft); }
.pvHome__chip--violet { --tone: var(--pv-public-violet); --tone-soft: var(--pv-public-violet-soft); }

html .pvHome__chip .sapUiIcon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tone-soft);
  color: var(--tone);
  font-size: .95rem;
}

html .pvHome__chip .sapMText {
  font-size: var(--pv-fs-sm);
}

/* ---------------------------------------------------------------- the stage: certificate + panel */
.pvHome__stage {
  position: relative;
  padding: var(--pv-space-8) 0 var(--pv-space-8) var(--pv-space-10);
}

.pvHome__cert {
  position: absolute;
  top: 0;
  left: 0;
  width: 74%;
  height: 72%;
  padding: 12px;
  border-radius: 18px;
  background: var(--pv-public-card);
  box-shadow: var(--pv-public-shadow);
  transform: rotate(-7deg);
  transform-origin: 30% 60%;
  animation: pvHomeFloat 7s ease-in-out infinite;
}

.pvHome__certBorder {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 22px 24px;
  border: 1.5px solid var(--pv-public-accent);
  border-radius: 10px;
  outline: 1px solid var(--pv-public-line);
  outline-offset: -7px;
}

html .pvHome__certKicker.sapMText {
  font-size: .7rem;
  font-weight: var(--pv-fw-bold, 700);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pv-public-primary);
}

html .pvHome__certTitle.sapMText {
  font-family: var(--pv-public-display);
  font-style: italic;
  font-size: 1.9rem;
  font-weight: 500;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--pv-public-ink);
}

.pvHome__certLine {
  display: block;
  width: 86%;
  height: 7px;
  border-radius: 4px;
  background: var(--pv-public-paper-2);
}

.pvHome__certLine--name {
  width: 58%;
  height: 12px;
  background: var(--pv-public-line);
}

.pvHome__certLine--short {
  width: 52%;
}

.pvHome__certFoot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--pv-space-3);
  margin-top: auto;
}

.pvHome__certSign {
  width: 84px;
  height: 22px;
  background: var(--pv-public-ink-soft);
  -webkit-mask: url("../../shared/img/public/squiggle.svg") center / contain no-repeat;
  mask: url("../../shared/img/public/squiggle.svg") center / contain no-repeat;
}

html .pvHome__certNumber.sapMText {
  font-family: var(--pv-font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--pv-public-ink-soft);
}

/* The wax seal with its ribbon, on the certificate's visible edge. */
.pvHome__seal {
  position: absolute;
  left: -28px;
  bottom: 14%;
  width: 92px;
  height: 92px;
  animation: pvHomeWobble 7s ease-in-out infinite;
}

.pvHome__sealBody {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--pv-public-primary);
  -webkit-mask: url("../../shared/img/public/seal.svg") center / contain no-repeat;
  mask: url("../../shared/img/public/seal.svg") center / contain no-repeat;
}

html .pvHome__sealBody .sapUiIcon {
  color: var(--pv-public-sun);
  font-size: 1.9rem;
}

.pvHome__sealRibbon {
  position: absolute;
  top: 58%;
  width: 26px;
  height: 58px;
  background: var(--pv-public-primary-active);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}

.pvHome__sealRibbon--left {
  left: 22px;
  transform: rotate(16deg);
}

.pvHome__sealRibbon--right {
  right: 22px;
  transform: rotate(-16deg);
}

/* Confetti around the stage. */
.pvHome__confetti {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  animation: pvHomeBob 6s ease-in-out infinite;
}

.pvHome__confetti--1 {
  top: 2%;
  right: 8%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pv-public-sun);
}

.pvHome__confetti--2 {
  bottom: 1%;
  right: 4%;
  width: 54px;
  height: 18px;
  background: var(--pv-public-violet);
  -webkit-mask: url("../../shared/img/public/squiggle.svg") center / contain no-repeat;
  mask: url("../../shared/img/public/squiggle.svg") center / contain no-repeat;
  animation-duration: 7.5s;
  animation-delay: -2s;
}

.pvHome__confetti--3 {
  top: 40%;
  right: -26px;
  width: 22px;
  height: 22px;
  border: 4px solid var(--pv-public-teal);
  border-radius: 50%;
  animation-duration: 8s;
  animation-delay: -4s;
}

.pvHome__confetti--4 {
  top: -14px;
  left: 14%;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--pv-public-primary);
  transform: rotate(24deg);
  animation-duration: 6.5s;
  animation-delay: -1s;
}

.pvHome__confetti--5 {
  bottom: 12%;
  left: 6%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pv-public-accent);
  animation-duration: 5.5s;
  animation-delay: -3s;
}

/* ---------------------------------------------------------------- the access panel */
.pvHome__panel {
  --pv-field-h: var(--pv-control-h-lg);
  --sapField_Background: var(--pv-public-paper);
  --sapField_Hover_Background: var(--pv-public-paper);
  --sapField_BorderColor: var(--pv-public-line);
  --sapField_Hover_BorderColor: var(--pv-public-accent);
  --sapField_Focus_BorderColor: var(--pv-public-primary);
  --sapField_BorderCornerRadius: 12px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--pv-space-5);
  max-width: 31rem;
  margin-left: auto;
  padding: var(--pv-space-8) var(--pv-space-6) var(--pv-space-6);
  border: 1px solid var(--pv-public-line);
  border-radius: 26px;
  background: var(--pv-public-card);
  box-shadow: var(--pv-public-shadow);
}

/* Tabs: a tinted track with a raised card for the chosen tab. */
html .pvHome__tabs.sapMSegB {
  /* UI5 fixes the track at its own control height; the tabs here are taller (--pv-field-h), so let the track grow
     around them instead of the tabs spilling out of it. */
  display: flex;
  height: auto !important;
  width: 100% !important;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--pv-public-paper-2);
}

html .pvHome__tabs .sapMSegBBtn {
  flex: 1 1 0;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--pv-public-ink-soft) !important;
  font-weight: var(--pv-fw-semibold);
  box-shadow: none !important;
  transition: background-color var(--pv-dur-fast), color var(--pv-dur-fast), box-shadow var(--pv-dur-fast);
}

html .pvHome__tabs .sapMSegBBtn .sapUiIcon,
html .pvHome__tabs .sapMSegBBtn .sapMSegBBtnInner {
  color: inherit !important;
}

/* UI5 paints the selected state on the inner wrappers (and nudges them by a pixel): let the item's own card show. */
html .pvHome__tabs .sapMSegBBtn .sapMSegBBtnInnerWrapper,
html .pvHome__tabs .sapMSegBBtn .sapMSegBBtnInner {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
}

html .pvHome__tabs .sapMSegBBtn .sapMSegBBtnInner {
  gap: var(--pv-space-2);
}

html .pvHome__tabs .sapMSegBBtn.sapMSegBBtnSel {
  background: var(--pv-public-card) !important;
  color: var(--pv-public-ink) !important;
  box-shadow: var(--pv-public-shadow-soft) !important;
}

html .pvHome__tabs .sapMSegBBtn:not(.sapMSegBBtnSel):hover {
  color: var(--pv-public-ink) !important;
}

html .pvHome__pane.sapMFlexBox > .sapMFlexItem + .sapMFlexItem {
  margin-top: var(--pv-space-4);
}

html .pvHome__pane .pvField + .pvField,
html .pvHome__pane .pvHome__names + .pvField {
  margin-top: 0;
}

html .pvHome__paneTitle.sapMTitle {
  font-family: var(--pv-public-display);
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 100;
  color: var(--pv-public-ink);
}

html .pvHome__paneText.sapMText {
  color: var(--pv-public-ink-soft);
  line-height: var(--pv-lh);
}

.pvHome__note {
  display: flex;
  align-items: flex-start;
  gap: var(--pv-space-3);
  padding: var(--pv-space-3) var(--pv-space-4);
  border-radius: 14px;
  background: var(--pv-public-accent-soft);
}

html .pvHome__note .sapUiIcon {
  color: var(--pv-public-primary);
  margin-top: 3px;
}

html .pvHome__note .sapMText,
html .pvHome__fine.sapMText {
  color: var(--pv-public-ink-soft);
  font-size: var(--pv-fs-sm);
  line-height: var(--pv-lh);
}

.pvHome__who {
  display: flex;
  align-items: center;
  gap: var(--pv-space-3);
  padding: var(--pv-space-3);
  border-radius: 16px;
  background: var(--pv-public-paper);
}

html .pvHome__avatar.sapMText {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pv-public-primary-soft);
  color: var(--pv-public-primary);
  font-family: var(--pv-public-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.pvHome__whoText {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

html .pvHome__whoName.sapMText {
  font-weight: var(--pv-fw-semibold);
  overflow: hidden;
  text-overflow: ellipsis;
}

html .pvHome__whoEmail.sapMText {
  color: var(--pv-public-ink-soft);
  font-size: var(--pv-fs-sm);
  overflow: hidden;
  text-overflow: ellipsis;
}

.pvHome__switch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--pv-space-1);
}

html .pvHome__switch .sapMText {
  color: var(--pv-public-ink-soft);
}

.pvHome__busy {
  align-self: center;
  margin: var(--pv-space-8) auto;
}

.pvHome__names {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pv-space-3);
}

/* Genuine: the stamp lands. */
.pvHome__valid {
  display: flex;
  align-items: center;
  gap: var(--pv-space-4);
  padding: var(--pv-space-4);
  border-radius: 18px;
  background: var(--pv-public-teal-soft);
}

.pvHome__validStamp {
  flex: none;
  width: 76px;
  height: 76px;
  background: var(--pv-public-teal);
  -webkit-mask: url("../../shared/img/public/stamp.svg") center / contain no-repeat;
  mask: url("../../shared/img/public/stamp.svg") center / contain no-repeat;
  transform: rotate(-10deg);
  animation: pvHomeStamp 480ms cubic-bezier(.2, 1.4, .4, 1) both;
}

.pvHome__validText {
  display: flex;
  flex-direction: column;
  gap: var(--pv-space-1);
  min-width: 0;
}

.pvHome__facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: var(--pv-space-2) var(--pv-space-5);
  margin: 0;
  padding: var(--pv-space-4);
  border: 1px dashed var(--pv-public-line);
  border-radius: 16px;
}

.pvHome__facts dd {
  margin: 0;
}

html .pvHome__facts dt .sapMText {
  color: var(--pv-public-ink-soft);
}

html .pvHome__factStrong.sapMText {
  font-weight: var(--pv-fw-semibold);
}

html .pvHome__number.sapMText {
  font-family: var(--pv-font-mono);
  letter-spacing: .03em;
}

/* ================================================================ sections */
.pvHome__section {
  position: relative;
  padding: calc(var(--pv-space-12) + var(--pv-space-6)) var(--pv-space-5);
  scroll-margin-top: 72px;
}

/* A rounded tinted band, inset from the page edges. */
.pvHome__section--paper {
  margin: 0 clamp(var(--pv-space-2), 2vw, var(--pv-space-6));
  border-radius: 40px;
  background: var(--pv-public-paper-2);
}

.pvHome__sectionHead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pv-space-3);
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

html .pvHome__kicker.sapMText {
  display: inline-flex;
  align-items: center;
  gap: var(--pv-space-2);
  color: var(--pv-public-primary);
  font-size: var(--pv-fs-sm);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

html .pvHome__kicker.sapMText::before {
  content: "";
  width: 28px;
  height: 10px;
  background: currentColor;
  -webkit-mask: url("../../shared/img/public/squiggle.svg") center / contain no-repeat;
  mask: url("../../shared/img/public/squiggle.svg") center / contain no-repeat;
}

html .pvHome__sectionTitle.sapMTitle {
  font-family: var(--pv-public-display);
  font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  color: var(--pv-public-ink);
}

html .pvHome__sectionLead.sapMText {
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--pv-public-ink-soft);
}

/* ---------------------------------------------------------------- the journey */
.pvHome__journey {
  position: relative;
  max-width: 72rem;
  margin: var(--pv-space-12) auto 0;
}

.pvHome__path {
  position: absolute;
  top: 6px;
  left: 12%;
  right: 12%;
  height: 120px;
  background: color-mix(in srgb, var(--pv-public-primary) 60%, transparent);
  -webkit-mask: url("../../shared/img/public/journey.svg") center / 100% 100% no-repeat;
  mask: url("../../shared/img/public/journey.svg") center / 100% 100% no-repeat;
}

.pvHome__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pv-space-10);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pvHome__step {
  --tone: var(--pv-public-primary);
  --tone-soft: var(--pv-public-accent-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pv-space-3);
  text-align: center;
}

.pvHome__step:nth-child(2) {
  margin-top: var(--pv-space-12);
}

.pvHome__step--teal { --tone: var(--pv-public-teal); --tone-soft: var(--pv-public-teal-soft); }
.pvHome__step--violet { --tone: var(--pv-public-violet); --tone-soft: var(--pv-public-violet-soft); }

.pvHome__stepArt {
  position: relative;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin-bottom: var(--pv-space-3);
  border: 6px solid var(--pv-public-paper);
  border-radius: 38% 62% 55% 45% / 48% 40% 60% 52%; /* a hand-made blob, not a perfect circle */
  background: var(--tone-soft);
  box-shadow: var(--pv-public-shadow-soft);
  transition: transform var(--pv-dur) ease, border-radius var(--pv-dur) ease;
}

.pvHome__step:hover .pvHome__stepArt {
  transform: rotate(-6deg) scale(1.04);
  border-radius: 55% 45% 40% 60% / 45% 58% 42% 55%;
}

html .pvHome__stepArt .sapUiIcon {
  color: var(--tone);
  font-size: 2.2rem;
}

html .pvHome__stepNum.sapMText {
  position: absolute;
  top: -8px;
  right: -14px;
  padding: 2px 10px;
  border: 1px solid var(--pv-public-line);
  border-radius: 999px;
  background: var(--pv-public-card);
  font-family: var(--pv-public-display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tone);
}

html .pvHome__cardTitle.sapMTitle {
  font-family: var(--pv-public-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 100;
  color: var(--pv-public-ink);
}

html .pvHome__cardText.sapMText {
  max-width: 21rem;
  line-height: 1.6;
  color: var(--pv-public-ink-soft);
}

/* ---------------------------------------------------------------- why it counts: bento */
.pvHome__bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(13rem, auto);
  gap: var(--pv-space-5);
  max-width: 72rem;
  margin: var(--pv-space-12) auto 0;
}

.pvHome__tile {
  --tone: var(--pv-public-primary);
  --tone-soft: var(--pv-public-accent-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--pv-space-3);
  padding: var(--pv-space-6);
  border-radius: 24px;
  background: var(--tone-soft);
  overflow: hidden;
  transition: transform var(--pv-dur) ease, box-shadow var(--pv-dur) ease;
}

.pvHome__tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--pv-public-shadow-soft);
}

.pvHome__tile--accent { grid-column: span 2; }
.pvHome__tile--teal { --tone: var(--pv-public-teal); --tone-soft: var(--pv-public-teal-soft); }
.pvHome__tile--violet { --tone: var(--pv-public-violet); --tone-soft: var(--pv-public-violet-soft); }

.pvHome__tile--feature {
  grid-column: span 2;
  grid-row: span 2;
  padding: var(--pv-space-8);
  background: var(--pv-public-feature-bg);
  color: var(--pv-public-feature-ink);
}

/* A big faint seal in the corner of the feature tile. */
.pvHome__tile--feature::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  background: var(--pv-public-primary);
  opacity: .22;
  -webkit-mask: url("../../shared/img/public/stamp.svg") center / contain no-repeat;
  mask: url("../../shared/img/public/stamp.svg") center / contain no-repeat;
  animation: pvHomeSpin 40s linear infinite;
}

.pvHome__tileIcon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--pv-public-card);
}

html .pvHome__tileIcon .sapUiIcon {
  color: var(--tone);
  font-size: 1.3rem;
}

.pvHome__tileSeal {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  background: var(--pv-public-sun);
  -webkit-mask: url("../../shared/img/public/seal.svg") center / contain no-repeat;
  mask: url("../../shared/img/public/seal.svg") center / contain no-repeat;
}

html .pvHome__tileSeal .sapUiIcon {
  color: var(--pv-public-ink);
  font-size: 1.6rem;
}

html .pvHome__tileTitle.sapMTitle {
  font-family: var(--pv-public-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 100;
  color: inherit;
}

html .pvHome__tile--feature .pvHome__tileTitle.sapMTitle {
  font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem);
  line-height: 1.1;
}

html .pvHome__tileText.sapMText {
  line-height: 1.6;
  color: var(--pv-public-ink-soft);
}

html .pvHome__tile--feature .pvHome__tileText.sapMText {
  max-width: 26rem;
  font-size: 1.0625rem;
  color: var(--pv-public-feature-soft);
}

/* A sample certificate check at the bottom of the feature tile. */
.pvHome__tileSample {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--pv-space-3);
  margin-top: auto;
  padding: var(--pv-space-3) var(--pv-space-3) var(--pv-space-3) var(--pv-space-4);
  border: 1px dashed color-mix(in srgb, var(--pv-public-feature-soft) 60%, transparent);
  border-radius: 999px;
}

html .pvHome__tileNumber.sapMText {
  font-family: var(--pv-font-mono);
  letter-spacing: .06em;
  color: var(--pv-public-feature-ink);
}

.pvHome__tileOk {
  display: inline-flex;
  align-items: center;
  gap: var(--pv-space-1);
  padding: 4px 12px 4px 8px;
  border-radius: 999px;
  background: var(--pv-public-teal);
  color: var(--pv-public-on-primary);
  font-weight: 700;
}

html .pvHome__tileOk .sapUiIcon,
html .pvHome__tileOk .sapMText {
  color: var(--pv-public-on-primary);
  font-size: var(--pv-fs-sm);
}

/* ---------------------------------------------------------------- call to action */
.pvHome__cta {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pv-space-8);
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--pv-space-12) var(--pv-space-10);
  border-radius: 32px;
  background: var(--pv-public-primary);
  color: var(--pv-public-on-primary);
  overflow: hidden;
}

/* The slowly turning "verified · genuine" stamp. */
.pvHome__ctaStamp {
  position: absolute;
  z-index: -1;
  right: 22%;
  top: 50%;
  width: 240px;
  height: 240px;
  margin-top: -120px;
  background: var(--pv-public-on-primary);
  opacity: .16;
  -webkit-mask: url("../../shared/img/public/stamp.svg") center / contain no-repeat;
  mask: url("../../shared/img/public/stamp.svg") center / contain no-repeat;
  animation: pvHomeSpin 30s linear infinite;
}

.pvHome__ctaText {
  display: flex;
  flex-direction: column;
  gap: var(--pv-space-3);
  max-width: 38rem;
}

html .pvHome__ctaTitle.sapMTitle {
  font-family: var(--pv-public-display);
  font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.75rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

html .pvHome__ctaLead.sapMText {
  font-size: 1.125rem;
  line-height: 1.6;
  opacity: .92;
}

html .pvHome__ctaButton.sapMBtn {
  --pv-field-h: var(--pv-control-h-lg);
  --sapButton_Background: var(--pv-public-paper);
  --sapButton_BorderColor: var(--pv-public-paper);
  --sapButton_TextColor: var(--pv-public-ink);
  --sapButton_IconColor: var(--pv-public-primary);
  --sapButton_Hover_Background: var(--pv-public-card);
  --sapButton_Hover_BorderColor: var(--pv-public-card);
  --sapButton_Hover_TextColor: var(--pv-public-ink);
  --sapButton_Active_Background: var(--pv-public-paper-2);
  --sapButton_Active_BorderColor: var(--pv-public-paper-2);
  --sapButton_Active_TextColor: var(--pv-public-ink);
  flex: none;
}

html .pvHome__ctaButton.sapMBtn .sapMBtnInner {
  padding: 0 var(--pv-space-6);
  font-weight: 700;
}

/* ================================================================ footer */
.pvHome__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--pv-space-4);
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding: var(--pv-space-8) var(--pv-space-5) var(--pv-space-10);
  border-top: 1px dashed var(--pv-public-line);
}

html .pvHome__footerOrg.sapMText {
  font-size: 1.1rem;
}

.pvHome__footerLinks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pv-space-2) var(--pv-space-5);
}

html .pvHome__powered.sapMText {
  color: var(--pv-public-ink-soft);
  font-size: var(--pv-fs-sm);
}

/* ================================================================ motion */
.pvHome__rise {
  animation: pvHomeRise 520ms cubic-bezier(.2, .7, .2, 1) both;
}

.pvHome__rise--2 { animation-delay: 80ms; }
.pvHome__rise--3 { animation-delay: 160ms; }
.pvHome__rise--4 { animation-delay: 240ms; }

.pvHome__stage {
  animation: pvHomeRise 620ms cubic-bezier(.2, .7, .2, 1) 200ms both;
}

/* Sections fade up as they scroll into view — CSS only, so a re-render can never leave one hidden. */
@supports (animation-timeline: view()) {
  .pvHome__reveal {
    animation: pvHomeReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

@keyframes pvHomeRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes pvHomeReveal {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: none; }
}

@keyframes pvHomeDraw {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes pvHomeFloat {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-5.5deg) translateY(-10px); }
}

@keyframes pvHomeWobble {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(6deg); }
}

@keyframes pvHomeBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes pvHomePing {
  0% { transform: scale(.6); opacity: .5; }
  80%, 100% { transform: scale(2.2); opacity: 0; }
}

@keyframes pvHomeSpin {
  to { transform: rotate(360deg); }
}

@keyframes pvHomeStamp {
  from { opacity: 0; transform: scale(1.8) rotate(-28deg); }
  to { opacity: 1; transform: scale(1) rotate(-10deg); }
}

/* Reduced motion: shared/theme/public.css stops every animation under .pvPublic. */

/* ================================================================ smaller screens */
@media (max-width: 1100px) {
  .pvHome__heroInner {
    gap: var(--pv-space-8);
  }

  .pvHome__bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pvHome__tile--feature {
    grid-row: span 1;
  }
}

@media (max-width: 900px) {
  .pvHome__hero {
    padding: var(--pv-space-8) var(--pv-space-4) var(--pv-space-12);
  }

  .pvHome__heroInner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--pv-space-10);
  }

  .pvHome__stage {
    padding: var(--pv-space-8) 0 0 var(--pv-space-6);
  }

  .pvHome__cert {
    width: 80%;
    height: 60%;
  }

  .pvHome__panel {
    max-width: none;
  }

  .pvHome__path {
    display: none;
  }

  .pvHome__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--pv-space-10);
  }

  .pvHome__step:nth-child(2) {
    margin-top: 0;
  }

  .pvHome__cta {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--pv-space-10) var(--pv-space-6);
  }

  .pvHome__ctaStamp {
    right: -60px;
    top: auto;
    bottom: -70px;
    margin-top: 0;
  }

  .pvHome__section {
    padding: var(--pv-space-12) var(--pv-space-4);
  }
}

@media (max-width: 560px) {
  .pvHome__top {
    padding: var(--pv-space-2) var(--pv-space-4);
  }

  html .pvHome__topLink.sapMLnk,
  html .pvHome__topVerify.sapMBtn {
    display: none;
  }

  .pvHome__stage {
    padding-left: var(--pv-space-3);
  }

  .pvHome__seal {
    left: -16px;
    width: 72px;
    height: 72px;
  }

  .pvHome__panel {
    padding: var(--pv-space-8) var(--pv-space-4) var(--pv-space-5);
    border-radius: 22px;
  }

  .pvHome__names,
  .pvHome__bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .pvHome__tile--accent,
  .pvHome__tile--feature {
    grid-column: auto;
  }

  .pvHome__tile--feature {
    padding: var(--pv-space-6);
  }

  .pvHome__section--paper {
    border-radius: 28px;
  }

  .pvHome__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
