.cos-site-header {
  position: absolute; z-index: 8; inset: 0 0 auto; min-height: 85px; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff;
}
.cos-site-header nav,.cos-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.cos-site-header nav,.cos-contact { font-size: 13px; }
.cos-nav-cta { padding: 12px 15px; border: 1px solid #fff7; border-radius: 24px; }
.cos-hero .hero-inner { padding-top: clamp(125px,22vh,230px); }
.cos-hero .hero-copy h1 { font-size: clamp(42px,5.2vw,76px); }
.cos-hero .hero-shade { background: linear-gradient(90deg,#151b16b3,transparent 76%),linear-gradient(0deg,#171b16a1,transparent 28%); }
.cos-hero .hero-slide .hero-image { transform-origin: 72% 48%; transform: scale(1); }
.cos-hero .hero-slide.is-leaving { z-index: 1; opacity: 1; }
.cos-hero .hero-slide.is-active { z-index: 2; }
.cos-hero .hero-slide:is(.is-active, .is-leaving) .hero-image { animation: cos-portrait-zoom-in 10s cubic-bezier(.22,.58,.38,.98) both; }
.cos-hero .hero-slide.is-leaving .hero-image,
.cos-hero.cos-paused .hero-slide.is-active .hero-image,
.cos-hero.hero-motion-off .hero-slide.is-active .hero-image { animation-play-state: paused; }
@keyframes cos-portrait-zoom-in { from { transform: scale(1); } to { transform: scale(var(--hero-zoom-end, 1.2)); } }
.cos-motion { color: #fff; background: #191c185e; border: 1px solid #fff7; border-radius: 20px; padding: 5px 12px; cursor: pointer; }
.cos-hero-controls { display: flex; gap: 7px; align-items: center; }
#hero-next { color: #fff; background: #191c185e; border: 1px solid #fff7; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; }
.cos-hero-details { display: contents; }
.cos-hero-procedure { position: absolute; right: 0; bottom: 94px; max-width: min(360px, 90%); padding: 12px 16px; color: #fff; background: #171c19d9; border: 1px solid #fff5; border-radius: 6px; }
.cos-hero-procedure small,.cos-hero-procedure strong { display: block; }
.cos-hero-procedure small { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #e5e5dc; }
.cos-hero-procedure strong { margin-top: 3px; font-size: clamp(16px, 2vw, 24px); }
@media (max-width: 1366px) {
  .iiscan-cosmet-page #prices.pricing-cta {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(20px, 3vw, 40px);
  }
  #prices .pricing-cta-copy { padding: clamp(30px, 4.5vw, 56px) 0 clamp(30px, 4.5vw, 56px) clamp(20px, 3.2vw, 44px); }
  #prices .pricing-cta-copy h2 { font-size: clamp(36px, 4.6vw, 57px); line-height: 1.02; overflow-wrap: anywhere; }
  #prices .pricing-cta-side { padding: clamp(20px, 3.2vw, 44px); }
  #prices .pricing-cta-stats > div { gap: 10px; }
  #prices .pricing-cta-stats span { white-space: normal; text-align: right; }
  #prices .pricing-cta-button { gap: 10px; min-height: 52px; }
}
@media (max-width: 900px) {
  .iiscan-cosmet-page #prices.pricing-cta { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #prices .pricing-cta-copy { padding-inline-end: clamp(20px, 3.2vw, 44px); }
}
@media (max-width: 640px) {
  #how .process-story { align-items: stretch; }
  #prices .pricing-cta-copy h2 { font-size: clamp(30px, 8.2vw, 43px); }
  #prices .pricing-cta-button { white-space: normal; line-height: 1.35; }
  #prices .pricing-cta-button > span { flex: none; }
}
.conversion-visual .cos-face-overlay {
  right: auto; bottom: auto; transform: none; border-radius: 0;
  overflow: visible; color: rgba(190,239,243,.8);
}
.cos-face-overlay .ai-focus-frame-outer { inset: 0; }
.cos-face-overlay .ai-focus-frame-inner { inset: 10% 9%; }
.cos-face-overlay .ai-corner-tl { top: 0; left: 0; }
.cos-face-overlay .ai-corner-tr { top: 0; right: 0; }
.cos-face-overlay .ai-corner-bl { bottom: 0; left: 0; }
.cos-face-overlay .ai-corner-br { bottom: 0; right: 0; }
.cos-face-overlay .ai-center-line { top: 2%; bottom: 2%; }
.cos-face-overlay .ai-eye-guide { top: 38%; left: 5%; right: 5%; }
.cos-face-overlay .ai-scan-line { left: 2%; right: 2%; }
.cos-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 35px 0; border-top: 1px solid #c9d3da; font-size: 13px; }
.cos-button { display: inline-block; color: #fff; background: #303535; border: 1px solid #303535; border-radius: 4px; padding: 12px 18px; font: inherit; cursor: pointer; }
.cos-button:hover { background: #495457; }
.cos-small { font-size: 13px; }
.cos-mode { display: flex; gap: 5px; margin: 0 0 8px; }
.cos-mode button { cursor: pointer; border: 1px solid #a7b2ad; color: #26312f; background: #fff; padding: 6px 8px; border-radius: 4px; }
.cos-mode [aria-pressed=true] { background: #303535; color: #fff; }
.cos-compare { --position: 50%; position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 4/5; }
.cos-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cos-compare-before { clip-path: inset(0 calc(100% - var(--position)) 0 0); }
.cos-compare-line { position: absolute; left: var(--position); top: 0; bottom: 0; width: 2px; background: #fff; }
.cos-compare-line::after { content: '↔'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; padding: 5px 8px; background: #fff; color: #26312f; }
.cos-compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cos-compare:focus-within { outline: 3px solid #526f73; outline-offset: 2px; }
.cos-before-label,.cos-after-label { position: absolute; top: 10px; padding: 3px 7px; border-radius: 4px; background: #252b2ae6; color: #fff; font-size: 10px; }
.cos-before-label { left: 10px; }.cos-after-label { right: 10px; }
.cos-catalog-title { font-size: clamp(26px,3.3vw,44px); font-weight: 400; letter-spacing: -.04em; margin: 48px 0 18px; }
.cos-catalog { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.cos-custom-options { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: 28px; padding-top: 26px; border-top: 1px solid #bdc8c4; }
.cos-custom-options p { max-width: 650px; margin: 0; color: #465456; font-size: 16px; line-height: 1.6; }
.cos-custom-options .cos-button {
  flex-shrink: 0;
  text-align: center;
  color: #263533;
  background: #f5f7f4;
  border-color: #aebfb9;
}
.cos-custom-options .cos-button:hover { background: #e4ece7; border-color: #647e74; }
@media (max-width: 700px) { .cos-custom-options { align-items: flex-start; flex-direction: column; gap: 18px; } }
.cos-procedure { display: flex; flex-direction: column; position: relative; min-width: 0; padding: 0; overflow: hidden; border: 1px solid #cbd8d2; border-radius: 6px; background: #f5f7f4; color: #263533; text-align: left; cursor: pointer; }
.cos-procedure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 32%; transition: transform .35s ease; }
.cos-procedure:hover img { transform: scale(1.04); }
.cos-procedure > span { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 12px 28px 14px 11px; background: #edf2ee; z-index: 1; }
.cos-procedure strong { font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.cos-procedure small { color: #526660; font-size: 12px; line-height: 1.35; }
.cos-procedure:hover { border-color: #829b91; }
.cos-procedure:focus-visible { outline: 2px solid #527367; outline-offset: 2px; }
.cos-procedure i {
  position: absolute;
  right: 8px;
  bottom: 10px;
  z-index: 2;
  color: #4d6c61;
  font-size: 16px;
  font-style: normal;
}
@media (max-width: 930px) { .cos-catalog { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 620px) {
  .cos-site-header { padding: 10px 16px; min-height: 64px; }
  .cos-site-header nav { gap: 10px; }
  .cos-site-header nav a:not(.cos-nav-cta),.cos-contact { display: none; }
  .cos-catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cos-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px), (max-width: 960px) and (max-height: 540px) and (orientation: landscape) {
  .hero.hero-home.cos-hero { min-height: clamp(500px, calc(100svh - 80px), 820px); height: auto; max-height: none; }
  .cos-hero .hero-inner { display: flex; flex-direction: column; min-height: inherit; height: auto; padding: clamp(55px, 12svh, 104px) 0 16px; }
  .cos-hero .hero-image { object-position: var(--portrait-position, 90%) center; }
  .cos-hero .hero-slide:nth-child(3) { --portrait-position: 100%; }
  .cos-hero .hero-slide:nth-child(5) { --portrait-position: 80%; }
  .cos-hero .hero-slide .hero-image { --hero-zoom-end: 1.2; transform-origin: 50% 46%; }
  .cos-hero .hero-shade { background: linear-gradient(90deg, rgba(25,29,24,.36), transparent 88%), linear-gradient(180deg, rgba(25,29,24,.34) 16%, transparent 58%, rgba(25,29,24,.43)), rgba(250,245,236,.08); }
  .cos-hero .hero-copy { text-shadow: 0 1px 12px rgba(20,23,19,.8); }
  .cos-hero .hero-copy h1 { font-size: clamp(31px, 8.8vw, 48px); }
  .cos-hero-details { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; margin-top: auto; padding-top: 26px; }
  .cos-hero .hero-actions { position: static; transform: none; }
  .cos-hero .scroll-cue { width: 44px; height: 44px; background: #191c1875; animation: none; transform: none; }
  .cos-hero-procedure { position: static; justify-self: end; max-width: 100%; padding: 10px 12px; overflow-wrap: break-word; }
  .cos-hero .hero-bottomline { position: static; gap: 7px; margin-top: 12px; font-size: 8px; }
  .cos-hero .hero-bottomline i { width: 16px; }
}
@media (max-width: 370px) and (orientation: portrait) {
  .hero.hero-home.cos-hero { min-height: clamp(450px, calc(100svh - 110px), 820px); }
}
@media (max-width: 960px) and (max-height: 540px) and (orientation: landscape) {
  .hero.hero-home.cos-hero { min-height: max(300px, calc(100svh - 80px)); }
  .cos-hero .hero-inner { padding-top: 16px; }
  .cos-hero .hero-copy { max-width: 620px; }
  .cos-hero .hero-copy .eyebrow { margin-bottom: 12px; }
  .cos-hero .hero-copy h1 { max-width: 620px; font-size: clamp(28px, 5vw, 40px); margin-bottom: 12px; }
  .cos-hero .hero-copy .hero-lead { margin-bottom: 0; }
  .cos-hero-details { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cos-hero .hero-slide:is(.is-active, .is-leaving) .hero-image { animation: none; }
  .cos-hero .cos-motion { display: none; }
  .cos-procedure img,.cos-hero .hero-slide { transition: none; }
}

/* The lead form is shown inside the smartphone in the photograph. */
.cos-lead-screen {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: .44em;
  box-sizing: border-box;
  overflow: hidden;
  padding: .48em .55em .7em;
  border-radius: 0 0 1.55em 1.55em;
  background: #e7ebe5;
  color: #263430;
  font: 500 11px/1.14 Arial, sans-serif;
  user-select: none;
  pointer-events: none;
  visibility: hidden;
}
.cos-lead-screen.is-positioned { visibility: visible; }
.cos-lead-screen-title { font-size: .92em; }
.cos-lead-screen-photo {
  display: block;
  min-height: 0;
  border-radius: .42em;
  background: #565d52 url("media/smartphone.jpg") no-repeat 26.6% 52.6% / 442% auto;
}
.cos-lead-screen-controls {
  display: grid;
  gap: .29em;
}
.cos-lead-screen-label { font-size: .8em; font-weight: 700; }
.cos-lead-screen-number {
  padding: .31em .42em;
  border: 1px solid #aab8b0;
  border-radius: .33em;
  background: #fff;
  color: #394741;
  font-size: .86em;
  white-space: nowrap;
}
.cos-lead-screen-send {
  padding: .42em .2em;
  border-radius: .3em;
  background: #314941;
  color: #fff;
  font-size: .92em;
  text-align: center;
}


/* Before/after images and the scan share the figure's coordinates. */
.cos-trial-portrait > .cos-trial-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 100% 0);
}
.cos-trial-portrait[data-portrait-mode="after"] > .cos-trial-after {
  clip-path: inset(0);
}
.cos-trial-scan {
  display: none;
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c4f3ff 20%, #c4f3ff 80%, transparent);
  box-shadow: 0 0 12px #c4f3ffb3;
  pointer-events: none;
}
.cos-trial-controls:not([hidden]) {
  position: absolute;
  z-index: 3;
  top: clamp(20px, 7%, 48px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid #d8edf477;
  border-radius: 4px;
  background: #24383bd9;
}
.cos-trial-controls button {
  padding: 6px 10px;
  border: 0;
  border-radius: 2px;
  color: #e4f0ef;
  background: transparent;
  font: 600 12px/1.2 Arial, sans-serif;
  cursor: pointer;
}
.cos-trial-controls [aria-pressed="true"] { background: #d7e9e7; color: #24383b; }
.cos-trial-controls button:focus-visible { outline: 2px solid #a2effd; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .cos-trial-portrait[data-portrait-mode="auto"] > .cos-trial-after {
    animation: cos-trial-reveal 9s ease-in-out infinite paused;
  }
  .cos-trial-portrait[data-portrait-mode="auto"] .cos-trial-scan {
    display: block;
    animation: cos-trial-sweep 9s ease-in-out infinite paused;
  }
  .cos-trial-portrait.is-in-view[data-portrait-mode="auto"] > .cos-trial-after,
  .cos-trial-portrait.is-in-view[data-portrait-mode="auto"] .cos-trial-scan {
    animation-play-state: running;
  }
  @keyframes cos-trial-reveal {
    0%, 12%, 100% { clip-path: inset(0 0 100% 0); }
    46%, 66% { clip-path: inset(0); }
  }
  @keyframes cos-trial-sweep {
    0%, 12%, 100% { top: 0%; }
    46%, 66% { top: 100%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .cos-trial-controls [data-mode="auto"] { display: none; }
}
