/* Product-led homepage and shared small-screen behavior. */
::selection { background: #cfc4e3; color: #24212b; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #65568a;
  outline-offset: 3px;
}

.mobile-early-access { display: none; }
.menu-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; }
.eyebrow { font-size: 11px; }
.single-tech h2, .contact-panel h2 { letter-spacing: -.04em !important; }
.contact-panel > div > p:last-child { color: #5b5660; }
#model-status { font-size: 12px; }

.welcome-screen {
  height: calc(100svh - 74px);
  min-height: 680px;
  display: flex;
  flex-direction: column;
  padding-bottom: 14px;
}
.product-hero {
  flex: 1 1 auto;
  min-height: 0;
  width: min(calc(100% - 48px), 1320px);
  margin: 16px auto 0;
  overflow: hidden;
  border-radius: 26px;
  background: #e8e7ed;
}
.product-hero-grid {
  width: min(calc(100% - 96px), 1200px);
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
}
.product-hero-visual { min-width: 0; display: grid; place-items: center; }
.product-hero-visual img {
  width: 100%;
  max-height: min(510px, 62svh);
  object-fit: contain;
  filter: drop-shadow(0 22px 25px rgba(47, 40, 58, .16));
}
.product-hero-copy { min-width: 0; padding: 25px 0; }
.product-hero-copy h1 {
  max-width: 11ch;
  margin: 0 0 25px;
  font: 600 clamp(46px, 4.1vw, 66px)/1.06 Manrope, 'DM Sans', sans-serif;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.product-hero-copy h1 span { color: #65568a; }
.product-hero-copy p {
  max-width: 43ch;
  margin: 0 0 30px;
  color: #45414c;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
}
.product-hero-copy .pill { min-height: 48px; padding: 13px 21px; }

.hero-process { flex: 0 0 auto; padding: 16px 0 0; scroll-margin-top: 90px; }
.hero-process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #dedde1;
}
.hero-process-list li { min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-content: center; padding: 18px 0 6px; }
.hero-process-list li:last-child { grid-template-columns: 78px minmax(0, 1fr); }
.hero-process-icon { grid-column: 1; grid-row: 1 / 3; display: grid; place-items: center; height: 48px; margin: 0; color: #312b3d; }
.hero-process-icon svg { width: 46px; height: 46px; }
.hero-process-bubble { position: relative; display: inline-block; margin-top: 7px; padding: 6px 8px; border: 1.5px solid #65568a; border-radius: 4px; color: #4d4267; font: 600 12px/1.2 Manrope, sans-serif; white-space: nowrap; }
.hero-process-bubble::after { content: ''; position: absolute; left: 10px; bottom: -5px; width: 7px; height: 7px; transform: rotate(45deg); border-right: 1.5px solid #65568a; border-bottom: 1.5px solid #65568a; background: #fafaf9; }
.hero-process-number {
  display: block;
  grid-column: 2;
  margin-bottom: 3px;
  color: #65568a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.hero-process-list strong {
  grid-column: 2;
  display: block;
  font: 600 clamp(17px, 1.7vw, 21px)/1.25 Manrope, 'DM Sans', sans-serif;
  letter-spacing: -.025em;
}

.single-story { padding: 105px 0 120px; }
.single-story .container { gap: 0; }
.single-story h2 {
  max-width: 1140px;
  margin: 18px 0 32px;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.12;
  letter-spacing: -.04em !important;
  text-wrap: balance;
}
.single-story p:not(.eyebrow) {
  max-width: 66ch;
  margin: 0;
  color: #514e58;
  font-size: 17px;
  line-height: 1.7;
  text-align: left;
}

.top .links a,
.foot-links a { text-underline-offset: 4px; }
.form input, .form select, #contact-form input, #contact-form select, #contact-form textarea { min-height: 48px; }
.form .checklabel { min-height: 44px; align-items: center; }
.form .checklabel input { width: 20px; height: 20px; flex: 0 0 auto; }
.form .pill, #contact-form .pill { min-height: 48px; }
.cuff-viewer-ui .cuff-reset { min-width: 56px; min-height: 44px; }
#cuff-viewer .echo-model-canvas { touch-action: pan-y; }

@media (max-width: 900px) {
  .welcome-screen { height: calc(100svh - 66px); }
  .product-hero-grid { width: calc(100% - 60px); min-height: 440px; gap: 24px; }
  .product-hero-copy h1 { font-size: clamp(42px, 5.5vw, 58px); }
  .single-story h2 { font-size: clamp(42px, 5.2vw, 62px); }
}

@media (max-width: 700px) {
  .welcome-screen { height: auto; min-height: 0; padding-bottom: 0; }
  .product-hero { width: calc(100% - 24px); margin-top: 10px; border-radius: 20px; }
  .product-hero-grid {
    width: calc(100% - 44px);
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 18px 0 40px;
  }
  .product-hero-visual img { width: min(100%, 460px); max-height: 340px; }
  .product-hero-copy { padding: 8px 0 0; }
  .product-hero-copy h1 { max-width: 12ch; margin-bottom: 17px; font-size: clamp(39px, 8.5vw, 56px); }
  .product-hero-copy p { margin-bottom: 22px; font-size: 16px; }
  .hero-process { padding: 20px 0 56px; }
  .hero-process-list { grid-template-columns: minmax(0, 1fr); gap: 0; border-bottom: 1px solid #dedde1; }
  .hero-process-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 16px 0; }
  .hero-process-list li + li { border-left: 0; border-top: 1px solid #dedde1; }
  .hero-process-icon { grid-column: 1; grid-row: 1 / 3; margin: 0; align-items: center; }
  .hero-process-icon svg { width: 44px; height: 44px; }
  .hero-process-number { grid-column: 2; margin: 0; font-size: 11px; }
  .hero-process-list strong { grid-column: 2; font-size: 19px; }
  .single-story { padding: 72px 0 80px; }
  .single-story h2 { margin: 16px 0 25px; font-size: clamp(37px, 8vw, 53px); }
  .single-story p:not(.eyebrow) { font-size: 16px; }
  .contact-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; }
  .contact-panel form { padding: 0; }
  .contact-page { padding: 48px 0 76px; }
  .contact-intro { margin-bottom: 30px; }
  .contact-intro h1 { font-size: clamp(45px, 10vw, 65px); }
  .contact-intro p:not(.eyebrow) { font-size: 16px; }
  .contact-back { margin-bottom: 10px; min-height: 44px; display: inline-flex; align-items: center; }
  .contact-panel h2 { font-size: clamp(30px, 7vw, 42px); }
  #contact-form .pill { align-self: stretch; justify-content: center; }
}

@media (max-width: 600px) {
  .top > .pill { display: none; }
  .top .menu-toggle { display: inline-flex; flex: 0 0 44px; padding: 0; }
  .top.open .links { top: calc(100% - 1px); padding: 14px 20px 20px; gap: 0; border-radius: 0 0 14px 14px; }
  .top.open .links a { display: flex; align-items: center; min-height: 46px; font-size: 15px; }
  .mobile-early-access { display: none; }
  .top.open .links .mobile-early-access { display: flex; margin-top: 7px; padding: 0 16px; background: #e4dfee; border-radius: 8px; color: #39314d; font-weight: 700; justify-content: space-between; }
  .product-hero-visual img { max-height: 270px; }
  .product-hero-copy h1 { font-size: clamp(36px, 9.8vw, 50px); }
  .home-page .showcase { padding-top: 0; }
  #cuff-viewer { min-height: 330px; }
  #cuff-viewer .cuff-viewer-ui { flex-wrap: wrap; justify-content: flex-end; gap: 8px; bottom: 12px; left: 12px; right: 12px; }
  #cuff-viewer .cuff-hint { flex: 1 1 100%; font-size: 11px; }
  #cuff-viewer .cuff-reset { padding: 9px 12px; font-size: 12px; }
  .home-page .reserve .form { padding: 20px; }
  .form input, .form select, #contact-form input, #contact-form select, #contact-form textarea { font-size: 16px; }
}

@media (max-width: 360px) {
  .product-hero-grid { width: calc(100% - 36px); }
  .product-hero-visual img { max-height: 230px; }
  .product-hero-copy h1 { font-size: 36px; }
  .hero-process-list li { grid-template-columns: 44px minmax(0, 1fr); gap: 2px 10px; }
  .hero-process-list strong { font-size: 17px; }
  .contact-panel { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-hero-visual img { filter: none; }
}
